get_chart_of_accounts
Retrieves all accounting accounts from Holded with numbers, names, groups, and balances, including assets, liabilities, income, and expenses. Supports pagination and filters for archived, date range, and zero-balance accounts.
Instructions
Get accounting accounts (Holded API v2, GET /accounting-accounts). Returns every account with num (PGC number, e.g. 40000000), name, group, debit, credit, and balance. Unlike list_expenses_accounts (group-6 only), this includes all groups (assets, liabilities, income, expenses). Cursor-paginated: pass nextCursor from the previous response as cursor. Optional annex filters: archived (include archived accounts), start_date/end_date (ISO 8601, filter by activity period), include_empty (include zero-balance accounts). See also: list_accounting_accounts in ledger tools — both tools target the same v2 endpoint; consolidation is planned for release 2.1. Read-only.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| limit | No | Max items per page | |
| cursor | No | Cursor token from a previous response nextCursor | |
| archived | No | Include archived accounts (default: false) | |
| end_date | No | Filter end date (ISO 8601, YYYY-MM-DD) | |
| start_date | No | Filter start date (ISO 8601, YYYY-MM-DD) | |
| include_empty | No | Include zero-balance accounts (default: false) |