# 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

> **Where BR-DEX-07 is checked**
>
> A validator checks an e-invoice in stages. First the file must be well-formed XML that matches the UBL or CII schema (XSD). Then the EN 16931 business rules run: BR core rules, BR-CO calculations, BR-CL code lists, BR-DEC decimals and VAT-category rules such as BR-S. Next come the national or network rules that BT-24 selects: BR-DE for XRechnung, PEPPOL-EN16931 for Peppol BIS Billing. The report lists every failed rule: one error means reject, warnings alone still mean accept. BR-DEX-07: XRechnung extension rule, reported in the stage “National rules (CIUS)”.

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

- [Check XML for free](/en/xrechnung-validator)

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

## 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](/en/resources/xrechnung/bt-34-seller-electronic-address)
- [BT-49 Buyer electronic address](/en/resources/xrechnung/bt-49-buyer-electronic-address)

## Related Rules

- [BR-DEX-04](/en/resources/kosit-validator-errors/br-dex-04-party-identifier-iso-6523-scheme)
- [BR-DE-21](/en/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](/en/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](/en/resources/kosit-validator-errors): Overview of the EN 16931, XRechnung and Peppol validation rules explained here.
