VRBL-INV-MX-1p0-41

Basic Info

Rule The Invoice Line Withholding Tax Subtotal Amount must have no more than $ExpectedDecimals decimals.
Context /ubl:Invoice/cac:InvoiceLine/cac:WithholdingTaxTotal/cac:TaxSubtotal/cbc:TaxAmount
Pattern vrbl-invoice-mx-1p0
Severity fatal

Used Template: Decimals

Parameter Value
probe = .
decimals = $ExpectedDecimals

Implementation

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