InvoiceValidator.eu

UBL-SR-42

fatalEN 16931syntax binding ruleUBL

Party tax scheme shall occur maximum twice in accounting supplier party

Why it fails

The supplier party has more than two PartyTaxScheme groups.

How to fix it

At most two are allowed: one for VAT (the VAT identifier BT-31) and one for another tax registration (BT-32). Delete the rest.

What the validator checks

UBL — context cac:AccountingSupplierParty/cac:Party

(count(cac:PartyTaxScheme) <= 2)

Related rules

Part of UBL-SR — UBL cardinality.

Check your own invoice against UBL-SR-42

…or paste the XML instead

Nothing is stored, and the whole invoice is checked, not just this rule. A PDF only works if it is Factur-X / ZUGFeRD — a PDF with the invoice XML inside it.