Rules
VRBL-REA-TR-1p2-32
Basic Info
| Rule | The Receipt Advice Seller Party Group must not contain both VRBL:TR:VKN and VRBL:TR:TCKN Party Identification IDs. |
| Context |
/ubl:ReceiptAdvice/cac:DespatchSupplierParty/cac:Party
|
| Pattern | vrbl-receiptadvice-tr-1p2 |
| Severity | fatal |
Implementation
not(
count(cac:PartyIdentification/cbc:ID[@schemeID = concat($VRBL-TR-Prefix, 'TCKN')]) = 1
and
count(cac:PartyIdentification/cbc:ID[@schemeID = concat($VRBL-TR-Prefix, 'VKN')]) = 1
)