Skip to main content

BR-DEX-06 Item standard identifier scheme must use an ISO 6523 code

Any scheme identifier on the Item standard identifier (BT-157) must be coded using one of the ISO 6523 ICD code list entries.

Problem Description

Any scheme identifier on the Item standard identifier (BT-157) must be coded using one of the ISO 6523 ICD code list entries.

ERROR

XRechnung 3.0

Context and Significance

This XRechnung Extension rule fires only in the Extension scenario, which relaxes the core severity to enable additional ISO 6523 item scheme codes (such as DIGA identifiers).

Solution

Set the @schemeID on cac:Item/cac:StandardItemIdentification/cbc:ID to a valid ISO 6523 ICD value (for example 0160 for GTIN). If you do not need Extension item schemes such as DIGA codes, the standard XRechnung CIUS profile avoids this rule.

Quick actions

Valid Examples

Use these points as the practical checks for this section.

  • <cbc:ID schemeID="0160">04012345678901</cbc:ID>

Invalid Examples

Use these points as the practical checks for this section.

  • <cbc:ID schemeID="INTERNAL">A-100</cbc:ID> — INTERNAL is not ISO 6523

Code Examples

Valid XML
<cac:Item>
  <cac:StandardItemIdentification>
    <cbc:ID schemeID="0160">04012345678901</cbc:ID>
  </cac:StandardItemIdentification>
</cac:Item>
Invalid XML
<cac:Item>
  <cac:StandardItemIdentification>
    <cbc:ID schemeID="INTERNAL">A-100</cbc:ID>
  </cac:StandardItemIdentification>
</cac:Item>

Affected Fields

Validation Tools