Connect RecMan & Xledger with API key
To get started with the integration, you first need to retrieve an API key from Xledger, which is then entered into RecMan. The instructions below show this step by step.
Create an API key in Xledger
- Once logged in as an administrator in Xledger, go to Administration in the main menu.
- Select Access Control.
- Select GraphQL.
- Press API tokens and then the green Generate new token button.
- Give the API key a name, e.g., RecMan.
- Choose Select all on Read and Write.
- Then press Generate token to get the API key. Copy this token to take with you to RecMan. See steps further down here.
Enable Xledger API integration and add the API key to RecMan
- In RecMan, go to System settings → Economy → Invoice export.
- Scroll down and select Xledger API.
- Select the department to which you want to create the integration.
- Paste the API key from Xledger and press Save.
- Then choose a Transfer Method – whether you want to export Orders (if you invoice from Xledger) or Invoice (if you invoice from RecMan and only use Xledger for bookkeeping).
Set products in RecMan
To get a correct transfer to Xledger, you need to set up products in RecMan so that they correspond to the setup in Xledger.
Go to Products under the Economy module.
It is important to keep in mind that you enter the correct Credit and Debit account and VAT code.
VAT codes (Standard)
Description | VAT code | VAT rate % |
---|---|---|
The amount is with VAT | 2 | 25% |
The amount is with VAT | 2N (Contact Support) | 25% |
For use where VAT is exempt. | 20 | 0% |
Used against foreign customers | 27 | 0% |
Outside tax area | 29 | 0% |
For medium rate | 21 | 15% |
Too low rate | 22 | 12% |
For more information, see this article Xledger (Invoicing integration).