Address Format and Routing Codes

Correct address data is the invisible foundation of every successful DHL shipment. Sorting facilities, delivery depots and Packstation routing do not work with "approximate" addresses, but with machine-readable structures and precise routing codes. Errors in name, street, postal code or additional fields lead to delays, forwarding, returns to the warehouse and avoidable support effort. For fulfillment teams, the address format is therefore not a side issue, but a central quality lever – regardless of whether you frank in your own warehouse or ship via a 3PL system.

This guide explains how DHL processes addresses technically, which format applies to home addresses, Packstations and branches, and how you can secure routing codes in shop, WMS and carrier interface.

What routing codes mean at DHL

Routing codes refer to the automatic assignment of an address to a delivery district. DHL uses the postal code, street name, house number and – for Packstations – the Packstation number as well as the recipient's Postnummer (customer number). The system compares the transmitted data with reference databases. If postal code and city do not match or mandatory fields are missing, the shipment cannot be routed reliably.

Routing codes are applied in several stages:

  • 001. Entry in shop or ERP – Customer or employee captures the delivery address.
  • 002. Validation before label printing – Address check via DHL interface, CSV import or manual plausibility check.
  • 003. Sorting at DHL hub – OCR scan of the label, comparison with routing code data, assignment to delivery depot.
  • 004. Last mile – Delivery driver receives sorted shipments by route and district.
Important: An address can be readable for humans and still not routable. Typical triggers: typo in the postal code, deviating spelling of the city name, missing house number or Packstation without Postnummer. The label is printed – but the shipment remains stuck in sorting or is returned.

Process flow: DHL routing codes

1
Address entry (shop/ERP)
2
Validation (API/CSV) – on error: abort
3
Label printing
4
Hub sorting
5
Delivery route

Standard address format for DHL domestic parcel

For home addresses in Germany, DHL expects a clear, single-line structure per field. Special characters, abbreviations and unnecessary additions make automatic recognition more difficult.

Mandatory fields and recommended order

Field
Content
Typical error
Routing code relevance
Recipient name
First and last name or company name (max. 35 characters per line)
Initials only, missing last name
Medium – proof of delivery and identification
Address line 2
c/o, floor, building section – separate line
Addition mixed into street field
High – sorting may fail
Street and house number
Separated: street name + space + house number
"Str." instead of "Straße", house number missing
Very high
Postal code
Five digits, keep leading zeros
Postal code 1234 instead of 01234
Very high
City
Official city name according to postal code directory
District instead of main city, typo
Very high
Country
ISO code DE or spelled out Germany
Empty field for domestic shipments
High in multi-carrier setups

Writing rules for better recognition rates

  • Street names spelled out instead of abbreviated (e.g. "Musterstraße" instead of "Musterstr.")
  • House number always specified, even for single houses without visible number on the street
  • No duplicate city entries (e.g. "10115 Berlin Berlin")
  • Do not mix phone number and email in address lines – use separate fields
  • Business addresses: contact person on separate line below company name
Tip: Use postal code-city auto-completion from a current address database in checkout. Customers may manually override the city – this is one of the most common sources of postal code-city mismatch and failed routing codes.

Packstation, branch and alternative address formats

Alternative delivery addresses follow their own format rules. They are not interchangeable with standard home addresses. Anyone who treats Packstation and branch like a normal street address creates systematic delivery errors.

Delivery type
Address format
Mandatory addition
Most common error
Home address
Street + house number, postal code + city
None
Postal code/city inconsistent
Packstation
Packstation + number, postal code + city
Postnummer (6–10 digits)
Postnummer missing or incorrect
Branch delivery
Branch address or branch number
Branch identifier per DHL specification
Branch number confused with Packstation
P.O. box
P.O. box + number, postal code + city
No street field
Street and P.O. box specified simultaneously

Detailed notes on Packstation and branch routing can be found in Packstation and Branch Delivery. Address errors from the customer perspective and their handling in order management are described in Address Errors and Investigation.

Warning: A Packstation address without a valid Postnummer is often only recognized as undeliverable within the DHL network. The packing station should block such shipments before label printing – not leave the error for the delivery driver to discover.

Routing codes in shop, WMS and DHL interface

Professional fulfillment validates addresses before physical shipping. DHL offers various options for this via the business customer portal, CSV bulk import and API integration.

Validation levels at a glance

  • 001. Plausibility check in frontend
    Mandatory fields, length limits, numeric postal code, Postnummer format for Packstation.
  • 002. Address check via DHL API
    Comparison with reference data, correction suggestions, routability status before label generation.
  • 003. Release at packing station
    Spot checks for manual address changes, block on warnings from step 2.
  • 004. Monitoring after shipping
    Evaluate tracking events such as "shipment delayed" or return to sender as KPI for address quality.

