Rules / ALIGNED-IBRP-S-07
ALIGNED-IBRP-S-07 error
In a Document level charge is "Standard rated" the Document level charge VAT rate must…
In a Document level charge (ibg-21) where the Document level charge VAT category code (ibt-102) is "Standard rated" the Document level charge VAT rate (ibt-103) 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=true()]/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 charge (ibg-21) where the Document level charge VAT category code (ibt-102) is "Standard rated" the Document level charge VAT rate (ibt-103) MUST be greater than zero.