Retrieve all expense information
{
"data": [
{
"exportedAt": "2021-01-22T13:45:09Z",
"expenseId": "e5b1dec2-afec-4201-8c93-09ffa479418c",
"refId": "XPD012216312",
"type": "RegularExpense",
"amount": 1120,
"netAmount": 1000,
"currency": "EUR",
"expenseDate": "2021-01-02",
"merchant": "Four Seasons",
"merchantEnterpriseNumber": "58325",
"comment": null,
"expenseStatus": "Approved",
"isReimbursable": false,
"image": {
"url": "https://streaming.rydoo.com/Receipt/original/9c843341-af19-4003-84bb-a1d29197beaa/9c843341-af19-4003-84bb-a1d29197beaa/1b43875e-633e-43ac-8a1c-ad1fd023c490"
},
"numberOfAttendees": 3,
"ownerExcluded": false,
"amountPerAttendee": 373.3,
"attachments": [
{
"url": "https://streaming.rydoo.com/attachment/fe8e2033-4c60-470c-aad0-c7ab7bcca620/fe8e2033-4c60-470c-aad0-c7ab7bcca620/e8704947-9d56-462b-ae4a-7c1a5a2ff7da/download/false/Expense?d=24032021121727"
},
{
"url": "https://streaming.rydoo.com/attachment/fe8e2033-4c60-470c-aad0-c7ab7bcca620/fe8e2033-4c60-470c-aad0-c7ab7bcca620/f7f5fd35-5fd0-4b28-adc2-d518fadc0fbc/download/false/Expense?d=21122021121616"
}
],
"attendees": [
{
"id": "eeb86106-57a2-4c2e-8dc5-0e3e704eb880",
"fullName": "Amalia Claupfer",
"email": "[email protected]",
"type": "Guest"
},
{
"id": "67e2d9b4-6be1-44e9-a38d-469f96b6a2b3",
"fullName": "Sandra Malcory",
"email": "[email protected]",
"type": "User"
}
],
"branch": {
"branchId": "1f0ee19a-b40d-e711-81fc-005156bf1aff",
"refId": "110",
"name": "ACMECorp Canada",
"enterpriseNumber": "110",
"currency": "CAD",
"amount": 1756.51,
"netAmount": 1568.31,
"taxAmount": 188.2
},
"group": {
"groupId": "ed82ege0-696a-4739-bfd6-cau25b5249ea",
"refId": "2105645",
"name": "2105645 Reporting Department"
},
"user": {
"userId": "77738a64-a25d-438f-98d5-5431ee47d84b",
"refId": "123456",
"firstName": "Kate",
"lastName": "Friedman",
"email": "[email protected]",
"iban": "BE123145678901"
},
"category": {
"categoryId": "b5a46e5c-1886-4177-81c3-2ce1114be869",
"name": "Hotels (employees)",
"isActive": true,
"accountingCode": null,
"secondaryCode": null
},
"customFields": [
{
"customFieldId": "3c0f8d45-bbd1-4c16-89c8-75cf8d9d7ea9",
"name": "Office location",
"isRequired": true,
"isEnabled": true,
"value": "Toronto",
"code": "490"
}
],
"project": {
"projectId": "db797814-aed2-46d8-9ad6-7e818caa815a",
"refId": "1100056111",
"name": "ACMECorp Reports"
},
"trip": null,
"invoice": {
"isInvoice": true,
"invoiceNumber": "PL68392"
},
"meansOfPayment": {
"paymentMethodId": "fe5hc4b3-9767-4ebf-1084-2ebba4771ede",
"paymentMethod": "CreditCard",
"name": "CompanyCreditCard",
"cardOwnership": "CompanyCard",
"cardNumber": "5032",
"accountNumber": "0532013000",
"travellerId": null,
"matchStatus": "Confirmed",
"transactions": [
{
"processorTransactionId": "111-9000474744547474",
"mcFinancialTransactionId": "0446576452083664145840"
}
]
},
"calculatedCurrencies": [
{
"amount": 1312.68,
"netAmount": 1172.04,
"currency": "USD",
"taxAmount": 140.64
},
{
"amount": 28809.4,
"netAmount": 25722.68,
"currency": "MXN",
"taxAmount": 3086.72
}
],
"taxRate": {
"taxAmount": 120,
"taxRate": 12,
"taxCode": "CAN Purchases 12%",
"subRates": [
{
"amount": 50,
"rate": 5,
"name": "GST"
},
{
"amount": 70,
"rate": 7,
"name": "PST"
}
]
},
"hotel": {
"checkIn": "2021-01-01T10:00:00",
"checkOut": "2021-01-02T10:00:00",
"numberOfNights": 1
},
"location": {
"countryCode": "CA",
"country": "Canada",
"region": "Ontario",
"city": "Toronto"
},
"linkTravel": null,
"perDiem": null,
"mileage": null,
"history": {
"submittedAt": "2021-01-02T10:00:00",
"approvedAt": "2021-01-04T11:06:12.793",
"approvedBy": "[email protected]",
"controlledAt": null,
"controlledBy": null
},
"rejectReasons": [
{
"title": "Duplicated expense",
"type": "Duplicate"
}
],
"countrySpecific": null,
"parentExpenseId": "ac20133e-ddc7-44a9-b78c-ef7247ce8405",
"hasChildren": false
},
{
"exportedAt": "2021-01-03T15:23:03Z",
"expenseId": "9e237a2c-0580-4c9e-9b87-7ff2a070ab84",
"refId": "XPD012216312",
"type": "Mileage",
"amount": 82.75,
"netAmount": 78,
"currency": "MXN",
"expenseDate": "2021-01-06",
"merchant": null,
"merchantEnterpriseNumber": null,
"comment": null,
"expenseStatus": "Controlled",
"isReimbursable": true,
"image": null,
"numberOfAttendees": 1,
"ownerExcluded": false,
"amountPerAttendee": 82.75,
"attachments": [
{
"url": "https://streaming.rydoo.com/attachment/fe8e2033-4c60-470c-aad0-c7ab7bcca620/fe8e2033-4c60-470c-aad0-c7ab7bcca620/e8704947-9d56-462b-ae4a-7c1a5a2ff7da/download/false/Expense?d=24032021121727"
},
{
"url": "https://streaming.rydoo.com/attachment/fe8e2033-4c60-470c-aad0-c7ab7bcca620/fe8e2033-4c60-470c-aad0-c7ab7bcca620/f7f5fd35-5fd0-4b28-adc2-d518fadc0fbc/download/false/Expense?d=21122021121616"
}
],
"attendees": [],
"branch": {
"branchId": "5c5d9e27-b33b-4bfb-b585-1cbcda0f1443",
"refId": "113",
"name": "ACMECorp Mexico",
"enterpriseNumber": "113",
"currency": "MXN",
"amount": 82.75,
"netAmount": 78,
"taxAmount": 4.75
},
"group": {
"groupId": "ed82ege0-696a-4739-bfd6-cau25b5249ea",
"refId": "2105645",
"name": "2105645 Reporting Department"
},
"user": {
"userId": "10b2bd0f-723b-44e9-a392-f35462827fbc",
"refId": "654321",
"firstName": "John",
"lastName": "Smith",
"email": "[email protected]",
"iban": "BE123145671457"
},
"category": {
"categoryId": "046fbf87-4d67-4db0-84ab-cd66f835611f",
"name": "Mileage (employees)",
"isActive": true,
"accountingCode": null,
"secondaryCode": null
},
"customFields": [],
"project": {
"projectId": "db797814-aed2-46d8-9ad6-7e818caa815a",
"refId": "1100056111",
"name": "ACMECorp Reports"
},
"trip": null,
"invoice": {
"isInvoice": false,
"invoiceNumber": null
},
"meansOfPayment": {
"paymentMethodId": null,
"paymentMethod": null,
"name": null,
"cardOwnership": null,
"cardNumber": null,
"accountNumber": null,
"travellerId": null,
"matchStatus": "None",
"transactions": []
},
"calculatedCurrencies": [],
"taxRate": {
"taxAmount": 4.75,
"taxRate": 6.0906,
"taxCode": "MXN Mileage",
"subRates": []
},
"hotel": null,
"location": {
"countryCode": "MX",
"country": "Mexico",
"region": "Mexico",
"city": "Mexico City"
},
"linkTravel": null,
"perDiem": null,
"mileage": {
"mileageRateName": "Own car (domestic and abroad) 2,50 MXN/km",
"from": "Mexico City, Mexico",
"to": "Toxcuca, Mexico",
"distance": 33.1,
"isBackAndForth": false,
"distanceUnit": "km",
"mileageRates": {
"mainRate": {
"rate": 2.5,
"code": "135-0000296",
"distance": 33.1
},
"subRates": [
{
"rate": 1.4252,
"code": "S20",
"distance": 10
},
{
"rate": 3,
"code": "S30",
"distance": 270
}
]
}
},
"history": {
"submittedAt": "2021-01-07T12:00:00",
"approvedAt": "2021-01-07T17:21:56.128",
"approvedBy": "[email protected]",
"controlledAt": "2021-01-08T17:21:56.128",
"controlledBy": "[email protected]"
},
"rejectReasons": [],
"countrySpecific": {
"mexico": {
"validationStatus": "Valid",
"cfdiGuid": "318b0fe6-235f-499d-adbb-e517b24c6ckd",
"rfcNumber": "RCS070607MF9",
"invalidReason": null
}
},
"parentExpenseId": null,
"hasChildren": false
},
{
"exportedAt": "2021-01-03T15:23:03Z",
"expenseId": "020c3bd9-1aac-42ac-973a-6ebbfab7bef4",
"type": "PerDiem",
"amount": 55,
"netAmount": 52.04,
"currency": "NOK",
"expenseDate": "2021-01-03",
"merchant": "Oslo trip",
"merchantEnterpriseNumber": null,
"comment": "Business trip",
"expenseStatus": "Controlled",
"isReimbursable": true,
"image": null,
"numberOfAttendees": 1,
"ownerExcluded": false,
"amountPerAttendee": 55,
"attachments": [],
"attendees": [],
"branch": {
"branchId": "1f0ee19a-b40d-e711-81fc-005156bf1aff",
"refId": "111",
"name": "ACMECorp Norway",
"enterpriseNumber": "111",
"currency": "NOK",
"amount": 55,
"netAmount": 52.04,
"taxAmount": 2.96
},
"group": {
"groupId": "ed82ege0-696a-4739-bfd6-cau25b5249ea",
"refId": "2105645",
"name": "2105645 Reporting Department"
},
"user": {
"userId": "10b2bd0f-723b-44e9-a392-f35462827fbc",
"refId": "654321",
"firstName": "John",
"lastName": "Smith",
"email": "[email protected]",
"iban": "BE123145671457"
},
"category": {
"categoryId": "9e1f22f5-b96f-47de-9bcf-cc2cb54d6477",
"name": "Per Diem (employees)",
"isActive": true,
"accountingCode": null,
"secondaryCode": null
},
"customFields": [],
"project": {
"projectId": "db797814-aed2-46d8-9ad6-7e818caa815a",
"refId": "1100056111",
"name": "ACMECorp Reports"
},
"trip": {
"tripId": "1e99a49a-1091-4c7f-55fa-61503f5bd560",
"refId": "TRP013156185",
"name": "Oslo trip",
"startDate": "2021-01-02T20:00:00",
"endDate": "2021-01-03T12:00:00"
},
"invoice": {
"isInvoice": false,
"invoiceNumber": null
},
"meansOfPayment": {
"paymentMethodId": "52d30509-57b0-44b2-af46-4293fae39fbd",
"paymentMethod": "Per Diem",
"name": "Oslo trip",
"cardOwnership": null,
"cardNumber": null,
"accountNumber": null,
"travellerId": null,
"matchStatus": "None",
"transactions": []
},
"calculatedCurrencies": [],
"taxRate": {
"taxAmount": 2.96,
"taxRate": 5.69,
"taxCode": "NOK Per Diem",
"subRates": []
},
"hotel": null,
"location": {
"countryCode": "NO",
"country": "Norway",
"region": "Norway",
"city": "Oslo"
},
"linkTravel": {
"linkId": "605320",
"linkCode": "8LOJSF",
"bookingId": "2121324"
},
"perDiem": {
"rate": {
"amount": 55,
"name": "Allowance with overnight stay",
"code": "111-0000111"
},
"duration": "16:00",
"region": "Norway",
"currency": "NOK",
"deductions": [
{
"name": "Lunch",
"code": "222-0000222",
"amount": 8.2
}
],
"supplements": [
{
"name": "Overnight",
"code": "OVE",
"amount": 30
}
]
},
"mileage": null,
"history": {
"submittedAt": "2021-01-03T12:00:00",
"approvedAt": "2021-01-05T17:21:56.128",
"approvedBy": "[email protected]",
"controlledAt": "2021-01-06T17:21:56.128",
"controlledBy": "[email protected]"
},
"rejectReasons": [],
"countrySpecific": null,
"parentExpenseId": null,
"hasChildren": false
}
],
"links": {
"next": "/v3/expenses/exported?exportedAtStartDate=2021-01-01T00%3A00%3A00Z&exportedAtEndDate=2021-02-01T00%3A00%3A00Z&limit=1000&startingAfter=48211"
}
}The Rydoo Expense Export API allows customers and partners to export all information related to the expenses created in your company's account. It allows for synchronizing and reconciliation of expense-related information with your ERP system, reimbursement, and reporting tools.
Depending on the configuration of your account, every hour expenses that went through the approval flow will be set as reported. Those reported expenses can then be retrieved via this endpoint.
Note that this endpoint can ONLY be used to retrieve expenses that are with reported status (other status like to submit or waiting for approval status are not exported). Please consult with your technical success manager if you have further questions or need further assistance.
The attendees field will be available from 23th of September 2026.
Endpoint: https://api.rydoo.com/v2/expenses/exported
Endpoint Sandbox (testing environment): https://sandbox-api.rydoo.com/v2/expenses/exported
Multiple VAT feature in API 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 database will actually contain multiple child expenses, one per VAT rate, with all other expense data still the same.
- Integration behavior: The API response will by default contain only the child expenses (split per VAT rate). Integrations will then only process the children.
2 properties 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 child expenses with the single VAT rate.hasChildrenwill betruefor a parent expense with multiple VAT rates andfalsefor a child expense with its single VAT rate or any other regular expense/mileage expense/per diem expense. Query parameterincludeMultipleVatParentis an optional additional parameter allowing you to force the response to also include the ParentExpense.
When there's an expense with 2 VAT rates, you'll see 2 expenses in the default API response, if parameter includeMultipleVatParent is not used or set to false:
- 2 Child expenses with
"parentExpenseId": "expenseGuid of the parent expense",
"hasChildren": false
If query parameter includeMultipleVatParent is set to true in the request, the response will contain 3 expenses:
- 1 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), no adjustments will be required: Rydoo will publish only the child expenses (one per VAT rate) to the API. If you wish to also include the parent Expense with the total amount and both VAT rates, you can make use of query parameter includeMultipleVatParent to also have the response include the parent expense.
To activate the “Multiple VAT” feature in your Rydoo account, please contact your customer success manager.
Request parameters
| Name | Description | Format |
|---|---|---|
| exportedAtStartDate | The start of the date time range for filtering expenses by export date. This filter expects a date time parameter like 2021-02-20T13:45:09Z. Expenses that are exported on the exportedAtStartDate filter datetime are returned. Timezone is in UTC. | query parameter |
| exportedAtEndDate | The end of the date time range for filtering expenses by export date. This filter expects a date time parameter like 2021-02-21T13:45:09Z. Expenses that are exported on the exportedAtEndDate filter datetime are not returned. Timezone is in UTC. | query parameter |
| limit | Maximum number of expenses that will be returned. Default limit is 1000 expenses. | query parameter |
| branchId | Filter to only retrieve the expenses for 1 specific branch. The branchId can be retrieved via the GET /v2/branches endpoint. Only one of userId, groupId, branchId, tripId may be used per request. | query parameter |
| groupId | Filter to only retrieve the expenses for 1 specific group. The groupId can be retrieved via the GET /v2/groups endpoint. Only one of userId, groupId, branchId, tripId may be used per request. | query parameter |
| userId | Filter to only retrieve the expenses of 1 specific user. The userId can be retrieved via the GET /v2/users endpoint. Only one of userId, groupId, branchId, tripId may be used per request. | query parameter |
| tripId | Filter to only retrieve the expenses of 1 specific trip. The tripId can be retrieved from GET /v2/trips endpoint. Only one of userId, groupId, branchId, tripId may be used per request. | query parameter |
| onlyLatestVersions | Expenses can be unreported from the Rydoo tool. If the same expense gets approved and controlled for a second time then this expense would appear again in the export over API. This filter allows you to only retrieve the latest version of the expense. This filter is typically set to true when performing a bulk exports to a reporting tool. Default of this filter is set to false. | query parameter (true / false) |
| startingAfter | Cursor used for paging. It points to the last entry returned by the previous call, so the next call continues right after it. You don't build this value yourself: it is already included in the links.next URL of every response that has a next page. |
Paging
The export endpoint uses cursor-based paging. You never have to calculate page positions yourself — just follow the URL the API gives you.
Make the first call with your filters and, optionally, a limit (default and maximum 1000).
Read links.next from the response and call that URL to get the next page. It already contains all your original filters plus the cursor (startingAfter).
Repeat until the response no longer contains links.next. That means you have retrieved all expenses matching your filters.
links.next is a relative path, so prepend the API host (https://api.rydoo.com, or https://sandbox-api.rydoo.com on the testing environment).
Body response regular expenses
| Object name in JSON | Example | Description | Type | Length (Characters) |
|---|---|---|---|---|
| exportedAt | 2021-01-31T12:15:00 | Date and time at which expense is made available for export. The exportedAtStartDate and exportedAtEndDate filter use this date time value. Timezone is in UTC. | datetime | |
| expenseId | 1b43875e-633e-43ac-8a1c-ad1fd023c490 | Used to identify the expense within Rydoo and with other API endpoints. Not visible or editable, located in rydoo database. | guid | 36 |
| refId | XPD012216312 | Unique reference number of an expense and can be used by the accounting team of the company to search for an expense in Rydoo. | string | 50 |
| type | regularExpense, PerDiem, Mileage | Type of expense. Only 3 options available: regularExpense, PerDiem, Mileage | string | 14 |
| amount | 63.00 | Expense amount (in the original currency) | decimal | 17 |
| netAmount | 55.00 | Net amount of the expense. amount - tax amount (in the original currency) | decimal | 17 |
| currency | DKK | Original currency of the receipt/expense | 3 | |
| expenseDate | 2018-01-31T00:00:00 | Date when the expense incurred | datetime | |
| merchant | Starbucks | Merchant, name of the receipt issuer like Uber, Starbucks, etc. | string | 100 |
| merchantEnterpriseNumber | NIF66666 | Merchant Enterprise number | string | |
| comment | Coffee with Client | Value of the comment field linked to the expense | string | 750 |
| expenseStatus | Possible values: Reported, Approved, Controlled (depends on how approval flow and export to SFTP is set up) | Status possibilities: see manuals: http://help.rydoo.com/en/articles/3665677-status-of-an-expense | string | 10 |
| isReimbursable | TRUE if personal Expense, FALSE if company Expense | Linked to ownership payment method. To be used if an expense is reimbursable or not. Cash payment - reimbursable Company Credit Card - Not Reimbursable | boolean | |
| image.url | https://streaming.rydoo.com/Receipt/original/9c.. | Streaming link of the scanned image. The image is not returned via API but can be accessed and downloaded via URL. | string | 155 |
| numberOfAttendees | 3 | The number of attendees | intiger | |
| ownerExcluded | false | Was the expense owner excluded from the number of attendees? | boolean | |
| amountPerAttendee | 21 | Amount per attendees | decimal | |
| attachments.url | https://streaming.rydoo.com/attachment/fe8e2033-4c60-470c-aad0-c7ab7bcca620/fe8e2033-4c60-470c-aad0-c7ab7bcca620/e8704947-9d56-462b-ae4a-7c1a5a2ff7da/download/false/Expense?d=24032021121727 | Streaming link of the attachment. The attachment is not returned via API but can be accessed and downloaded via URL. | string | |
| attendees.id | eeb86106-57a2-4c2e-8dc5-0e3e704eb880 | Used to identify the attendee. | ||
| attendees.fullName | Amalia Claupfer | Full name of the attendee. | ||
| attendees.email | [email protected] | Email address of the attendee. | ||
| attendees.type | Guest | Type of the attendee (Guest or User) | ||
| branch.branchId | 1f0ee19a-b40d-e711-81fc-005156bf1aff | Used to identify a branch within Rydoo and with other API endpoints. Not visible or editable, located in rydoo database. | guid | 36 |
| branch.refId | 110 | Branch ID (chosen/setup by admin in Rydoo) | string | 100 |
| branch.name | MyCompany Denmark Branch | Name of the branch (Legal Entity) | string | 50 |
| branch.enterpriseNumber | DK12345678 | Enterprise number or VAT number of the branch | string | 50 |
| branch.currency | DKK | Code of the branch's currency | string | 3 |
| branch.amount | 63.01 | Calculated expense amount in branch currency | decimal | 17 |
| branch.netAmount | 59.3 | Calculated expense net amount in branch currency | decimal | 17 |
| branch.taxAmount | 3.71 | Calculated expense amount of VAT in the branch currency | decimal | 17 |
| group.groupId | ed82ege0-696a-4739-bfd6-cau25b5249ea | Used to identify a group within Rydoo and with other API endpoints. Not visible or editable, located in rydoo database. | guid | 36 |
| group.refId | 2105645 | Group ID (chosen/setup by admin in Rydoo) | string | 50 |
| group.name | 2105645 Construction Department | Name of the group | 50 | |
| user.userId | 9c843341-af19-4003-84bb-a1d29197beaa | Used to identify a user within Rydoo and with other API endpoints. Not visible or editable, located in rydoo database. | guid | 36 |
| user.refId | 123456 | User ID (chosen/setup in Rydoo, often Vendor number or HR number) | string | 100 |
| user.firstName | John | First name of the user who created the expense. | string | |
| user.lastName | Appleseed | Laste name of the user who created the expense. | string | |
| user.email | [email protected] | Email address of the user who created the expense. | string | 100 |
| user.iban | BE00000000000001 | IBAN number of account for reimbursement | string | 50 |
| category.categoryId | b5a46e5c-1886-4177-81c3-2ce1114be869 | Used to identify a category within Rydoo and with other API endpoints. Not visible or editable, located in rydoo database. | guid | 36 |
| category.name | Food and beverages | Name of the category (GL account) | string | 50 |
| category.isActive | TRUE or FALSE | Indicates if a category is active or not. | boolean | 5 |
| category.accountingcode | 65001 | Accounting number or GL code | string | 50 |
| category.secondaryCode | 60000 | Extra accounting number for GL information on Category and can be made available through Advance Settings - Enable secondary category number. | string | 50 |
| customFields.customFieldId | 990f0bb7-25e1-4fe2-a7d8-2c83b90d138d | Used to identify a custom field within Rydoo and with other API endpoints. Not visible or editable, located in rydoo database. | guid | 36 |
| customFields.name | Custom field A | Name of custom field | ||
| customFields.isRequired | TRUE or FALSE | Indicates if custom field is required | boolean | |
| customFields.isEnabled | TRUE or FALSE | Indicates if custom field is enabled | boolean | |
| customFields.value | 490 | Value of custom field that was selected by the user. | ||
| customFields.code | 490 | Unique code linked to the custom field value, the data comes from your ERP system | ||
| project.projectId | db797814-aed2-46d8-9ad6-7e818caa815a | Used to identify a project within Rydoo and with other API endpoints. Not visible or editable, located in rydoo database. | guid | 36 |
| project.refId | 1100056111 | Project ID (chosen/setup by admin in Rydoo) | ||
| project.name | 1100056111 Name of the project | Name of the project | ||
| trip.tripId | 1e99a49a-1091-4c7f-55fa-61503f5bd560 | Used to identify a trip within Rydoo and with other API endpoints. Not visible or editable, located in Rydoo database. | guid | 36 |
| trip.name | Trip to Paris | Name of the trip | string | 100 |
| trip.startDate | 2020-01-31T07:45:00 | Start date of the trip | datetime | |
| trip.endDate | 2020-02-12T16:45:00 | End date of the trip | datetime | |
| trip.refId | TRP013156185 | System generated ID and is a unique identifier once the trip has been created | string | 50 |
| invoice.isInvoice | TRUE or FALSE | Indicates the state of the invoice checkbox | boolean | |
| invoice.invoiceNumber | INV627666 | Invoice number associated with the expense | string | |
| meansOfPayment.paymentMethodId | fe5hc4b3-9767-4ebf-1084-2ebba4771ede | Used to identify a payment method within Rydoo and with other API endpoints. Not visible or editable, located in Rydoo database. | guid | |
| meansOfPayment.paymentMethod | Cash, Per Diem, Advance, Credit Card, Debit Card, Paypal Account, Transfer, Prepaid Card, Cheque, American Express, Logde Card, Kbc, Rydoo | User's payment method | ||
| meansOfPayment.name | Cash, DebitCard, CreditCard, Per Diem, Transfer | Name of the payment method under the User's profile | ||
| meansOfPayment.cardOwnership | Company card or Personal | Ownership of the payment method to see if it is a company card or personal | datetime | |
| meansOfPayment.cardNumber | 5021 or xxxx | Last 4 or 5 digits of Credit Card number. Only present if paid by card | string | 19 |
| meansOfPayment.travellerId | DP1201 | Profile ID if Travel is activated. Note: Lodge Card is necessary. | ||
| meansOfPayment.matchStatus | None (no match found or no credit card expense available) / Found (match found but not confirmed yet) / Confirmed (user confirmed the match proposal between the transaction and the Expense | Matching status of the Expense, Rydoo can be automatically match/reconcile an Expense receipt with a bank transaction | string | 50 |
| meansOfPayment.transactions.processorTransactionId | 0843274372984739 | Transaction reference from bank transaction feed | string | |
| meansOfPayment.transactions.mcFinancialTransactionId | 9038438095849038 | Unique transaction id supplied by the bank for this transaction | string | |
| meansOfPayment.transactions.accountNumber | 123456789 | Account number associated with the payment method | string | |
| calculatedCurrencies.amount | 7.54 | Expense amount in converted currency | decimal | |
| calculatedCurrencies.netAmount | 7.10 | Net amount of expense in converted currency | decimal | |
| calculatedCurrencies.currency | GBP | Currency of converted currency | ||
| calculatedCurrencies.taxAmount | 0.44 | Tax amount in converted currency | decimal | |
| taxRate.taxAmount | 3.71 | Tax amount included in the total expense amount. | decimal | 14 |
| taxRate.taxRate | 6.25 | Tax percentage | decimal | 5 |
| taxRate.taxCode | DK Purchases 6,25% | Tax code set up in Rydoo account by admin | string | 50 |
| taxRate.subRates.amount | 50 | Tax amount of the sub rate associated with the expense. | decimal | |
| taxRate.subRates.rate | 5 | Tax percentage of the sub rate | decimal | |
| taxRate.subRates.name | GST | Name of the sub rate set up in Rydoo account by admin | string | |
| hotel.checkIn | 2020-01-28T00:00:00 | Check-in date in case of hotel expense | datetime | |
| hotel.checkOut | 2020-01-31T00:00:00 | Check-out date in case of hotel expense | datetime | |
| hotel.numberOfNights | 3 | Number of nights in case of hotel expense | decimal | |
| location.countryCode | DK | Code for country of expense according to ISO 3166-2 | string | 2 |
| location.country | Denmark | Country of the expense | string | 50 |
| location.region | Capital Region of Denmark | Region of the Country where expense was incurred | string | 50 |
| location.city | Copenhagen | City where the expense incurred | string | 50 |
| linkTravel.linkId | 605430 | string | 50 | |
| linkTravel.linkCode | 8LOJSF | string | 50 | |
| linkTravel.bookingId | 2121324 | string | 50 | |
| history.submittedAt | 2020-01-31T10:30:40.753 | Date when expense was submitted | datetime | |
| history.approvedAt | 2020-01-31T11:06:12.793 | Date when expense was approved | datetime | |
| history.approvedBy | [email protected] | Email address of the approver | string | 100 |
| history.controlledAt | 2020-01-31T16:06:12.793 | Date when expense was controlled | datetime | |
| history.controlledBy | [email protected] | Email address of the controller | string | 100 |
| rejectReasons.title | Duplicated expense, No receipt, etc | Title of the reject reason | ||
| rejectReasons.type | Duplicate, No receipt | Type of reject reason | ||
| countrySpecific.mexico.validationStatus | Valid or Invalid | Only used for Mexican entities. Rules need to be validated by the government first through e-receipt | string | |
| countrySpecific.mexico.cfdiGuid | 318b0fe6-235f-499d-adbb-e517b24c6ckd | Will be available if ValidationStatus is successful | guid | 36 |
| countrySpecific.mexico.rfcNumber | RCS070607MF9 | Registro Federal de Contribuyentes: RFC is a tax I.D. number for Mexico. | string | |
| countrySpecific.mexico.invalidReason | El Sello del Pac no coincide | Indicates the invalid reason when XML validation returns invalid | string | |
| parentExpenseId | ac20133e-ddc7-44a9-b78c-ef7247ce8405 | ID of the parent expense. Only applicable for a VAT entry. | guid | |
| hasChildren | false | Indicates if expense has VAT entries | boolean |
{
"data": [
{
"exportedAt": "2021-01-22T13:45:09Z",
"expenseId": "e5b1dec2-afec-4201-8c93-09ffa479418c",
"refId": "XPD012216312",
"type": "RegularExpense",
"amount": 1120,
"netAmount": 1000,
"currency": "EUR",
"expenseDate": "2021-01-02",
"merchant": "Four Seasons",
"merchantEnterpriseNumber": "58325",
"comment": null,
"expenseStatus": "Approved",
"isReimbursable": false,
"image": {
"url": "https://streaming.rydoo.com/Receipt/original/9c843341-af19-4003-84bb-a1d29197beaa/9c843341-af19-4003-84bb-a1d29197beaa/1b43875e-633e-43ac-8a1c-ad1fd023c490"
},
"numberOfAttendees": 3,
"ownerExcluded": false,
"amountPerAttendee": 373.3,
"attachments": [
{
"url": "https://streaming.rydoo.com/attachment/fe8e2033-4c60-470c-aad0-c7ab7bcca620/fe8e2033-4c60-470c-aad0-c7ab7bcca620/e8704947-9d56-462b-ae4a-7c1a5a2ff7da/download/false/Expense?d=24032021121727"
},
{
"url": "https://streaming.rydoo.com/attachment/fe8e2033-4c60-470c-aad0-c7ab7bcca620/fe8e2033-4c60-470c-aad0-c7ab7bcca620/f7f5fd35-5fd0-4b28-adc2-d518fadc0fbc/download/false/Expense?d=21122021121616"
}
],
"attendees": [
{
"id": "eeb86106-57a2-4c2e-8dc5-0e3e704eb880",
"fullName": "Amalia Claupfer",
"email": "[email protected]",
"type": "Guest"
},
{
"id": "67e2d9b4-6be1-44e9-a38d-469f96b6a2b3",
"fullName": "Sandra Malcory",
"email": "[email protected]",
"type": "User"
}
],
"branch": {
"branchId": "1f0ee19a-b40d-e711-81fc-005156bf1aff",
"refId": "110",
"name": "ACMECorp Canada",
"enterpriseNumber": "110",
"currency": "CAD",
"amount": 1756.51,
"netAmount": 1568.31,
"taxAmount": 188.2
},
"group": {
"groupId": "ed82ege0-696a-4739-bfd6-cau25b5249ea",
"refId": "2105645",
"name": "2105645 Reporting Department"
},
"user": {
"userId": "77738a64-a25d-438f-98d5-5431ee47d84b",
"refId": "123456",
"firstName": "Kate",
"lastName": "Friedman",
"email": "[email protected]",
"iban": "BE123145678901"
},
"category": {
"categoryId": "b5a46e5c-1886-4177-81c3-2ce1114be869",
"name": "Hotels (employees)",
"isActive": true,
"accountingCode": null,
"secondaryCode": null
},
"customFields": [
{
"customFieldId": "3c0f8d45-bbd1-4c16-89c8-75cf8d9d7ea9",
"name": "Office location",
"isRequired": true,
"isEnabled": true,
"value": "Toronto",
"code": "490"
}
],
"project": {
"projectId": "db797814-aed2-46d8-9ad6-7e818caa815a",
"refId": "1100056111",
"name": "ACMECorp Reports"
},
"trip": null,
"invoice": {
"isInvoice": true,
"invoiceNumber": "PL68392"
},
"meansOfPayment": {
"paymentMethodId": "fe5hc4b3-9767-4ebf-1084-2ebba4771ede",
"paymentMethod": "CreditCard",
"name": "CompanyCreditCard",
"cardOwnership": "CompanyCard",
"cardNumber": "5032",
"accountNumber": "0532013000",
"travellerId": null,
"matchStatus": "Confirmed",
"transactions": [
{
"processorTransactionId": "111-9000474744547474",
"mcFinancialTransactionId": "0446576452083664145840"
},
{
"processorTransactionId": "132-900084721974474",
"mcFinancialTransactionId": "0474892346123740571840"
}
]
},
"calculatedCurrencies": [
{
"amount": 1312.68,
"netAmount": 1172.04,
"currency": "USD",
"taxAmount": 140.64
},
{
"amount": 28809.4,
"netAmount": 25722.68,
"currency": "MXN",
"taxAmount": 3086.72
}
],
"taxRate": {
"taxAmount": 120,
"taxRate": 12,
"taxCode": "CAN Purchases 12%",
"subRates": [
{
"amount": 50,
"rate": 5,
"name": "GST"
},
{
"amount": 70,
"rate": 7,
"name": "PST"
}
]
},
"hotel": {
"checkIn": "2021-01-01T10:00:00",
"checkOut": "2021-01-02T10:00:00",
"numberOfNights": 1
},
"location": {
"countryCode": "CA",
"country": "Canada",
"region": "Ontario",
"city": "Toronto"
},
"linkTravel": null,
"perDiem": null,
"mileage": null,
"history": {
"submittedAt": "2021-01-02T10:00:00",
"approvedAt": "2021-01-04T11:06:12.793",
"approvedBy": "[email protected]",
"controlledAt": null,
"controlledBy": null
},
"rejectReasons": [
{
"title": "Duplicated expense",
"type": "Duplicate"
}
],
"countrySpecific": null,
"parentExpenseId": "ac20133e-ddc7-44a9-b78c-ef7247ce8405",
"hasChildren": false
}
],
"links": {
"next": "/v3/expenses/exported?exportedAtStartDate=2021-01-01T00%3A00%3A00Z&exportedAtEndDate=2021-02-01T00%3A00%3A00Z&startingAfter=48211"
}
}Body response mileage expenses
The specific details of mileage expenses are returned in the mileage object which is part of the main expense object.
| Object name in JSON | Example | Description | Type | Length (Characters) |
|---|---|---|---|---|
| mileageRateName | Own car (domestic and abroad) 3,90 NOK/km | Name of the mileage rate | string | 100 |
| from | Bergen, Norway | From address (starting point) | string | 100 |
| to | Hauglandshella, Norway | To address (arrival point) | string | 100 |
| distance | 52.40 | Distance of the mileage expense according to distance unit of the user OR in case of expenses submitted from mobile distance unit in KM | string | 13 |
| isBackAndForth | TRUE or FALSE | Is the mileage expense back and forth? | string | 5 |
| distanceUnit | km or mi | Kilometer or Mile according to distance unit of the user OR in case of expenses submitted from mobile distance unit in KM | string | 2 |
| mileageRates.mainRate.rate | 3.90 | Actual rate per km or mi. Rate set up in Rydoo account by admin. | decimal | 17 |
| mileageRates.mainRate.code | 135-0000296 | Code of rate set up in Rydoo account by admin | string | 50 |
| mileageRates.mainRate.distance | 52.40 | Distance of the mileage expense in mileage rate distance unit (Advised to use when mapping) | string | 13 |
| mileageRates.subRates.rate | 3.90 | Sub-rate applicable after certain amount of km/mi reached by user. | decimal | 17 |
| mileageRates.subRates.code | 135-0000296 | Code of sub-rate set up in Rydoo account by admin | string | 50 |
| mileageRates.subRates.distance | 52.40 | Distance applicable to the sub-rate in distance unit of the mileage expense | string | 13 |
{
"data": [
{
"exportedAt": "2021-01-03T15:23:03Z",
"expenseId": "9e237a2c-0580-4c9e-9b87-7ff2a070ab84",
"refId": "XPD012216312",
"type": "Mileage",
"amount": 82.75,
"netAmount": 78,
"currency": "MXN",
"expenseDate": "2021-01-06",
"merchant": null,
"merchantEnterpriseNumber": null,
"comment": null,
"expenseStatus": "Controlled",
"isReimbursable": true,
"image": null,
"numberOfAttendees": 1,
"ownerExcluded": false,
"amountPerAttendee": 82.75,
"attachments": [
{
"url": "https://streaming.rydoo.com/attachment/fe8e2033-4c60-470c-aad0-c7ab7bcca620/fe8e2033-4c60-470c-aad0-c7ab7bcca620/e8704947-9d56-462b-ae4a-7c1a5a2ff7da/download/false/Expense?d=24032021121727"
},
{
"url": "https://streaming.rydoo.com/attachment/fe8e2033-4c60-470c-aad0-c7ab7bcca620/fe8e2033-4c60-470c-aad0-c7ab7bcca620/f7f5fd35-5fd0-4b28-adc2-d518fadc0fbc/download/false/Expense?d=21122021121616"
}
],
"attendees": [],
"branch": {
"branchId": "5c5d9e27-b33b-4bfb-b585-1cbcda0f1443",
"refId": "113",
"name": "ACMECorp Mexico",
"enterpriseNumber": "113",
"currency": "MXN",
"amount": 82.75,
"netAmount": 78,
"taxAmount": 4.75
},
"group": {
"groupId": "ed82ege0-696a-4739-bfd6-cau25b5249ea",
"refId": "2105645",
"name": "2105645 Reporting Department"
},
"user": {
"userId": "10b2bd0f-723b-44e9-a392-f35462827fbc",
"refId": "654321",
"firstName": "John",
"lastName": "Smith",
"email": "[email protected]",
"iban": "BE123145671457"
},
"category": {
"categoryId": "046fbf87-4d67-4db0-84ab-cd66f835611f",
"name": "Mileage (employees)",
"isActive": true,
"accountingCode": null,
"secondaryCode": null
},
"customFields": [],
"project": {
"projectId": "db797814-aed2-46d8-9ad6-7e818caa815a",
"refId": "1100056111",
"name": "ACMECorp Reports"
},
"trip": null,
"invoice": {
"isInvoice": false,
"invoiceNumber": null
},
"meansOfPayment": {
"paymentMethodId": null,
"paymentMethod": null,
"name": null,
"cardOwnership": null,
"cardNumber": null,
"accountNumber": null,
"travellerId": null,
"matchStatus": "None",
"transactions": []
},
"calculatedCurrencies": [],
"taxRate": {
"taxAmount": 4.75,
"taxRate": 6.0906,
"taxCode": "MXN Mileage",
"subRates": []
},
"hotel": null,
"location": {
"countryCode": "MX",
"country": "Mexico",
"region": "Mexico",
"city": "Mexico City"
},
"linkTravel": null,
"perDiem": null,
"mileage": {
"mileageRateName": "Own car (domestic and abroad) 2,50 MXN/km",
"from": "Mexico City, Mexico",
"to": "Toxcuca, Mexico",
"distance": 33.1,
"isBackAndForth": false,
"distanceUnit": "km",
"mileageRates": {
"mainRate": {
"rate": 2.5,
"code": "135-0000296",
"distance": 33.1
},
"subRates": [
{
"rate": 1.4252,
"code": "S20",
"distance": 10
},
{
"rate": 3,
"code": "S30",
"distance": 270
}
]
}
},
"history": {
"submittedAt": "2021-01-07T12:00:00",
"approvedAt": "2021-01-07T17:21:56.128",
"approvedBy": "[email protected]",
"controlledAt": "2021-01-08T17:21:56.128",
"controlledBy": "[email protected]"
},
"rejectReasons": [],
"countrySpecific": {
"mexico": {
"validationStatus": "Valid",
"cfdiGuid": "318b0fe6-235f-499d-adbb-e517b24c6ckd",
"rfcNumber": "RCS070607MF9",
"invalidReason": null
}
},
"parentExpenseId": null,
"hasChildren": false
}
],
"links": {
"next": "/v3/expenses/exported?branchId=1f0ee19a-b40d-e711-81fc-005156bf1aff&onlyLatestVersions=true&limit=500&startingAfter=48711"
}
}Body response per diem expenses
| Object name in JSON | Example | Description | Type | Length (Characters) |
|---|---|---|---|---|
| rate.amount | 111.00 | Amount of the per diems | decimal | 17 |
| rate.name | Allowance without overnight stay 6-12 h | Name of the per diem rate set up in Rydoo | string | 50 |
| rate.code | 111-0000111 | Rate of the per diem set up in Rydoo | string | 50 |
| duration | 9:00 | Duration of the per diem | datetime | 22 |
| region | Norway | Region where the per diem was applicable | string | 50 |
| currency | NOK | Currency of the per diem rate | string | 3 |
| deductions.name | Lunch | Name of deduction. Only present if specified for certain rate | string | 50 |
| deductions.code | 222-0000222 | Code of deduction | string | 50 |
| deductions.amount | 226.2 | Amount of deduction | decimal | 17 |
| supplements.name | Overnight | Name of supplement. Only present if specified for certain rate | string | 50 |
| supplements.code | OVE | Code of the supplement | string | 50 |
| supplements.amount | 100.00 | Amount of the supplement | decimal | 17 |
{
"data": [
{
"exportedAt": "2021-01-03T15:23:03Z",
"expenseId": "020c3bd9-1aac-42ac-973a-6ebbfab7bef4",
"refId": "XPD012216312",
"type": "PerDiem",
"amount": 55,
"netAmount": 52.04,
"currency": "NOK",
"expenseDate": "2021-01-03",
"merchant": null,
"merchantEnterpriseNumber": null,
"comment": "Business trip",
"expenseStatus": "Controlled",
"isReimbursable": true,
"image": null,
"numberOfAttendees": 1,
"ownerExcluded": false,
"amountPerAttendee": 55,
"attachments": [],
"attendees": [],
"branch": {
"branchId": "1f0ee19a-b40d-e711-81fc-005156bf1aff",
"refId": "111",
"name": "ACMECorp Norway",
"enterpriseNumber": "111",
"currency": "NOK",
"amount": 55,
"netAmount": 52.04,
"taxAmount": 2.96
},
"group": {
"groupId": "ed82ege0-696a-4739-bfd6-cau25b5249ea",
"refId": "2105645",
"name": "2105645 Reporting Department"
},
"user": {
"userId": "10b2bd0f-723b-44e9-a392-f35462827fbc",
"refId": "654321",
"firstName": "John",
"lastName": "Smith",
"email": "[email protected]",
"iban": "BE123145671457"
},
"category": {
"categoryId": "9e1f22f5-b96f-47de-9bcf-cc2cb54d6477",
"name": "Per Diem (employees)",
"isActive": true,
"accountingCode": null,
"secondaryCode": null
},
"customFields": [],
"project": {
"projectId": "db797814-aed2-46d8-9ad6-7e818caa815a",
"refId": "1100056111",
"name": "ACMECorp Reports"
},
"trip": {
"tripId": "1e99a49a-1091-4c7f-55fa-61503f5bd560",
"refId": "TRP013156185",
"name": "Oslo trip",
"startDate": "2021-01-02T20:00:00",
"endDate": "2021-01-03T12:00:00"
},
"invoice": {
"isInvoice": false,
"invoiceNumber": null
},
"meansOfPayment": {
"paymentMethodId": null,
"paymentMethod": null,
"name": null,
"cardOwnership": null,
"cardNumber": null,
"accountNumber": null,
"travellerId": null,
"matchStatus": "None",
"transactions": []
},
"calculatedCurrencies": [],
"taxRate": {
"taxAmount": 2.96,
"taxRate": 5.69,
"taxCode": "NOK Per Diem",
"subRates": []
},
"hotel": null,
"location": {
"countryCode": "NO",
"country": "Norway",
"region": "Norway",
"city": "Oslo"
},
"linkTravel": {
"linkId": "605320",
"linkCode": "8LOJSF",
"bookingId": "2121324"
},
"perDiem": {
"rate": {
"amount": 55,
"name": "Allowance with overnight stay",
"code": "111-0000111"
},
"duration": "16:00",
"region": "Norway",
"currency": "NOK",
"deductions": [
{
"name": "Lunch",
"code": "222-0000222",
"amount": 8.2
}
],
"supplements": [
{
"name": "Overnight",
"code": "OVE",
"amount": 30
}
]
},
"mileage": null,
"history": {
"submittedAt": "2021-01-03T12:00:00",
"approvedAt": "2021-01-05T17:21:56.128",
"approvedBy": "[email protected]",
"controlledAt": "2021-01-06T17:21:56.128",
"controlledBy": "[email protected]"
},
"rejectReasons": [],
"countrySpecific": null,
"parentExpenseId": null,
"hasChildren": false
}
],
"links": {}
}