VRBL-INV-EN16931-M-35

Basic Info

Rule The Legal Monetary Total Payable Rounding Amount must have no more than 2 decimals.
Context /ubl:Invoice/cac:LegalMonetaryTotal
Pattern vrbl-invoice-en16931-ubl-model
Severity fatal

Used Template: Decimals

Parameter Value
probe = cbc:PayableRoundingAmount
decimals = 2

Implementation

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