Skip to content
XRechnung (BR-DE) rules

BR-DE-8: Buyer city (BT-52) is required by XRechnung, not by EN 16931

What this rule requires

Buyer city (BT-52) is required by XRechnung, not by EN 16931.

ExampleXRechnung 3.0 (UBL)

An invoice built like a valid one, except for this:

<cac:PostalAddress>
  <cbc:CityName>Berlin</cbc:CityName>
  <cbc:PostalZone>10115</cbc:PostalZone>
  <cac:Country>
    <cbc:IdentificationCode>DE</cbc:IdentificationCode>
  </cac:Country>
</cac:PostalAddress>

The validator says: Buyer city (BT-52) is required and the document does not contain it.

How to fix it

Add Buyer city to the invoice.

Frequently asked questions

What does BR-DE-8 mean?
Buyer city (BT-52) is required by XRechnung, not by EN 16931. The rule runs under XRechnung 3.0 (UBL).
How do I fix BR-DE-8?
Add Buyer city to the invoice. In UBL the element is ⁦/Invoice/cac:AccountingCustomerParty/cac:Party/cac:PostalAddress/cbc:CityName⁩.

Runs under these profiles

  • XRechnung 3.0 (UBL)

Element path

  • Buyer city (BT-52)UBL /Invoice/cac:AccountingCustomerParty/cac:Party/cac:PostalAddress/cbc:CityNameCII /CrossIndustryInvoice/SupplyChainTradeTransaction/ApplicableHeaderTradeAgreement/BuyerTradeParty/PostalTradeAddress/CityNameRead from what WorkAlio's CII parser accepts — there is no CII writer yet, so this path is not independently verified the way the UBL path is.