PintLint

Rules / IBR-105-AE

An Invoice that contains an Invoice line, where the VAT category code is 'Standard rate additional VAT' shall contain exactly one VAT breakdown group with the VAT category code equal to 'Standard rate additional VAT'

An Invoice that contains an Invoice line (IBG-25), where the VAT category code (IBT-151) is 'Standard rate additional VAT' shall contain exactly one VAT breakdown group (IBG-23) with the VAT category code (IBT-118) equal to 'Standard rate additional VAT'.

Fails when this is false

(exists(//cac:TaxCategory[cac:TaxScheme/normalize-space(upper-case(cbc:ID))="VAT"]/cbc:ID[normalize-space(.) = "N"]) and (count(//cac:TaxTotal/cac:TaxSubtotal[cac:TaxCategory/cbc:ID='N']) = 1)) or not(exists(//cac:TaxCategory[cac:TaxScheme/normalize-space(upper-case(cbc:ID))="VAT"]/cbc:ID[normalize-space(.) = "N"]))

The schematron test, verbatim. Context: /ubl:Invoice | /cn:CreditNote

Fix

Change the data so the condition below holds. It reads cac:TaxCategory, cac:TaxSubtotal, cac:TaxTotal, cbc:ID. Paste the invoice into the validator to see the exact element that fails.

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

Check your invoice for this rule