Kontoplan
get_chart_of_accountsChart of accounts: the company's accounts per account class (BAS, the Swedish standard chart of accounts), with balance and VAT code. Use when the person asks which accounts exist or which account to use for something. Example question: "Vilka konton har vi? Vilket konto använder vi för frakt?" 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_chart_of_accounts"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| sok | No | ord i kontots namn, till exempel "frakt" | |
| alla | No | "true" för att ta med konton som inte är aktiva | |
| account | No | ett konto eller ett intervall, till exempel "1930" eller "1930-1999" (i stället för from_account/to_account) Comma-separated. | |
| to_account | No | högsta kontonummer BAS account number. | |
| from_account | No | lägsta kontonummer BAS account number. | |
| financialyear | No | räkenskapsårets id; standard det som innehåller i dag Number. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||