VRBL-INV-PEPPOL-PINT-80

Basic Info

Rule The Legal Monetary Total Tax Exclusive Amount must have no more than 2 decimals.
Context /ubl:Invoice/cac:LegalMonetaryTotal
Pattern vrbl-invoice-peppol-pint
Severity fatal

Used Template: Decimals

Parameter Value
probe = cbc:TaxExclusiveAmount
decimals = 2

Implementation

string-length(substring-after(cbc:TaxExclusiveAmount, '.')) <= 2