Retrieve a list of invoices
Retrieves the collection of Invoice resources.
Authorizations:Token, JWT
Query Parameters
order_id required | stringInvoice identifier | ||||
page | integerDefault: 1 The collection page number | ||||
itemsPerPage | integer[0 .. 100]Default: 30 The number of items per page | ||||
pagination | booleanEnable or disable pagination | ||||
filter.createdAt.range | object (Range filter for "createdAt" field)Range filter for "createdAt" field | ||||
|
Query Parameters
order_id required | stringInvoice identifier | ||||
page | integerDefault: 1 The collection page number | ||||
itemsPerPage | integer[0 .. 100]Default: 30 The number of items per page | ||||
pagination | booleanEnable or disable pagination | ||||
filter.createdAt.range | object (Range filter for "createdAt" field)Range filter for "createdAt" field | ||||
|
Responses
200Invoice collection
Response schema:
Invoice collection Array
invoiceNumber | string | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
profile | object | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
createdAt | string | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
updatedAt | string | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
status | string | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
customerNotes | string | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
adminNotes | string | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
items | Array of objects | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
Array
| |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
surcharges | Array of objects | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
Array
| |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
paymentTransactions | Array of objects | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
Array
| |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
currency | string3 characters | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
subtotal | number | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
total | number | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
id | integer>= 1 |
401Unauthorized
Response schema:
Unauthorized type | stringExample: "https://tools.ietf.org/html/rfc2616#section-10" |
title | stringExample: "An error occurred" |
detail | string or nullExample: "Cannot find entity" |
instance | string or null |
500Internal error
Response schema:
Internal error type | stringExample: "https://tools.ietf.org/html/rfc2616#section-10" |
title | stringExample: "An error occurred" |
detail | string or nullExample: "Cannot find entity" |
instance | string or null |