Error codes

BR-DE-8: Buyer city (BT-52) is missing

Severity: fatal · Syntax: CII, UBL

Official message

Das Element "Buyer city" (BT-52) muss übermittelt werden.

What this means

Buyer city (BT-52) must be transmitted, non-empty after normalize-space. UBL: cbc:CityName in the buyer address. CII: ram:CityName.

Typical cause

The buyer address has a post code but no city.

How to fix it

Set the buyer city.

UBL

<cbc:CityName>Köln</cbc:CityName>

CII

<ram:CityName>Köln</ram:CityName>

Business term

Buyer city (BT-52)

Related rules

Context and assertion

UBL /ubl:Invoice/cac:AccountingCustomerParty/cac:Party/cac:PostalAddress | /cn:CreditNote/cac:AccountingCustomerParty/cac:Party/cac:PostalAddress

CII /rsm:CrossIndustryInvoice/rsm:SupplyChainTradeTransaction/ram:ApplicableHeaderTradeAgreement/ram:BuyerTradeParty/ram:PostalTradeAddress

UBL

cbc:CityName[boolean(normalize-space(.))]

CII

ram:CityName[boolean(normalize-space(.))]

Check a file now, free of charge

curl -F "file=@rechnung.xml" https://checkxrechnung.com/v1/validate

Questions

What does BR-DE-8 actually check?

Buyer city (BT-52) must be transmitted, non-empty after normalize-space. UBL: cbc:CityName in the buyer address. CII: ram:CityName.

How do I fix BR-DE-8?

Set the buyer city.

If BR-DE-8 passes, is the invoice legally compliant?

No. This page helps you read this one Schematron assertion. A pass is not a statement about tax law, portal acceptance, or bank overlays.