Spending summary
spending_summarySummarize spending totals by bank and category, list top merchants and largest purchases, and filter results by bank, invoice, date range, or category.
Instructions
Totals, spend by bank and category, top merchants and largest purchases. Optionally narrow by bank, invoice, date range or category. Amounts are in BRL. A positive amount is money leaving the account or card (a purchase or fee); refunds, card payments and deposits are reported separately as credits.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| to | No | End date, inclusive | |
| bank | No | Only this bank: nubank, itau. Omit to include every bank. | |
| from | No | Start date, inclusive | |
| invoice | No | Invoice id from list_invoices, e.g. Nubank_2026-09-04 | |
| category | No | Category name as shown in the export |