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