VRBL-INV-IT-1p2-229
Basic Info
| Rule | The Line Tax Information must exist, when the Invoiced Item Tax Category Code indicates a Tax Exemption. |
| Context |
/ubl:Invoice/cac:InvoiceLine/cac:Item/cac:ClassifiedTaxCategory
|
| Pattern | vrbl-invoice-it-1p2 |
| Severity | fatal |
Implementation
not(contains($VRBL-IT-table-TaxExemptionReasonCode, concat('#', normalize-space(cbc:ID), ' ')))
or
boolean(cbc:TaxExemptionReasonCode)