VRBL-INV-CORE-385

Basic Info

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

Used Template: Decimals

Parameter Value
probe = .
decimals = 2

Implementation

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