VRBL-REA-TR-1p2-31

Basic Info

Rule The Receipt Advice Seller Party Group must contain one Receipt Advice Seller Party Identification ID with scheme ID VRBL:TR:VKN or VRBL:TR:TCKN.
Context /ubl:ReceiptAdvice/cac:DespatchSupplierParty/cac:Party
Pattern vrbl-receiptadvice-tr-1p2
Severity fatal

Implementation

count(cac:PartyIdentification/cbc:ID[@schemeID = concat($VRBL-TR-Prefix, 'TCKN')]) = 1 
or 
count(cac:PartyIdentification/cbc:ID[@schemeID = concat($VRBL-TR-Prefix, 'VKN')]) = 1