PintLint

Rules / IBR-105-AE

IBR-105-AE error

An Invoice that contains an Invoice line is 'Standard rate additional VAT' shall…

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 statement above is true. 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 an invoice