Skip to main content
GET
/
api
/
billing
/
coworkerledgerentries
{
  "Records": [
    {}
  ],
  "CurrentPage": 123,
  "CurrentPageSize": 123,
  "CurrentOrderField": "<string>",
  "CurrentSortDirection": 123,
  "FirstItem": 123,
  "LastItem": 123,
  "TotalItems": 123,
  "TotalPages": 123,
  "HasNextPage": true,
  "HasPreviousPage": true
}

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 CoworkerLedgerEntry-List role.

Enums

ValueName
1None
1PayPalStandard
2PaypalStandardSubscription
3GoCardless
4Stripe
5AuthorizeNetDirect
6UsaEPay
7AuthorizeNetSubscription
8Adyen
9MultiGateway
11Manual
12Forte
13PayPalAdaptive
14GoCardlessPro
15CreditCard
16EPay
17Braintree
18MidTrans
19EziDebit
20LiqPay
21RazorPay
22SquareCash
23SquareCreditCard
24StripeACH
25StripeDirectDebit
26IZettleCreditCard
27PeachPayments
28Klarna
29StripeTerminal
30PayPalStandardRest
401HostedPaymentPage1
402HostedPaymentPage2
403HostedPaymentPage3
500Xero
501Quickbooks
989ManualDirectDebit
990BadDebt
991CreditCardManual1
992CreditCardManual2
993CreditCardManual3
994Credit
995Gift
996Bank
997Cash
998Check
999Other

Query Parameters

Pagination & Sorting

page
integer
default:"1"
The page number to retrieve.
size
integer
default:"25"
The number of records per page.
orderBy
string
The property name to sort results by (e.g. Name, CreatedOn).
dir
integer
Sort direction. 1 for ascending, -1 for descending.

Filters

CoworkerLedgerEntry_Business
integer
Filter by Business Id.
CoworkerLedgerEntry_Business_Name
string
Filter by business name.
CoworkerLedgerEntry_Business_Currency_Code
string
Filter by business currency code.
CoworkerLedgerEntry_Coworker
integer
Filter by Coworker Id.
CoworkerLedgerEntry_Coworker_FullName
string
Filter by coworker full name.
CoworkerLedgerEntry_CoworkerInvoice
integer
Filter by Coworker Invoice Id.
CoworkerLedgerEntry_CoworkerInvoice_InvoiceNumber
string
Filter by invoice number.
CoworkerLedgerEntry_CoworkerInvoice_TotalAmount
string
Filter by invoice total amount.
CoworkerLedgerEntry_CoworkerInvoice_BillToName
string
Filter by Coworker Invoice Bill To Name.
CoworkerLedgerEntry_CoworkerInvoice_Paid
boolean
Filter by Coworker Invoice Paid.
CoworkerLedgerEntry_CoworkerInvoice_PaidOn
string
Filter by Coworker Invoice Paid On.
CoworkerLedgerEntry_CoworkerInvoice_Refunded
boolean
Filter by Coworker Invoice Refunded.
CoworkerLedgerEntry_CoworkerInvoice_RefundedOn
string
Filter by Coworker Invoice Refunded On.
CoworkerLedgerEntry_CoworkerInvoice_DueDate
string
Filter by Coworker Invoice Due Date.
CoworkerLedgerEntry_CoworkerInvoice_Draft
boolean
Filter by Coworker Invoice Draft.
CoworkerLedgerEntry_CoworkerInvoice_WaitingForInvoiceNumber
boolean
Filter by Coworker Invoice Waiting For Invoice Number.
CoworkerLedgerEntry_Description
string
Filter by description.
CoworkerLedgerEntry_Code
string
Filter by ledger entry code.
CoworkerLedgerEntry_Debit
number
Filter by debit amount.
CoworkerLedgerEntry_Credit
number
Filter by credit amount.
CoworkerLedgerEntry_PaymentGatewayName
integer
Filter by payment gateway name.
CoworkerLedgerEntry_PaymentMethodNumber
string
Filter by payment method number.
CoworkerLedgerEntry_TransactionDate
string
Filter by transaction date.
CoworkerLedgerEntry_Balance
number
Filter by balance.
CoworkerLedgerEntry_Billed
boolean
Filter by Billed.
CoworkerLedgerEntry_TransactionDateLocal
string
Filter by Transaction Date Local.
CoworkerLedgerEntry_ConnectedTransactionGuid
string
Filter by connected transaction GUID.

Range Filters

