get_irpf_brackets
Retrieve Spanish income tax brackets for work income or capital gains. Specify fiscal year and bracket type to get state-level IRPF rates for tax calculations.
Instructions
Returns Spanish IRPF (income tax) brackets for a given fiscal year. type='general' returns the base general (work/business income) brackets. type='savings' returns the base del ahorro (capital gains/dividends) brackets. These are STATE-level rates only (roughly half of the total rate). The other half comes from the CCAA regional scale. Source: Ley 35/2006, arts. 63 and 66.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| year | Yes | Fiscal year (2024-2026) | |
| type | No | Bracket type: 'general' (work income) or 'savings' (capital gains) | general |