beel_update_verifactu_configuration
Replaces a company's VeriFactu configuration: enable it to register the NIF for AEAT submission atomically, or disable it to stop submission and deregister the NIF.
Instructions
Replaces the VeriFactu configuration of a company.
Writable fields: only
enabled, and it is required — this is a full replacement, not a partial merge. The rest of the returned configuration is resolved server-side.Turning it on registers the NIF for VeriFactu submission in the same call, atomically: if the registration is refused nothing is persisted and the response carries the reason. In Live it requires a signed and validated AEAT representation first, or
422 VERIFACTU_REPRESENTATION_REQUIRED.Sandbox is always on:
enabled: falsethere answers422 VERIFACTU_ALWAYS_ON_IN_SANDBOX.
Turning it off
Setting enabled to false stops sending this company's invoices to AEAT and starts
deregistering the NIF from VeriFactu submission. 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.
BeeL API endpoint: PUT /v1/companies/{company_id}/verifactu-configuration (reference: https://docs.beel.es)
⚠️ Read before calling:
Fiscal rules, domains records: beel_rules_list with domain, or resource beel://guardrails/.
How to tell, before issuing, whether a NIF can issue, and what each blocker means. (resource: beel://guardrails/verifactu-gates)
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": {
"company_id": "<company_id>",
"body": "<body>"
},
"name": "beel_update_verifactu_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. |