CoworkerLedgerEntries
Search CoworkerLedgerEntries
Search and list CoworkerLedgerEntry records with filtering, sorting, and pagination.
GET
Search CoworkerLedgerEntries
A CoworkerLedgerEntry is an individual financial transaction line in a customer’s ledger. Ledger entries record debits, credits, and the running balance between a location and a customer.
Each entry can be linked to a
CoworkerInvoice and carries a PaymentGatewayName that identifies which payment provider processed the transaction.
The ledger balance reflects the net financial position between the location and the customer:
- A positive balance means the customer owes money (unpaid invoices).
- A negative balance means the customer has credited payments that will be applied to future invoices.
- A balance of 0 means the account is settled with no outstanding invoices or credits.
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 CoworkerLedgerEntry-List role.Enums
ePaymentProvider
ePaymentProvider
Query Parameters
Pagination & Sorting
integer
default:"1"
The page number to retrieve.
integer
default:"25"
The number of records per page.
string
The property name to sort results by (e.g.
Name, CreatedOn).integer
Sort direction.
0 for ascending, 1 for descending.Filters
integer
Filter by iD of the business linked to this record.
string
Filter by location name.
string
Filter by location currency code.
integer
Filter by iD of the coworker linked to this record.
string
Filter by coworker full name.
integer
Filter by iD of the coworker invoice linked to this record.
string
Filter by invoice number.
string
Filter by invoice total amount.
string
Filter by invoice bill-to name.
boolean
Filter by whether the invoice has been paid.
string
Filter by date the invoice was paid.
boolean
Filter by whether the invoice has been refunded.
string
Filter by date the invoice was refunded.
string
Filter by invoice due date.
boolean
Filter by whether the invoice is a draft.
boolean
Filter by whether the invoice is waiting to be assigned an invoice number.
string
Filter by free-text description of this coworker ledger entry.
string
Filter by ledger entry code.
number
Filter by debit amount.
number
Filter by credit amount.
integer
Filter by payment gateway name.
string
Filter by payment method number.
string
Filter by transaction date.
number
Filter by account balance after this transaction. Read-only.
boolean
Filter by whether this entry has been billed.
string
Filter by transaction date in the location’s local time.
string
Filter by connected transaction GUID.
Range Filters
string
Filter by date the invoice was paid greater than or equal to this value. Format:
YYYY-MM-DDTHH:mm.string
Filter by date the invoice was paid less than or equal to this value. Format:
YYYY-MM-DDTHH:mm.string
Filter by date the invoice was refunded greater than or equal to this value. Format:
YYYY-MM-DDTHH:mm.string
Filter by date the invoice was refunded less than or equal to this value. Format:
YYYY-MM-DDTHH:mm.string
Filter by invoice due date greater than or equal to this value. Format:
YYYY-MM-DDTHH:mm.string
Filter by invoice due date less than or equal to this value. Format:
YYYY-MM-DDTHH:mm.number
Filter by debit amount greater than or equal to this value.
number
Filter by debit amount less than or equal to this value.
number
Filter by credit amount greater than or equal to this value.
number
Filter by credit amount less than or equal to this value.
string
Filter by transaction date greater than or equal to this value. Format:
YYYY-MM-DDTHH:mm.string
Filter by transaction date less than or equal to this value. Format:
YYYY-MM-DDTHH:mm.number
Filter by account balance after this transaction. Read-only greater than or equal to this value.
number
Filter by account balance after this transaction. Read-only less than or equal to this value.
string
Filter by transaction date in the location’s local time greater than or equal to this value. Format:
YYYY-MM-DDTHH:mm.string
Filter by transaction date in the location’s local time less than or equal to this value. Format:
YYYY-MM-DDTHH:mm.string
Filter records created on or after this date. Format:
YYYY-MM-DDTHH:mm.string
Filter records created on or before this date. Format:
YYYY-MM-DDTHH:mm.string
Filter records updated on or after this date. Format:
YYYY-MM-DDTHH:mm.string
Filter records updated on or before this date. Format:
YYYY-MM-DDTHH:mm.Code Examples
Simple listing
Filtering by Description
Range filters
Response
200
CoworkerLedgerEntry[]
The list of CoworkerLedgerEntry records matching the query. See the Get one CoworkerLedgerEntry endpoint for the full list of properties returned for each record.
integer
Current page number.
integer
Number of records per page.
string
The field used for sorting.
integer
The sort direction (
0 = ascending, 1 = descending).integer
Index of the first item on the current page.
integer
Index of the last item on the current page.
integer
Total number of matching records across all pages.
integer
Total number of pages.
boolean
Whether there is a next page of results.
boolean
Whether there is a previous page of results.
Example Response
Search CoworkerLedgerEntries