List accounts
list_accountsLists the accounts in the company's chart of accounts with number, description and settings, one page per call. Use when the person asks to look up accounts by number or name, or which accounts are active. The list does not carry account balances. summarize.all_pages gives totals over every page. Read-only. Fortnox API GET /3/accounts (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": "list_accounts"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| sru | No | ||
| page | No | ||
| limit | No | ||
| expand | No | Open each record (rows) | |
| fields | No | Only these columns | |
| offset | No | ||
| sortby | No | One of: number | |
| sortorder | No | One of: ascending, descending | |
| summarize | No | Group and total on the server | |
| lastmodified | No | ||
| financialyear | No | Fortnox financial-year id used to retrieve the account state for an explicit year. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||