PintLint

Rules / ALIGNED-IBRP-AE-05-AE

ALIGNED-IBRP-AE-05-AE error

In an Invoice line 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>
  <!-- cbc:Percent is missing -->
</cac:ClassifiedTaxCategory>

Fix

Add cbc:Percent inside 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.

Official · PINT AE (UAE) rules. Severity: error. Runs on UBL XML.

Check an invoice