Get payables
Authentication
Bearer authentication of the form Bearer <token>
, where token is your auth token.
Headers
Query parameters
Sort order (ascending by default). Typically used together with the sort
parameter.
The number of items (0 .. 100) to return in a single page of the response. The response may contain fewer items if it is the last or only page.
A pagination token obtained from a previous call to this endpoint. Use it to get the next or previous page of results for your initial query. If pagination_token
is specified, all other query parameters are ignored and inferred from the initial query.
If not specified, the first page of results will be returned.
The field to sort the results by. Typically used together with the order
parameter.
Return only payables created in Monite after the specified date and time. The value must be in the ISO 8601 format YYYY-MM-DDThh:mm[:ss[.ffffff]][Z|±hh:mm].
Return only payables that have the specified status.
To query multiple statuses at once, use the status__in
parameter instead.
Return only payables that have the specified statuses.
To specify multiple statuses, repeat this parameter for each value: status__in=draft&status__in=new
Return only payables with specified IDs. Valid but nonexistent IDs do not raise errors but produce no results.
To specify multiple IDs, repeat this parameter for each value: id__in=<id1>&id__in=<id2>
Return only payables with the exact specified total amount. The amount must be specified in the minor units of currency. For example, $12.5 is represented as 1250.
Return only payables whose total amount (in minor units) exceeds the specified value.
Return only payables whose total amount (in minor units) is less than the specified value.
Return only payables whose total amount (in minor units) is greater than or equal to the specified value.
Return only payables whose total amount (in minor units) is less than or equal to the specified value.
Return only payables whose amount (in minor units) exceeds the specified value.
Return only payables whose amount (in minor units) is less than the specified value.
Return only payables whose amount (in minor units) is greater than or equal to the specified value.
Return only payables whose amount (in minor units) is less than or equal to the specified value.
Return only payables received from counterparts with the specified name (exact match, case-sensitive).
For counterparts of type = individual
, the full name is formatted as first_name last_name
.
Return payables that are due on the specified date (YYYY-MM-DD)
Return payables that are due after the specified date (exclusive, YYYY-MM-DD).
Return payables that are due before the specified date (exclusive, YYYY-MM-DD).
Return payables that are due on or after the specified date (YYYY-MM-DD).
Return payables that are due before or on the specified date (YYYY-MM-DD).
Return payables that are issued at the specified date (YYYY-MM-DD)
Return payables that are issued after the specified date (exclusive, YYYY-MM-DD).
Return payables that are issued before the specified date (exclusive, YYYY-MM-DD).
Return payables that are issued on or after the specified date (YYYY-MM-DD).
Return payables that are issued before or on the specified date (YYYY-MM-DD).
Return a payable with the exact specified document number (case-sensitive).
The document_id
is the user-facing document number such as INV-00042, not to be confused with Monite resource IDs (id
).
Return only payables whose document number (document_id
) contains the specified string (case-sensitive).
Return only payables whose document number (document_id
) contains the specified string (case-insensitive).
Response
A token that can be sent in the pagination_token
query parameter to get the next page of results, or null
if there is no next page (i.e. you’ve reached the last page).
A token that can be sent in the pagination_token
query parameter to get the previous page of results, or null
if there is no previous page (i.e. you’ve reached the first page).