Skip to main content
GET
Get one CoworkerInvoiceLine
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-Read role.

Path Parameters

integer
required
The Id of the CoworkerInvoiceLine record to retrieve.

Code Examples

Response

200

integer
ID of the coworker invoice linked to this record.
string
Invoice number of the parent invoice.
string
Whether the parent invoice has been fully paid.
string
Date/time value for coworker invoice paid on.
string
Whether the parent invoice is a credit note.
string
Currency code of the parent invoice (e.g. USD, EUR).
string
Date/time value for coworker invoice due date.
string
Line item description shown internally.
string
Override text displayed on the printed/emailed invoice instead of the description.
string
Name of the tax category applied to this line.
integer
Number of units for this line item.
number
Line subtotal before tax (unit price x quantity).
number
Tax amount calculated for this line.
number
Tax rate percentage applied to this line.
string
UniqueId (GUID) of the CoworkerContract that generated this line.
string
UniqueId (GUID) of the ContractDeposit that generated this line.
string
UniqueId (GUID) of the Booking that generated this line.
string
UniqueId (GUID) of the CoworkerExtraService that generated this line.
string
UniqueId (GUID) of the base ExtraService linked to this line.
string
UniqueId (GUID) of the CoworkerTimePass that generated this line.
string
UniqueId (GUID) of the Charge that generated this line.
string
UniqueId (GUID) of the CoworkerProduct that generated this line.
string
UniqueId (GUID) of the EventAttendee that generated this line.
string
UniqueId (GUID) linking this line to a group of related invoice lines.
number
Amount that has been refunded for this line.
boolean
Whether this line has been fully or partially refunded.
string
Date and time when this line was refunded.
string
Date the sale occurred for this line item.
string
Discount code applied to this line.
number
Discount amount deducted from this line.
string
Name of the linked CoworkerExtraService.
string
Name of the linked CoworkerTimePass.
string
Name of the linked CoworkerProduct.
string
Display name of the linked event attendee product (read-only).
string
Name of the plan (tariff) associated with this line.
string
Code of the financial account (revenue category) for this line.
string
Name of the financial account (revenue category) for this line.
string
ID of the issued by unique associated with this record.
string
ID of the cancelled coworker invoice line unique associated with this record.
string
Date/time value for created on local.
string
Date/time value for refunded on local.
string
Date/time value for sale date local.
integer
Display order of this line on the invoice.
boolean
Whether this line is hidden from the customer-facing invoice.
boolean
Whether this line represents a universal credit applied to the invoice.
string
Purchase order reference for this line.
number
Credit amount applied to this line.
boolean
Whether this line is a prorated charge from a mid-cycle contract change.
string
ID of the coworker discount code unique associated with this record.
integer
Unique record identifier.
string
UUID of the record.
string
Date and time the record was created (ISO 8601).
string
Date and time the record was last updated (ISO 8601).
string
Email of the user who last updated this record.
boolean
Whether the record was recently created.
string
External system identifier.
Example Response