VRBL-INV-EN16931-S-287

Basic Info

Rule The Invoice Line Allowance Base Amount must have no more than 2 decimals.
Context /ubl:Invoice/cac:InvoiceLine/cac:AllowanceCharge[string(cbc:ChargeIndicator) = 'false']/cbc:BaseAmount
Pattern vrbl-invoice-en16931-ubl-syntax
Severity fatal

Used Template: Decimals

Parameter Value
probe = .
decimals = 2

Implementation

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