Invoices
List all invoices
Retrieve a paginated list of invoices. Supports cursor-based pagination with limit, order, start_after, and end_before query parameters.
get/ar/invoices
Query parameters
limitinteger
Maximum number of results to return. Allowed range: 1 to 1000. Defaults to 1000
order'asc' | 'desc'
Sort order. Can be 'asc' or 'desc'. Defaults to 'asc'
start_afterstring uuid
The ID of the invoice to start the page after (exclusive). When provided, results will begin with the invoice immediately following this ID. Use this for standard forward pagination to get the next page of results. Cannot be combined with end_before.
end_beforestring uuid
The ID of the invoice to end the page before (exclusive). When provided, results will end just before this ID and work backwards. Use this for reverse pagination or to retrieve previous pages. Cannot be combined with start_after.
Response
Example response
{
"invoices": [
{
"canceledAt": "2016-07-22T00:00:00Z",
"createdAt": "2016-07-22T00:00:00Z",
"dueDate": "2016-07-22",
"invoiceDate": "2016-07-22",
"updatedAt": "2016-07-22T00:00:00Z"
}
]
}