Rules / ALIGNED-IBRP-Z-06
ALIGNED-IBRP-Z-06 error
In a Document level allowance is "Zero rated" the Document level allowance VAT rate
In a Document level allowance (ibg-20) where the Document level allowance VAT category code (ibt-95) is "Zero rated" the Document level allowance VAT rate (ibt-96) must be 0 (zero).
Fails
<cac:ClassifiedTaxCategory>
<cbc:ID>Z</cbc:ID>
<cbc:Percent>5</cbc:Percent>
</cac:ClassifiedTaxCategory>
Fix
Zero-rated means 0%. Set cbc:Percent to 0.
Schematron
- Context
cac:AllowanceCharge[cbc:ChargeIndicator=false()]/cac:TaxCategory[normalize-space(cbc:ID)='Z'][cac:TaxScheme/normalize-space(upper-case(cbc:ID))='VAT']- Test
(cbc:Percent castable as xs:decimal and xs:decimal(cbc:Percent) = 0)
Official text: In a Document level allowance (ibg-20) where the Document level allowance VAT category code (ibt-95) is "Zero rated" the Document level allowance VAT rate (ibt-96) MUST be 0 (zero).