Skip to main content

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: 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

  • order[id] string

    Possible values: [ASC, DESC]

    Sort the results by the specified field

Responses

OK - The request was processed successfully.


{
"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
}
Loading...