VERIFACTU_ALWAYS_ON_IN_SANDBOX
VeriFactu is always on in sandbox and cannot be disabled
Category: VeriFactu
| HTTP status | 422 Unprocessable Content |
| Retry | No |
When it happens
You tried to disable VeriFactu with a sandbox credential. In sandbox VeriFactu is always on, so that integrations are always tested against the full flow.
How to fix it
Nothing to change in sandbox. Disabling VeriFactu is only possible in production.
Retry
Do not retry. The outcome is final: sending the same request again gets the same answer.
Returned by
The operations where this code is most likely. The list is not exhaustive.
Example response
When this error occurs, the API answers 422 Unprocessable Content with a JSON body of this shape:
{
"type": "https://docs.beel.es/errors/VERIFACTU_ALWAYS_ON_IN_SANDBOX",
"title": "VERIFACTU_ALWAYS_ON_IN_SANDBOX",
"detail": "VeriFactu is always on in sandbox and cannot be disabled",
"instance": "/v1/<resource>",
"errors": [],
"success": false,
"error": {
"code": "VERIFACTU_ALWAYS_ON_IN_SANDBOX",
"message": "VeriFactu is always on in sandbox and cannot be disabled",
"details": {}
},
"meta": {
"timestamp": "2026-05-21T10:00:00Z",
"request_id": "4bf92f3577b34da6a3ce929d0e0e4736"
}
}The type URI is stable and always resolves to this page.
Message
Send the request with Accept-Language: <es|en|ca> to receive the message in your preferred language.
Other errors in this category
ALREADY_REGISTERED
The NIF is already registered in VeriFactu
API_COMMUNICATION_ERROR
Error communicating with the VeriFactu API
COMPANY_NIF_MISSING
The issuing company has no NIF configured. Set the NIF before submitting invoices to VeriFactu
ENV_MISMATCH
API key does not match NIF environment: use a live key for production NIFs and a test key for sandbox NIFs
NIF_NOT_CONFIGURED
The profile has no NIF. Complete it before continuing.
Keep exploring
VAT_RATE_NOT_ACCEPTED_ON_DATE
AEAT does not accept VAT at ‹value› % on an operation dated ‹value›. The rate is judged by the operation date (operation_date), or by the issue date when there is none. Period in which ‹value› % is accepted: ‹value›
VERIFACTU_RECORD_NOT_DECLARABLE
AEAT would reject this invoice's record: it breaks section ‹value› of its VERI*FACTU validations. The invoice was not issued and the number was not used.