InvoiceGlass

Scheme data address in profile, invoice, line and seller item identifiers · CII-DT-003

  • Severity · Error
  • Applies to · CII
  • Editorial review pending

This issue concerns the field for scheme data address in the profile, invoice, line and seller item identifiers section. The rule checks for the presence of the field regardless of its value.

As of

Who can correct it?

The sender can correct the invoice.

How to fix it

  1. Omit the attribute @schemeDataURI at the reported location in the export. Check whether any needed data belongs in a field intended for it.
  2. CII · /rsm:CrossIndustryInvoice/rsm:ExchangedDocument/ram:ID/@schemeDataURI

Rule text and source

Paraphrase · The CII mapping excludes the attribute @schemeDataURI from the profile, invoice, line and seller item identifiers section.

Message to the sender

Hello,

Validation of the invoice XML for {invoiceNumber} returned CII-DT-003. The message concerns scheme data address in profile, invoice, line and seller item identifiers. Please correct the export and send me the updated XML file.

Thank you.

Example

This example uses the invoice identifier in the invoice header. The corrected entry keeps its value and drops the extra attribute.

CII

/rsm:CrossIndustryInvoice/rsm:ExchangedDocument/ram:ID/@schemeDataURI

Fails the rule
<ram:ID schemeDataURI="https://example.org/ids/data">2026-42</ram:ID>

Corrected
<ram:ID>2026-42</ram:ID>

Rule versions

CEN · EN 16931 (KoSIT) 1.3.16

CEN · EN 16931 1.3.17

Validate a file