CoworkerInvoiceHistories
Search CoworkerInvoiceHistories
Search and list CoworkerInvoiceHistory records with filtering, sorting, and pagination.
GET
Search CoworkerInvoiceHistories
A CoworkerInvoiceHistory records a history entry for a customer invoice. Each entry captures an activity or event that occurred on that invoice, such as the invoice being sent, an e-invoicing action, a payment receipt, or a payment error.
Use
IsProblem to flag entries that represent errors or issues (e.g. a failed payment attempt). Set Notify to trigger a notification when the history entry is created.
Authentication
This endpoint requires OAuth2 authentication. Include a valid bearer token in the
Authorization header.
The authenticated user must be a full unrestricted administrator or have the CoworkerInvoiceHistory-List role.Query Parameters
Pagination & Sorting
The page number to retrieve.
The number of records per page.
The property name to sort results by (e.g.
Name, CreatedOn).Sort direction.
0 for ascending, 1 for descending.Filters
Filter by iD of the coworker invoice linked to this record.
Filter by iD of the coworker invoice coworker associated with this record.
Filter by iD of the coworker invoice business associated with this record.
Filter by the coworker invoice business currency code value for this coworker invoice history.
Filter by full name of the customer who owns the invoice.
Filter by total amount of the related customer invoice.
Filter by invoice number of the related customer invoice.
Filter by display name of the linked coworker invoice bill to (read-only).
Filter by whether the related customer invoice has been fully paid.
Filter by date/time value for coworker invoice paid on.
Filter by whether coworker invoice refunded is enabled.
Filter by date/time value for coworker invoice refunded on.
Filter by date/time value for coworker invoice due date.
Filter by whether the related customer invoice is still in draft.
Filter by short title of the history entry (e.g. ‘Invoice sent’, ‘Payment received’).
Filter by detailed description of the activity or event recorded by this history entry.
Filter by flags this history entry as an error or issue (e.g. a failed payment attempt or e-invoicing error).
Filter by whether to send a notification when this history entry is created.
Range Filters
Filter by iD of the coworker invoice coworker associated with this record greater than or equal to this value.
Filter by iD of the coworker invoice coworker associated with this record less than or equal to this value.
Filter by iD of the coworker invoice business associated with this record greater than or equal to this value.
Filter by iD of the coworker invoice business associated with this record less than or equal to this value.
Filter by date/time value for coworker invoice paid on greater than or equal to this value. Format:
YYYY-MM-DDTHH:mm.Filter by date/time value for coworker invoice paid on less than or equal to this value. Format:
YYYY-MM-DDTHH:mm.Filter by date/time value for coworker invoice refunded on greater than or equal to this value. Format:
YYYY-MM-DDTHH:mm.Filter by date/time value for coworker invoice refunded on less than or equal to this value. Format:
YYYY-MM-DDTHH:mm.Filter by date/time value for coworker invoice due date greater than or equal to this value. Format:
YYYY-MM-DDTHH:mm.Filter by date/time value for coworker invoice due date less than or equal to this value. Format:
YYYY-MM-DDTHH:mm.Filter records created on or after this date. Format:
YYYY-MM-DDTHH:mm.Filter records created on or before this date. Format:
YYYY-MM-DDTHH:mm.Filter records updated on or after this date. Format:
YYYY-MM-DDTHH:mm.Filter records updated on or before this date. Format:
YYYY-MM-DDTHH:mm.Code Examples
Simple listing
Filtering by Name
Range filters
Response
200
The list of CoworkerInvoiceHistory records matching the query. See the Get one CoworkerInvoiceHistory endpoint for the full list of properties returned for each record.
Current page number.
Number of records per page.
The field used for sorting.
The sort direction (
0 = ascending, 1 = descending).Index of the first item on the current page.
Index of the last item on the current page.
Total number of matching records across all pages.
Total number of pages.
Whether there is a next page of results.
Whether there is a previous page of results.
Example Response
Search CoworkerInvoiceHistories