VRBL-INV-DK-1p0-1

Basic Info

Rule When the Seller Group is Danish, the Seller Legal Registration ID must exist within the Seller Group.
Context /ubl:Invoice/cac:AccountingSupplierParty
Pattern vrbl-invoice-dk-1p0
Severity fatal

Used Template: Exists

Parameter Value
probe = cac:Party/cac:PartyLegalEntity/cbc:CompanyID

Implementation

(
	not($DKSupplierCountry = 'DK')
)
or
(
	boolean(cac:Party/cac:PartyLegalEntity/cbc:CompanyID)
)