ConfigurationTax
Update tax configuration
Deprecated. Use PUT /v1/companies/{company_id}/tax-configuration, which behaves identically.
Updates the tax configuration of the company in focus. Fields you omit keep their current value.
- Regime coherence: the main tax and its VeriFactu regime key must match. Regime key 18 (equivalence surcharge) only exists for IVA, so pairing it with IGIC, IPSI or OTHER answers 422 INVALID_REGIME_KEY_FOR_TAX_TYPE, with details naming the rejected key, the tax type and the keys that type admits.
- Surcharge: applying the surcharge without regime key 18 answers 422 RECARGO_REQUIRES_REGIME_RE.
- Exemption reason: default_exemption_reason travels with default_main_tax — sending the tax without a reason clears the stored one, and sending only the reason applies it to the tax already stored.
Retires on 9 December 2026. See the migration guide for what moved where and what changes when you switch.
put/v1/configuration/taxes
Request
- Base URL: https://app.beel.es/api
- URL: https://app.beel.es/api/v1/configuration/taxes
- Auth: HTTP bearer
Request body
Example request
{
"default_main_tax": {
"type": "IVA",
"percentage": 21,
"regime_key": "01"
},
"default_exemption_reason": "EXENTA_ART_20",
"default_equivalence_surcharge": 5.2,
"default_irpf_rate": 15,
"default_payment_method": "BANK_TRANSFER"
}Response
Configuration updated successfully
Example response
{
"success": true,
"data": {
"default_main_tax": {
"type": "IVA",
"percentage": 21,
"regime_key": "01"
},
"default_exemption_reason": "EXENTA_ART_20",
"default_equivalence_surcharge": 5.2,
"default_irpf_rate": 15,
"default_payment_method": "BANK_TRANSFER",
"withholding_options": {
"allowed_irpf_rates": [
0,
19,
24
]
}
},
"meta": {
"timestamp": "2025-01-15T10:30:00Z",
"request_id": "4bf92f3577b34da6a3ce929d0e0e4736"
}
}Changes
No recorded changes to this operation across all 1 revision of this API.