from_CoworkerLedgerEntry_CoworkerInvoicePaidOn
string
Filter by coworker invoice paid on greater than or equal to this value. Format: YYYY-MM-DDTHH:mm.
to_CoworkerLedgerEntry_CoworkerInvoicePaidOn
string
Filter by coworker invoice paid on less than or equal to this value. Format: YYYY-MM-DDTHH:mm.
from_CoworkerLedgerEntry_CoworkerInvoiceRefundedOn
string
Filter by coworker invoice refunded on greater than or equal to this value. Format: YYYY-MM-DDTHH:mm.
to_CoworkerLedgerEntry_CoworkerInvoiceRefundedOn
string
Filter by coworker invoice refunded on less than or equal to this value. Format: YYYY-MM-DDTHH:mm.
from_CoworkerLedgerEntry_CoworkerInvoiceDueDate
string
Filter by coworker invoice due date greater than or equal to this value. Format: YYYY-MM-DDTHH:mm.
to_CoworkerLedgerEntry_CoworkerInvoiceDueDate
string
Filter by coworker invoice due date less than or equal to this value. Format: YYYY-MM-DDTHH:mm.
from_CoworkerLedgerEntry_Debit
number
Filter by debit amount greater than or equal to this value.
to_CoworkerLedgerEntry_Debit
number
Filter by debit amount less than or equal to this value.
from_CoworkerLedgerEntry_Credit
number
Filter by credit amount greater than or equal to this value.
to_CoworkerLedgerEntry_Credit
number
Filter by credit amount less than or equal to this value.
from_CoworkerLedgerEntry_TransactionDate
string
Filter by transaction date greater than or equal to this value. Format: YYYY-MM-DDTHH:mm.
to_CoworkerLedgerEntry_TransactionDate
string
Filter by transaction date less than or equal to this value. Format: YYYY-MM-DDTHH:mm.
from_CoworkerLedgerEntry_Balance
number
Filter by balance greater than or equal to this value.
to_CoworkerLedgerEntry_Balance
number
Filter by balance less than or equal to this value.
from_CoworkerLedgerEntry_TransactionDateLocal
string
Filter by transaction date local greater than or equal to this value. Format: YYYY-MM-DDTHH:mm.
to_CoworkerLedgerEntry_TransactionDateLocal
string
Filter by transaction date local less than or equal to this value. Format: YYYY-MM-DDTHH:mm.
from_CoworkerLedgerEntry_CreatedOn
string
Filter records created on or after this date. Format: YYYY-MM-DDTHH:mm.
to_CoworkerLedgerEntry_CreatedOn
string
Filter records created on or before this date. Format: YYYY-MM-DDTHH:mm.
from_CoworkerLedgerEntry_UpdatedOn
string
Filter records updated on or after this date. Format: YYYY-MM-DDTHH:mm.
to_CoworkerLedgerEntry_UpdatedOn
string
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/coworkerledgerentries?page=1&size=15&orderBy=Description&dir=1" \
  -H "Authorization: Bearer YOUR_TOKEN"

Filtering by Description

curl -X GET \
  "https://spaces.nexudus.com/api/billing/coworkerledgerentries?CoworkerLedgerEntry_Description=example-value&orderBy=Description&dir=1" \
  -H "Authorization: Bearer YOUR_TOKEN"

Range filters

curl -X GET \
  "https://spaces.nexudus.com/api/billing/coworkerledgerentries?from_CoworkerLedgerEntry_UpdatedOn=2025-01-01T00:00&to_CoworkerLedgerEntry_UpdatedOn=2025-12-31T23:59&orderBy=UpdatedOn&dir=-1" \
  -H "Authorization: Bearer YOUR_TOKEN"

Response

200

Records
CoworkerLedgerEntry[]
The list of CoworkerLedgerEntry records matching the query. See the Get one CoworkerLedgerEntry endpoint for the full list of properties returned for each record.
Partial records — The listing endpoint returns a summary representation of each CoworkerLedgerEntry. The following fields are not included in the Records[] response: Description, PaymentMethodNumber.To get all fields, fetch the full record using the Get one CoworkerLedgerEntry endpoint.Important for updates: When updating a record via PUT, always retrieve the full record with a GET request first, apply your changes to that complete data, and then send the updated record. Do not use data from a listing response as the base for a PUT request, as missing fields may be unintentionally cleared.
CurrentPage
integer
Current page number.
CurrentPageSize
integer
Number of records per page.
CurrentOrderField
string
The field used for sorting.
CurrentSortDirection
integer
The sort direction (1 = ascending, -1 = descending).
FirstItem
integer
Index of the first item on the current page.
LastItem
integer
Index of the last item on the current page.
TotalItems
integer
Total number of matching records across all pages.
TotalPages
integer
Total number of pages.
HasNextPage
boolean
Whether there is a next page of results.
HasPreviousPage
boolean
Whether there is a previous page of results.
Example Response
{
  "Records": [
    {
      "BusinessId": 0,
      "BusinessName": null,
      "BusinessCurrencyCode": null,
      "CoworkerId": 0,
      "CoworkerFullName": null,
      "CoworkerInvoiceId": null,
      "CoworkerInvoiceInvoiceNumber": null,
      "CoworkerInvoiceTotalAmount": null,
      "CoworkerInvoiceBillToName": null,
      "CoworkerInvoicePaid": null,
      "CoworkerInvoicePaidOn": null,
      "CoworkerInvoiceRefunded": null,
      "CoworkerInvoiceRefundedOn": null,
      "CoworkerInvoiceDueDate": null,
      "CoworkerInvoiceDraft": null,
      "CoworkerInvoiceWaitingForInvoiceNumber": null,
      "Description": "",
      "Code": "",
      "Debit": 0,
      "Credit": 0,
      "PaymentGatewayName": 0,
      "PaymentMethodNumber": null,
      "TransactionDate": null,
      "Balance": 0,
      "Billed": false,
      "TransactionDateLocal": null,
      "ConnectedTransactionGuid": null,
      "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": "CoworkerLedgerEntry Example",
      "LocalizationDetails": null,
      "CustomFields": null
    }
  ],
  "CurrentPageSize": 15,
  "CurrentPage": 1,
  "CurrentOrderField": "Description",
  "CurrentSortDirection": 1,
  "FirstItem": 1,
  "HasNextPage": false,
  "HasPreviousPage": false,
  "LastItem": 1,
  "PageNumber": 1,
  "PageSize": 15,
  "TotalItems": 1,
  "TotalPages": 1
}