VRBL-INV-CORE-386

Basic Info

Rule The Legal Monetary Total Charge Total Amount must have no more than 2 decimals.
Context /ubl:Invoice/cac:LegalMonetaryTotal/cbc:ChargeTotalAmount
Pattern vrbl-invoice-core
Severity fatal

Used Template: Decimals

Parameter Value
probe = .
decimals = 2

Implementation

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