List account balances
Lists the balances of the chart of accounts at the end of a given date, or of a subset of accounts.
Balances are calculated within the fiscal year containing the date: balance sheet accounts start from their opening balance, while income and expense accounts start from zero at the beginning of the fiscal year. The closing entries of a fiscal year are not included, so the balances of a closed fiscal year remain meaningful.
Balances at a date
Pass the date you are interested in to receive the balance of every account at the end of that day:accounts:
Reading the balances
- Amounts are integers in cents, so
1250000means 12,500.00.balanceis in CHF; foreign currency accounts additionally report their balance in their own currency underfx, also in cents. - A balance is positive in the account’s normal direction: a debit balance for assets and expenses, a credit balance for liabilities and income.
- Balances are calculated within the fiscal year that contains the date. Balance sheet accounts include their opening balance, while income and expense accounts count from the start of that fiscal year. A date outside every fiscal year returns
fiscal-year/not-found. - The closing entries of a fiscal year are left out, so the balances of a closed fiscal year still show its result.
Authorizations
API token for authentication. Obtain from your Infinity account settings.
Query Parameters
The date whose closing balances to return in YYYY-MM-DD format. Must lie within a fiscal year. Defaults to today.
Only return the balances of these accounts, as a comma-separated list of account numbers. Returns the whole chart of accounts if omitted.
^\d{4}(,\d{4})*$Response
The balances of the requested accounts at the end of the given date, sorted by account number.