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›
Category: Invoices
| HTTP status | 422 Unprocessable Content |
| Retry | After fixing the cause |
When it happens
An individual sends irpf_rate 9.5, the Corporate Income Tax rate for rents in Ceuta and Melilla, which only a company can use.
How to fix it
Under IRPF, the Ceuta and Melilla reduced rates are 6, 2.8 and 7.6.
Retry
Not as is: the same request fails the same way. Fix the cause described above, then send the request again, under a new Idempotency-Key if the body changed.
Returned by
The operations where this code is most likely. The list is not exhaustive.
POST /v1/companies/{company_id}/invoicesPATCH /v1/companies/{company_id}/invoices/{invoice_id}POST /v1/companies/{company_id}/invoices/{invoice_id}/issuePOST /v1/companies/{company_id}/recurring-invoicesPATCH /v1/companies/{company_id}/recurring-invoices/{recurring_invoice_id}POST /v1/companies/{company_id}/productsPATCH /v1/companies/{company_id}/products/{product_id}PUT /v1/companies/{company_id}/tax-configuration
Rules that cite this code
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/IRPF_RATE_ONLY_FOR_CORPORATE_ISSUER",
"title": "IRPF_RATE_ONLY_FOR_CORPORATE_ISSUER",
"detail": "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›",
"instance": "/v1/<resource>",
"errors": [],
"success": false,
"error": {
"code": "IRPF_RATE_ONLY_FOR_CORPORATE_ISSUER",
"message": "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›",
"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.
Placeholders like
‹value›are filled in at runtime with the actual values of your request.
Other errors in this category
ATTACH_SOURCE_INVOICE_UNAVAILABLE
A source invoice is not available (it does not exist or you no longer have access); uncheck the source invoices attachment to send without the folder
ATTACH_SOURCE_INVOICES_NO_SOURCES
The invoice has no consolidation disbursements: there are no source invoices to attach
ATTACH_SOURCE_INVOICES_REQUIRES_PDF
Attaching the source invoices also requires attaching the invoice PDF
ATTACH_SOURCE_PDF_MISSING
These source invoices have no generated PDF: ‹value›
ATTACH_SOURCE_ZIP_TOO_LARGE
The source invoices ZIP (‹value› MB) exceeds the maximum sendable size (‹value› MB)
Keep exploring
IRPF_RATE_NOT_FOR_CORPORATE_ISSUER
The ‹value› withholding rate is not an entity rate: only individuals pay IRPF (Law 35/2006, art. 8), and the 1, 2, 7 and 15 % rates (and 6, 2.8 and 7.6 % in Ceuta and Melilla) are theirs (RD 439/2007, arts. 95, 100 and 101). A company or any other legal person, or a permanent establishment, only bears 19 % or 24 % withholding if its income is subject to withholding (RD 634/2015, arts. 60 and 66; RDL 5/2004, art. 23), and 0 % otherwise (19 % is halved for rents in Ceuta and Melilla: 9.5 %); a non-resident entity bears the Non-Residents Income Tax withholding, 24 % or 19 % (RDL 5/2004, art. 25), or 0 % if exempt; and the State, the Autonomous Communities and the local entities bear none (Law 27/2014, art. 9.1; RD 634/2015, art. 61)
IRPF_REQUIRED_WHEN_NOT_EXEMPT
The income tax withholding percentage is required when not exempt