VRBL-INV-IN-1p0-6

Basic Info

Rule The Seller Tax ID must exist within Seller Party Tax Scheme Group where Seller Tax Scheme ID is "GST".
Context /ubl:Invoice/cac:AccountingSupplierParty/cac:Party/cac:PartyTaxScheme
Pattern vrbl-invoice-in-1p0
Severity fatal

Implementation

not(cac:TaxScheme/cbc:ID = 'GST')
or
boolean(cbc:CompanyID)