InvoiceValidator.eu

UBL-SR-56

fatalEN 16931syntax binding ruleUBLBT-17

An Invoice shall contain maximum one Originator document reference identifier (BT-17).

Why it fails

More than one originator document reference (BT-17).

How to fix it

Keep one tender or lot reference at document level.

What the validator checks

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

count(cac:OriginatorDocumentReference/cbc:ID) <= 1

Related rules

Part of UBL-SR — UBL cardinality.

Check your own invoice against UBL-SR-56

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