Skip to main content
GET
Trial balance
Returns the tenant’s chart of accounts with posted totals — the canonical artifact for proving the books balance. Each line is one account’s total debits, total credits, and its balance expressed on the account’s normal side (debit for assets and expenses, credit for liabilities, equity and revenue). balanced is the double-entry invariant: total_debits == total_credits across every account. Read-only; nothing is persisted. The trial balance is one of the three checks the month-end close pack bundles. To see the postings behind a line, use List Ledger Entries with the line’s account_id; to take the whole journal offline, use the GL export.

Query Parameters

Example Request

Consolidated across entities:

Response

Fields

Line Fields

Without entity_id or consolidated, a multi-entity tenant sees the same account code once per entity, each tagged with its entity. With consolidated=true the codes are summed across entities into one line each, and the entity tags are dropped.
Responses are cached per tenant and URL for five minutes; the X-Cache header reports HIT or MISS. A posting made moments ago may not show until the cache expires.

Errors

The spec entry for this operation declares only 200 and 401, so the playground on this page does not list the 400. The handler does return 400 validation_failed for a malformed entity_id; the row above documents runtime behaviour.
Errors use the standard envelope — see Errors.

Authorizations

Authorization
string
header
required

Tenant API key obtained from POST /auth/register or POST /v1/developer/keys.

Query Parameters

entity_id
string<uuid>

Legal entity to scope the tax config to (Multi-Entity Books). Omit for the tenant's primary entity / default config.

consolidated
boolean

Roll all entities' accounts up by code into one consolidated trial balance.

Response

Trial balance.

data
object