suplido_line_cannot_carry_taxes
The disbursement line carries charges of its own: a VAT rate, withholding, equivalence surcharge, discount, regime key, exemption cause or product/pack. A disbursement is not an operation of the issuer, so charging tax on it would mean paying tax on a supply you never made, and tying it to a product would move stock you never sold.
| Code | Type | HTTP | Category |
|---|---|---|---|
suplido_line_cannot_carry_taxes | invalid_request_error | 422 | Invoices |
Cause
The disbursement line carries charges of its own: a VAT rate, withholding, equivalence surcharge, discount, regime key, exemption cause or product/pack. A disbursement is not an operation of the issuer, so charging tax on it would mean paying tax on a supply you never made, and tying it to a product would move stock you never sold.
What to do
Leave tax_rate, retention_rate, surcharge_rate and discount_percent at zero — send tax_rate: 0 explicitly, since omitting it applies the default 21 % — and drop product_id, pack_id, regime_key and exemption_reason; error.details.offending_field names the offending field. If the amount does carry your VAT, the line is NORMAL.