BR-DE-11 XRechnung: delivery post code missing
When an XRechnung has a delivery address, it must include the post code.
What the rule says
Das Element "Deliver to post code" (BT-78) 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 post code in it (BT-78).
How to fix it
Add the post code to the delivery address, in its own field, or leave the delivery address out if it isn't needed.
Applies to
XRechnung only (German rules by KoSIT).
More about BR-DE-11
The partner rule of BR-DE-10: a delivery address needs both a city and a post code. A frequent cause is a post code written together with the city ("80331 München") in the city field, which leaves the post code field empty.
The fields involved
- BG-15 Deliver to address
- CII
ram:ApplicableHeaderTradeDelivery/ram:ShipToTradeParty/ ram:PostalTradeAddress - UBL
cac:Delivery/cac:DeliveryLocation/ cac:Address - BT-78 Deliver to post code
- CII
ram:ShipToTradeParty/ram:PostalTradeAddress/ ram:PostcodeCode - UBL
cac:Delivery/cac:DeliveryLocation/ cac:Address/ cbc:PostalZone
Typical situations
- Post code and city were typed into one field.
- The delivery address is abroad and has no post code field filled in.
Example
The post code in its own field:
<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>