Rules / IBR-SR-32
VAT exemption reason text must occur maximum once
VAT exemption reason text (ibt-120) must occur maximum once.
Fails
<cac:TaxSubtotal>
…<cbc:TaxExemptionReason>…</cbc:TaxExemptionReason>
…<cbc:TaxExemptionReason>…</cbc:TaxExemptionReason>
</cac:TaxSubtotal>
Fix
Keep one cac:TaxCategory/cbc:TaxExemptionReason in cac:TaxSubtotal and delete the extras. If both values matter, one of them belongs in a different field.
Schematron
- Context
//cac:TaxSubtotal- Test
(count(cac:TaxCategory/cbc:TaxExemptionReason) <= 1)
Official text: VAT exemption reason text (ibt-120) MUST occur maximum once.