fatalEN 16931syntax binding ruleUBL
Party tax scheme shall occur maximum twice in accounting supplier party
The supplier party has more than two PartyTaxScheme groups.
At most two are allowed: one for VAT (the VAT identifier BT-31) and one for another tax registration (BT-32). Delete the rest.
UBL — context cac:AccountingSupplierParty/cac:Party
(count(cac:PartyTaxScheme) <= 2)
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.