fatalEN 16931syntax binding ruleCIIBT-83
Payment reference (BT-83) shall occur at most once in the document.
The payment reference (BT-83) appears more than once.
State it once at document level. It is the reference the buyer quotes when paying, so there can only be one.
CII — context /rsm:CrossIndustryInvoice
count(//ram:ApplicableHeaderTradeSettlement/ram:PaymentReference) <= 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.