VRBL-INV-AU-1p0-63

Basic Info

Rule The Invoice Line Tax ID must exist, when the Allowance Tax Scheme ID equal "GST".
Context /ubl:Invoice/cac:InvoiceLine/cac:Item/cac:ClassifiedTaxCategory
Pattern vrbl-invoice-au-1p0
Severity fatal

Implementation

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