Get list of expense documents.
GET/api/documents
This API endpoint has been purposefully crafted to get expense documents list.
Request
Query Parameters
Include externalIntegrations field in response items.
Default value: 1
The collection page number
Possible values: <= 500
Default value: 30
The number of items per page
Enable or disable pagination
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"
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"
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"
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"
Possible values: [ASC, DESC]
Sort the results by the specified field
Possible values: [ASC, DESC]
Sort the results by the specified field
Responses
- 200
- 401
- 403
OK - The request was processed successfully.
- application/ld+json
- Schema
- Example (from schema)
- Example
Schema
- any
{
"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
}
{
"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"
}
Forbidden -- Access to the requested resource or action is forbidden.
- application/json
- Schema
- Example (from schema)
Schema
{
"type": "string",
"title": "string",
"detail": "string"
}