expense_breakdown
Break down expenses by category, subcategory, or time unit within a date range. Filter by category or subcategory to spot spending patterns.
Instructions
Summarize and breakdown expenses by columns or time units within a date range.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| category | No | Optional filter by category name. | |
| end_date | Yes | End date in YYYY-MM-DD format (inclusive). | |
| group_by | No | Dimension to group by: 'category', 'subcategory', 'note', or 'date'. Defaults to 'category'. | category |
| breakdown | No | Date grouping unit: 'day', 'month', or 'year'. Defaults to 'day' if group_by is 'date'. | |
| start_date | Yes | Start date in YYYY-MM-DD format (inclusive). | |
| subcategory | No | Optional filter by subcategory name. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |