CoworkerInvoiceLines
Search CoworkerInvoiceLines
Search and list CoworkerInvoiceLine records with filtering, sorting, and pagination.
GET
Search CoworkerInvoiceLines
An invoice line is an individual billed item on a customer invoice. It records the billed description, quantity, net amount, calculated tax, and provenance from the originating contract, booking, charge, pass, time credit, product sale, or event purchase; lines are created and removed through billing workflows, then corrected only while the invoice remains unpaid.
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
Filters
Filter by iD of the invoice that contains this line; it determines the customer, location, currency, and payment state..
Filter by required line-item description; shown on the invoice unless DisplayAs supplies replacement printed text..
Filter by optional customer-facing text displayed on printed and emailed invoices instead of Description..
Filter by optional tax-category name used to resolve the line tax rate; otherwise the customer’s personal rate or the location default applies..
Filter by number of units on the line; changes the linked product quantity when the line originated from a product sale..
Filter by net line amount before tax; changing it recalculates tax and invoice totals and may update the linked charge, pass, time credit, or product sale..
Filter by calculated tax amount for this line, derived from SubTotal and the resolved TaxCategoryName, customer, or location tax rate; do not set directly..
Filter by calculated tax percentage applied to this line; resolved from TaxCategoryName, the customer’s personal rate, or the location default; do not set directly..
Filter by read-only GUID of the contract that generated this line, when it originated from contract billing..
Filter by read-only GUID of the customer’s time credit that generated this line, when applicable..
Filter by read-only GUID of the underlying booking or printing rate associated with this line, when applicable..
Filter by read-only GUID of the customer’s product sale that generated this line, when applicable..
Filter by read-only GUID of the event attendance purchase that generated this line, when applicable..
Filter by read-only GUID linking this line to a related grouped invoice line; deleting the parent line also deletes its grouped lines..
Filter by read-only gross amount already refunded for this line, including tax; it limits further refunds..
Filter by whether a refund workflow has refunded this line; inspect RefundedAmount for the refunded amount..
Filter by type of the financial account (1 Sales, 2 Payments, 3 Deposits) captured when the line was created.
Filter by gUID of the entity that issued this line, such as the issuing contract or location; retain for provenance rather than setting manually..
Filter by gUID of the original line cancelled by this line; maintained by cancellation workflows and used when reversing cancellation..
Filter by location-timezone mirror of RefundedOn; use the canonical RefundedOn value instead..
Filter by whether this system-created line is hidden from the customer-facing invoice, for example because it is grouped under another line..
Filter by whether this line represents a universal credit applied to the invoice; maintained from the originating credit configuration..
Filter by optional purchase-order reference for this line, used when billing splits or groups items by purchase order..
Filter by read-only monetary amount of the customer’s available booking credit applied to the originating product sale; copied to this line for reference and does not reduce SubTotal or TaxAmount..
Filter by whether this is a system-generated prorated contract adjustment for a mid-cycle change..
Filter by read-only GUID of the customer discount-code record that generated this line’s discount..
Range Filters
Filter by display value for CoworkerInvoice.PaidOn. greater than or equal to this value. Format:
YYYY-MM-DDTHH:mm.Filter by display value for CoworkerInvoice.PaidOn. less than or equal to this value. Format:
YYYY-MM-DDTHH:mm.Filter by display value for CoworkerInvoice.DueDate. greater than or equal to this value. Format:
YYYY-MM-DDTHH:mm.Filter by display value for CoworkerInvoice.DueDate. less than or equal to this value. Format:
YYYY-MM-DDTHH:mm.Filter by number of units on the line; changes the linked product quantity when the line originated from a product sale. greater than or equal to this value.
Filter by number of units on the line; changes the linked product quantity when the line originated from a product sale. less than or equal to this value.
Filter by net line amount before tax; changing it recalculates tax and invoice totals and may update the linked charge, pass, time credit, or product sale. greater than or equal to this value.
Filter by net line amount before tax; changing it recalculates tax and invoice totals and may update the linked charge, pass, time credit, or product sale. less than or equal to this value.
Filter by calculated tax amount for this line, derived from SubTotal and the resolved TaxCategoryName, customer, or location tax rate; do not set directly. greater than or equal to this value.
Filter by calculated tax amount for this line, derived from SubTotal and the resolved TaxCategoryName, customer, or location tax rate; do not set directly. less than or equal to this value.
Filter by calculated tax percentage applied to this line; resolved from TaxCategoryName, the customer’s personal rate, or the location default; do not set directly. greater than or equal to this value.
Filter by calculated tax percentage applied to this line; resolved from TaxCategoryName, the customer’s personal rate, or the location default; do not set directly. less than or equal to this value.
Filter by read-only gross amount already refunded for this line, including tax; it limits further refunds. greater than or equal to this value.
Filter by read-only gross amount already refunded for this line, including tax; it limits further refunds. less than or equal to this value.
Filter by read-only UTC date and time when a refund workflow refunded this line. greater than or equal to this value. Format:
YYYY-MM-DDTHH:mm.Filter by read-only UTC date and time when a refund workflow refunded this line. less than or equal to this value. Format:
YYYY-MM-DDTHH:mm.Filter by read-only UTC date and time when the underlying sale occurred. greater than or equal to this value. Format:
YYYY-MM-DDTHH:mm.Filter by read-only UTC date and time when the underlying sale occurred. less than or equal to this value. Format:
YYYY-MM-DDTHH:mm.Filter by read-only discount amount deducted from this line when it was generated. greater than or equal to this value.
Filter by read-only discount amount deducted from this line when it was generated. less than or equal to this value.
Filter by type of the financial account (1 Sales, 2 Payments, 3 Deposits) captured when the line was created greater than or equal to this value.
Filter by type of the financial account (1 Sales, 2 Payments, 3 Deposits) captured when the line was created less than or equal to this value.
Filter by location-timezone mirror of CreatedOn; use the canonical CreatedOn value instead. greater than or equal to this value. Format:
YYYY-MM-DDTHH:mm.Filter by location-timezone mirror of CreatedOn; use the canonical CreatedOn value instead. less than or equal to this value. Format:
YYYY-MM-DDTHH:mm.Filter by location-timezone mirror of RefundedOn; use the canonical RefundedOn value instead. greater than or equal to this value. Format:
YYYY-MM-DDTHH:mm.Filter by location-timezone mirror of RefundedOn; use the canonical RefundedOn value instead. less than or equal to this value. Format:
YYYY-MM-DDTHH:mm.Filter by location-timezone mirror of SaleDate; use the canonical SaleDate value instead. greater than or equal to this value. Format:
YYYY-MM-DDTHH:mm.Filter by location-timezone mirror of SaleDate; use the canonical SaleDate value instead. less than or equal to this value. Format:
YYYY-MM-DDTHH:mm.Filter by read-only display order assigned when invoice lines are ordered. greater than or equal to this value.
Filter by read-only display order assigned when invoice lines are ordered. less than or equal to this value.
Filter by read-only monetary amount of the customer’s available booking credit applied to the originating product sale; copied to this line for reference and does not reduce SubTotal or TaxAmount. greater than or equal to this value.
Filter by read-only monetary amount of the customer’s available booking credit applied to the originating product sale; copied to this line for reference and does not reduce SubTotal or TaxAmount. less than or equal to this value.
Code Examples
Simple listing
Filtering by Description
Range filters
Response
200
The list of CoworkerInvoiceLine records matching the query. See the Get one CoworkerInvoiceLine endpoint for the full list of properties returned for each record.
Example Response