InvoiceValidator.eu

UBL-SR-44

fatalEN 16931syntax binding ruleUBL

An Invoice may only have one unique PaymentID, but the PaymentID may be used for multiple PaymentMeans

Why it fails

Several different PaymentIDs appear on the invoice.

How to fix it

One invoice carries one payment reference (BT-83). You may repeat the same PaymentID across several PaymentMeans, but they must all be identical.

What the validator checks

UBL — context /ubl:Invoice | /cn:CreditNote

count(//cbc:PaymentID[not(preceding::cbc:PaymentID/. = .)]) <= 1

Related rules

Part of UBL-SR — UBL cardinality.

Check your own invoice against UBL-SR-44

…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.