InvoiceGlass

Code list agency ID in type code · CII-DT-011

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

The rule describes an extra attribute on the invoice type code. In both releases used here, the general TypeCode check takes priority and bypasses this specific check.

As of

Who can correct it?

The sender can correct the invoice.

How to fix it

  1. Omit the attribute @listAgencyID 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:TypeCode/@listAgencyID

Rule text and source

Paraphrase · The CII mapping excludes the attribute @listAgencyID from the type code section.

Message to the sender

Hello,

Validation of the invoice XML for {invoiceNumber} returned CII-DT-011. The message concerns code list agency ID in type code. Please correct the export and send me the updated XML file.

Thank you.

Example

The invoice type code can retain the correct value 380 without the extra attribute. Omitting it follows the rule as written.

Rule versions

CEN · EN 16931 (KoSIT) 1.3.16

CEN · EN 16931 1.3.17

Validate a file