> ## Documentation Index
> Fetch the complete documentation index at: https://learn.nexudus.com/llms.txt
> Use this file to discover all available pages before exploring further.

# Get one Charge

> Retrieve a single Charge record by its Id.

A **Charge** is a generic debit item applied to a customer account. Prefer more specific entities when available — use `CoworkerProduct` for product sales, `Booking` for room/resource bookings, `EventAttendee` for event registrations, and `CoworkerContract` for recurring plan charges.

Charges can reference the originating sale from another entity via its `UniqueId` (a GUID, not an integer ID). This is how items billed to a non-paying team member are passed through to the team's paying member: the charge appears on the paying member's account with a `UniqueId` reference back to the original `CoworkerProduct`, `Booking`, `EventAttendee`, or `CoworkerTimePass`.

Booking-related extra-service charges are represented by `CoworkerExtraService` records and referenced via `CoworkerExtraServiceUniqueId`.

## Authentication

<Note>
  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 **`Charge-Read`** role.
</Note>

## Path Parameters

<ParamField path="id" type="integer" required>
  The Id of the Charge record to retrieve.
</ParamField>

## Code Examples

<CodeGroup>
  ```bash cURL theme={null}
  curl -X GET \
    "https://spaces.nexudus.com/api/billing/charges/87654321" \
    -H "Authorization: Bearer YOUR_TOKEN"
  ```

  ```javascript JavaScript theme={null}
  const response = await fetch(
    'https://spaces.nexudus.com/api/billing/charges/87654321',
    {
      headers: {
        'Authorization': 'Bearer YOUR_TOKEN'
      }
    }
  );

  const record = await response.json();
  ```

  ```python Python theme={null}
  import requests

  response = requests.get(
      'https://spaces.nexudus.com/api/billing/charges/87654321',
      headers={
          'Authorization': 'Bearer YOUR_TOKEN'
      }
  )

  record = response.json()
  ```
</CodeGroup>

## Response

### 200

<ResponseField name="CoworkerId" type="integer">
  Coworker Id.
</ResponseField>

<ResponseField name="BusinessId" type="integer">
  Business Id.
</ResponseField>

<ResponseField name="BusinessName" type="string">
  Business name.
</ResponseField>

<ResponseField name="BusinessCurrencyCode" type="string">
  Business currency code.
</ResponseField>

<ResponseField name="ChargeNumber" type="string">
  Charge number.
</ResponseField>

<ResponseField name="Quantity" type="integer">
  Quantity.
</ResponseField>

<ResponseField name="Description" type="string">
  Description.
</ResponseField>

<ResponseField name="InvoiceLineDisplayAs" type="string">
  Display text on invoice line.
</ResponseField>

<ResponseField name="RegularCharge" type="boolean">
  Whether this is a regular charge.
</ResponseField>

<ResponseField name="DiscountAmount" type="number">
  Discount amount.
</ResponseField>

<ResponseField name="CreditAmount" type="number">
  Credit amount.
</ResponseField>

<ResponseField name="DiscountCode" type="string">
  Discount code.
</ResponseField>

<ResponseField name="DueDate" type="string">
  Due date.
</ResponseField>

<ResponseField name="TotalAmount" type="number">
  Total amount.
</ResponseField>

<ResponseField name="PurchaseOrder" type="string">
  Purchase order.
</ResponseField>

<ResponseField name="TaxRateId" type="integer">
  Tax Rate Id.
</ResponseField>

<ResponseField name="FinancialAccountId" type="integer">
  Financial Account Id.
</ResponseField>

<ResponseField name="Invoiced" type="boolean">
  Whether the charge has been invoiced.
</ResponseField>

<ResponseField name="InvoicedOn" type="string">
  Date the charge was invoiced.
</ResponseField>

<ResponseField name="SaleDate" type="string">
  Sale date.
</ResponseField>

<ResponseField name="FromTeamMember" type="boolean">
  From Team Member.
</ResponseField>

<ResponseField name="CoworkerExtraServiceName" type="string">
  Coworker Extra Service Name.
</ResponseField>

<ResponseField name="CoworkerTimePassName" type="string">
  Coworker Time Pass Name.
