---
title: "Calculate initial trial balance"
method: POST
path: "/accounting/v1.0/trial-balance/configuration/calculate"
tags: ["Trial balance"]
---

# Calculate initial trial balance

`POST /accounting/v1.0/trial-balance/configuration/calculate`

Calculate the initial trial balance for a property based on all historical transaction records up to the end of yesterday (in property local time). Use this endpoint to preview the opening balances before committing the trial balance configuration. The response contains the computed deposit ledger, accounts receivable ledger, and guest ledger opening balances.

## Headers

- `X-Property-ID` integer, required

## Response `200`

OK

- TrialBalanceResponse
  - `date` string, date — Date of the trial balance.
  - `depositsLedgerOpeningBalance` integer
  - `accountsReceivableLedgerOpeningBalance` integer
  - `guestLedgerOpeningBalance` integer

---

[API](https://skmtc.net/cloudbeds/apis/cloudbeds-api.md) · [All operations](https://skmtc.net/cloudbeds/apis/cloudbeds-api/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/cloudbeds/cloudbeds-api/revisions/2faa857793e8/schema)
