CoworkerInvoices
Search CoworkerInvoices
Search and list CoworkerInvoice records with filtering, sorting, and pagination.
GET
Search CoworkerInvoices
A CoworkerInvoice is the bill a location issues to one of its customers (member, contact or team) for plans, bookings, products, passes and other charges, including totals, payment status, credits and invoice delivery. THIS IS THE DEFAULT INVOICE ENTITY: when an operator says ‘invoice’, ‘invoices’, ‘unpaid invoices’, ‘overdue invoices’, ‘invoice 1042’, ‘send the invoice’ or ‘credit note’, they mean a CoworkerInvoice — use the coworker_invoice_* tools and do not ask which kind of invoice they meant. The separate Invoice entity (invoice_* tools) is the platform bill Nexudus issues to the operator and is almost never what an operator is asking about. Call this record an ‘invoice’ when speaking to the operator; never say ‘CoworkerInvoice’.
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 CoworkerInvoice-List role.Enums
eStorecoveInvoiceStatus — StorecoveInvoiceStatus values
eStorecoveInvoiceStatus — StorecoveInvoiceStatus values
Query Parameters
Pagination & Sorting
Filters
Filter by read-only stored invoice-level discount amount in the invoice currency; UpdateTotals does not recalculate it because line SubTotal values already include line discounts..
Filter by optional payment due date in the location’s timezone. When an invoice is created, the system calculates it using the customer’s due day or InvoiceDueDatePeriod first, then a due-date term configured for a plan on the invoice’s contract lines, the contract-period-start setting, and finally the location default; customer and plan periods are capped at 365 days. If several plan due-date terms apply, it uses the earliest next due date..
Filter by read-only start of the contract billing period, calculated from the InvoicedPeriod of the contract being invoiced..
Filter by read-only end of the contract billing period, calculated from the billing period of the contract’s associated plan..
Filter by read-only gross invoice total: sum of every line’s SubTotal plus TaxAmount after each line is rounded, then rounded to the location’s invoice decimal precision..
Filter by read-only database total of all CoworkerLedgerEntry Credit values linked to this invoice; negative credit entries reduce the amount..
Filter by stored total to collect in the payment transaction currency, set to TotalAmount multiplied by Payments.ExchangeRate and rounded to two decimals; the outstanding balance proportionally subtracts net ledger credits..
Filter by iD of the currency used to collect payment; defaults to the location’s invoice currency unless Payments.Currency specifies a transaction currency..
Filter by fixed multiplier from invoice currency to transaction currency, copied from the location’s Payments.ExchangeRate setting when invoice totals are updated..
Filter by read-only tax total: sum of every rounded invoice-line TaxAmount, then rounded to the location’s invoice decimal precision..
Filter by whether this invoice has been voided or cancelled; voiding deletes all CoworkerLedgerEntry records associated with the invoice..
Filter by read-only Storecove transfer state: None, TransferFailed, Processing, ProcessingFailed, or Processed..
Filter by whether credit resulting from crediting a paid invoice must not be automatically applied to future invoices; the operator can allocate the credit manually..
Filter by read-only database-maintained reporting amount for payments received; it is not calculated by invoice UpdateTotals..
Filter by read-only database-maintained reporting amount for credit applied or issued; it is not calculated by invoice UpdateTotals..
Filter by read-only database-maintained reporting amount for refunds; it is not calculated by invoice UpdateTotals..
Range Filters
Filter by read-only stored invoice-level discount amount in the invoice currency; UpdateTotals does not recalculate it because line SubTotal values already include line discounts. greater than or equal to this value.
Filter by read-only stored invoice-level discount amount in the invoice currency; UpdateTotals does not recalculate it because line SubTotal values already include line discounts. less than or equal to this value.
Filter by optional payment due date in the location’s timezone. When an invoice is created, the system calculates it using the customer’s due day or InvoiceDueDatePeriod first, then a due-date term configured for a plan on the invoice’s contract lines, the contract-period-start setting, and finally the location default; customer and plan periods are capped at 365 days. If several plan due-date terms apply, it uses the earliest next due date. greater than or equal to this value. Format:
YYYY-MM-DDTHH:mm.Filter by optional payment due date in the location’s timezone. When an invoice is created, the system calculates it using the customer’s due day or InvoiceDueDatePeriod first, then a due-date term configured for a plan on the invoice’s contract lines, the contract-period-start setting, and finally the location default; customer and plan periods are capped at 365 days. If several plan due-date terms apply, it uses the earliest next due date. less than or equal to this value. Format:
YYYY-MM-DDTHH:mm.Filter by read-only start of the contract billing period, calculated from the InvoicedPeriod of the contract being invoiced. greater than or equal to this value. Format:
YYYY-MM-DDTHH:mm.Filter by read-only start of the contract billing period, calculated from the InvoicedPeriod of the contract being invoiced. less than or equal to this value. Format:
YYYY-MM-DDTHH:mm.Filter by read-only end of the contract billing period, calculated from the billing period of the contract’s associated plan. greater than or equal to this value. Format:
YYYY-MM-DDTHH:mm.Filter by read-only end of the contract billing period, calculated from the billing period of the contract’s associated plan. less than or equal to this value. Format:
YYYY-MM-DDTHH:mm.Filter by read-only gross invoice total: sum of every line’s SubTotal plus TaxAmount after each line is rounded, then rounded to the location’s invoice decimal precision. greater than or equal to this value.
Filter by read-only gross invoice total: sum of every line’s SubTotal plus TaxAmount after each line is rounded, then rounded to the location’s invoice decimal precision. less than or equal to this value.
Filter by read-only database total of all CoworkerLedgerEntry Credit values linked to this invoice; negative credit entries reduce the amount. greater than or equal to this value.
Filter by read-only database total of all CoworkerLedgerEntry Credit values linked to this invoice; negative credit entries reduce the amount. less than or equal to this value.
Filter by stored total to collect in the payment transaction currency, set to TotalAmount multiplied by Payments.ExchangeRate and rounded to two decimals; the outstanding balance proportionally subtracts net ledger credits. greater than or equal to this value.
Filter by stored total to collect in the payment transaction currency, set to TotalAmount multiplied by Payments.ExchangeRate and rounded to two decimals; the outstanding balance proportionally subtracts net ledger credits. less than or equal to this value.
Filter by fixed multiplier from invoice currency to transaction currency, copied from the location’s Payments.ExchangeRate setting when invoice totals are updated. greater than or equal to this value.
Filter by fixed multiplier from invoice currency to transaction currency, copied from the location’s Payments.ExchangeRate setting when invoice totals are updated. less than or equal to this value.
Filter by read-only tax total: sum of every rounded invoice-line TaxAmount, then rounded to the location’s invoice decimal precision. greater than or equal to this value.
Filter by read-only tax total: sum of every rounded invoice-line TaxAmount, then rounded to the location’s invoice decimal precision. less than or equal to this value.
Filter by read-only date and time when the invoice was sent. greater than or equal to this value. Format:
YYYY-MM-DDTHH:mm.Filter by read-only date and time when the invoice was sent. less than or equal to this value. Format:
YYYY-MM-DDTHH:mm.Filter by date and time recorded as paid; it updates payment ledger dates. greater than or equal to this value. Format:
YYYY-MM-DDTHH:mm.Filter by date and time recorded as paid; it updates payment ledger dates. less than or equal to this value. Format:
YYYY-MM-DDTHH:mm.Filter by read-only date and time when the invoice was refunded. greater than or equal to this value. Format:
YYYY-MM-DDTHH:mm.Filter by read-only date and time when the invoice was refunded. less than or equal to this value. Format:
YYYY-MM-DDTHH:mm.Filter by read-only timestamp of the most recent automatic payment attempt. greater than or equal to this value. Format:
YYYY-MM-DDTHH:mm.Filter by read-only timestamp of the most recent automatic payment attempt. less than or equal to this value. Format:
YYYY-MM-DDTHH:mm.Filter by location-timezone mirror of the system CreatedOn timestamp. greater than or equal to this value. Format:
YYYY-MM-DDTHH:mm.Filter by location-timezone mirror of the system CreatedOn timestamp. less than or equal to this value. Format:
YYYY-MM-DDTHH:mm.Filter by location-timezone mirror of DueDate; use DueDate instead. greater than or equal to this value. Format:
YYYY-MM-DDTHH:mm.Filter by location-timezone mirror of DueDate; use DueDate instead. less than or equal to this value. Format:
YYYY-MM-DDTHH:mm.Filter by location-timezone mirror of InvoiceFromDate; use InvoiceFromDate instead. greater than or equal to this value. Format:
YYYY-MM-DDTHH:mm.Filter by location-timezone mirror of InvoiceFromDate; use InvoiceFromDate instead. less than or equal to this value. Format:
YYYY-MM-DDTHH:mm.Filter by location-timezone mirror of InvoiceToDate; use InvoiceToDate instead. greater than or equal to this value. Format:
YYYY-MM-DDTHH:mm.Filter by location-timezone mirror of InvoiceToDate; use InvoiceToDate instead. less than or equal to this value. Format:
YYYY-MM-DDTHH:mm.Filter by location-timezone mirror of PaidOn; use PaidOn instead. greater than or equal to this value. Format:
YYYY-MM-DDTHH:mm.Filter by location-timezone mirror of PaidOn; use PaidOn instead. less than or equal to this value. Format:
YYYY-MM-DDTHH:mm.Filter by location-timezone mirror of RefundedOn; use RefundedOn instead. greater than or equal to this value. Format:
YYYY-MM-DDTHH:mm.Filter by location-timezone mirror of RefundedOn; use RefundedOn instead. less than or equal to this value. Format:
YYYY-MM-DDTHH:mm.Filter by location-timezone mirror of LastPaymentAttempt. greater than or equal to this value. Format:
YYYY-MM-DDTHH:mm.Filter by location-timezone mirror of LastPaymentAttempt. less than or equal to this value. Format:
YYYY-MM-DDTHH:mm.Filter by read-only database-maintained reporting amount for payments received; it is not calculated by invoice UpdateTotals. greater than or equal to this value.
Filter by read-only database-maintained reporting amount for payments received; it is not calculated by invoice UpdateTotals. less than or equal to this value.
Filter by read-only database-maintained reporting amount for credit applied or issued; it is not calculated by invoice UpdateTotals. greater than or equal to this value.
Filter by read-only database-maintained reporting amount for credit applied or issued; it is not calculated by invoice UpdateTotals. less than or equal to this value.
Filter by read-only database-maintained reporting amount for refunds; it is not calculated by invoice UpdateTotals. greater than or equal to this value.
Filter by read-only database-maintained reporting amount for refunds; it is not calculated by invoice UpdateTotals. less than or equal to this value.
Code Examples
Simple listing
Filtering by InvoiceNumber
Range filters
Response
200
The list of CoworkerInvoice records matching the query. See the Get one CoworkerInvoice endpoint for the full list of properties returned for each record.
Example Response