VRBL-INV-EN16931-M-20

Basic Info

Rule The Charge Base Amount must have no more than 2 decimals.
Context /ubl:Invoice/cac:AllowanceCharge[string(cbc:ChargeIndicator) = 'true']
Pattern vrbl-invoice-en16931-ubl-model
Severity fatal

Used Template: Decimals

Parameter Value
probe = cbc:BaseAmount
decimals = 2

Implementation

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