# BR-DEX-07 Endpoint identifier scheme must belong to the CEF EAS code list

Any scheme identifier for an Endpoint identifier (Seller electronic address BT-34, Buyer electronic address BT-49) must belong to the CEF EAS code list.

## Problem Description

Any scheme identifier for an Endpoint identifier (Seller electronic address BT-34, Buyer electronic address BT-49) must belong to the CEF EAS code list.

> **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 CEF EAS scheme codes for electronic addresses.

## Solution

Set the @schemeID on cbc:EndpointID to a valid CEF EAS value (for example 9930 for a German Leitweg-based address or 0204). If you do not need Extension endpoint schemes, the standard XRechnung CIUS profile avoids this rule.

- validate
- convert

## Valid Examples

- <cbc:EndpointID schemeID="0204">991-12345-67</cbc:EndpointID>

## Invalid Examples

- <cbc:EndpointID schemeID="0088">...</cbc:EndpointID> — 0088 is ISO 6523, not CEF EAS

## Code Examples

### Valid XML
```
<cac:Party>
  <cbc:EndpointID schemeID="0204">991-12345-67</cbc:EndpointID>
</cac:Party>
```

### Invalid XML
```
<cac:Party>
  <cbc:EndpointID schemeID="0088">4012345000009</cbc:EndpointID>
</cac:Party>
```

## Affected Fields

- [BT-34 Seller electronic address](/resources/xrechnung/bt-34-seller-electronic-address)
- [BT-49 Buyer electronic address](/resources/xrechnung/bt-49-buyer-electronic-address)

## 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://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.
