# BT-47 Buyer legal registration identifier

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

## Quick answer

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

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

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

## 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/)
- [Invoice Converter](/pdf-to-xrechnung)
- [XRechnung Standard](https://xeinkauf.de/xrechnung/)
- [Test Suite](https://github.com/itplr-kosit/xrechnung-testsuite)
