Rules / ALIGNED-IBRP-Z-09
The VAT category tax amount in a VAT breakdown where VAT category code is "Zero rated" must equal 0 (zero)
The VAT category tax amount (ibt-117) in a VAT breakdown (ibg-23) where VAT category code (ibt-118) is "Zero rated" must equal 0 (zero).
Fails
<cac:TaxSubtotal>
<cbc:TaxableAmount currencyID="AED">1000.00</cbc:TaxableAmount>
<cbc:TaxAmount currencyID="AED">50.00</cbc:TaxAmount>
<cac:TaxCategory>
<cbc:ID>Z</cbc:ID>
<cbc:Percent>0</cbc:Percent>
</cac:TaxCategory>
</cac:TaxSubtotal>
Fix
Set cbc:TaxAmount in the zero-rated (Z) VAT breakdown to 0.00. If VAT is really due, the category is S, not Z.
Schematron
- Context
/*/cac:TaxTotal/cac:TaxSubtotal/cac:TaxCategory[normalize-space(cbc:ID) = 'Z'][cac:TaxScheme/normalize-space(upper-case(cbc:ID))='VAT']- Test
xs:decimal(../cbc:TaxAmount) = 0
Official text: The VAT category tax amount (ibt-117) in a VAT breakdown (ibg-23) where VAT category code (ibt-118) is "Zero rated" MUST equal 0 (zero).