Get credit card spending by category
bg_get_card_categoriesGet Banco General card spend categories with transaction counts and totals for a statement period (or current if no month/year). Uses the bank's own categorization.
Instructions
Banco General's own spend-by-category breakdown for a card statement period (Comida y Bebida, Transporte, Supermercados, etc.), with transaction counts and totals. Omit month/year for the current period. This is the bank's categorization, not a computed one.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| year | No | Four-digit year. | |
| month | No | 1-based month. | |
| portalId | Yes | Credit card portalId from bg_list_accounts. |