PintLint

Rules / IBR-028

IBR-028 error

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 statement above is true. Paste the invoice into the validator to see the exact element that fails.

Official · PINT shared rules. Severity: error. Runs on UBL XML.

Check an invoice