VRBL-WBL-IN-1p0-1

Basic Info

Rule The Sender Party Tax Company ID used for GST must exist within the Waybill.
Context /ubl:Waybill
Pattern vrbl-waybill-in-1p0
Severity fatal

Used Template: Exists

Parameter Value
probe = cac:SenderParty/cac:PartyTaxScheme[cac:TaxScheme/cbc:ID = 'GST']/cbc:CompanyID
displayName_probe = %{cac:SenderParty/cac:PartyTaxScheme/cbc:CompanyID} used for GST

Implementation

boolean(cac:SenderParty/cac:PartyTaxScheme[cac:TaxScheme/cbc:ID = 'GST']/cbc:CompanyID)