VRBL-INV-EN16931-M-211

Basic Info

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

Used Template: Decimals

Parameter Value
probe = .
decimals = 2

Implementation

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