# 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

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

## Solution

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

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

## Valid Examples

- <cbc:EndpointID schemeID="0204">991-12345-73</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-73</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://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.
