Get all credit notes for an entity

GET
/payable_credit_notes

Headers

Auth
AuthorizationstringRequired
Bearer authentication of the form Bearer <token>, where token is your auth token.
x-monite-versionstringRequired
x-monite-entity-idstringRequired

The ID of the entity that owns the requested resource.

Query parameters

order"asc" or "desc"Optional

Sort order (ascending by default). Typically used together with the sort parameter.

Allowed values: ascdesc
limitintegerOptional>=1<=100

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.

pagination_tokenstringOptional

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.

sort"id" or "created_at"Optional

The field to sort the results by. Typically used together with the order parameter.

Allowed values: idcreated_at
created_at__gtdatetimeOptional
created_at__ltdatetimeOptional
created_at__gtedatetimeOptional
created_at__ltedatetimeOptional
issued_atstringOptional
issued_at__gtstringOptional
issued_at__ltstringOptional
issued_at__gtestringOptional
issued_at__ltestringOptional
document_idstringOptional
document_id__iexactstringOptional
document_id__containsstringOptional
document_id__icontainsstringOptional
amount__gtintegerOptional
amount__ltintegerOptional
amount__gteintegerOptional
amount__lteintegerOptional
subtotal__gtintegerOptional
subtotal__ltintegerOptional
subtotal__gteintegerOptional
subtotal__lteintegerOptional
based_onstringOptional
counterpart_idstringOptional
created_by_entity_user_idstringOptional
statusenumOptional
Allowed values: draftissueddeleted
status__inenumOptional
Allowed values: draftissueddeleted
status__not_inenumOptional
Allowed values: draftissueddeleted
currencyenumOptional

Response

Successful Response

datalist of objects

List of credit notes for the current page

next_pagination_tokenstringOptional

Token to retrieve the next page of results

prev_pagination_tokenstringOptional

Token to retrieve the previous page of results

Errors