ynab_analyze_spending
Calculates income, spending, and net totals for an inclusive date range, grouped by category, payee, account, week, or month, using the complete period for accurate aggregation.
Instructions
Deterministically calculate income, spending, and net totals for an inclusive date range, grouped by category, payee, account, week, or month. Aggregates always use the complete fetched period before grouping.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| group_by | Yes | ||
| budget_id | No | ||
| since_date | Yes | ||
| until_date | Yes | ||
| include_transfers | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| cached | Yes | ||
| groups | Yes | ||
| period | Yes | ||
| totals | Yes | ||
| group_by | Yes | ||
| used_delta | Yes | ||
| excluded_transfer_count | Yes |