Get list of expense documents.
This API endpoint has been purposefully crafted to get expense documents list.
Query Parameters
- page integer
Default value:
1
The collection page number
- itemsPerPage integer
Possible values:
<= 500
Default value:
30
The 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
- 200
- 401
- 403
OK - The request was processed successfully.
- application/json
- Schema
- Example (from schema)
Schema
- Array [
- id string
- name stringnull
- mimeType string
- transactionId integernull
- createdAt date-time
Datetime of the creation in format Y-m-d H:i:s.
- ]
[
{
"id": 1,
"name": "document.pdf",
"mimeType": "application/pdf",
"transactionId": "1",
"createdAt": "2027-11-22 13:00:00"
}
]
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"
}