VRBL-DPA-RS-1p0-17

Basic Info

Rule Dispatch Line Item Additional Item Property Sub Item Property Group should only be provided when the Dispatch Line Item Additional Item Property Name is 'VRBL:RS:TOBACCO'.
Context /ubl:DespatchAdvice/cac:DespatchLine/cac:Item/cac:AdditionalItemProperty
Pattern vrbl-despatchadvice-rs-1p0
Severity fatal

Implementation

not(boolean(cac:SubItemProperty))
or
cbc:Name = 'VRBL:RS:TOBACCO'