InvoiceValidator.eu

CII-SR-474

warningEN 16931syntax binding ruleCII

An invoice line shall not contain more than one AdditionalReferencedDocument with TypeCode 130.

Why it fails

An invoice line references more than one additional document with TypeCode 130.

How to fix it

Keep a single invoiced object reference per line — see also PEPPOL-EN16931-R100.

What the validator checks

CII — context /rsm:CrossIndustryInvoice/rsm:SupplyChainTradeTransaction/ram:IncludedSupplyChainTradeLineItem/ram:SpecifiedLineTradeSettlement

count(ram:AdditionalReferencedDocument[normalize-space(ram:TypeCode) = '130']) <= 1

Related rules

Part of CII-SR — CII restrictions.

Check your own invoice against CII-SR-474

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