# BR-CL-25 Endpoint identifier scheme must come from CEF EAS

The scheme identifier of the electronic address (BT-34-1 for the seller, BT-49-1 for the buyer) must belong to the CEF EAS code list.

## Problem Description

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

## Context and Significance

EAS codes describe the kind of electronic address, which receiving networks such as Peppol use to find the recipient. The rule checks cbc:EndpointID/@schemeID in UBL and ram:URIUniversalCommunication/ram:URIID/@schemeID in CII. It fails when a name such as "EMAIL", "GLN" or "LEITWEG" is written instead of the code. Take the scheme from the recipient’s registration, not from the kind of number you expect. Example: a German public buyer with a Leitweg-ID is addressed with schemeID="0204".

## Solution

Set the schemeID of the electronic address to the EAS code that matches the kind of identifier in the value, e.g. 0088 (GLN), 0204 (German Leitweg-ID), 9930 (German VAT number) or EM (email address).

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

## Valid Examples

- BT-49-1 = 0204 — German Leitweg-ID
- BT-34-1 = EM — email address

## Invalid Examples

- BT-34-1 = EMAIL — name instead of code EM
- BT-49-1 = LEITWEG — name instead of code 0204

## Code Examples

### Valid XML
```
<cbc:EndpointID schemeID="EM">seller@example.com</cbc:EndpointID>
```

### Invalid XML
```
<cbc:EndpointID schemeID="EMAIL">seller@example.com</cbc:EndpointID>
```

## Affected Fields

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

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