calcular_recargo
Calculates Spanish tax surcharges under LGT articles 27 and 28 for late filing without prior request or executive assessment, using the provided amount, dates, and enforcement status.
Instructions
Recargos de los arts. 27 y 28 LGT.
Args: tipo: «extemporaneo» (presentación fuera de plazo sin requerimiento previo, art. 27: necesita fin_plazo y fecha_presentacion; aplica el régimen vigente en la fecha y compara con el de la Ley 11/2021) o «ejecutivo» (art. 28: necesita situacion_apremio = «ejecutivo» (5 %), «reducido» (10 %) u «ordinario» (20 %)).
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": {
"importe": "<importe>"
},
"name": "calcular_recargo"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| tipo | No | extemporaneo | |
| importe | Yes | ||
| fin_plazo | No | ||
| situacion_apremio | No | ||
| fecha_presentacion | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |