Expense Analysis
fortnox_expense_analysisAnalyze expenses by account class to view the expense category structure. Use to understand how expenses are grouped for a selected period or date range.
Instructions
[LIMITED] Analyze expenses by account class. Returns category structure only.
For actual expense data, use fortnox_account_activity with account_range={from: 4000, to: 8999}.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| period | No | Date period to analyze | |
| to_date | No | End date for analysis (YYYY-MM-DD). Ignored if period is specified. | |
| group_by | No | Group expenses by individual account or account class (e.g., 4xxx, 5xxx) | account_class |
| from_date | No | Start date for analysis (YYYY-MM-DD). Ignored if period is specified. | |
| compare_to | No | Optional period to compare against | |
| response_format | No | Output format: 'markdown' or 'json' | markdown |
| account_range_to | No | End of expense account range (default: 8999) | |
| account_range_from | No | Start of expense account range (default: 4000) |