ErrorsAll codes

HAS_INVOICES_CANNOT_DELETE

Cannot delete a series that has associated invoices. Delete the invoices first


Example response

When this error occurs, the API returns a JSON response with the following shape:

{
  "type": "https://docs.beel.es/errors/HAS_INVOICES_CANNOT_DELETE",
  "title": "HAS_INVOICES_CANNOT_DELETE",
  "detail": "Cannot delete a series that has associated invoices. Delete the invoices first",
  "instance": "/v1/<resource>",
  "errors": [],
  "success": false,
  "error": {
    "code": "HAS_INVOICES_CANNOT_DELETE",
    "message": "Cannot delete a series that has associated invoices. Delete the invoices first",
    "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 a series that has associated invoices. Delete the invoices first
No se puede eliminar una serie con facturas asociadas. Elimina primero las facturas
No es pot eliminar una sèrie amb factures associades. Elimina primer les factures

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

Other errors in this category

Keep exploring