Analysis — Overspent history
analysis_overspent_historyFind overspent YNAB categories across a date range, flag each as cash or credit, and total what Ready to Assign absorbed.
Instructions
[READ] Every negative month-end category balance across a range, with each overspend flagged as cash or credit and a running total of what was absorbed by Ready to Assign. Cash overspending comes out of the next month's Ready to Assign, which is why a month can look under-funded for a reason invisible inside it; credit overspending stays as a negative balance and becomes debt the payment category has not covered. YNAB does not report which kind an overspend was, so it is inferred from the accounts the category was spent on. from_month and to_month: 'YYYY-MM', an ISO date, or 'current'. Also returns the categories that were overspent in the most months. Costs one YNAB request per month in the range (limit 36 months); check overview_request_budget before a long range. Plus one for the transaction history used to tell cash from credit.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| plan_id | No | ||
| to_month | No | ||
| from_month | Yes | ||
| include_hidden | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||