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

CORRECTIVE_RECENT_DUPLICATE

An identical corrective invoice of this invoice (‹corrective›) was created less than two minutes ago. If this is a retry, it is already done; if it is another one on purpose, wait a few minutes or change the reason.


Category: Invoices

HTTP status422 Unprocessable Content
RetryNo

When it happens

A corrective identical to this one was created for the same original less than 2 minutes ago: same rectification_type, rectification_code and reason, and the same totals. The message names it. It guards against a request sent twice.

How to fix it

If the first request succeeded, use the corrective it created. If you really mean a second one, change the reason or the amounts.

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_RECENT_DUPLICATE",
  "title": "CORRECTIVE_RECENT_DUPLICATE",
  "detail": "An identical corrective invoice of this invoice (‹corrective›) was created less than two minutes ago. If this is a retry, it is already done; if it is another one on purpose, wait a few minutes or change the reason.",
  "instance": "/v1/<resource>",
  "errors": [],
  "success": false,
  "error": {
    "code": "CORRECTIVE_RECENT_DUPLICATE",
    "message": "An identical corrective invoice of this invoice (‹corrective›) was created less than two minutes ago. If this is a retry, it is already done; if it is another one on purpose, wait a few minutes or change the reason.",
    "details": {}
  },
  "meta": {
    "timestamp": "2026-05-21T10:00:00Z",
    "request_id": "4bf92f3577b34da6a3ce929d0e0e4736"
  }
}

The type URI is stable and always resolves to this page.

Message

An identical corrective invoice of this invoice (‹corrective›) was created less than two minutes ago. If this is a retry, it is already done; if it is another one on purpose, wait a few minutes or change the reason.
Acabas de crear una rectificativa idéntica de esta factura (‹corrective›), hace menos de dos minutos. Si es un reintento, ya está hecha; si es otra a propósito, espera unos minutos o cambia el motivo.
Acabes de crear una rectificativa idèntica d’aquesta factura (‹corrective›), fa menys de dos minuts. Si és un reintent, ja està feta; si és una altra a propòsit, espera uns minuts o canvia el motiu.

Send the request with Accept-Language: <es|en|ca> to receive the message in your preferred language.

Placeholders are filled in at runtime:

  • ‹corrective› — the number of the corrective that already exists.

Other errors in this category

Keep exploring