InvoiceGlass

Subject code in line note · CII-SR-041

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

This issue concerns the field for subject code in the line note section. The rule checks for the presence of the field regardless of its value. In standalone version 1.3.17 this check does not run because an earlier rule matches the same section.

As of

Who can correct it?

The sender can correct the invoice.

How to fix it

  1. Confirm the agreed profile. If the export should contain only the EN 16931 core data, omit the element ram:SubjectCode at the reported location.
  2. CII · /rsm:CrossIndustryInvoice/rsm:SupplyChainTradeTransaction/ram:IncludedSupplyChainTradeLineItem/ram:AssociatedDocumentLineDocument/ram:IncludedNote/ram:SubjectCode

Rule text and source

Paraphrase · The CII mapping excludes the element ram:SubjectCode from the line note section.

Message to the sender

Hello,

Validation of the invoice XML for {invoiceNumber} returned CII-SR-041. The message concerns subject code in line note. Please confirm that the entry matches the agreed invoice profile and send an updated XML file if a correction is needed.

Thank you.

Example

The version 1.3.16 check bundled with XRechnung evaluates this example. A field for subject code in the line note section triggers the check. A core-only invoice omits that entry at this location.

Rule versions

CEN · EN 16931 (KoSIT) 1.3.16

CEN · EN 16931 1.3.17

Validate a file