A CoworkerInvoice represents an invoice document issued to a customer. Invoices track amounts owed, payment status, billing details, and integration state with external accounting systems.
Invoices can be in draft or final state. A draft invoice (“Draft true) can still be modified before being finalised. Once finalised, an invoice number is assigned and the invoice can be sent to the customer.
An invoice may also be a credit note (CreditNote` true`), which references the original invoice via OriginalInvoiceGuid“ and represents a reversal or adjustment.
Payment status is tracked via Paid, PaidAmount, and PaidOn. Partial payments are possible — compare PaidAmount against TotalAmount to determine outstanding balance. Refunds are tracked separately via Refunded, RefundedOn, and RefundedAmount.
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
Value Name 1 None 2 TransferFailed 3 Processing 4 ProcessingFailed 5 Processed
Query Parameters
The page number to retrieve.
The number of records per page.
The property name to sort results by (e.g. Name, CreatedOn).
Sort direction. 1 for ascending, -1 for descending.
Filters
CoworkerInvoice_Coworker_FullName
Filter by full name of the invoiced customer.
CoworkerInvoice_Coworker_RegularPaymentContractNumber
Filter by Coworker Regular Payment Contract Number.
CoworkerInvoice_Coworker_RegularPaymentProvider
Filter by Coworker Regular Payment Provider.
CoworkerInvoice_Coworker_CardNumber
Filter by Coworker Card Number.
CoworkerInvoice_Coworker_GoCardlessContractNumber
Filter by Coworker Go Cardless Contract Number.
CoworkerInvoice_Coworker_EnableGoCardlessPayments
Filter by Coworker Enable Go Cardless Payments.
CoworkerInvoice_Coworker_BillingEmail
Filter by billing email address of the customer.
CoworkerInvoice_Coworker_NotifyOnNewInvoice
Filter by Coworker Notify On New Invoice.
CoworkerInvoice_Coworker_NotifyOnNewPayment
Filter by Coworker Notify On New Payment.
CoworkerInvoice_Coworker_NotifyOnFailedPayment
Filter by Coworker Notify On Failed Payment.
CoworkerInvoice_Coworker_DoNotProcessInvoicesAutomatically
Filter by Coworker Do Not Process Invoices Automatically.
CoworkerInvoice_Coworker_CompanyName
Filter by company name of the invoiced customer.
CoworkerInvoice_Coworker_TeamNames
Filter by team names the invoiced customer belongs to.
CoworkerInvoice_Business_Name
Filter by name of the location that issued the invoice.
CoworkerInvoice_InvoiceNumber
Filter by unique invoice number assigned when the invoice is finalised.
CoworkerInvoice_PaymentReference
Filter by reference code used to match payments to this invoice.
CoworkerInvoice_BillToName
Filter by name of the person or company being billed.
CoworkerInvoice_BillToAddress
Filter by billing address on the invoice.
CoworkerInvoice_BillToCity
Filter by billing city on the invoice.
CoworkerInvoice_BillToPostCode
Filter by billing post code on the invoice.
CoworkerInvoice_BillToPhone
Filter by billing phone number on the invoice.
CoworkerInvoice_BillToFax
Filter by billing fax number on the invoice.
CoworkerInvoice_BillToState
Filter by billing state or region on the invoice.
CoworkerInvoice_BillToCountry
Filter by Bill To Country Id.
CoworkerInvoice_BillToCountry_Name
Filter by name of the billing country on the invoice.
CoworkerInvoice_BillToCountry_TwoDigitsCode
Filter by Bill To Country Two Digits Code.
CoworkerInvoice_BillToBankAccount
Filter by bank account number on the invoice for payment.
CoworkerInvoice_BillToTaxIDNumber
Filter by tax identification number of the billed party.
CoworkerInvoice_PurchaseOrder
Filter by customer purchase order number for this invoice.
CoworkerInvoice_Description
Filter by free-text description or notes for the invoice.
CoworkerInvoice_DiscountAmount
Filter by discount amount applied to the invoice total.
Filter by date by which payment is due.
CoworkerInvoice_InvoiceFromDate
Filter by start date of the billing period covered by this invoice.
CoworkerInvoice_InvoiceToDate
Filter by end date of the billing period covered by this invoice.
CoworkerInvoice_TotalAmount
Filter by total invoice amount including tax.
CoworkerInvoice_PaidAmount
Filter by total amount paid against this invoice so far.
CoworkerInvoice_TransactionTotalAmount
Filter by Transaction Total Amount.
CoworkerInvoice_TransactionCurrency
Filter by Transaction Currency Id.
CoworkerInvoice_TransactionCurrency_Code
Filter by Transaction Currency Code.
CoworkerInvoice_TransactionExchangeRate
Filter by Transaction Exchange Rate.
CoworkerInvoice_Currency_Code
Filter by iSO currency code (e.g. USD, EUR, GBP).
CoworkerInvoice_TaxAmount
Filter by total tax amount on the invoice.
Filter by whether the invoice is still a draft. Draft invoices can be modified before finalisation.
Filter by whether the invoice has been voided (cancelled without a credit note).
CoworkerInvoice_WaitingForInvoiceNumber
Filter by whether the invoice is queued for invoice number assignment.
Filter by whether the invoice has been fully paid.
Filter by whether the invoice has been emailed to the customer.
Filter by date the invoice was emailed to the customer.
Filter by date the invoice was marked as fully paid.
Filter by whether a refund has been issued for this invoice.
CoworkerInvoice_XeroInvoiceTransfered
Filter by whether the invoice has been transferred to Xero.
CoworkerInvoice_XeroPaymentTransfered
Filter by whether the payment has been transferred to Xero.
CoworkerInvoice_QuickbooksInvoiceTransfered
Filter by whether the invoice has been transferred to QuickBooks.
CoworkerInvoice_QuickbooksPaymentTransfered
Filter by whether the payment has been transferred to QuickBooks.
CoworkerInvoice_MoloniInvoiceTransferred
Filter by whether the invoice has been transferred to Moloni.
CoworkerInvoice_MoloniPaymentTransferred
Filter by whether the payment has been transferred to Moloni.
CoworkerInvoice_StorecoveInvoiceStatus
Filter by status of e-invoicing transfer via Storecove.
CoworkerInvoice_AutoTransferToStorecove
Filter by whether the invoice is automatically sent to Storecove for e-invoicing.
CoworkerInvoice_StorecoveUniqueId
Filter by Storecove Unique Id.
CoworkerInvoice_RefundedOn
Filter by date the refund was issued.
CoworkerInvoice_CreditNote
Filter by whether this document is a credit note rather than an invoice.
CoworkerInvoice_OriginalInvoiceGuid
Filter by gUID of the original invoice this credit note reverses.
CoworkerInvoice_ContractGuid
Filter by gUID of the contract that generated this invoice.
CoworkerInvoice_CustomData
Filter by arbitrary custom data stored with the invoice.
CoworkerInvoice_GoCardlessReference
Filter by goCardless payment reference for direct debit collection.
CoworkerInvoice_SpreedlyToken
Filter by Spreedly Token.
CoworkerInvoice_LastPaymentAttempt
Filter by Last Payment Attempt.
CoworkerInvoice_DoNotApplyCreditAutomatically
Filter by whether to skip automatic application of available credit to this invoice.
CoworkerInvoice_CreatedOnLocal
Filter by Created On Local.
CoworkerInvoice_DueDateLocal
Filter by Due Date Local.
CoworkerInvoice_InvoiceFromDateLocal
Filter by Invoice From Date Local.
CoworkerInvoice_InvoiceToDateLocal
Filter by Invoice To Date Local.
CoworkerInvoice_PaidOnLocal
Filter by Paid On Local.
CoworkerInvoice_RefundedOnLocal
Filter by Refunded On Local.
CoworkerInvoice_LastPaymentAttemptLocal
Filter by Last Payment Attempt Local.
CoworkerInvoice_ReceivedAmount
Filter by total amount received via direct payments.
CoworkerInvoice_CreditedAmount
Filter by amount paid via credit notes or account credit.
CoworkerInvoice_RefundedAmount
Filter by total amount refunded on this invoice.
CoworkerInvoice_NexKioskTransactionId
Filter by transaction ID from NexKiosk point-of-sale payment.
CoworkerInvoice_AutoTransferToXeroOrQuickBooks
Filter by whether the invoice is automatically transferred to Xero or QuickBooks.
Range Filters
from_CoworkerInvoice_DiscountAmount
Filter by discount amount applied to the invoice total greater than or equal to this value.
to_CoworkerInvoice_DiscountAmount
Filter by discount amount applied to the invoice total less than or equal to this value.
from_CoworkerInvoice_DueDate
Filter by date by which payment is due greater than or equal to this value. Format: YYYY-MM-DDTHH:mm.
to_CoworkerInvoice_DueDate
Filter by date by which payment is due less than or equal to this value. Format: YYYY-MM-DDTHH:mm.
from_CoworkerInvoice_InvoiceFromDate
Filter by start date of the billing period covered by this invoice greater than or equal to this value. Format: YYYY-MM-DDTHH:mm.
to_CoworkerInvoice_InvoiceFromDate
Filter by start date of the billing period covered by this invoice less than or equal to this value. Format: YYYY-MM-DDTHH:mm.
from_CoworkerInvoice_InvoiceToDate
Filter by end date of the billing period covered by this invoice greater than or equal to this value. Format: YYYY-MM-DDTHH:mm.
to_CoworkerInvoice_InvoiceToDate
Filter by end date of the billing period covered by this invoice less than or equal to this value. Format: YYYY-MM-DDTHH:mm.
from_CoworkerInvoice_TotalAmount
Filter by total invoice amount including tax greater than or equal to this value.
to_CoworkerInvoice_TotalAmount
Filter by total invoice amount including tax less than or equal to this value.
from_CoworkerInvoice_PaidAmount
Filter by total amount paid against this invoice so far greater than or equal to this value.
to_CoworkerInvoice_PaidAmount
Filter by total amount paid against this invoice so far less than or equal to this value.
from_CoworkerInvoice_TransactionTotalAmount
Filter by transaction total amount greater than or equal to this value.
to_CoworkerInvoice_TransactionTotalAmount
Filter by transaction total amount less than or equal to this value.
from_CoworkerInvoice_TransactionExchangeRate
Filter by transaction exchange rate greater than or equal to this value.
to_CoworkerInvoice_TransactionExchangeRate
Filter by transaction exchange rate less than or equal to this value.
from_CoworkerInvoice_TaxAmount
Filter by total tax amount on the invoice greater than or equal to this value.
to_CoworkerInvoice_TaxAmount
Filter by total tax amount on the invoice less than or equal to this value.
from_CoworkerInvoice_SentOn
Filter by date the invoice was emailed to the customer greater than or equal to this value. Format: YYYY-MM-DDTHH:mm.
to_CoworkerInvoice_SentOn
Filter by date the invoice was emailed to the customer less than or equal to this value. Format: YYYY-MM-DDTHH:mm.
from_CoworkerInvoice_PaidOn
Filter by date the invoice was marked as fully paid greater than or equal to this value. Format: YYYY-MM-DDTHH:mm.
to_CoworkerInvoice_PaidOn
Filter by date the invoice was marked as fully paid less than or equal to this value. Format: YYYY-MM-DDTHH:mm.
from_CoworkerInvoice_RefundedOn
Filter by date the refund was issued greater than or equal to this value. Format: YYYY-MM-DDTHH:mm.
to_CoworkerInvoice_RefundedOn
Filter by date the refund was issued less than or equal to this value. Format: YYYY-MM-DDTHH:mm.
from_CoworkerInvoice_LastPaymentAttempt
Filter by last payment attempt greater than or equal to this value. Format: YYYY-MM-DDTHH:mm.
to_CoworkerInvoice_LastPaymentAttempt
Filter by last payment attempt less than or equal to this value. Format: YYYY-MM-DDTHH:mm.
from_CoworkerInvoice_CreatedOnLocal
Filter by created on local greater than or equal to this value. Format: YYYY-MM-DDTHH:mm.
to_CoworkerInvoice_CreatedOnLocal
Filter by created on local less than or equal to this value. Format: YYYY-MM-DDTHH:mm.
from_CoworkerInvoice_DueDateLocal
Filter by due date local greater than or equal to this value. Format: YYYY-MM-DDTHH:mm.
to_CoworkerInvoice_DueDateLocal
Filter by due date local less than or equal to this value. Format: YYYY-MM-DDTHH:mm.
from_CoworkerInvoice_InvoiceFromDateLocal
Filter by invoice from date local greater than or equal to this value. Format: YYYY-MM-DDTHH:mm.
to_CoworkerInvoice_InvoiceFromDateLocal
Filter by invoice from date local less than or equal to this value. Format: YYYY-MM-DDTHH:mm.
from_CoworkerInvoice_InvoiceToDateLocal
Filter by invoice to date local greater than or equal to this value. Format: YYYY-MM-DDTHH:mm.
to_CoworkerInvoice_InvoiceToDateLocal
Filter by invoice to date local less than or equal to this value. Format: YYYY-MM-DDTHH:mm.
from_CoworkerInvoice_PaidOnLocal
Filter by paid on local greater than or equal to this value. Format: YYYY-MM-DDTHH:mm.
to_CoworkerInvoice_PaidOnLocal
Filter by paid on local less than or equal to this value. Format: YYYY-MM-DDTHH:mm.
from_CoworkerInvoice_RefundedOnLocal
Filter by refunded on local greater than or equal to this value. Format: YYYY-MM-DDTHH:mm.
to_CoworkerInvoice_RefundedOnLocal
Filter by refunded on local less than or equal to this value. Format: YYYY-MM-DDTHH:mm.
from_CoworkerInvoice_LastPaymentAttemptLocal
Filter by last payment attempt local greater than or equal to this value. Format: YYYY-MM-DDTHH:mm.
to_CoworkerInvoice_LastPaymentAttemptLocal
Filter by last payment attempt local less than or equal to this value. Format: YYYY-MM-DDTHH:mm.
from_CoworkerInvoice_ReceivedAmount
Filter by total amount received via direct payments greater than or equal to this value.
to_CoworkerInvoice_ReceivedAmount
Filter by total amount received via direct payments less than or equal to this value.
from_CoworkerInvoice_CreditedAmount
Filter by amount paid via credit notes or account credit greater than or equal to this value.
to_CoworkerInvoice_CreditedAmount
Filter by amount paid via credit notes or account credit less than or equal to this value.
from_CoworkerInvoice_RefundedAmount
Filter by total amount refunded on this invoice greater than or equal to this value.
to_CoworkerInvoice_RefundedAmount
Filter by total amount refunded on this invoice less than or equal to this value.
from_CoworkerInvoice_CreatedOn
Filter records created on or after this date. Format: YYYY-MM-DDTHH:mm.
to_CoworkerInvoice_CreatedOn
Filter records created on or before this date. Format: YYYY-MM-DDTHH:mm.
from_CoworkerInvoice_UpdatedOn
Filter records updated on or after this date. Format: YYYY-MM-DDTHH:mm.
to_CoworkerInvoice_UpdatedOn
Filter records updated on or before this date. Format: YYYY-MM-DDTHH:mm.
Code Examples
Simple listing
curl -X GET \
"https://spaces.nexudus.com/api/billing/coworkerinvoices?page=1&size=15&orderBy=InvoiceNumber&dir=1" \
-H "Authorization: Bearer YOUR_TOKEN"
Filtering by InvoiceNumber
curl -X GET \
"https://spaces.nexudus.com/api/billing/coworkerinvoices?CoworkerInvoice_InvoiceNumber=example-value&orderBy=InvoiceNumber&dir=1" \
-H "Authorization: Bearer YOUR_TOKEN"
Range filters
curl -X GET \
"https://spaces.nexudus.com/api/billing/coworkerinvoices?from_CoworkerInvoice_UpdatedOn=2025-01-01T00:00&to_CoworkerInvoice_UpdatedOn=2025-12-31T23:59&orderBy=UpdatedOn&dir=-1" \
-H "Authorization: Bearer YOUR_TOKEN"
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.
Number of records per page.
The field used for sorting.
The sort direction (1 = ascending, -1 = descending).
Index of the first item on the current page.
Index of the last item on the current page.
Total number of matching records across all pages.
Whether there is a next page of results.
Whether there is a previous page of results.
{
"Records" : [
{
"CoworkerId" : 0 ,
"CoworkerFullName" : null ,
"CoworkerRegularPaymentContractNumber" : null ,
"CoworkerRegularPaymentProvider" : null ,
"CoworkerCardNumber" : null ,
"CoworkerGoCardlessContractNumber" : null ,
"CoworkerEnableGoCardlessPayments" : null ,
"CoworkerBillingEmail" : null ,
"CoworkerNotifyOnNewInvoice" : null ,
"CoworkerNotifyOnNewPayment" : null ,
"CoworkerNotifyOnFailedPayment" : null ,
"CoworkerDoNotProcessInvoicesAutomatically" : null ,
"CoworkerCompanyName" : null ,
"CoworkerTeamNames" : null ,
"BusinessId" : 0 ,
"BusinessName" : null ,
"InvoiceNumber" : "" ,
"PaymentReference" : null ,
"BillToName" : "" ,
"BillToAddress" : "" ,
"BillToCity" : "" ,
"BillToPostCode" : "" ,
"BillToPhone" : null ,
"BillToFax" : null ,
"BillToState" : null ,
"BillToCountryId" : 0 ,
"BillToCountryName" : null ,
"BillToCountryTwoDigitsCode" : null ,
"BillToBankAccount" : null ,
"BillToTaxIDNumber" : null ,
"PurchaseOrder" : null ,
"Description" : null ,
"DiscountAmount" : 0 ,
"DueDate" : null ,
"InvoiceFromDate" : null ,
"InvoiceToDate" : null ,
"TotalAmount" : 0 ,
"PaidAmount" : null ,
"TransactionTotalAmount" : null ,
"TransactionCurrencyId" : null ,
"TransactionCurrencyCode" : null ,
"TransactionExchangeRate" : null ,
"CurrencyId" : 0 ,
"CurrencyCode" : null ,
"TaxAmount" : 0 ,
"Draft" : false ,
"Void" : false ,
"WaitingForInvoiceNumber" : false ,
"Paid" : false ,
"Sent" : false ,
"SentOn" : null ,
"PaidOn" : null ,
"Refunded" : false ,
"XeroInvoiceTransfered" : false ,
"XeroPaymentTransfered" : false ,
"QuickbooksInvoiceTransfered" : false ,
"QuickbooksPaymentTransfered" : false ,
"MoloniInvoiceTransferred" : false ,
"MoloniPaymentTransferred" : false ,
"StorecoveInvoiceStatus" : 0 ,
"AutoTransferToStorecove" : false ,
"StorecoveUniqueId" : null ,
"RefundedOn" : null ,
"CreditNote" : false ,
"OriginalInvoiceGuid" : null ,
"ContractGuid" : null ,
"CustomData" : null ,
"GoCardlessReference" : null ,
"SpreedlyToken" : null ,
"LastPaymentAttempt" : null ,
"Billed" : false ,
"DoNotApplyCreditAutomatically" : false ,
"CreatedOnLocal" : null ,
"DueDateLocal" : null ,
"InvoiceFromDateLocal" : null ,
"InvoiceToDateLocal" : null ,
"PaidOnLocal" : null ,
"RefundedOnLocal" : null ,
"LastPaymentAttemptLocal" : null ,
"ReceivedAmount" : null ,
"CreditedAmount" : null ,
"RefundedAmount" : null ,
"NexKioskTransactionId" : null ,
"AutoTransferToXeroOrQuickBooks" : false ,
"Id" : 87654321 ,
"UpdatedOn" : "2025-01-15T10:30:00Z" ,
"CreatedOn" : "2025-01-10T08:00:00Z" ,
"UniqueId" : "a1b2c3d4-e5f6-7890-abcd-ef1234567890" ,
"UpdatedBy" : "admin@example.com" ,
"IsNew" : false ,
"SystemId" : null ,
"ToStringText" : "CoworkerInvoice Example" ,
"LocalizationDetails" : null ,
"CustomFields" : null
}
],
"CurrentPageSize" : 15 ,
"CurrentPage" : 1 ,
"CurrentOrderField" : "InvoiceNumber" ,
"CurrentSortDirection" : 1 ,
"FirstItem" : 1 ,
"HasNextPage" : false ,
"HasPreviousPage" : false ,
"LastItem" : 1 ,
"PageNumber" : 1 ,
"PageSize" : 15 ,
"TotalItems" : 1 ,
"TotalPages" : 1
}