PintLint

Rules / IBR-087

IBR-087 error

Base quantity must be a positive number above zero

Base quantity (ibt-149) must be a positive number above zero.

Fails when this is false

not(cac:Price/cbc:BaseQuantity) or xs:decimal(cac:Price/cbc:BaseQuantity) > 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