Returns the account collection. Filter by account type to inspect one part of the ledger's financial classification.
GET
/api/accountsParameters
accountTypeenum · query · optional- Restricts results to Asset, Liability, Equity, Revenue or Expense. Omit to return all accounts.
Returns
An array of account objects. Each includes its identity, type, reporting currency and balance derived from opening balance plus transactions.
Response codes
- 200
- Account collection
Illustrative API contract. Set $API_ORIGIN to your own backend; this example does not host these endpoints.