VRBL-REA-TR-1p2-38

Basic Info

Rule When the %{cac:PartyIdentification/cbc:ID/@schemeID} is VRBL:TR:TCKN,the %{probe} 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:Person/cbc:FirstName

Implementation

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