CoworkerInvoiceLines
Get one CoworkerInvoiceLine
Retrieve a single CoworkerInvoiceLine record by its Id.
GET
Get one CoworkerInvoiceLine
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-Read role.Path Parameters
Code Examples
Response
200
ID of the invoice that contains this line; it determines the customer, location, currency, and payment state..
Required line-item description; shown on the invoice unless DisplayAs supplies replacement printed text..
Optional customer-facing text displayed on printed and emailed invoices instead of Description..
Optional tax-category name used to resolve the line tax rate; otherwise the customer’s personal rate or the location default applies..
Number of units on the line; changes the linked product quantity when the line originated from a product sale..
Net line amount before tax; changing it recalculates tax and invoice totals and may update the linked charge, pass, time credit, or product sale..
Calculated tax amount for this line, derived from SubTotal and the resolved TaxCategoryName, customer, or location tax rate; do not set directly..
Calculated tax percentage applied to this line; resolved from TaxCategoryName, the customer’s personal rate, or the location default; do not set directly..
Read-only GUID of the contract that generated this line, when it originated from contract billing..
Read-only GUID of the underlying booking or printing rate associated with this line, when applicable..
Read-only GUID linking this line to a related grouped invoice line; deleting the parent line also deletes its grouped lines..
Read-only gross amount already refunded for this line, including tax; it limits further refunds..
Whether a refund workflow has refunded this line; inspect RefundedAmount for the refunded amount..
Type of the financial account (1 Sales, 2 Payments, 3 Deposits) captured when the line was created.
GUID of the entity that issued this line, such as the issuing contract or location; retain for provenance rather than setting manually..
GUID of the original line cancelled by this line; maintained by cancellation workflows and used when reversing cancellation..
Whether this system-created line is hidden from the customer-facing invoice, for example because it is grouped under another line..
Whether this line represents a universal credit applied to the invoice; maintained from the originating credit configuration..
Optional purchase-order reference for this line, used when billing splits or groups items by purchase order..
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..
Example Response