VRBL-INV-EN16931-M-212

Basic Info

Rule The Accounting Tax Subtotal Taxable Amount must have no more than 2 decimals.
Context /ubl:Invoice/cac:TaxTotal[cbc:TaxAmount/@currencyID = ../cbc:TaxCurrencyCode]/cac:TaxSubtotal/cbc:TaxableAmount
Pattern vrbl-invoice-en16931-ubl-model
Severity fatal

Used Template: Decimals

Parameter Value
probe = .
decimals = 2

Implementation

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