VRBL-INV-AU-1p0-25
Basic Info
| Rule | The Allowance Tax ID must exist, when the Allowance Tax Scheme ID equal "GST". |
| Context |
/ubl:Invoice/cac:AllowanceCharge[string(cbc:ChargeIndicator) = 'false']/cac:TaxCategory
|
| Pattern | vrbl-invoice-au-1p0 |
| Severity | fatal |
Implementation
cac:TaxScheme/cbc:ID='GST'
and
boolean(cbc:ID)
or
not(cac:TaxScheme/cbc:ID='GST')