List Financial Years
fortnox_list_financial_yearsGet all financial years from Fortnox with ID, date range, and accounting method to use the correct ID in voucher tools.
Instructions
List all financial years configured in Fortnox.
IMPORTANT: Voucher tools (fortnox_list_vouchers, fortnox_account_activity, etc.) use Fortnox sequential IDs (1, 2, 3...) NOT calendar years. Use this tool first to find the correct ID.
Example: If ID 4 maps to 2025-01-01 to 2025-12-31, use financial_year=4 in voucher tools.
Args:
response_format ('markdown' | 'json'): Output format
Returns: List of financial years with ID, date range, and accounting method.
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": "fortnox_list_financial_years"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| response_format | No | Output format: 'markdown' or 'json' | markdown |