# BR-DEX-08 Delivery location identifier scheme must use an ISO 6523 code

Any scheme identifier for a Deliver to location identifier (BT-71) must be coded using one of the ISO 6523 ICD code list entries.

## Problem Description

> **ERROR**: XRechnung extension rule (KoSIT, BR-DEX) · 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 scheme codes for the delivery location identifier.

## Solution

Set the @schemeID on cac:Delivery/cac:DeliveryLocation/cac:ID to a valid ISO 6523 ICD value (for example 0088 for GLN). If you do not need Extension location schemes, the standard XRechnung CIUS profile avoids this rule.

- [Validate XML](/en/xrechnung-validator?source=resource&rule=BR-DEX-08)
- [Convert invoice](/en/pdf-to-xrechnung?source=resource&rule=BR-DEX-08)

## Valid Examples

- <cbc:ID schemeID="0088">4098765000003</cbc:ID>

## Invalid Examples

- <cbc:ID schemeID="SITE">DOCK-7</cbc:ID> — SITE is not an ISO 6523 code

## Code Examples

### Valid XML
```
<cac:Delivery>
  <cac:DeliveryLocation>
    <cbc:ID schemeID="0088">4098765000003</cbc:ID>
  </cac:DeliveryLocation>
</cac:Delivery>
```

### Invalid XML
```
<cac:Delivery>
  <cac:DeliveryLocation>
    <cbc:ID schemeID="SITE">DOCK-7</cbc:ID>
  </cac:DeliveryLocation>
</cac:Delivery>
```

## Affected Fields

- [BT-71 Deliver to location identifier](/resources/xrechnung/bt-71-deliver-to-location-identifier)

## Related Rules

- [BR-DEX-04](/resources/kosit-validator-errors/br-dex-04-party-identifier-iso-6523-scheme)
- [BR-DE-21](/resources/kosit-validator-errors/br-de-21-specification-identifier-syntax)

## Validation Tools

- [Official KoSIT Validator](https://github.com/itplr-kosit/validator): Run the official KoSIT validator with the XRechnung configuration to check EN 16931 and XRechnung rules.
- [Convert PDF to XRechnung](/pdf-to-xrechnung): Find validation errors during conversion and review each correction.

## Related Resources

- [Official Specification](https://xeinkauf.de/xrechnung/)
- [Test Suite](https://github.com/itplr-kosit/xrechnung-testsuite)
- [All validation errors](/resources/kosit-validator-errors): Overview of the EN 16931, XRechnung and Peppol validation rules explained here.
