VRBL-INV-HR-CIUS-1p0-51

Basic Info

Rule The Invoice Tax Subtotal Tax Percent must have no more than 10 decimals.
Context /ubl:Invoice/cac:TaxTotal[cbc:TaxAmount/@currencyID = ../cbc:DocumentCurrencyCode]/cac:TaxSubtotal/cac:TaxCategory/cbc:Percent
Pattern vrbl-invoice-hr-cius-1p0
Severity fatal

Used Template: Decimals

Parameter Value
probe = .
decimals = 10

Implementation

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