Get balances
Every account’s balance and the workspace total, in one call.
Balances are historical only. A balance is the account’s opening balance plus the
signed amounts of its transactions up to the end of as_of, so a future as_of is
rejected rather than answered with today’s figure wearing a future date. For a
forward-looking position, render a cash flow view of type balances, which projects
planned movements and reports them separately from actuals.
Conversion here differs from the summaries, deliberately. An account holds one
currency, so its whole balance converts at a single rate for as_of, answering what
the position is worth then. A transaction summary converts each movement at its own
date, answering what each cost at the time.
Authorizations
A workspace API key created in ThinkOut settings. One key reads one workspace.
Query Parameters
Compute balances as of the end of this day. Defaults to today in UTC. A future date is rejected, because a balance is only ever historical.
Currency to report totals in. Defaults to the workspace currency. The conversion
object on the response says whether conversion happened and on what basis.
ISO 4217 alphabetic currency code.
^[A-Z]{3}$"RON"
Response
Balances per account and in total.
"balances"The day whose end-of-day position is reported.
What was done to make amounts comparable.
Every account added together, in the requested currency.
^-?[0-9]+(\.[0-9]+)?$"-1250.00"