An Invoice represents a bill issued by Nexudus to the operator (the business running the coworking space). Invoices are generated automatically by the billing engine or can be created manually via the API.
Each invoice captures a snapshot of the billing details at issuance time — bill-to address, currency, tax amounts, and line items. Once issued, the invoice record is immutable with respect to these captured values; changes to the underlying financial accounts, products or customer details do not retroactively update existing invoices.
Invoices support list, get, and create operations. They cannot be updated or deleted through the API.
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 Invoice-List role.
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
Filter by unique sequential invoice number assigned at issuance (e.g. INV-00042).
Filter by name of the person or organisation being billed, captured at invoice time.
Filter by billing street address, captured at invoice time.
Filter by billing city, captured at invoice time.
Invoice_BillToTaxIDNumber
Filter by tax identification number (VAT/GST/EIN) of the billed party, captured at invoice time.
Filter by billing postal/ZIP code, captured at invoice time.
Filter by billing phone number, captured at invoice time.
Filter by billing fax number, captured at invoice time.
Filter by Bill To Country Id.
Invoice_BillToCountry_Name
Filter by display name of the billing country (read-only, resolved from BillToCountryId).
Filter by free-text description or notes for this invoice.
Filter by total discount applied to the invoice, in the invoice currency.
Filter by date by which payment is expected.
Filter by start date of the billing period covered by this invoice.
Filter by end date of the billing period covered by this invoice.
Invoice_SubscriptionAmount
Filter by portion of the total that corresponds to recurring subscription charges.
Filter by portion of the total attributed to the reseller (partner) channel.
Filter by grand total of the invoice including all line items, taxes, and discounts.
Filter by iSO 4217 currency code (e.g. USD, EUR), resolved from CurrencyId.
Filter by total tax amount calculated for the invoice.
Filter by whether the invoice has been fully paid.
Filter by date and time when full payment was recorded.
Filter by arbitrary JSON or text blob for storing integration-specific metadata.
Invoice_PaymentAttemptsCount
Filter by number of automatic payment collection attempts made for this invoice.
Range Filters
from_Invoice_DiscountAmount
Filter by total discount applied to the invoice, in the invoice currency greater than or equal to this value.
to_Invoice_DiscountAmount
Filter by total discount applied to the invoice, in the invoice currency less than or equal to this value.
Filter by date by which payment is expected greater than or equal to this value. Format: YYYY-MM-DDTHH:mm.
Filter by date by which payment is expected less than or equal to this value. Format: YYYY-MM-DDTHH:mm.
from_Invoice_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_Invoice_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_Invoice_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.
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_Invoice_SubscriptionAmount
Filter by portion of the total that corresponds to recurring subscription charges greater than or equal to this value.
to_Invoice_SubscriptionAmount
Filter by portion of the total that corresponds to recurring subscription charges less than or equal to this value.
from_Invoice_ResellerAmount
Filter by portion of the total attributed to the reseller (partner) channel greater than or equal to this value.
to_Invoice_ResellerAmount
Filter by portion of the total attributed to the reseller (partner) channel less than or equal to this value.
Filter by grand total of the invoice including all line items, taxes, and discounts greater than or equal to this value.
Filter by grand total of the invoice including all line items, taxes, and discounts less than or equal to this value.
Filter by total tax amount calculated for the invoice greater than or equal to this value.
Filter by total tax amount calculated for the invoice less than or equal to this value.
Filter by date and time when full payment was recorded greater than or equal to this value. Format: YYYY-MM-DDTHH:mm.
Filter by date and time when full payment was recorded less than or equal to this value. Format: YYYY-MM-DDTHH:mm.
from_Invoice_PaymentAttemptsCount
Filter by number of automatic payment collection attempts made for this invoice greater than or equal to this value.
to_Invoice_PaymentAttemptsCount
Filter by number of automatic payment collection attempts made for this invoice less than or equal to this value.
Filter records created on or after this date. Format: YYYY-MM-DDTHH:mm.
Filter records created on or before this date. Format: YYYY-MM-DDTHH:mm.
Filter records updated on or after this date. Format: YYYY-MM-DDTHH:mm.
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/invoices?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/invoices?Invoice_InvoiceNumber=example-value&orderBy=InvoiceNumber&dir=1" \
-H "Authorization: Bearer YOUR_TOKEN"
Range filters
curl -X GET \
"https://spaces.nexudus.com/api/billing/invoices?from_Invoice_UpdatedOn=2025-01-01T00:00&to_Invoice_UpdatedOn=2025-12-31T23:59&orderBy=UpdatedOn&dir=-1" \
-H "Authorization: Bearer YOUR_TOKEN"
Response
200
The list of Invoice records matching the query. See the Get one Invoice endpoint for the full list of properties returned for each record.
Partial records — The listing endpoint returns a summary representation of each Invoice. The following fields are not included in the Records[] response: BillToAddress, BillToCity, BillToTaxIDNumber, BillToPostCode, BillToPhone, BillToFax.To get all fields, fetch the full record using the Get one Invoice 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.
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": [
{
"BusinessId": 0,
"InvoiceNumber": "",
"BillToName": "",
"BillToAddress": "",
"BillToCity": "",
"BillToTaxIDNumber": null,
"BillToPostCode": "",
"BillToPhone": null,
"BillToFax": null,
"BillToCountryId": 0,
"BillToCountryName": null,
"Description": null,
"DiscountAmount": 0,
"DueDate": null,
"InvoiceFromDate": null,
"InvoiceToDate": null,
"SubscriptionAmount": 0,
"ResellerAmount": 0,
"TotalAmount": 0,
"CurrencyId": 0,
"CurrencyCode": null,
"TaxAmount": 0,
"Paid": false,
"PaidOn": null,
"CustomData": null,
"PaymentAttemptsCount": 0,
"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": "Invoice 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
}