Rules / ALIGNED-IBRP-O-07
A Document level charge where the VAT category code is "Not subject to VAT" must not contain a Document level charge VAT rate
A Document level charge (ibg-21) where the VAT category code (ibt-102) is "Not subject to VAT" must not contain a Document level charge VAT rate (ibt-103).
Fails
<cac:AllowanceCharge>
<cbc:ChargeIndicator>true</cbc:ChargeIndicator>
<cbc:Amount currencyID="AED">100.00</cbc:Amount>
<cac:TaxCategory>
<cbc:ID>O</cbc:ID>
<cbc:Percent>0</cbc:Percent>
<cac:TaxScheme><cbc:ID>VAT</cbc:ID></cac:TaxScheme>
</cac:TaxCategory>
</cac:AllowanceCharge>
Fix
Delete cbc:Percent from the charge's cac:TaxCategory. Charges not subject to VAT carry no rate.
Schematron
- Context
cac:AllowanceCharge[cbc:ChargeIndicator=true()]/cac:TaxCategory[normalize-space(cbc:ID)='O'][cac:TaxScheme/normalize-space(upper-case(cbc:ID))='VAT']- Test
not(cbc:Percent)
Official text: A Document level charge (ibg-21) where the VAT category code (ibt-102) is "Not subject to VAT" MUST not contain a Document level charge VAT rate (ibt-103).