NewStripe: a buyer with a NIF always gets a standard invoice, and the simplified threshold is deprecated
BeeL
Get startedMulti-NIFVeriFactuRulesStripeAPI referenceChangelog
ErrorsAll codes

STATUS_NOT_DELETABLE

Cannot delete an invoice in status ‹status›


Category: Invoices

HTTP status400 Bad Request
RetryNo

When it happens

Only an invoice that is not yet a fiscal record can be deleted: a DRAFT, a SCHEDULED invoice or an ACTIVE proforma. An issued invoice has a number in its series and has to stay.

How to fix it

To cancel an issued invoice, void it. To correct its amounts or data, create a corrective invoice from it.

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 400 Bad Request with a JSON body of this shape:

{
  "type": "https://docs.beel.es/errors/STATUS_NOT_DELETABLE",
  "title": "STATUS_NOT_DELETABLE",
  "detail": "Cannot delete an invoice in status ‹status›",
  "instance": "/v1/<resource>",
  "errors": [],
  "success": false,
  "error": {
    "code": "STATUS_NOT_DELETABLE",
    "message": "Cannot delete an invoice in status ‹status›",
    "details": {}
  },
  "meta": {
    "timestamp": "2026-05-21T10:00:00Z",
    "request_id": "4bf92f3577b34da6a3ce929d0e0e4736"
  }
}

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

Message

Cannot delete an invoice in status ‹status›
No se puede eliminar una factura en estado ‹status›
No es pot eliminar una factura en estat ‹status›

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

Placeholders are filled in at runtime:

  • ‹status› — the invoice's current status, for example PAID.

Other errors in this category

Keep exploring