IRPF_REQUIRED_WHEN_NOT_EXEMPT
The income tax withholding percentage is required when not exempt
Category: General
Example response
When this error occurs, the API returns a JSON response with the following shape:
{
"type": "https://docs.beel.es/errors/IRPF_REQUIRED_WHEN_NOT_EXEMPT",
"title": "IRPF_REQUIRED_WHEN_NOT_EXEMPT",
"detail": "The income tax withholding percentage is required when not exempt",
"instance": "/v1/<resource>",
"errors": [],
"success": false,
"error": {
"code": "IRPF_REQUIRED_WHEN_NOT_EXEMPT",
"message": "The income tax withholding percentage is required when not exempt",
"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
AUTOMATIC_EMAIL_CONFIG_INVALID
For automatic sending, you must provide an email configuration or a client with email
BAD_REQUEST
The provided data is not valid.
BUSINESS_RULE_VIOLATION
The operation breaks a business rule.
CITY_EMPTY
City cannot be empty
CITY_MAX_LENGTH
City cannot exceed ‹value› characters
Keep exploring
IRPF_RATE_ONLY_FOR_CORPORATE_ISSUER
The ‹value› withholding rate only exists in the Corporate Income Tax (19 % halved for rents in Ceuta and Melilla, RD 634/2015, art. 66.a): this issuer withholds under IRPF, where rent in Ceuta or Melilla is 7.6 % (19 % reduced by 60 %, Law 35/2006, art. 101.8). Allowed rates: ‹value›
ISP_INCOMPATIBLE_WITH_SURCHARGE
Reverse-charge (ISP) lines cannot carry equivalence surcharge: the buyer auto-liquidates VAT in their country and Spanish retail surcharge does not apply