InvoiceGlass

Issue date of the referenced invoice · CII-DT-027

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

This issue concerns issue date of the referenced invoice. The ram:FormattedIssueDateTime element is permitted only in an invoice reference.

As of

Who can correct it?

The sender can correct the invoice.

How to fix it

  1. If the field belongs to an invoice reference, export it there. Otherwise omit it at the reported location.
  2. CII · //ram:*[ends-with(name(), 'ReferencedDocument')]/ram:FormattedIssueDateTime

Rule text and source

Paraphrase · The ram:FormattedIssueDateTime element is permitted only in an invoice reference.

Message to the sender

Hello,

Validation of the invoice XML for {invoiceNumber} returned CII-DT-027. The message concerns issue date of the referenced invoice. Please correct the export and send me the updated XML file.

Thank you.

Example

Triggers the rule: A delivery note reference carries an issue date in this field. After correction: The delivery note reference omits the field.

Rule versions

CEN · EN 16931 (KoSIT) 1.3.16

CEN · EN 16931 1.3.17

Validate a file