Account ledger (fisa contului)
saga_account_ledgerRetrieve all ledger entries for one account over a date range, including opening, running, and closing balances; optionally include analytic sub-accounts or match by prefix.
Instructions
All entries of one account in a period with opening balance, running balance and closing balance. match=account (default) includes analytic sub-accounts ("401" -> 401, 401.x); match=prefix takes every account starting with the text.
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": {
"account": "<account>",
"date_from": "<date_from>",
"date_to": "<date_to>"
},
"name": "saga_account_ledger"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| firm | No | Firm code (folder name such as "0001"). Optional when only one firm is configured. | |
| limit | No | Maximum rows to return. | |
| match | No | ||
| offset | No | Rows to skip (for paging). | |
| account | Yes | ||
| date_to | Yes | End date, YYYY-MM-DD (inclusive). | |
| date_from | Yes | Start date, YYYY-MM-DD (inclusive). |