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.
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"year": "<year>"
},
"name": "get_irpf_brackets"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| year | Yes | Fiscal year (2024-2026) | |
| type | No | Bracket type: 'general' (work income) or 'savings' (capital gains) | general |