NewProvince is only required for addresses in Spain
BeeL
Get startedMulti-NIFVeriFactuRulesStripeAPI referenceChangelog
ErrorsAll codes

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 status422 Unprocessable Content
RetryNo

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

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›.
Todavía no se puede rectificar por impago (R3): hace falta que pasen al menos seis meses desde el devengo, un año si el volumen de operaciones del año anterior superó 6.010.121,04 €. El primer día posible es el ‹value›.
Encara no es pot rectificar per impagament (R3): han de passar almenys sis mesos des de la meritació, un any si el volum d’operacions de l’any anterior va superar 6.010.121,04 €. El primer dia possible és el ‹value›.

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

Keep exploring