warningEN 16931syntax binding ruleCII
An invoice line shall not contain more than one AdditionalReferencedDocument with TypeCode 130.
An invoice line references more than one additional document with TypeCode 130.
Keep a single invoiced object reference per line — see also PEPPOL-EN16931-R100.
CII — context /rsm:CrossIndustryInvoice/rsm:SupplyChainTradeTransaction/ram:IncludedSupplyChainTradeLineItem/ram:SpecifiedLineTradeSettlement
count(ram:AdditionalReferencedDocument[normalize-space(ram:TypeCode) = '130']) <= 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.