# BR-DE-7 Buyer name must be provided

The buyer's name must be provided on the invoice.

## Problem Description

The buyer's name must be provided on the invoice.

> **ERROR**: XRechnung 3.0

## Context and Significance

The buyer name is required to identify the invoice recipient. For public sector recipients, use the official organization name as registered by the receiving authority or portal to avoid routing and approval issues.

## Solution

Add the buyer's name to the invoice.

## Valid Examples

- Bundesministerium XYZ
- Stadtverwaltung Musterstadt

## Invalid Examples

- Buyer name missing
- Only an internal short code

## Code Examples

### Valid XML
```
<cac:AccountingCustomerParty>
  <cac:Party>
    <cac:PartyName>
      <cbc:Name>Stadtverwaltung Musterstadt</cbc:Name>
    </cac:PartyName>
  </cac:Party>
</cac:AccountingCustomerParty>
```

### Invalid XML
```
<cac:AccountingCustomerParty>
  <cac:Party>
    <!-- Missing cac:PartyName/cbc:Name -->
  </cac:Party>
</cac:AccountingCustomerParty>
```

## Technical Details

### Affected Fields
Buyer Name

## Related Rules

- [BR-DE-1](/resources/kosit-validator-errors/br-de-1-german-invoice-must-have-buyers-address)
- [BR-DE-13](/resources/kosit-validator-errors/br-de-13-buyer-reference-must-be-provided)

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