How many rules there are
302 official rules: 170 PINT shared and 132 PINT AE (UAE). Every one has severity error in the published schematron. PintLint adds 3 checks of its own for JSON input, labeled as PintLint checks on their pages.
See all 302 rules, searchable by ID or keyword.
How to read a rule page
Each rule page gives the rule in plain words, an invoice fragment that fails it, the fix, and the schematron test itself under Schematron. The rule ID is the one your validator or ASP reports, so you can search for it directly.
Rules on JSON
30 of the 302 official rules apply to source data, so PintLint can run them on JSON before the invoice becomes UBL. The list is under Checked on JSON.
The most common ones
- IBR-CO-10 Sum of lines must equal the line total
- IBR-CO-13 Total without VAT must add up
- IBR-CO-16 Amount due must add up
- IBR-005 Invoice currency is required
- IBR-CO-15 Total with VAT = total without VAT + VAT
- IBR-CO-14 Total VAT must equal the VAT breakdown
- IBR-073 Dates must be YYYY-MM-DD
- IBR-CL-04 Currency must be an ISO 4217 code
- IBR-135-AE Buyer needs a TRN or another identifier
- IBR-128-AE Emirate must be a code
- IBR-145-AE Every line needs a VAT category
- IBR-147-AE Line net amount = quantity × price
- IBR-134-AE Seller TRN is required
- IBR-127-AE Due date is required when money is owed
- IBR-159-AE Non-AED invoices need an exchange rate
- IBR-175-AE Non-AED invoices need VAT totals in AED
- IBR-154-AE Transaction type is eight 0/1 flags
- ALIGNED-IBRP-S-05 Standard-rated lines are 5%
- IBR-132-AE TRN must be 15 digits, starting with 1 and ending with 03
- TC-001 Due date is not before the issue date
- TC-002 Line VAT = line net × rate
- TC-003 Total VAT is stated
Check an invoice now
The validator on the home page runs all 302 official rules on UBL XML and links each failure to its rule page.
Questions
Where is the full list of PINT AE validation rules?
On the PintLint rules index: every PINT AE 1.0.4 rule, 302 official plus 3 PintLint checks, with a page each and a filter by ID or keyword.
Who writes the PINT AE rules?
OpenPeppol publishes them as schematron with the PINT AE specification. PintLint runs version 1.0.4 unmodified on UBL XML and explains each rule in plain words.
Which PINT AE rules run on JSON?
33 rules: the 30 official rules that apply to source data, plus 3 PintLint checks. Credit notes, allowances, charges, reverse charge and non-AED invoices need UBL for now.
If my invoice passes every rule, will my ASP accept it?
Not necessarily. A pass means the invoice met the published PINT AE rules at the time of the check. Your accredited service provider runs its own checks before the invoice is exchanged.
Rule counts from the OpenPeppol PINT AE 1.0.4 schematron, as built into the rule pages.