getAccountBalance
getAccountBalanceRetrieve the balance of an accounting account with filters by customer, contract, currency, and date range.
Instructions
Retrieve the balance for a specific accounting account. Supports filtering by customer, contract, currency, and posted-at date range.
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"accountId": "<accountId>"
},
"name": "getAccountBalance"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| as_of | No | Date for the balance snapshot (YYYY-MM-DD). | |
| currency | No | Three-letter ISO currency code (e.g. 'USD'). | |
| accountId | Yes | The unique identifier of the account. | |
| contract_id | No | Filter the balance to a single billing contract UUID (enables per-contract GL balance). | |
| customer_id | No | Filter the balance to a single customer UUID. | |
| __userContext | No | Internal user context for multi-tenant authentication and approval workflow | |
| journal_entry__posted_at__gte | No | Lower bound on parent journal entry posted-at date (inclusive). | |
| journal_entry__posted_at__lte | No | Upper bound on parent journal entry posted-at date (inclusive). |