Rules / ALIGNED-IBRP-S-06
ALIGNED-IBRP-S-06 error
In a Document level allowance is "Standard 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 "Standard rated" the Document level allowance VAT rate (ibt-96) must be greater than zero.
Fails
<cac:ClassifiedTaxCategory>
<cbc:ID>S</cbc:ID>
<cbc:Percent>0</cbc:Percent>
</cac:ClassifiedTaxCategory>
Fix
Standard-rated means 5%. Set cbc:Percent to 5.
Schematron
- Context
cac:AllowanceCharge[cbc:ChargeIndicator=false()]/cac:TaxCategory[normalize-space(cbc:ID)='S'][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 "Standard rated" the Document level allowance VAT rate (ibt-96) MUST be greater than zero.