InvoiceValidator.eu

CII-SR-175

warningEN 16931syntax binding ruleCII

DeliveryNoteReferencedDocument should not be present

Why it fails

'SupplyChainTradeTransaction/IncludedSupplyChainTradeLineItem/SpecifiedLineTradeDelivery/DeliveryNoteReferencedDocument' is present, but this profile does not allow it — nothing in the EN 16931 semantic model maps to it. The rule text names only 'DeliveryNoteReferencedDocument'; the path above is where the rule actually looks.

How to fix it

Remove 'SupplyChainTradeTransaction/IncludedSupplyChainTradeLineItem/SpecifiedLineTradeDelivery/DeliveryNoteReferencedDocument'. It is almost always left over from a generic template or a library that emits every field of the underlying schema. Reported as a warning.

What the validator checks

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

not(ram:DeliveryNoteReferencedDocument)

Related rules

Part of CII-SR — CII restrictions.

Check your own invoice against CII-SR-175

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