record_not_subsanable
The record cannot be subsanado: it is not a registration (alta) record, it is not the LAST alta of its invoice (a later subsanación replaces it), the invoice is annulled, it is a rejected record whose corrected alta is already waiting to be resent, or it has no source invoice from which its data could be regenerated.
| Code | Type | HTTP | Category |
|---|---|---|---|
record_not_subsanable | invalid_request_error | 422 | VeriFactu |
Cause
The record cannot be subsanado: it is not a registration (alta) record, it is not the LAST alta of its invoice (a later subsanación replaces it), the invoice is annulled, it is a rejected record whose corrected alta is already waiting to be resent, or it has no source invoice from which its data could be regenerated.
What to do
Check can_subsanar on the record. Subsanar the last alta of the invoice, wait for the outcome of a pending resend or, with the invoice annulled or without a source, issue a new invoice or a corrective one depending on what has to change.