InvoiceGlass

Line status code in invoice line details · CII-SR-037

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

EN 16931 1.3.17: This issue concerns the field for line status code in the invoice line details section. The rule checks for the presence of the field regardless of its value. EN 16931 1.3.16: This issue concerns the field for line status code in the invoice line section. The rule checks for the presence of the field regardless of its value.

As of

Who can correct it?

The sender can correct the invoice.

How to fix it

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

Rule text and source

Paraphrase · EN 16931 1.3.17: The CII mapping excludes the element ram:LineStatusCode from the invoice line details section. EN 16931 1.3.16: The CII mapping excludes the element ram:LineStatusCode from the invoice line section.

Message to the sender

Hello,

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

Thank you.

Example

EN 16931 1.3.17: A field for line status code in the invoice line details section triggers the check. A core-only invoice omits that entry at this location. EN 16931 1.3.16: A field for line status code in the invoice line 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