Hanzo
OpenapiBooks

Returns the org's Balance Sheet as of `to` (empty = all time), with the Assets…

Returns the org's Balance Sheet as of `to` (empty = all time), with the Assets == Liabilities + Equity equation proof.

GET /v1/books/position

Addresshttps://api.hanzo.ai/v1/books/position
MethodGET
Operationget_books_position
AuthAuthorization: Bearer $HANZO_API_KEY

Returns the org's Balance Sheet as of to (empty = all time), with the Assets == Liabilities + Equity equation proof.

Request

2 fields.

FieldInTypeRequiredDescription
sandboxquerystringSandbox reads the org's SANDBOX ledger when it is exactly "true".
toquerystringTo is the RFC3339 instant the statement is struck as of.

Response

StatusBodyMeaning
200BalanceSheetok

200 body — 20 fields.

FieldInTypeAlwaysDescription
asOfbodystringAsOf is the posting time the statement is taken at, inclusive.
assetsbodyBalanceLine[]Assets are what the org OWNS at that instant, one line per account that has a balance.
assets[].accountbodystringAccount is the chart-of-accounts number this line reports on.
assets[].amountbodyintegerAmount is the balance as of the statement date, in whole cents, in its NATURAL sign: positive when the account behaved normally, on all three sides.
assets[].namebodystringName is the account's human name, or the derived line's own name.
assets[].typebodystringType is the account's fundamental class.
balancedbodybooleanBalanced is whether assets equal liabilities plus equity — the accounting equation, computed from the totals above rather than assumed.
equitybodyBalanceLine[]Equity is what is left over for the owners.
equity[].accountbodystringAccount is the chart-of-accounts number this line reports on.
equity[].amountbodyintegerAmount is the balance as of the statement date, in whole cents, in its NATURAL sign: positive when the account behaved normally, on all three sides.
equity[].namebodystringName is the account's human name, or the derived line's own name.
equity[].typebodystringType is the account's fundamental class.
liabilitiesbodyBalanceLine[]Liabilities are what the org OWES — including customers' unspent prepaid credit, which is their money until it is consumed and so is carried here rather than…
liabilities[].accountbodystringAccount is the chart-of-accounts number this line reports on.
liabilities[].amountbodyintegerAmount is the balance as of the statement date, in whole cents, in its NATURAL sign: positive when the account behaved normally, on all three sides.
liabilities[].namebodystringName is the account's human name, or the derived line's own name.
liabilities[].typebodystringType is the account's fundamental class.
totalAssetsbodyintegerTotalAssets is the sum of the asset lines, in cents.
totalEquitybodyintegerTotalEquity is the sum of the equity lines including retained earnings, in cents.
totalLiabilitiesbodyintegerTotalLiabilities is the sum of the liability lines, in cents.

Failure carries the platform error shape — see Errors.

Examples

hanzo books position

Books API · All Hanzo APIs · Interactive reference

How is this guide?

On this page