# PEPPOL-EN16931-R010

Source: https://xmlvalid.com/rules/PEPPOL-EN16931-R010

> Buyer electronic address MUST be provided

- Level: error
- Rule sets: Peppol BIS Billing 3.0 rules 3.0.21, XRechnung 3.0 rules (UBL) 2.6.0
- Context: `cac:AccountingCustomerParty/cac:Party`
- Test: `cbc:EndpointID`

> Buyer electronic address MUST be provided

- Level: error
- Rule sets: XRechnung 3.0 rules (CII) 2.6.0
- Context: `ram:BuyerTradeParty`
- Test: `ram:URIUniversalCommunication/ram:URIID`

## Why it fails

- The buyer party has no `cbc:EndpointID`, the Peppol address the invoice is delivered to.

## How to fix it

- Add `cbc:EndpointID` with its `schemeID` (for example `<cbc:EndpointID schemeID="0088">7300010000001</cbc:EndpointID>`) to `cac:AccountingCustomerParty/cac:Party`.

Validate a document against these rules: https://xmlvalid.com/validate
