InvoiceGlass

Invoice type code in invoice header · exactly once · CII-SR-014

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

This issue concerns the number of entries for invoice type code. The check counts matching XML elements in the checked invoice header section.

As of

Who can correct it?

The sender can correct the invoice.

How to fix it

  1. Export the element ram:TypeCode exactly once with the correct content.
  2. CII · /rsm:CrossIndustryInvoice/rsm:ExchangedDocument/ram:TypeCode

Rule text and source

Paraphrase · The XML element for invoice type code must occur exactly once in the checked invoice header section.

Message to the sender

Hello,

Validation of the invoice XML for {invoiceNumber} returned CII-SR-014. The message concerns invoice type code in invoice header · exactly once. Please correct the export and send me the updated XML file.

Thank you.

Example

The checked section is missing the field for invoice type code or repeats it. The corrected file contains one matching entry there.

Rule versions

CEN · EN 16931 (KoSIT) 1.3.16

CEN · EN 16931 1.3.17

Validate a file