VRBL-INV-IN-1p0-14

Basic Info

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

Implementation

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