</ResponseField>

<ResponseField name="CoworkerProductName" type="string">
  Coworker Product Name.
</ResponseField>

<ResponseField name="TariffName" type="string">
  Tariff Name.
</ResponseField>

<ResponseField name="CoworkerProductUniqueId" type="string">
  Coworker Product Unique Id.
</ResponseField>

<ResponseField name="BookingUniqueId" type="string">
  Booking Unique Id.
</ResponseField>

<ResponseField name="CoworkerContractUniqueId" type="string">
  UniqueId of the CoworkerContract that originated this charge.
</ResponseField>

<ResponseField name="CoworkerExtraServiceUniqueId" type="string">
  UniqueId of the CoworkerExtraService (booking extra-service charge) that originated this charge.
</ResponseField>

<ResponseField name="ExtraServiceUniqueId" type="string">
  UniqueId of the ExtraService that originated this charge.
</ResponseField>

<ResponseField name="CoworkerTimePassUniqueId" type="string">
  UniqueId of the CoworkerTimePass that originated this charge.
</ResponseField>

<ResponseField name="CoworkerChargeUniqueId" type="string">
  UniqueId of the original charge passed from a non-paying team member to the team's paying member.
</ResponseField>

<ResponseField name="EventAttendeeUniqueId" type="string">
  UniqueId of the EventAttendee that originated this charge.
</ResponseField>

<ResponseField name="InvoiceFromDate" type="string">
  Invoice period start date.
</ResponseField>

<ResponseField name="InvoiceToDate" type="string">
  Invoice period end date.
</ResponseField>

<ResponseField name="RepeatFrom" type="string">
  Repeat from date.
</ResponseField>

<ResponseField name="RepeatUntil" type="string">
  Repeat until date.
</ResponseField>

<ResponseField name="CoworkerDiscountCodeUniqueId" type="string">
  UniqueId of the CoworkerDiscountCode applied to this charge.
</ResponseField>

<ResponseField name="Id" type="integer">
  Unique record identifier.
</ResponseField>

<ResponseField name="UniqueId" type="string">
  UUID of the record.
</ResponseField>

<ResponseField name="CreatedOn" type="string">
  Date and time the record was created (ISO 8601).
</ResponseField>

<ResponseField name="UpdatedOn" type="string">
  Date and time the record was last updated (ISO 8601).
</ResponseField>

<ResponseField name="UpdatedBy" type="string">
  Email of the user who last updated this record.
</ResponseField>

<ResponseField name="IsNew" type="boolean">
  Whether the record was recently created.
</ResponseField>

<ResponseField name="SystemId" type="string">
  External system identifier.
</ResponseField>

```json Example Response theme={null}
{
  "CoworkerId": 0,
  "BusinessId": 0,
  "BusinessName": null,
  "BusinessCurrencyCode": null,
  "ChargeNumber": null,
  "Quantity": 0,
  "Description": null,
  "InvoiceLineDisplayAs": null,
  "RegularCharge": false,
  "DiscountAmount": 0,
  "CreditAmount": 0,
  "DiscountCode": null,
  "DueDate": null,
  "TotalAmount": 0,
  "PurchaseOrder": null,
  "TaxRateId": null,
  "FinancialAccountId": null,
  "Invoiced": false,
  "InvoicedOn": null,
  "SaleDate": null,
  "FromTeamMember": false,
  "CoworkerExtraServiceName": null,
  "CoworkerTimePassName": null,
  "CoworkerProductName": null,
  "TariffName": null,
  "CoworkerProductUniqueId": null,
  "BookingUniqueId": null,
  "CoworkerContractUniqueId": null,
  "CoworkerExtraServiceUniqueId": null,
  "ExtraServiceUniqueId": null,
  "CoworkerTimePassUniqueId": null,
  "CoworkerChargeUniqueId": null,
  "EventAttendeeUniqueId": null,
  "InvoiceFromDate": null,
  "InvoiceToDate": null,
  "RepeatFrom": null,
  "RepeatUntil": null,
  "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": "Charge Example",
  "LocalizationDetails": null,
  "CustomFields": null
}
```
