Rules / ALIGNED-IBRP-Z-05
In an Invoice line where the Invoiced item VAT category code is "Zero rated" the Invoiced item VAT rate must be 0 (zero)
In an Invoice line (ibg-25) where the Invoiced item VAT category code (ibt-151) is "Zero rated" the Invoiced item VAT rate (ibt-152) must be 0 (zero).
Fails
<cac:ClassifiedTaxCategory>
<cbc:ID>Z</cbc:ID>
<cbc:Percent>5</cbc:Percent>
<cac:TaxScheme><cbc:ID>VAT</cbc:ID></cac:TaxScheme>
</cac:ClassifiedTaxCategory>
Fix
Set cbc:Percent in the line's cac:ClassifiedTaxCategory to 0. Zero-rated lines must state a rate of 0. If 5% VAT is due, the category is S, not Z.
Schematron
- Context
cac:InvoiceLine/cac:Item/cac:ClassifiedTaxCategory[normalize-space(cbc:ID) = 'Z'][cac:TaxScheme/normalize-space(upper-case(cbc:ID))='VAT'] | cac:CreditNoteLine/cac:Item/cac:ClassifiedTaxCategory[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 an Invoice line (ibg-25) where the Invoiced item VAT category code (ibt-151) is "Zero rated" the Invoiced item VAT rate (ibt-152) MUST be 0 (zero).