BR-DE-10 XRechnung: delivery city missing
When an XRechnung has a delivery address, it must include the city.
What the rule says
Das Element "Deliver to city" (BT-77) muss übermittelt werden, wenn die Gruppe "DELIVER TO ADDRESS" (BG-15) übermittelt wird.
The rule's official wording (CEN / KoSIT). The German XRechnung rules are published in German.
Why it happens
The invoice has a delivery address (BG-15), but no city in it (BT-77).
How to fix it
Add the city to the delivery address, or leave the delivery address out entirely if the goods went to the buyer's own address.
Applies to
XRechnung only (German rules by KoSIT).
More about BR-DE-10
A delivery address is optional in an XRechnung. But once it's there, XRechnung wants it complete enough to find: at least the city and the post code (BR-DE-11), as for the seller and buyer addresses.
Many programs fill in a delivery address automatically, sometimes with only a name or a street. If you don't need it, the simplest fix is to leave it out.
The fields involved
- BG-15 Deliver to address
- CII
ram:ApplicableHeaderTradeDelivery/ram:ShipToTradeParty/ ram:PostalTradeAddress - UBL
cac:Delivery/cac:DeliveryLocation/ cac:Address - BT-77 Deliver to city
- CII
ram:ShipToTradeParty/ram:PostalTradeAddress/ ram:CityName - UBL
cac:Delivery/cac:DeliveryLocation/ cac:Address/ cbc:CityName
Typical situations
- The software copies only the street into the delivery address.
- A delivery address was started and left half empty.
Example
A complete delivery address in CII:
<ram:ShipToTradeParty>
<ram:PostalTradeAddress>
<ram:PostcodeCode>80331</ram:PostcodeCode>
<ram:LineOne>Marktplatz 3</ram:LineOne>
<ram:CityName>München</ram:CityName>
<ram:CountryID>DE</ram:CountryID>
</ram:PostalTradeAddress>
</ram:ShipToTradeParty>