List chart of accounts
reai_list_accountsSearch the chart of accounts to find valid account numbers, names, and types before booking vouchers. Ensures every posting references an existing account.
Instructions
Search the tenant's chart of accounts (kontoplan). Returns account numbers, names and types. Use this to find the right account number before booking a voucher — every posting must reference an account that exists in this list.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| limit | No | Maximum accounts to return. | |
| query | No | Free-text search over account number and name, e.g. "bank", "salgsinntekt", "1920". | |
| tenantId | No | ReAI tenant (company) id. Omit to use the active tenant — set one with reai_use_tenant, or list what this token can reach with reai_whoami. | |
| accountNumberPrefix | No | Restrict to a leading digit range, e.g. "19" for bank accounts or "3" for revenue. |