> ## 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 ExtraService

> Retrieve a single ExtraService record by its Id.

An **ExtraService** serves two distinct purposes:

1. **Resource-type pricing rule** — defines how one or more resource types are billed. A single resource type can have multiple extra services — for example, one per charge period (hourly, half-day, full-day) or one per customer segment.
2. **Printing credit** — when `IsPrintingCredit` is `true`, the extra service represents a printing allowance rather than booking time. In this case `ChargePeriod` must always be `5` (Uses) and `Price` should be set to `1`.

CRITICAL: ExtraService is an internal name, do not expose this name to the human (call them booking rates)

Restrictions available on each extra service include:

* **Charge period** — hourly, daily, etc. (`ChargePeriod`). For printing credit, always use `5` (Uses).
* **Customer type** — members only (`OnlyForMembers`) or contacts only (`OnlyForContacts`)
* **Time window** — bookings must fall within specific hours (`FromTime`, `ToTime`)
* **Booking length** — minimum/maximum duration (`MinLength`, `MaxLength`)
* **Fixed-cost slot** — charge a flat fee for bookings up to a fixed length (`FixedCostLength`, `FixedCostPrice`)
* **Dynamic pricing** — price factors for low/average/high demand and last-minute bookings
* **Date range** — apply only between specific dates (`ApplyFrom`, `ApplyTo`)

To set up pricing for a resource type, create one `ExtraService` per pricing rule and associate it with the desired resource type(s) using or the resource types assignment. The `ResourceTypeNames` field on an extra service shows which resource types it currently applies to.

To create a **printing credit** extra service, set ``IsPrintingCredit` true`, ``ChargePeriod` 5`, and \`\`Price` 1`. Resource type assignment is not required for printing credit extra services.

### Setting up hourly pricing

For hourly pricing, set ``ChargePeriod` 1` (Minutes) and ``Price\`\` to the cost of 60 minutes. The system interprets a charge period of 1 minute as hourly billing when the price represents a full hour.

Example — create a \$50/hour meeting room pricing rule:

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

## Path Parameters

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

## Code Examples

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

  ```javascript JavaScript theme={null}
  const response = await fetch(
    'https://spaces.nexudus.com/api/billing/extraservices/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/extraservices/87654321',
      headers={
          'Authorization': 'Bearer YOUR_TOKEN'
      }
  )

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

## Response

### 200

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

<ResponseField name="Name" type="string">
  Extra service name.
</ResponseField>

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

<ResponseField name="InvoiceLineDisplayAs" type="string">
  Invoice line display text.
</ResponseField>

<ResponseField name="Visible" type="boolean">
  Whether the price is visible on the portal and app.
</ResponseField>

<ResponseField name="DisplayOrder" type="integer">
  Display order.
</ResponseField>

<ResponseField name="ResourceTypes" type="integer[]">
  Resource Types.
</ResponseField>

<ResponseField name="Price" type="number">
  Price.
</ResponseField>

<ResponseField name="CreditPrice" type="number">
  Credit price.
</ResponseField>

<ResponseField name="ChargePeriod" type="integer">
  Charge period. See `eChargePeriod` enum values: `1` = Minutes, `2` = Days, `3` = Weeks, `4` = Months, `5` = Uses, `6` = FourWeekMonths.
</ResponseField>

<ResponseField name="MaximumPrice" type="number">
  Maximum price cap.
</ResponseField>

<ResponseField name="IsDefaultPrice" type="boolean">
  Use as the default price for matched resource types if more than one price applies.
</ResponseField>

<ResponseField name="UsePerNightPricing" type="boolean">
  Use per-night pricing.
</ResponseField>

<ResponseField name="CurrencyId" type="integer">
  Currency Id.
</ResponseField>

<ResponseField name="CurrencyCode" type="string">
  Currency code.
</ResponseField>

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

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

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

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

<ResponseField name="FromTime" type="integer">
  Start time restriction (minutes from midnight).
</ResponseField>

<ResponseField name="ToTime" type="integer">
  End time restriction (minutes from midnight).
