VRBL-INV-SG-1p4-16

Basic Info

Rule The Tax Representative Tax Company ID used for GST must exist within the Tax Representative Group.
Context /ubl:Invoice/cac:TaxRepresentativeParty
Pattern vrbl-invoice-sg-1p4
Severity fatal

Used Template: Exists

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

Implementation

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