CORRECTIVE_BAD_DEBT_TOO_EARLY
It is too early for a bad-debt corrective (R3): at least six months must pass from when the tax accrued, one year if the previous year’s turnover exceeded €6,010,121.04. The earliest day is ‹value›.
Category: Invoices
| HTTP status | 422 Unprocessable Content |
| Retry | No |
When it happens
A bad-debt corrective (R3) was requested less than six months after the original's operation date. error.details carries earliest_date and counted_from. One year applies instead when the previous year's turnover exceeded 6,010,121.04 €, which is the issuer's to apply.
How to fix it
Retry on or after earliest_date.
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.
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/CORRECTIVE_BAD_DEBT_TOO_EARLY",
"title": "CORRECTIVE_BAD_DEBT_TOO_EARLY",
"detail": "It is too early for a bad-debt corrective (R3): at least six months must pass from when the tax accrued, one year if the previous year’s turnover exceeded €6,010,121.04. The earliest day is ‹value›.",
"instance": "/v1/<resource>",
"errors": [],
"success": false,
"error": {
"code": "CORRECTIVE_BAD_DEBT_TOO_EARLY",
"message": "It is too early for a bad-debt corrective (R3): at least six months must pass from when the tax accrued, one year if the previous year’s turnover exceeded €6,010,121.04. The earliest day is ‹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
CORRECTIVE_BAD_DEBT_BASE_TOO_LOW
A bad-debt corrective (R3) is not possible for an operation with a base of €‹value› to a consumer: the base must exceed €50. If the recipient acted as a business or professional, say so with recipient_is_business.
CORRECTIVE_CIRCUMSTANCE_DATE_NOT_APPLICABLE
The circumstance date is only given when the cause is one of article 80 of the VAT Act, and code ‹value› is not: omit circumstance_date.