VRBL-INV-PEPPOL-PINT-100

Basic Info

Rule The Invoice Line Price Allowance Charge Base Amount must not be negative.
Context /ubl:Invoice/cac:InvoiceLine
Pattern vrbl-invoice-peppol-pint
Severity fatal

Implementation

     number(cac:Price/cac:AllowanceCharge/cbc:BaseAmount) >=0     or     not(boolean(cac:Price/cac:AllowanceCharge/cbc:BaseAmount))