E-invoice rule explained · XRechnung
BR-DE-8: Buyer city is missing
Official message
Das Element "Buyer city" (BT-52) muss übermittelt werden.
- Severity
- Error (the invoice is rejected)
- Checked in
- UBL, CII
- Business terms
- BT-52
What does BR-DE-8 mean?
XRechnung requires the buyer's postal address to include a city (BT-52). The check runs on the buyer address and fails when the city is absent or contains only spaces.
Usual causes
- The customer record in the invoicing software has no city.
- City and post code were typed together into a street line.
- The buyer's address was imported from an order where it only exists as free text.
How do I fix BR-DE-8?
- Put the buyer's city in its own field: cbc:CityName in cac:AccountingCustomerParty/cac:Party/cac:PostalAddress (UBL) or ram:CityName in the buyer's ram:PostalTradeAddress (CII).
- Fix the customer record once so later invoices to this buyer carry it.
- Check the buyer's post code at the same time (BR-DE-9).
Corrected XML (minimal example we wrote)
UBL
<cac:AccountingCustomerParty> <cac:Party> <cac:PostalAddress> <cbc:StreetName>Amtsweg 5</cbc:StreetName> <cbc:CityName>Bonn</cbc:CityName> <cbc:PostalZone>53111</cbc:PostalZone> <cac:Country> <cbc:IdentificationCode>DE</cbc:IdentificationCode> </cac:Country> </cac:PostalAddress> </cac:Party></cac:AccountingCustomerParty>
CII
<ram:BuyerTradeParty> <ram:Name>Example Authority</ram:Name> <ram:PostalTradeAddress> <ram:PostcodeCode>53111</ram:PostcodeCode> <ram:LineOne>Amtsweg 5</ram:LineOne> <ram:CityName>Bonn</ram:CityName> <ram:CountryID>DE</ram:CountryID> </ram:PostalTradeAddress></ram:BuyerTradeParty>
Example values only. Put the elements in place of, or beside, what your file has; element order matters in both syntaxes.
Check your file for free
The free checker runs the official EN 16931, XRechnung and Peppol rules in your browser. Your file is not uploaded.
In development — early access
Fix-and-explain for accountants and invoicing teams
A paid service that explains every failed rule in plain German, French, Dutch or English and proposes a corrected file is in development. Early access
Source
Rule id and official message from the KoSIT XRechnung Schematron, v2.6.0 (for XRechnung 3.0) (Apache-2.0), compiled from upstream commit 7e3ddbe. The explanation, causes, fix and XML on this page are our own, not the rule publisher's. KoSIT XRechnung Schematron v2.6.0 (for XRechnung 3.0)