VRBL-INV-IT-1p2-98

Basic Info

Rule When the Buyer Party Identification Scheme ID is '0210', the Buyer Party Identification ID must only use alpha-numeric characters.
Context /ubl:Invoice/cac:AccountingCustomerParty/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
)