navigate_to_income_expense
Deep link to the Income & Expense report (/income_expense) — a profit & loss statement for personal finances: budget-vs-actual across ALL categories for ONE period (a range is aggregated into a single column set, NOT a time series). Income and Expense sections, one row per category (Budgeted, Actual, Difference, optional % and Rollover), with subtotals and a Net Income total. Pick this for breakdown / where-did-it-go asks: 'where did my money go last month', 'how much did I earn vs spend', 'which categories am I overspending in', 'what share of my spending is rent', or any P&L / statement request. For ONE category's trend over time use navigate_to_trends; to manage budgets use navigate_to_budget; for the raw transactions use navigate_to_transactions. only_category_ids and group_ids are the items to SHOW (the app inverts them — pass what you want visible).
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| nesting | No | Show categories as a hierarchical tree (parents with children) rather than a flat list. roll_up only has a visible effect when this is on. | |
| roll_up | No | Map of category_id => boolean; fold a category's children into it (visible only when nesting is on). | |
| end_date | No | YYYY-MM-DD. | |
| group_ids | No | Display-group (Account) IDs to SHOW — the app hides the rest. Resolve via list_accounts. | |
| transfers | No | Include transfer categories. | |
| start_date | No | YYYY-MM-DD (when date_range_key is 'custom'). | |
| percentages | No | Show each category's % share of its Income/Expense section total. | |
| date_range_key | No | The single aggregate window — a named range or 'custom'. Widening it just sums more into the same columns (it is not a per-period series). | |
| only_category_ids | No | Category IDs to SHOW (plus the literal "uncategorised"). The app ignores every other category. | |
| budget_includes_rollover | No | Add rollover into the budgeted figure (only meaningful when rollover is active). | |
| difference_includes_rollover | No | Adjust only the Difference column by rollover, leaving the budgeted figure unchanged. |