ErrorsAll codes
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
Category: General
Example response
When this error occurs, the API returns a JSON response with the following shape:
{
"type": "https://docs.beel.es/errors/EXEMPTION_REASON_NOT_ALLOWED_AS_DEFAULT",
"title": "EXEMPTION_REASON_NOT_ALLOWED_AS_DEFAULT",
"detail": "That reason depends on each invoice and cannot be declared as a default: choose art. 20 exemption or other",
"instance": "/v1/<resource>",
"errors": [],
"success": false,
"error": {
"code": "EXEMPTION_REASON_NOT_ALLOWED_AS_DEFAULT",
"message": "That reason depends on each invoice and cannot be declared as a default: choose art. 20 exemption or other",
"details": {}
},
"meta": {
"timestamp": "2026-05-21T10:00:00Z",
"request_id": "4bf92f3577b34da6a3ce929d0e0e4736"
}
}The type URI is stable and always resolves to this page.
Message
That reason depends on each invoice and cannot be declared as a default: choose art. 20 exemption or other
Esa causa depende de cada factura y no se puede declarar por defecto: elige exenta art. 20 u otro
Aquesta causa depèn de cada factura i no es pot declarar per defecte: tria exempta art. 20 o altre
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_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"
FIELD_BLANK
The field ''{0}'' cannot be empty