VRBL-INV-IT-1p2-67

Basic Info

Rule When the Seller Party Identification Scheme ID is '0210', the Seller ID must only use alpha-numeric characters.
Context /ubl:Invoice/cac:AccountingSupplierParty/cac:Party/cac:PartyIdentification/cbc:ID
Pattern vrbl-invoice-it-1p2
Severity fatal

Used Template: AlphaNumerics

Parameter Value
probe = .

Implementation

(
	not(@schemeID = '0210')
)
or
(
	string-length(translate(normalize-space(.), $AlphaNumerics, '')) = 0
)