Rules / IBR-028
The Item gross price must not be negative
The Item gross price (ibt-148) must not be negative.
Fails when this is false
(cac:Price/cac:AllowanceCharge/cbc:BaseAmount) >= 0 or not(exists(cac:Price/cac:AllowanceCharge/cbc:BaseAmount))The schematron test, verbatim. Context: cac:InvoiceLine | cac:CreditNoteLine
Fix
Change the data so the condition below holds. It reads cac:AllowanceCharge, cac:Price, cbc:BaseAmount. Paste the invoice into the validator to see the exact element that fails.