VRBL-INV-MX-1p0-35

Basic Info

Rule The Legal Monetary Total Line Extension Amount must have no more than $ExpectedDecimals decimals.
Context /ubl:Invoice/cac:LegalMonetaryTotal/cbc:LineExtensionAmount
Pattern vrbl-invoice-mx-1p0
Severity fatal

Used Template: Decimals

Parameter Value
probe = .
decimals = $ExpectedDecimals

Implementation

string-length(substring-after(., '.')) <= $ExpectedDecimals