series_code_immutable_with_documents
Changing the prefix of a series that already issued documents would retroactively rewrite their fiscal identifier, while customers and AEAT hold the original number.
| Code | Type | HTTP | Category |
|---|---|---|---|
series_code_immutable_with_documents | invalid_request_error | 422 | Series |
Cause
Changing the prefix of a series that already issued documents would retroactively rewrite their fiscal identifier, while customers and AEAT hold the original number.
What to do
Create a new series with the new prefix and issue from it; the old one keeps the documents it already numbered.
Related
All Series error codes
Causes and actions for errors in this category.
Error codes by category
Find an error by the category that emits it.
Full reference table
All codes, HTTP statuses, types and descriptions in one reference.
Error model
Interpret the error envelope and handle errors by code.