ErrorsAll codes
RECARGO_REQUIRES_REGIME_RE
When equivalence surcharge is enabled, the main tax regime must be "18 - Equivalence surcharge". Change the regime to 18 or disable the surcharge.
Category: General
Example response
When this error occurs, the API returns a JSON response with the following shape:
{
"type": "https://docs.beel.es/errors/RECARGO_REQUIRES_REGIME_RE",
"title": "RECARGO_REQUIRES_REGIME_RE",
"detail": "When equivalence surcharge is enabled, the main tax regime must be \"18 - Equivalence surcharge\". Change the regime to 18 or disable the surcharge.",
"instance": "/v1/<resource>",
"errors": [],
"success": false,
"error": {
"code": "RECARGO_REQUIRES_REGIME_RE",
"message": "When equivalence surcharge is enabled, the main tax regime must be \"18 - Equivalence surcharge\". Change the regime to 18 or disable the surcharge.",
"details": {}
},
"meta": {
"timestamp": "2026-05-21T10:00:00Z",
"request_id": "4bf92f3577b34da6a3ce929d0e0e4736"
}
}The type URI is stable and always resolves to this page.
Message
When equivalence surcharge is enabled, the main tax regime must be "18 - Equivalence surcharge". Change the regime to 18 or disable the surcharge.
Si aplicas recargo de equivalencia, el régimen del impuesto principal debe ser "18 - Recargo de equivalencia". Cambia el régimen a 18 o desactiva el recargo.
Si apliques recàrrec d''equivalència, el règim de l''impost principal ha de ser "18 - Recàrrec d''equivalència". Canvia el règim a 18 o desactiva el recàrrec.
Send the request with Accept-Language: <es|en|ca> to receive the message in your preferred language.
Other errors in this category
AUTOMATIC_EMAIL_CONFIG_INVALID
For automatic sending, you must provide an email configuration or a client with email
CONFIGURATION_INVALID
The configuration is not valid
EXEMPTION_REASON_NOT_ALLOWED_AS_DEFAULT
That reason depends on each invoice and cannot be declared as a default: choose art. 20 exemption or other
EXEMPTION_REASON_REQUIRES_ZERO_RATE
An exemption reason is only compatible with a 0% tax rate
EXEMPTION_REASON_TEXT_REQUIRED
Provide the text explaining the exemption when the reason is "Other"