VRBL-INV-EN16931-S-260

Basic Info

Rule The Prepayment Tax Subtotal Amount must have no more than 2 decimals.
Context /ubl:Invoice/cec:UBLExtensions/cec:UBLExtension/cec:ExtensionContent/vrbl:InvoiceExtension/vrbl:InvoicedPrepaymentAmount/cac:TaxTotal/cac:TaxSubtotal/cbc:TaxAmount
Pattern vrbl-invoice-en16931-ubl-syntax
Severity fatal

Used Template: Decimals

Parameter Value
probe = .
decimals = 2

Implementation

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