PintLint

Rules / IBR-027

IBR-027 error

The Item net price must not be negative

The Item net price (ibt-146) must not be negative.

Fails when this is false

(cac:Price/cbc:PriceAmount) >= 0

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