VRBL-INV-IT-1p2-232

Basic Info

Rule The Invoice Line Tax Exemption Reason Code is restricted by a code list.
Context /ubl:Invoice/cac:InvoiceLine/cac:Item/cac:ClassifiedTaxCategory/cbc:TaxExemptionReasonCode
Pattern vrbl-invoice-it-1p2
Severity fatal

Implementation

contains($VRBL-IT-table-TaxExemptionReasonCode, concat(' ', substring-after(normalize-space(.), $VRBL-IT-Prefix),'#'))