# BR-CL-26 Delivery location scheme must come from ISO 6523 ICD

The deliver-to location identifier scheme identifier (BT-71-1) must belong to the ISO 6523 ICD code list.

## Problem Description

> **ERROR**: EN 16931 code-list rule (BR-CL)

## Context and Significance

BT-71 identifies the place of delivery, for example a store, a warehouse or a construction site. The rule checks cac:Delivery/cac:DeliveryLocation/cbc:ID/@schemeID in UBL and ram:ShipToTradeParty/ram:GlobalID/@schemeID in CII. It fails when a retail or logistics system writes "GLN" as the scheme, or uses an internal label such as "STORE" as the scheme of a branch number. Example: a delivery to a store with the GLN 4098765000003 uses schemeID="0088"; the delivery address itself belongs in BG-15.

## Solution

Set the schemeID of BT-71 to a valid ISO 6523 ICD code, usually 0088 for a GS1 Global Location Number (GLN). If the delivery location only has an internal number, such as a store or warehouse number, send it without a scheme identifier.

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

## Valid Examples

- BT-71-1 = 0088 — GLN of the delivery location
- BT-71 = internal store number without a scheme identifier

## Invalid Examples

- BT-71-1 = GLN — name instead of ICD code 0088
- BT-71-1 = STORE — internal label, not an ICD 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="GLN">4098765000003</cbc:ID>
  </cac:DeliveryLocation>
</cac:Delivery>
```

## Affected Fields

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

## Related Rules

- [BR-CL-10](/resources/kosit-validator-errors/br-cl-10-iso-6523-any-identifier-scheme)

## 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://docs.peppol.eu/poacc/billing/3.0/rules/ubl-tc434/)
- [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.
