List financial years
Financial years that exist in the company, with start and end dates.
GET https://cotlet.dev/api/v1/fortnox/financial-years
read
Returns the financial years created in Fortnox. A voucher can only be booked in a date that falls inside one of them, so check here first. A new year is created in Fortnox itself, not by this tool.
Parameters
| Name | Type | Description |
|---|---|---|
| date date | date | Only the financial year that contains this date. |
Request
curl https://cotlet.dev/api/v1/fortnox/financial-years \
-H "Authorization: Bearer $COTLET_API_KEY" result = client.call("fortnox", "list_financial_years") const result = await cotlet.call('fortnox', 'list_financial_years'); cotlet call fortnox list_financial_years Example response
{
"financial_years": [
{
"id": 7,
"from": "2026-01-01",
"to": "2026-12-31"
}
]
}