# BR-62 Seller electronic address must have a scheme identifier

The Seller electronic address (BT-34) shall have a Scheme identifier that names the electronic address scheme.

## Problem Description

The Seller electronic address (BT-34) shall have a Scheme identifier that names the electronic address scheme.

> **ERROR**: XRechnung 3.0

## Context and Significance

This rule comes from the EN16931 core semantic model enforced by the KoSIT XRechnung 3.0.2 Schematron, ensuring invoices carry the mandatory data needed for automated processing.

## Solution

Set the schemeID attribute on cbc:EndpointID for the seller using an EAS code, for example 9958 for the German Leitweg-ID scheme or 0088 for GLN.

- validate
- convert

## Valid Examples

- BT-34 = seller@example.com with schemeID="EM"

## Invalid Examples

- BT-34 EndpointID present but with no schemeID attribute

## Code Examples

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

### Invalid XML
```
<cac:AccountingSupplierParty>
  <cac:Party>
    <cbc:EndpointID>seller@example.com</cbc:EndpointID>
  </cac:Party>
</cac:AccountingSupplierParty>
```

## Affected Fields

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

## Related Rules

- [BR-63](/resources/kosit-validator-errors/br-63-buyer-electronic-address-scheme-required)

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