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.