Get Income vs Expense Summary
get_income_expense_summaryAnalyze monthly income versus expense breakdown, calculate savings rate, and detect trends across multiple months. Excludes partial current month and months with no data from averages and trends.
Instructions
Monthly income vs expense breakdown with savings rate calculation and trend detection across months. The in-progress current month is listed marked partial, and months predating the budget are listed marked no_data; both are excluded from averages and the trend. trend is null when fewer than two complete months are available (e.g. months=2 mid-month, or a budget younger than the window) rather than reporting a fabricated flat rate.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| months | No | Number of months to analyze (2-12). | |
| budget_id | No | Budget ID. Omit to use the last-used budget. |