Get Chart of Accounts

Retrieve the complete chart of accounts for an entity, organized by account type (Assets, Liabilities, Equity, Revenue, Expenses). This endpoint provides all the account information needed to create transactions and transfers.

Headers

AuthorizationstringRequired

Bearer authentication of the form Bearer <token>, where token is your auth token.

Query parameters

entityIdstringRequired
The ID of the entity to get chart of accounts for

Response

Chart of accounts retrieved successfully
entityIdstring or null
The entity ID
ledgerIdstring or null
The ledger ID associated with the entity
accountsobject or null
Accounts organized by type
totalAccountsinteger or null
Total number of accounts in the chart

Errors