Balance sheet
The entity's balance sheet for each period column in the window. Sections are Assets, Liabilities and Equity; accounts nest under type groups and their parent accounts, each named by the same account_id the chart of accounts publishes. Balances on a balance sheet are cumulative as of each column's end date. start_date and end_date are inclusive; period_type (monthly, quarterly, yearly) chooses the columns, listed under periods and clipped to the window. Amounts are integer atoms of reporting_currency (cents for USD); a null cell means no data for that period rather than zero. The window may span at most 5 years. Built from the general ledger at request time, so every posted entry is reflected immediately.
Query Parameters
- Type: stringFormat: datestart
_date requiredInclusive start date for the report
- Type: stringFormat: dateend
_date requiredInclusive end date for the report
- Type: enumperiod
_type Time period grouping
- Type: stringnullableentity
External id of the entity to act for, from
GET /v1/entities. Required when signed in with OAuth (an organization can hold several entities; ask the user which one if more than one could apply). Optional with an API key, which is scoped to one entity already.
Responses
- application/json
- 400
The window spans more than 5 years (CAPI69), or signed in with OAuth and no
entitygiven (CAPI12). - 401
The credential was refused: none sent (CAPI11), an API key that is not valid (CAPI15), or an OAuth sign-in that has expired (CAPI16), was not issued for this API (CAPI17), names an organization T0 does not hold (CAPI18) or a membership that is no longer usable (CAPI19).
detailsays what to do. - 403
The key lacks customer_api:read, or the signed-in user lacks reports:read on the entity (CAPI71); or
entityis not the key's own (CAPI14). - 404
No such entity in your organization (CAPI13).
- application/json
curl 'https://api.t0.ai/v1/reports/balance-sheet?start_date=2026-11-30&end_date=2026-11-30&period_type=monthly' \
--header 'Authorization: Bearer YOUR_SECRET_TOKEN'
{
"periods": [
{
"id": "string",
"label": "string",
"start_date": "2026-11-30",
"end_date": "2026-11-30"
}
],
"sections": [
{
"account_type": "string",
"label": "string",
"balances": {
"additionalProperty": 1
},
"children": [
{
"account_id": "string",
"account_number": "string",
"name": "string",
"is_postable": true,
"account_kind": "regular",
"balances": {
"additionalProperty": 1
},
"own_balances": {
"additionalProperty": 1
},
"transaction_counts": {
"additionalProperty": 1
},
"children": [
{
"account_id": "string",
"account_number": "string",
"name": "string",
"is_postable": true,
"account_kind": "regular",
"balances": {
"additionalProperty": 1
},
"own_balances": {
"additionalProperty": 1
},
"transaction_counts": {
"additionalProperty": 1
},
"children": [
{
"account_id": "string",
"account_number": "string",
"name": "string",
"is_postable": true,
"account_kind": "regular",
"balances": {
"additionalProperty": 1
},
"own_balances": {
"additionalProperty": 1
},
"transaction_counts": {
"additionalProperty": 1
}
}
]
}
]
}
]
}
],
"reporting_currency": "USD",
"reporting_currency_source": "functional",
"amount_unit": "atoms",
"atoms_per_unit": 1
}