Factuarea APIDevelopers

corrective_substitution_negative_amount

In a substitution corrective (`correction_nature: S`, or `full` with `lines` and no nature) each line carries the FINAL amount of the correct invoice, so no quantity can be negative (art. 15.5 RD 1619/2012; VERI*FACTU does not accept a negative base in a substitution). The unit price is never negative: the sign goes in the quantity.

CodeTypeHTTPCategory
corrective_substitution_negative_amountinvalid_request_error422Invoices

Cause

In a substitution corrective (correction_nature: S, or full with lines and no nature) each line carries the FINAL amount of the correct invoice, so no quantity can be negative (art. 15.5 RD 1619/2012; VERI*FACTU does not accept a negative base in a substitution). The unit price is never negative: the sign goes in the quantity.

What to do

Send the lines as the invoice must end up, or correct by differences (correction_type: partial) with negative adjustment quantities. error.line_index points at the line and error.param at the field.

On this page

Need a hand?Contact support