VRBL-REA-TR-1p2-37

Basic Info

Rule When the %{cac:PartyIdentification/cbc:ID/@schemeID} is VRBL:TR:VKN,the Receipt Advice Buyer Party Name Group must exist within the Receipt Advice Buyer Party Group.
Context /ubl:ReceiptAdvice/cac:DeliveryCustomerParty/cac:Party
Pattern vrbl-receiptadvice-tr-1p2
Severity fatal

Used Template: Exists

Parameter Value
probe = cac:PartyName/cbc:Name

Implementation

(
	not(cac:PartyIdentification/cbc:ID[@schemeID = concat($VRBL-TR-Prefix, 'VKN')])
)
or
(
	boolean(cac:PartyName/cbc:Name)
)