Skip to main content
GET
Search CoworkerInvoiceLines
A CoworkerInvoiceLine represents an individual line item on a customer invoice. Each line captures the description, quantity, amounts, tax, and an optional link to the sale item that generated it. Properties ending in UniqueId link the line to the originating sale record using its GUID UniqueId property (not the integer ID). Only one of these will be populated per line:

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 CoworkerInvoiceLine-List role.

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 coworker invoice linked to this record.
string
Filter by invoice number of the parent invoice.
string
Filter by whether the parent invoice has been fully paid.
string
Filter by date/time value for coworker invoice paid on.
string
Filter by whether the parent invoice is a credit note.
string
Filter by currency code of the parent invoice (e.g. USD, EUR).
string
Filter by date/time value for coworker invoice due date.
string
Filter by line item description shown internally.
string
Filter by override text displayed on the printed/emailed invoice instead of the description.
string
Filter by name of the tax category applied to this line.
integer
Filter by number of units for this line item.
number
Filter by line subtotal before tax (unit price x quantity).
number
Filter by tax amount calculated for this line.
number
Filter by tax rate percentage applied to this line.
string
Filter by uniqueId (GUID) of the CoworkerContract that generated this line.
string
Filter by uniqueId (GUID) of the ContractDeposit that generated this line.
string
Filter by uniqueId (GUID) of the Booking that generated this line.
string
Filter by uniqueId (GUID) of the CoworkerExtraService that generated this line.
string
Filter by uniqueId (GUID) of the base ExtraService linked to this line.
string
Filter by uniqueId (GUID) of the CoworkerTimePass that generated this line.
string
Filter by uniqueId (GUID) of the Charge that generated this line.
string
Filter by uniqueId (GUID) of the CoworkerProduct that generated this line.
string
Filter by uniqueId (GUID) of the EventAttendee that generated this line.
string
Filter by uniqueId (GUID) linking this line to a group of related invoice lines.
number
Filter by amount that has been refunded for this line.
boolean
Filter by whether this line has been fully or partially refunded.
string
Filter by date and time when this line was refunded.
string
Filter by date the sale occurred for this line item.
string
Filter by discount code applied to this line.
number
Filter by discount amount deducted from this line.
string
Filter by name of the linked CoworkerExtraService.
string
Filter by name of the linked CoworkerTimePass.
string
Filter by name of the linked CoworkerProduct.
string
Filter by display name of the linked event attendee product (read-only).
string
Filter by name of the plan (tariff) associated with this line.
string
Filter by code of the financial account (revenue category) for this line.
string
Filter by name of the financial account (revenue category) for this line.
string
Filter by iD of the issued by unique associated with this record.
string
Filter by iD of the cancelled coworker invoice line unique associated with this record.
string
Filter by date/time value for created on local.
string
Filter by date/time value for refunded on local.
string
Filter by date/time value for sale date local.
integer
Filter by display order of this line on the invoice.
boolean
Filter by whether this line is hidden from the customer-facing invoice.
boolean
Filter by whether this line represents a universal credit applied to the invoice.
string
Filter by purchase order reference for this line.
number
Filter by credit amount applied to this line.
boolean
Filter by whether this line is a prorated charge from a mid-cycle contract change.
string
Filter by iD of the coworker discount code unique associated with this record.

Range Filters

string
Filter by date/time value for coworker invoice paid on greater than or equal to this value. Format: YYYY-MM-DDTHH:mm.
string
Filter by date/time value for coworker invoice paid on less than or equal to this value. Format: YYYY-MM-DDTHH:mm.
string
Filter by date/time value for coworker invoice due date greater than or equal to this value. Format: YYYY-MM-DDTHH:mm.
string
Filter by date/time value for coworker invoice due date less than or equal to this value. Format: YYYY-MM-DDTHH:mm.
integer
Filter by number of units for this line item greater than or equal to this value.
integer
Filter by number of units for this line item less than or equal to this value.
number
Filter by line subtotal before tax (unit price x quantity) greater than or equal to this value.
number
Filter by line subtotal before tax (unit price x quantity) less than or equal to this value.
number
Filter by tax amount calculated for this line greater than or equal to this value.
number
Filter by tax amount calculated for this line less than or equal to this value.
number
Filter by tax rate percentage applied to this line greater than or equal to this value.
number
Filter by tax rate percentage applied to this line less than or equal to this value.
number
Filter by amount that has been refunded for this line greater than or equal to this value.
number
Filter by amount that has been refunded for this line less than or equal to this value.
string
Filter by date and time when this line was refunded greater than or equal to this value. Format: YYYY-MM-DDTHH:mm.
string
Filter by date and time when this line was refunded less than or equal to this value. Format: YYYY-MM-DDTHH:mm.
string
Filter by date the sale occurred for this line item greater than or equal to this value. Format: YYYY-MM-DDTHH:mm.
string
Filter by date the sale occurred for this line item less than or equal to this value. Format: YYYY-MM-DDTHH:mm.
number
Filter by discount amount deducted from this line greater than or equal to this value.
number
Filter by discount amount deducted from this line less than or equal to this value.
string
Filter by date/time value for created on local greater than or equal to this value. Format: YYYY-MM-DDTHH:mm.
string
Filter by date/time value for created on local less than or equal to this value. Format: YYYY-MM-DDTHH:mm.
string
Filter by date/time value for refunded on local greater than or equal to this value. Format: YYYY-MM-DDTHH:mm.
string
Filter by date/time value for refunded on local less than or equal to this value. Format: YYYY-MM-DDTHH:mm.
string
Filter by date/time value for sale date local greater than or equal to this value. Format: YYYY-MM-DDTHH:mm.
string
Filter by date/time value for sale date local less than or equal to this value. Format: YYYY-MM-DDTHH:mm.
integer
Filter by display order of this line on the invoice greater than or equal to this value.
integer
Filter by display order of this line on the invoice less than or equal to this value.
number
Filter by credit amount applied to this line greater than or equal to this value.
number
Filter by credit amount applied to this line less than or equal to this value.
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

CoworkerInvoiceLine[]
The list of CoworkerInvoiceLine records matching the query. See the Get one CoworkerInvoiceLine endpoint for the full list of properties returned for each record.
Partial records — The listing endpoint returns a summary representation of each CoworkerInvoiceLine. The following fields are not populated in the Records[] response: TaxAmount, TaxRate, PurchaseOrder, CreditAmount.To get all fields, fetch the full record using the Get one CoworkerInvoiceLine endpoint.Important for updates: When updating a record via PUT, always retrieve the full record with a GET request first, apply your changes to that complete data, and then send the updated record. Do not use data from a listing response as the base for a PUT request, as missing fields may be unintentionally cleared.
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