Rules / ALIGNED-IBRP-AE-05-AE
In an Invoice line where the Invoiced item VAT category code is "Reverse charge" the Invoiced item VAT rate must be there
In an Invoice line (ibg-25) where the Invoiced item VAT category code (ibt-151) is "Reverse charge" the Invoiced item VAT rate (ibt-152) must be there.
Fails
<cac:ClassifiedTaxCategory>
<!-- no cbc:Percent -->
</cac:ClassifiedTaxCategory>
Fix
Add cbc:Percent to cac:InvoiceLine/cac:Item/cac:ClassifiedTaxCategory.
Schematron
- Context
cac:InvoiceLine/cac:Item/cac:ClassifiedTaxCategory[normalize-space(cbc:ID) = 'AE'][cac:TaxScheme/normalize-space(upper-case(cbc:ID))='VAT'] | cac:CreditNoteLine/cac:Item/cac:ClassifiedTaxCategory[normalize-space(cbc:ID) = 'AE'][cac:TaxScheme/normalize-space(upper-case(cbc:ID))='VAT']- Test
exists(cbc:Percent)
Official text: In an Invoice line (ibg-25) where the Invoiced item VAT category code (ibt-151) is "Reverse charge" the Invoiced item VAT rate (ibt-152) MUST be there.