Get ledger balance
get_ledger_balanceRetrieve a ledger's balance up to a date or its movement over a specified period, optionally filtered by cost center.
Instructions
Get the balance of one ledger. Without dateFrom it is the balance up to dateTo (or today); with dateFrom it is the movement over the period.
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": {
"ledgerId": "<ledgerId>"
},
"name": "get_ledger_balance"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| dateTo | No | End date, inclusive (YYYY-MM-DD). | |
| dateFrom | No | Start date (YYYY-MM-DD). | |
| ledgerId | Yes | Ledger ID. | |
| costCenterId | No | Only this cost center. |