# BR-CL-11 Registration identifier scheme must come from ISO 6523 ICD

Any legal registration identifier scheme identifier (e.g. seller legal registration BT-30-1, buyer BT-47-1) must be a code from the ISO 6523 ICD list.

## Problem Description

Any legal registration identifier scheme identifier (e.g. seller legal registration BT-30-1, buyer BT-47-1) must be a code from the ISO 6523 ICD list.

> **ERROR**: XRechnung 3.0

## Context and Significance

This EN16931 core code-list rule ensures a legal registration number is tied to a resolvable registration authority.

## Solution

Set the schemeID of the legal registration identifier to a valid ISO 6523 ICD code such as 0002 (SIRENE) or 0088 (GLN).

- validate
- convert

## Valid Examples

- BT-30-1 = 0002 — French SIRENE register
- BT-30-1 = 0088 — GLN as registration scheme

## Invalid Examples

- BT-30-1 = HRB — court register abbreviation, not ISO 6523
- BT-30-1 = 0000 — undefined ICD value

## Code Examples

### Valid XML
```
<cac:PartyLegalEntity>
  <cbc:CompanyID schemeID="0002">552081317</cbc:CompanyID>
</cac:PartyLegalEntity>
```

### Invalid XML
```
<cac:PartyLegalEntity>
  <cbc:CompanyID schemeID="HRB">552081317</cbc:CompanyID>
</cac:PartyLegalEntity>
```

## Affected Fields

- [BT-30-1 Seller legal registration identifier scheme identifier](/resources/xrechnung/bt-30-seller-legal-registration-identifier)

## Related Rules

- [BR-CL-10](/resources/kosit-validator-errors/br-cl-10-iso-6523-any-identifier-scheme)
- [BR-CL-21](/resources/kosit-validator-errors/br-cl-21-iso-6523-item-standard-scheme)
- [BR-CL-26](/resources/kosit-validator-errors/br-cl-26-iso-6523-delivery-location-scheme)

## Validation Tools

- [Official KoSIT Validator](https://erechnungsvalidator.service-bw.de/): Validate your XRechnung files against all BR-DE rules.
- [Convert PDF to XRechnung](/pdf-to-xrechnung): Automatic validation error fixes when converting.

## Related Resources

- [Official Specification](https://xeinkauf.de/xrechnung/)
- [Test Suite](https://github.com/itplr-kosit/xrechnung-testsuite)
- [Complete Error List](/resources/kosit-validator-errors): Overview of all German XRechnung validation rules.
