Skip to main content
GET
/
api
/
billing
/
ledgerentries
/
{id}
{
  "BusinessId": 123,
  "Code": "<string>",
  "Description": "<string>",
  "Debit": 123,
  "Credit": 123,
  "Balance": 123,
  "Id": 123,
  "UniqueId": "<string>",
  "CreatedOn": "<string>",
  "UpdatedOn": "<string>",
  "UpdatedBy": "<string>",
  "IsNew": true,
  "SystemId": "<string>"
}
A LedgerEntry is a credit or debit record in the financial ledger for invoices issued by Nexudus to the operator (the business running the coworking space). Each entry records either a debit or a credit against a location. Entries are identified by an optional Code for grouping or reconciliation and a free-text Description explaining the transaction.

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 LedgerEntry-Read role.

Path Parameters

id
integer
required
The Id of the LedgerEntry record to retrieve.

Code Examples

curl -X GET \
  "https://spaces.nexudus.com/api/billing/ledgerentries/87654321" \
  -H "Authorization: Bearer YOUR_TOKEN"

Response

200

BusinessId
integer
Business Id.
Code
string
Short reference code for grouping or reconciliation (e.g. an external accounting reference).
Description
string
Free-text description explaining the purpose of this ledger entry.
Debit
number
Debit amount in the location’s default currency. Use 0 if this entry is a credit-only record.
Credit
number
Credit amount in the location’s default currency. Use 0 if this entry is a debit-only record.
Balance
number
Balance.
Id
integer
Unique record identifier.
UniqueId
string
UUID of the record.
CreatedOn
string
Date and time the record was created (ISO 8601).
UpdatedOn
string
Date and time the record was last updated (ISO 8601).
UpdatedBy
string
Email of the user who last updated this record.
IsNew
boolean
Whether the record was recently created.
SystemId
string
External system identifier.
Example Response
{
  "BusinessId": 0,
  "Code": "",
  "Description": "",
  "Debit": 0,
  "Credit": 0,
  "Balance": 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": "LedgerEntry Example",
  "LocalizationDetails": null,
  "CustomFields": null
}