VRBL-INV-DK-1p0-30

Basic Info

Rule The Invoice Line Commodity Classification Code must not equal TST, 19.05.01, 19.0501.
Context /ubl:Invoice/cac:InvoiceLine/cac:Item/cac:CommodityClassification/cbc:ItemClassificationCode
Pattern vrbl-invoice-dk-1p0
Severity fatal

Implementation

not($DKSupplierCountry = 'DK')
or
(
	not(normalize-space(@listID) = 'TST')
	and
	not(
		normalize-space(@listVersionID) = '19.05.01'
		or
		normalize-space(@listVersionID) = '19.0501'
	)
)