HomeError code lexicon › BR-DE-3
BR-DE-3 Field BT-37 German business rules (BR-DE)

Fix BR-DE-3: Seller city (BT-37) missing

The element "Seller city" (BT-37) shall be provided.

BR-DE-3 in your own invoice? Upload the file and find every error in seconds.

What does BR-DE-3 mean?

The element "Seller city" (BT-37) must be provided. This is a national KoSIT rule (XRechnung) that goes beyond EN 16931 and is mandatory for German e-invoices.

Common causes of BR-DE-3

How to fix BR-DE-3

  1. Find the faulty spot in the XML. Open the XML of the invoice and go to field BT-37 along this XPath://ram:SellerTradeParty/ram:PostalTradeAddress/ram:CityName
  2. Apply the fix. Add the seller city (BT-37) in 'ram:SellerTradeParty/ram:PostalTradeAddress/ram:CityName'.
  3. Validate again. Save the file and validate it again to check that BR-DE-3 is no longer reported.
Concrete fix

Add the seller city (BT-37) in 'ram:SellerTradeParty/ram:PostalTradeAddress/ram:CityName'.

XPath//ram:SellerTradeParty/ram:PostalTradeAddress/ram:CityName

Before / after: the XML example

This is the spot in question before and after the fix (Cross Industry Invoice, ZUGFeRD/Factur-X).

Wrong
<ram:PostalTradeAddress>
  <ram:PostcodeCode>80331</ram:PostcodeCode>
  <!-- ram:CityName fehlt -->
  <ram:CountryID>DE</ram:CountryID>
</ram:PostalTradeAddress>
Correct
<ram:PostalTradeAddress>
  <ram:PostcodeCode>80331</ram:PostcodeCode>
  <ram:CityName>München</ram:CityName>
  <ram:CountryID>DE</ram:CountryID>
</ram:PostalTradeAddress>

Frequent questions about BR-DE-3

How do I fix BR-DE-3?
Add the seller city (BT-37) in 'ram:SellerTradeParty/ram:PostalTradeAddress/ram:CityName'.

Related error codes

Check BR-DE-3 automatically

Instead of digging through the XML by hand you can validate your ZUGFeRD or XRechnung file online – upload the PDF or the XML and you get every error with rule ID, affected field, fix and XPath, as a readable report or as JSON through the API.

Find every error automatically instead of searching by hand

Upload your ZUGFeRD, Factur-X or XRechnung file – you get every violation back with rule ID, field, fix and XPath.

Validate online for free
Check invoice