Item net price does not match gross price minus discount
What it means
When a gross price and a price discount are both stated, the net price (BT-146) must equal gross price minus the discount amount. This commonly breaks when a discount is applied at line level but the net price is copied unchanged from the price list.
Can it be fixed automatically?
Nothing about your business is needed to fix this — the correct value is a constant, a code list entry, or is already present in the document.
This one can be repaired automatically. The API applies the fix, re-validates, and reports exactly what changed with before and after values.
How to fix it
Recompute the net price as gross price minus the allowance amount already stated on the price.
Where it applies
| UBL | /Invoice/cac:InvoiceLine/cac:Price/cbc:PriceAmount |
|---|
Check your own invoice
curl -X POST https://einvoice.mgsoft.sk/v1/validate \
-H 'Content-Type: application/xml' \
--data-binary @invoice.xml