VRBL-INV-NL-1p0-4

Basic Info

Rule The Buyer Party Legal Entity Company ID must be either a KVK or OIN number (@schemeID 0106 or 0190)
Context /ubl:Invoice/cac:AccountingCustomerParty/cac:Party/cac:PartyLegalEntity/cbc:CompanyID
Pattern vrbl-invoice-nl-1p0
Severity fatal

Implementation

not($NLSupplierCountry = 'NL')
or
(
	normalize-space(@schemeID) = '0106'
	or
	normalize-space(@schemeID) = '0190'
)