invalid_correction_nature
`correction_nature` only accepts `I` (by differences: the corrective carries the amount of the rectification, with its sign) or `S` (substitution: it carries the invoice as it ends up, with the final lines).
| Code | Type | HTTP | Category |
|---|---|---|---|
invalid_correction_nature | invalid_request_error | 422 | Invoices |
Cause
correction_nature only accepts I (by differences: the corrective carries the amount of the rectification, with its sign) or S (substitution: it carries the invoice as it ends up, with the final lines).
What to do
Omit the field to have it derived from the scope —full with lines is a substitution; full without lines (voiding the whole invoice) and partial are by differences— or send I or S explicitly.
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.