fatalEN 16931syntax binding ruleUBLBT-17
An Invoice shall contain maximum one Originator document reference identifier (BT-17).
More than one originator document reference (BT-17).
Keep one tender or lot reference at document level.
UBL — context /ubl:Invoice | /cn:CreditNote
count(cac:OriginatorDocumentReference/cbc:ID) <= 1
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.