beel_update_tax_configuration
Update a company's default tax settings—main tax, exemption reasons, surcharge, IRPF, payment terms—while leaving omitted fields unchanged.
Instructions
Updates the tax configuration of a company. Fields you omit keep their current
value; default_main_tax, when sent, replaces the stored one wholesale.
Regime coherence: the main tax and its VeriFactu regime key must be coherent. Regime key
18(equivalence surcharge) only exists forIVA, so pairing it with any other regime answers422 INVALID_REGIME_KEY_FOR_TAX_TYPE, withdetailsnaming the rejected key, the tax type and the keys that type admits.Surcharge: applying the surcharge without regime key
18answers422RECARGO_REQUIRES_REGIME_RE.Exemption reason:
default_exemption_reasontravels withdefault_main_tax— sending the tax without a reason clears the stored one, and sending only the reason applies it to the tax already stored.
Endpoint: PUT /v1/companies/{company_id}/tax-configuration
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| body | Yes | ||
| company_id | Yes | Unique identifier (UUID) of the company the operation acts on — its identifier, not its NIF. It is the only source of context: the account that owns it is derived from it, and the `BeeL-Active-Company` header plays no part. A company you do not reach answers `403`, and so does a company that does not exist, so the existence of a company in another account is never disclosed. |