Skip to main content
GET
/
api
/
billing
/
coworkerinvoicelines
/
?id=[
{id1}
,
{id2}
,
{id3}
]
Fetch several CoworkerInvoiceLine records in a single request by passing their Ids as a comma-separated list enclosed in square brackets.

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.

Query Parameters

id
integer[]
required
A comma-separated list of CoworkerInvoiceLine Ids enclosed in square brackets, e.g. [123,456,789].

Code Examples

curl -X GET \
  "https://spaces.nexudus.com/api/billing/coworkerinvoicelines/?id=[87654321,87654322,87654323]" \
  -H "Authorization: Bearer YOUR_TOKEN"

Response

200

Returns an array of CoworkerInvoiceLine records. Each record has the same structure as the response from the Get one CoworkerInvoiceLine endpoint.
Example Response
[
  {
    "CoworkerInvoiceId": 0,
    "CoworkerInvoiceInvoiceNumber": null,
    "CoworkerInvoicePaid": null,
    "CoworkerInvoicePaidOn": null,
    "CoworkerInvoiceCreditNote": null,
    "CoworkerInvoiceCurrencyCode": null,
    "CoworkerInvoiceDueDate": null,
    "Description": "",
    "DisplayAs": null,
    "TaxCategoryName": null,
    "Quantity": 0,
    "SubTotal": 0,
    "TaxAmount": 0,
    "TaxRate": 0,
    "CoworkerContractUniqueId": null,
    "ContractDepositUniqueId": null,
    "BookingUniqueId": null,
    "CoworkerExtraServiceUniqueId": null,
    "ExtraServiceUniqueId": null,
    "CoworkerTimePassUniqueId": null,
    "CoworkerChargeUniqueId": null,
    "CoworkerProductUniqueId": null,
    "EventAttendeeUniqueId": null,
    "GroupedLineUniqueId": null,
    "RefundedAmount": null,
    "Refunded": false,
    "RefundedOn": null,
    "SaleDate": null,
    "DiscountCode": null,
    "DiscountAmount": null,
    "CoworkerExtraServiceName": null,
    "CoworkerTimePassName": null,
    "CoworkerProductName": null,
    "EventAttendeeProductName": null,
    "TariffName": null,
    "FinancialAccountCode": null,
    "FinancialAccountName": null,
    "IssuedByUniqueId": null,
    "CancelledCoworkerInvoiceLineUniqueId": null,
    "CreatedOnLocal": null,
    "RefundedOnLocal": null,
    "SaleDateLocal": null,
    "Position": 0,
    "IsHidden": false,
    "IsUniversalCredit": false,
    "PurchaseOrder": null,
    "CreditAmount": 0,
    "IsProratedContract": false,
    "CoworkerDiscountCodeUniqueId": 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": "CoworkerInvoiceLine Example",
    "LocalizationDetails": null,
    "CustomFields": null
  }
]