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
Authorization
Bearer authentication of the form Bearer <token>, where token is your auth token.
Query parameters
entityId
The ID of the entity to get chart of accounts for
Response
Chart of accounts retrieved successfully
entityId
The entity ID
ledgerId
The ledger ID associated with the entity
accounts
Accounts organized by type
totalAccounts
Total number of accounts in the chart