</ResponseField>

<ResponseField name="MinLength" type="integer">
  Minimum booking length (minutes).
</ResponseField>

<ResponseField name="MaxLength" type="integer">
  Maximum booking length (minutes).
</ResponseField>

<ResponseField name="OnlyWithinAvailableTimes" type="boolean">
  Only apply within the resource's available times.
</ResponseField>

<ResponseField name="FixedCostLength" type="integer">
  Fixed cost booking length threshold (minutes).
</ResponseField>

<ResponseField name="FixedCostPrice" type="number">
  Fixed cost price applied once the threshold is reached.
</ResponseField>

<ResponseField name="Tariffs" type="integer[]">
  Tariffs.
</ResponseField>

<ResponseField name="OnlyForContacts" type="boolean">
  Only available for contacts.
</ResponseField>

<ResponseField name="OnlyForMembers" type="boolean">
  Only available for members.
</ResponseField>

<ResponseField name="IsBookingCredit" type="boolean">
  Price uses booking credits.
</ResponseField>

<ResponseField name="IsPrintingCredit" type="boolean">
  Price uses printing credits.
</ResponseField>

<ResponseField name="ApplyChargeToVisitors" type="boolean">
  Apply charge to visitors.
</ResponseField>

<ResponseField name="PriceFactorLowDemand" type="number">
  Price factor for low demand periods.
</ResponseField>

<ResponseField name="PriceFactorAverageDemand" type="number">
  Price factor for average demand periods.
</ResponseField>

<ResponseField name="PriceFactorHighDemand" type="number">
  Price factor for high demand periods.
</ResponseField>

<ResponseField name="PriceFactorLastMinute" type="number">
  Price factor for last-minute bookings.
</ResponseField>

<ResponseField name="LastMinutePeriodMinutes" type="integer">
  Last-minute period threshold (minutes before booking).
</ResponseField>

<ResponseField name="LastMinuteAdjustmentType" type="integer">
  Last-minute discount type. See `eLastMinuteDiscountType` enum values: `1` = Disabled, `2` = Fixed, `3` = Gradual.
</ResponseField>

<ResponseField name="ApplyFrom" type="string">
  Date from which this price applies.
</ResponseField>

<ResponseField name="ApplyTo" type="string">
  Date until which this price applies.
</ResponseField>

<ResponseField name="ResourceTypeNames" type="string">
  Comma-separated names of associated resource types.
</ResponseField>

<ResponseField name="Teams" type="integer[]">
  Teams.
</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}
{
  "BusinessId": 0,
  "Name": "",
  "Description": null,
  "InvoiceLineDisplayAs": null,
  "Visible": false,
  "DisplayOrder": 0,
  "ResourceTypes": [],
  "Price": 0,
  "CreditPrice": null,
  "ChargePeriod": 0,
  "MaximumPrice": null,
  "IsDefaultPrice": false,
  "UsePerNightPricing": false,
  "CurrencyId": 0,
  "CurrencyCode": null,
  "TaxRateId": null,
  "ReducedTaxRateId": null,
  "ExemptTaxRateId": null,
  "FinancialAccountId": null,
  "FromTime": null,
  "ToTime": null,
  "MinLength": null,
  "MaxLength": null,
  "OnlyWithinAvailableTimes": false,
  "FixedCostLength": null,
  "FixedCostPrice": null,
  "Tariffs": [],
  "OnlyForContacts": false,
  "OnlyForMembers": false,
  "IsBookingCredit": false,
  "IsPrintingCredit": false,
  "ApplyChargeToVisitors": false,
  "PriceFactorLowDemand": null,
  "PriceFactorAverageDemand": null,
  "PriceFactorHighDemand": null,
  "PriceFactorLastMinute": null,
  "LastMinutePeriodMinutes": null,
  "LastMinuteAdjustmentType": 0,
  "ApplyFrom": null,
  "ApplyTo": null,
  "ResourceTypeNames": null,
  "Teams": [],
  "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": "ExtraService Example",
  "LocalizationDetails": null,
  "CustomFields": null
}
```
