InvoiceGlass

Invoiced object reference type · CII-DT-024

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

This issue concerns invoiced object reference type. The ram:ReferenceTypeCode element is permitted only in an additional document reference for an invoiced object with code 130.

As of

Who can correct it?

The sender can correct the invoice.

How to fix it

  1. Map the field to the additional reference for an invoiced object if that matches its purpose. Omit it at the reported location.
  2. CII · //ram:*[ends-with(name(), 'ReferencedDocument')]/ram:ReferenceTypeCode

Rule text and source

Paraphrase · The ram:ReferenceTypeCode element is permitted only in an additional document reference for an invoiced object with code 130.

Message to the sender

Hello,

Validation of the invoice XML for {invoiceNumber} returned CII-DT-024. The message concerns invoiced object reference type. Please correct the export and send me the updated XML file.

Thank you.

Example

Triggers the rule: The delivery note reference contains the invoiced object reference type field. After correction: The field appears in the appropriate additional reference with code 130.

Rule versions

CEN · EN 16931 (KoSIT) 1.3.16

CEN · EN 16931 1.3.17

Validate a file