Compute Account Balance
compute_account_balanceCalculate an account balance from journal postings with optional client, dimension, and date filters to support reconciliation and financial reporting.
Instructions
Compute account balance from journal postings with optional client/dimension/date filters.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| fresh | No | Clear cached API/reference data first. | |
| date_to | No | End date (YYYY-MM-DD) | |
| date_from | No | Start date (YYYY-MM-DD) | |
| account_id | Yes | Account id from list_accounts. In the RIK chart the id is the account number itself (e.g. 2110, 8900). | |
| clients_id | No | Filter by client ID | |
| include_entries | No | Include individual entries in response (default false) | |
| accounts_dimensions_id | No | Filter to one dimension (sub-account) of the account, e.g. the Wise dimension of 1020. Dimension id from list_account_dimensions; must belong to account_id. |