# BT-47 Buyer legal registration identifier

Legal registration identifier of the buyer, such as a commercial register number.

## Quick answer

> **Buyer details**: Who receives the invoice and which buyer records or routing data must match.

- [Validate XML](/en/xrechnung-validator?source=resource&bt=BT-47)
- [Convert invoice](/en/pdf-to-xrechnung?source=resource&bt=BT-47)

## In plain language

Legal registration identifier of the buyer, such as a commercial register number.

Legal registration identifier of the buyer, such as a commercial register number.

This field is useful where the invoice needs to identify the buyer as a specific legal entity instead of only a department or brand.

## What you usually enter here

Registry identifier

Typical valid values include: HRB 67890

Optional according to EN 16931-1.

## What goes wrong often

Avoid values like:

## Examples in context

This field is useful where the invoice needs to identify the buyer as a specific legal entity instead of only a department or brand.

Optional according to EN 16931-1.

## Valid Examples

- HRB 67890

## Related Fields

This field is useful where the invoice needs to identify the buyer as a specific legal entity instead of only a department or brand.

- [BT-46 Buyer identifier](/resources/xrechnung/bt-46-buyer-identifier)
- [BT-48 Buyer VAT Identifier](/resources/xrechnung/bt-48-buyer-vat-identifier)

## XML mapping and field facts

Open the technical reference if you need XML paths, validator rule codes, legal wording, or schema-specific mapping details.

### Field ID:
BT-47

### Data Type:
identifier

### Cardinality:
0..1

### Requirement:
Optional

### Max Length:
50 characters

### Since Version:
Optional

## XML Implementation

### UBL 2.1 Syntax
```
/Invoice/cac:AccountingCustomerParty/cac:Party/cac:PartyLegalEntity/cbc:CompanyID
```

### CII (UN/CEFACT) Syntax
```
/CrossIndustryInvoice/SupplyChainTradeTransaction/ApplicableHeaderTradeAgreement/ram:BuyerTradeParty/ram:SpecifiedLegalOrganization/ram:ID
```

## Create an XRechnung from your PDF

The converter reads the invoice and shows the fields it found before download, so you can check and correct the values. No PDF? Fill in the XRechnung directly in the form.

- [Convert invoice](/en/pdf-to-xrechnung)
- [Fill in XRechnung in the form](/en/create-xrechnung)

Download requires an account. Subscriptions from €10/month with annual billing (excl. taxes), or €5 per conversion (excl. taxes) without a subscription.

## Why the standard cares about this field

### Business Context
This field is useful where the invoice needs to identify the buyer as a specific legal entity instead of only a department or brand.

### Legal Requirement
Optional according to EN 16931-1.

## Official sources and tools

- [KoSIT Validator](https://erechnungsvalidator.service-bw.de/)
- [XRechnung Standard](https://xeinkauf.de/xrechnung/)
- [Test Suite](https://github.com/itplr-kosit/xrechnung-testsuite)
