InvoiceValidator.eu

CII-SR-046

fatalEN 16931syntax binding ruleCII

schemeID must be present if GlobalID is present

Why it fails

A GlobalID is present without a schemeID, so the numbering system is unknown.

How to fix it

Add schemeID to the GlobalID — 0160 for a GTIN, 0088 for a GLN.

What the validator checks

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

not(ram:GlobalID) or (ram:GlobalID/@schemeID)

Related rules

Part of CII-SR — CII restrictions.

Check your own invoice against CII-SR-046

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