Get list of expense documents.
This API endpoint has been purposefully crafted to get expense documents list.
Query Parameters
- includeExternalIntegrations boolean
Include externalIntegrations field in response items.
- page integer
Default value:
1The collection page number
- itemsPerPage integer
Possible values:
<= 500Default value:
30The number of items per page
- pagination boolean
Enable or disable pagination
- createdAt[lte] string
The date and time in ISO 8601 format. If only the date portion is provided, the time will default to 00:00:00. Example: "2024-11-21T11:54:39.000Z"
- createdAt[lt] string
The date and time in ISO 8601 format. If only the date portion is provided, the time will default to 00:00:00. Example: "2024-11-21T11:54:39.000Z"
- createdAt[gte] string
The date and time in ISO 8601 format. If only the date portion is provided, the time will default to 00:00:00. Example: "2024-11-21T11:54:39.000Z"
- createdAt[gt] string
The date and time in ISO 8601 format. If only the date portion is provided, the time will default to 00:00:00. Example: "2024-11-21T11:54:39.000Z"
- order[createdAt] string
Possible values: [
ASC,DESC]Sort the results by the specified field
- order[id] string
Possible values: [
ASC,DESC]Sort the results by the specified field
- 200
- 401
- 403
OK - The request was processed successfully.
- application/ld+json
- Example
{
"hydra:member": [
{
"id": "1",
"name": "invoice.pdf",
"mimeType": "application/pdf",
"transactionId": 1,
"createdAt": "2027-11-22T13:00:00+00:00",
"externalIntegrations": [
{
"externalId": "95",
"type": "uploaded",
"documentId": "111-111",
"lastTriggeredAt": "2025-02-21T17:45:30+00:00",
"integrationType": "bexio"
}
]
}
],
"hydra:totalItems": 1
}
Unauthorised -- Your access token is wrong.
- application/json
- Schema
- Example (from schema)
Schema
- type string
- title string
- detail string
{
"type": "string",
"title": "string",
"detail": "string"
}
Forbidden -- Access to the requested resource or action is forbidden.
- application/json
- Schema
- Example (from schema)
Schema
- type string
- title string
- detail string
{
"type": "string",
"title": "string",
"detail": "string"
}