VRBL-INV-SA-1p2-116

Basic Info

Rule The Invoice Line Tax Rounding Amount must have a maximum two decimals.
Context /ubl:Invoice/cac:InvoiceLine
Pattern vrbl-invoice-sa-1p2
Severity fatal

Implementation

string-length(substring-after(cac:TaxTotal/cbc:RoundingAmount, '.')) <= 2