Technical details on integration: API and Shop Integration DHL. For larger volumes with CSV upload: Bulk Shipping and CSV Import.

Workflow: address validation before label printing

1
Order import
2
Mandatory field check
3
DHL address check – routable (green) / correction needed (orange) / blocked (red)
4
Release/warning
5
Label printing
6
Handover to DHL

Typical errors and their consequences

Most routing code problems repeat themselves. Those who know the patterns can tighten rules in shop and packing process in a targeted manner.

The five most common address errors

  • 001. Postal code does not match city – Customer selects neighboring city or typo in postal code.
  • 002. House number missing or included in street name – Sorting cannot assign street uniquely.
  • 003. Packstation without Postnummer – Routing to Packstation fails.
  • 004. Special characters and emojis in name fields – Label printer or OCR produce faulty scans.
  • 005. Multi-line company names without separation – Character limit per label line exceeded, section cut off.
Error type
Detection
Typical consequence
Prevention
Postal code-city mismatch
API warning, manual check
Delay 1–3 days
Postal code lookup in checkout
Missing house number
Validation rule
Inquiry, forwarding
Mandatory field + regex
Packstation incomplete
Postnummer check
Delivery attempt fails
Packstation widget with Postnummer
Label illegible
Visual QC at packing station
Hub cannot scan
Thermal transfer, correct position
Address change after label printing
Process violation
Wrong delivery
Cancel label, generate new one

Further DHL error categories and their connection to addresses: Common DHL Shipping Errors. If shipments do not arrive despite correct address, it is worth looking at Delivery Attempts and Forwarding.

Address error share by error category

Postal code/city issues

38% of all address errors

Packstation/Postnummer

27% of all address errors

Street/house number

22% of all address errors

Other

13% of all address errors

Trend: slightly declining in shops with API validation.

Best practices for e-commerce and fulfillment

Checkout and customer data

  • Address fields with character limits per DHL specification (typically 35 characters per line)
  • Integrate Packstation search instead of free text entry
  • With postal code auto-completion: city field readonly or with warning on deviation
  • Clearly separate billing and delivery address; generate shipping label only from delivery address

Warehouse and packing station

  • No manual "correction" of addresses without renewed API check
  • Spot checks for first shipment to new customers or B2B addresses
  • Training: Difference between Packstation, branch, home address using sample labels
  • Destroy faulty labels, generate new label – do not cover up

Reporting and continuous improvement

Metrics that make address quality visible:

  • Share of shipments with status "address incomplete" or return to sender
  • Share of manual address corrections before shipping
  • Complaints with cause "wrong address" vs. "DHL delivery error"
  • Comparison of address error rate before and after introduction of DHL address check

Comparison: before vs. after address validation

Without API check
  • High error rate
  • Many forwarding cases
  • Increased support tickets per 1,000 shipments
With DHL routing code check
  • Low error rate
  • Fewer forwarding cases per month
  • Lower support tickets per 1,000 shipments

Checklist: address format before shipping

Go through these points before every label print – manually for low volume or automated in WMS:

  • Postal code is five digits and consistent with city (API status "routable")
  • Street and house number are in separate, correct fields
  • Recipient name is complete and within character limits
  • For Packstation: number and Postnummer present
  • No emojis, HTML or special characters in address lines
  • Address line 2 (floor, c/o) on separate line, not in street
  • Country field set (DE for domestic)
  • After customer change: old label cancelled, new label generated

International shipping: note deviations

For shipments abroad, different address standards apply than in Germany. Country-specific field orders, provinces, states and postal code formats must be correctly mapped in the interface. Applying German postal code logic to international addresses leads to systematic routing code errors.

Principles for international:

  • 001. Always set ISO country code (not just "EU" or continent).
  • 002. Validate postal code format per country (e.g. four digits in Austria, alphanumeric in UK).
  • 003. State/province mandatory only where the destination carrier requires it.
  • 004. Prefer Latin script; for non-Latin addresses, use additional field "address in local script" if the product provides it.

Conclusion: address quality as fulfillment KPI

Address format and routing codes determine whether a DHL shipment arrives on the first delivery attempt or spends days in reprocessing. The investment in checkout validation, API integration and packing station processes pays off through fewer forwarding cases, lower return costs and more satisfied customers. Those who only discover address errors reactively via tracking events pay twice: once for the failed shipment, once for support and reshipping.

Therefore, establish routing codes as a fixed quality step before label printing – not as a correction after the first delivery failure.

Related topics

Last updated: July 7, 2026