VRBL-INV-TR-1p2-36

Basic Info

Rule If the Buyer Party contains a VKN, the Buyer Party Name must exist within the Buyer Party.
Context /ubl:Invoice/cac:AccountingCustomerParty/cac:Party
Pattern vrbl-invoice-tr-1p2
Severity fatal

Used Template: Exists

Parameter Value
probe = cac:PartyName

Implementation

(
	not(string-length(cac:PartyTaxScheme/cbc:CompanyID)=10)
)
or
(
	boolean(cac:PartyName)
)