ErrorsAll codes
SERIES_CODIGO_LOCKED_HAS_INVOICES
Cannot modify the series code because it has associated invoices. This would affect numbering integrity.
Category: Account settings
Example response
When this error occurs, the API returns a JSON response with the following shape:
{
"type": "https://docs.beel.es/errors/SERIES_CODIGO_LOCKED_HAS_INVOICES",
"title": "SERIES_CODIGO_LOCKED_HAS_INVOICES",
"detail": "Cannot modify the series code because it has associated invoices. This would affect numbering integrity.",
"instance": "/v1/<resource>",
"errors": [],
"success": false,
"error": {
"code": "SERIES_CODIGO_LOCKED_HAS_INVOICES",
"message": "Cannot modify the series code because it has associated invoices. This would affect numbering integrity.",
"details": {}
},
"meta": {
"timestamp": "2026-05-21T10:00:00Z",
"request_id": "4bf92f3577b34da6a3ce929d0e0e4736"
}
}The type URI is stable and always resolves to this page.
Message
Cannot modify the series code because it has associated invoices. This would affect numbering integrity.
No se puede modificar el código de la serie porque tiene facturas asociadas. Esto afectaría la integridad de la numeración.
No es pot modificar el codi de la sèrie perquè té factures associades. Això afectaria la integritat de la numeració.
Send the request with Accept-Language: <es|en|ca> to receive the message in your preferred language.
Other errors in this category
ACTIVE_CANNOT_DELETE
Cannot delete an active series. Deactivate it first
DEFAULT_CANNOT_DEACTIVATE
Cannot deactivate the default series. Set another series as default first
DEFAULT_CANNOT_DELETE
Cannot delete the default series. Set another series as default first
HAS_INVOICES_CANNOT_DELETE
Cannot delete a series that has associated invoices. Delete the invoices first
INACTIVE_CANNOT_BE_DEFAULT
Cannot set an inactive series as default