DHL Parcel DE Shipping
Prints DHL Parcel Germany labels when a delivery order is validated, with return labels, customs documents and tracking updates. Prices in Odoo come from the shipping method, because DHL has no price quote API.
What it does
- One DHL parcel per Odoo package when a delivery order is validated, with the label attached to the transfer
- Labels as PDF or ZPL2, with the print format and DHL logo set on the shipping method
- Products DHL Paket, Kleinpaket, Paket International, Europaket and Warenpost International, each with its own billing number
- Packstation and Postfiliale delivery detected from the address and the recipient's post number
- Services: Premium, GoGreen Plus, named person, no neighbour delivery, signature, bulky goods, age check and insurance
- Return labels printed with the shipping label (DHL Retoure) or later for a return order, as PDF or QR code
- Cancellation before DHL closes the day out
- Tracking status and events updated on a schedule, with a note in the chatter when a parcel is delivered
- Sandbox and production, OAuth 2 or Basic sign-in, and a test connection that creates nothing
- A history row for every DHL call; credentials are visible to administrators only and never logged
Setup
- Create a shipping method with the provider DHL Parcel DE.
- Enter the API key, API secret, portal user and password, and choose OAuth 2.
- Choose the product for shipments within Germany and for shipments abroad, and add one billing number per product.
- Choose the label format, whether a return label is printed with the shipping label, and the services.
- Leave the test environment on until one parcel has been created successfully, then switch to production.
Requirements
- Odoo 17, 18, 19 or 20, Community edition
- The Python requests library on the Odoo server
- A DHL business customer account (Geschäftskundenportal) with a portal user allowed to create shipments
- The billing numbers of the products you use, 14 characters each
- An app on the DHL developer portal with Parcel DE Shipping, and Shipment Tracking for status updates
- A Receiver ID for return labels created from a return order
What it does not do
DHL Parcel DE has no price quote API, so the module does not ask DHL for a rate. The price comes from the shipping method's fixed price or its pricing rules. For international express shipments there is a separate DHL Express shipping app.
- No DHL Express or freight products
- Cancellation only before DHL closes the day out
- Packstation and Postfiliale only for German addresses
- Which services can be sent depends on your DHL contract
- No parcel shop search: the recipient supplies the Packstation or Postfiliale number
Tests
| Odoo | Tests passed | Last run |
|---|---|---|
| 17 | 85 | |
| 18 | 85 | |
| 19 | 85 | |
| 20 | 85 |
The tests ship with the module source, so you can run them on your own server.
Questions
Does it quote DHL prices at checkout?
No. DHL Parcel DE has no price quote API. The customer price comes from the shipping method's fixed price or from Odoo's pricing rules.
Can a label be cancelled?
Yes, until DHL closes the day out. The Cancel link sits next to the tracking reference on the delivery order.
Will a test run create real parcels?
No. With the test environment on, the module calls the DHL sandbox. Test Connection validates a sample shipment and creates nothing.
Questions about the module?
Describe your DHL account and the products you ship. We reply within one business day with questions or a time to talk.