BoringBooks API reference

trial_balance

POST /api/v1/queries/trial_balance

Base URL: https://boringbooks.io.

Request body

FieldTypeRequiredDescription
as_of_datestring (date)yesThe date the balances are stated at, including that day's postings.
ledger_idstring (uuid)yes
from_datestring (date)noOptional. The first date of the activity columns; adds opening, period_debit, and period_credit to every row. Must be on or before as_of_date.

Example:

{
  "as_of_date": "2026-09-15",
  "from_date": "2026-09-01",
  "ledger_id": "11111111-1111-4111-8111-111111111111"
}

Response (200)

FieldTypeRequiredDescription
as_of_datestring (date)yes
currencyCurrencyyes
rowsarray of objectyes
rows[].account_idstring (uuid)yes
rows[].closing_netAmountyes
rows[].codestringyes
rows[].credit_balanceAmountyes
rows[].debit_balanceAmountyes
rows[].namestringyes
rows[].typestringyes
rows[].openingAmountno
rows[].period_creditAmountno
rows[].period_debitAmountno
total_credit_balanceAmountyes
total_debit_balanceAmountyes
from_datestring (date)no

Shared types

Fields typed with one of these names refer to it.

Errors

Every error response is a single error object with a closed type and a refining code. The codes, and the conventions every operation shares, are in llms-full.txt.