Replaces the VeriFactu configuration of a company.
- **Writable fields:** only `enabled` and `apply_by_default`, and both are required — this
is a full replacement, not a partial merge. The rest of the returned configuration is
resolved server-side.
- **Coherence:** `apply_by_default` cannot be true while `enabled` is false, which answers
`422 APPLY_BY_DEFAULT_REQUIRES_ENABLED`.
## Turning it off
Setting `enabled` to false stops sending this company's invoices to AEAT and starts the
deregistration of the NIF with the VeriFactu provider. It does not deactivate the
company: the activation is a fact of its own for the (company, environment) pair, so the
company keeps issuing in that environment and stays `ready`. Releasing the NIF — and in
Live freeing it for another account — is always
`DELETE /v1/companies/{company_id}/activations`.
Endpoint: PUT /v1/companies/{company_id}/verifactu-configuration
⚠️ Fiscal guardrails — read before calling:
- Why an issued invoice may never reach AEAT, and how to tell before issuing. (resource: beel://guardrails/verifactu-gates)
For the exhaustive rules and worked examples, call beel_docs_search.
Connector