Kontoutdrag och huvudbok
get_account_ledgerAccount statement and general ledger: the individual voucher rows on the accounts given in account (one account, several, or a range; at most 200) for a period, with opening balance, running balance and closing balance. Use when the person asks to see the transactions on a specific account or how its balance has moved. Example question: "Visa alla verifikationsrader på konto 4010 i mars." Read-only; computed on the server from live Fortnox data over all pages (Fortnox API, https://api.fortnox.se/apidocs).
Tool call template
This tool declares no required parameters. Add optional parameters from the input schema as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {},
"name": "get_account_ledger"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| todate | No | ÅÅÅÅ-MM-DD Date as YYYY-MM-DD unless the text allows more. | |
| account | No | kontonummer, obligatoriskt — ett konto (1930), flera (1930,1940) eller ett intervall (1910-1939 eller en hel kontogrupp 1200-1299), högst 200 konton; av ett int Comma-separated. | |
| fromdate | No | ÅÅÅÅ-MM-DD Date as YYYY-MM-DD unless the text allows more. | |
| financialyear | No | räkenskapsårets id Number. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||