BR-DE-8
XRechnung requires the buyer's city, and it is missing.
ErrorXRechnungUBLCII
Why it happens
Customer address imported without a separate city field.
How to fix it
Set cbc:CityName in the customer postal address (UBL) or ram:CityName in ram:BuyerTradeParty/ram:PostalTradeAddress (CII).
The official rule
XRechnung, official German wordingDas Element "Buyer city" (BT-52) muss übermittelt werden.
Our English rendering: The element "Buyer city" (BT-52) must be provided.
Technical detail — where the rule is evaluated and the exact test
| Syntax | Context and assertion |
|---|---|
| UBL | /ubl:Invoice/cac:AccountingCustomerParty/cac:Party/cac:PostalAddress | /cn:CreditNote/cac:AccountingCustomerParty/cac:Party/cac:PostalAddress |
cbc:CityName[boolean(normalize-space(.))] | |
| CII | /rsm:CrossIndustryInvoice/rsm:SupplyChainTradeTransaction/ram:ApplicableHeaderTradeAgreement/ram:BuyerTradeParty/ram:PostalTradeAddress |
ram:CityName[boolean(normalize-space(.))] |
Check your own invoice
Paste or drop your UBL or CII file into the free validator. It runs the official EN 16931 ruleset plus the German XRechnung layer and lists every rule that fires, BR-DE-8 included — no signup, no limit.
Validate an e-invoice freeFixing the data at source instead? The CSV converter builds a compliant invoice from a spreadsheet export.