Kontering per konto
get_postings_by_accountA summary of a period's bookkeeping per account: for each account, the number of voucher rows and vouchers and the total debit and credit, for all accounts (up to top, default 40) or only those given in account. It gives totals per account, not the individual rows or balances. Use when the person asks to review which accounts a period's vouchers were booked to, or how much was booked on each account. Example question: "Kontrollera konteringen på verifikaten i september." 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_postings_by_account"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| top | No | antal konton, standard 40 Number. | |
| date | No | ÅÅÅÅ-MM-DD för att välja räkenskapsår Date as YYYY-MM-DD unless the text allows more. | |
| todate | No | ÅÅÅÅ-MM-DD Date as YYYY-MM-DD unless the text allows more. | |
| account | No | valfritt: bara dessa konton — ett (1930), flera (1930,1940) eller ett intervall (1910-1939) 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 | |||