InvoiceValidator.eu

CII-SR-457

warningEN 16931syntax binding ruleCII

IssuerAssignedID with TypeCode 50 should exist maximum once

Why it fails

'IssuerAssignedID with TypeCode 50' appears more than once, and this profile allows it at most once.

How to fix it

Keep the single correct 'IssuerAssignedID with TypeCode 50' and delete the rest. Repeating an element that the semantic model treats as singular is usually a serialiser writing every value it has instead of choosing one.

What the validator checks

CII — context /rsm:CrossIndustryInvoice/rsm:SupplyChainTradeTransaction/ram:ApplicableHeaderTradeAgreement

( count(ram:AdditionalReferencedDocument[ram:TypeCode='50'])  <= 1)

Related rules

Part of CII-SR — CII restrictions.

Check your own invoice against CII-SR-457

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