invalid_correction_reason
The correction reason is outside the closed fiscal list (`error_fundado`, `concurso`, `incobrable`, `error_importe`, `error_cliente`, `devolucion`, `descuento`, `otras`), which maps to the AEAT codes R1 to R4.
| Code | Type | HTTP | Category |
|---|---|---|---|
invalid_correction_reason | invalid_request_error | 422 | Invoices |
Cause
The correction reason is outside the closed fiscal list (error_fundado, concurso, incobrable, error_importe, error_cliente, devolucion, descuento, otras), which maps to the AEAT codes R1 to R4.
What to do
Pick the reason that matches the real cause: it decides the code reported to AEAT, and concurso and incobrable require supporting documentation.
Related
All Invoices 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.