General
Expenses that have gone through the approval & controlling (optional) flow within Rydoo can be exported on a regular basis. These expenses will be exported towards a dedicated SFTP location to be processed within accounting software or ERP.
Additionally, we also allow PGP encryption to be applied on the XML exports. PGP encryption adds an additional layer of security. Sensitive information within the XML file is always protected, and cannot be viewed or modified by others on the internet. If you wish to apply the encryption, we advise you to send the public key to your technical integration engineer.
Export frequency and location
To set up the integration, our development team will provide and maintain an SFTP server. On this server, you will find an IN and an OUT directory. An XML file containing all the expenses which are ready to be reported (processed in your accounting software or ERP) will be posted in the OUT directory. Depending on your preferences a new XML export will be available every day or week. By default, this is set to a daily export. To change the frequency of the export don’t hesitate to contact your customer success manager.
Status of exported expenses
To make sure expenses are never reported or processed into the client’s accounting software or ERP more than once, exported expenses status will change into reported within the Rydoo platform. Expenses with the status reported are no longer included in any new export.
Dynamic validation vs Fixed validation
Important: Rydoo only supports Dynamic validation.
With new features released on a regular basis, the data related to these new features will be added to the XML file as new nodes/tags. To avoid any of these new nodes/tags which could break your integration, we recommend processing our xml via dynamic validation, and should not be handled with a fixed validation or rigid XSD validation.
Use node/tag-crawling where you only take into account the XML-nodes that the finance/ERP system is needing. A dynamic validation is the best approach.
Furthermore, nodes in the XML file is delivered with no specific order and are prone to change often. Consequently, we insist dynamic validation to be applied whilst mapping.
If issues occur following the selection of a fixed validation, we regret to inform you that we may not be able to provide further resolution.
Test phase
During the test phase, the option which automatically sets the exported expenses as reported will be deactivated. This will allow to test the export feed without making any changes to the expenses. To activate the “automatic reported status” module before the integration goes live, please contact your customer success manager.
XML export
On the developers centre you can find a simulation of an XML export based on a standard configuration. The information within the XML export file is subject to changes depending on the configurations of the client’s Rydoo account.
If additional information is needed on user or expense level, new fields need to be configured within the Rydoo platform and will appear in the XML export.
However, XML export is unique for every account, and if there are any custom fields configured in the account, it will be delivered in the XML export.
Once the administrators of your Rydoo account are confident that all configurations are as they should be, you can contact your assigned customer success manager who will deliver the details of the SFTP server. This allows you to access and download the XML export files.
To make sure files do not pile up on the server downloaded XML files will need to be deleted from the server by the client.
Multiple VAT feature in XML export
Rydoo supports the possibility to assign multiple VAT rates to a single expense. Below is a high-level overview of what happens when this feature is enabled:
- Rydoo behavior: a single expense can have multiple VAT rates. When multiple VAT rates are applied, Rydoo creates multiple child expenses (one per VAT rate) linked to a single parent expense in the back-end. While users will still only see the main expense (=parent expense) in Rydoo UI, the data base will actually contain multiple child expenses, one per VAT rate, with all other expense data still the same.
- Integration behavior: Our XML export will contain both the parent expense (original expense as visible in Rydoo UI) and child expenses (split per VAT rate). Integrations need to decide whether to process the parent and/or the children.
2 nodes are part of the response to identify parent expense and child expense:
parentExpenseIdwill be null for parent expense and will contain the guid of the parent expense for for child expenses with the single VAT rate.hasChildrenwill be true for a parent expense with multiple VAT rates and false for a child expense with its single VAT rate or any other regular expense/mileage expense/per diem expense.
When there's an expense with 2 VAT rates, you'll see 3 expenses in the XML file:
- Parent expense with
"parentExpenseId": null,
"hasChildren": true
- 2 Child expenses with
"parentExpenseId": "expenseGuid of the parent expense",
"hasChildren": false
Best practice
If you want to process VAT as single line items (one posting per VAT rate), make sure to only process records where "hasChildren": false. Rydoo will export both the parent expense (total amount) and the child expenses (one per VAT rate); applying a filter that looks at this node lets you exclude the parent and keep only the child expenses and any other regular expenses that do not have multiple VAT.
To activate the “Multiple VAT” feature in your Rydoo account, please contact your customer success manager.
Updated 6 months ago