VRBL-INV-IT-1p2-76

Basic Info

Rule The Seller Party Legal Entity Base Capital must have no more than 2 decimals.
Context /ubl:Invoice/cac:AccountingSupplierParty/cac:Party/cac:PartyLegalEntity/cec:UBLExtensions/cec:UBLExtension/cec:ExtensionContent/vrbl:PartyLegalEntityExtension/vrbl:BaseCapital
Pattern vrbl-invoice-it-1p2
Severity fatal

Used Template: Decimals

Parameter Value
probe = .
decimals = 2

Implementation

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