DHL Express Shipping
by CRM Smiths https://crmsmiths.com/odoo-apps/dhl-express/?utm_source=odoo-store&utm_medium=listing&utm_campaign=cs_delivery_dhl_express$ 149.00
DHL Express Shipping
DHL Express Shipping (MyDHL API) for Odoo
Ship with DHL Express from Odoo: your account rates at checkout, labels in PDF or ZPL, the customs declaration with the DHL commercial invoice, pickups and automatic tracking updates.
Independent integration by CRM Smiths, using the DHL Express MyDHL API (version 3.4.1). Not affiliated with or endorsed by DHL.
What it does
Adds DHL Express as a provider for Odoo shipping methods. At checkout the customer sees your DHL Express account rate for the product you chose. When a delivery order is validated, DHL Express creates the waybill with one piece per package, and the label is attached to the transfer.
Shipments leaving the EU customs area carry the export declaration (one line per product with HS code, country of origin, quantity, value and weight) and DHL Express returns the commercial invoice. Tracking is updated on a schedule; every DHL Express call is written to a history.
Screenshots

A shipped delivery order to Switzerland: the DHL Express waybill, the label and the commercial invoice in the chatter.

The DHL Express tab of the shipping method, with Test Connection (API key and secret masked).

DHL Express Shipments: every waybill with its pieces and current tracking status.

A delivered waybill with its tracking events, the pickup confirmation and Proof of Delivery.
Supported versions
Odoo 17.0, 18.0, 19.0 and 20.0, Community edition. The same automated test suite (68 offline tests) passes on all four versions.
Depends on: Delivery for Inventory (stock_delivery) and Discuss (mail); Python requests.
Setup
- Inventory > Configuration > Shipping Methods > New, provider DHL Express (MyDHL API).
- As an administrator, on the DHL Express tab: the MyDHL API key and secret from DHL Express and your DHL Express account number. Leave Production off to work against the DHL test environment first.
- Click Test Connection (an address check of your warehouse; nothing is created).
- Choose the product, the price (DHL Express rate, fixed price or pricing rules), the label format and template, and the customs settings (incoterm, export reason).
- Give the warehouse address and your recipients a phone number: DHL Express requires one.
Features
| Feature | What it does |
|---|---|
| Rates | Your DHL Express account price for the chosen product, converted into the order currency; or a fixed price, or pricing rules. |
| Labels | One piece per package; PDF or ZPL, label template of your choice, optional waybill document. |
| Customs | For destinations outside the EU customs area (or always / never): export lines from the products, incoterm and export reason; the commercial invoice comes back from DHL. |
| Pickup | Optionally book a DHL Express courier with every shipment; the pickup is cancelled again when the shipment is cancelled. |
| Checks | Check with DHL Express before the label is created, and an address check for the recipient. |
| Tracking | Events on a schedule, with a chatter note on delivery or a delivery problem; a button for an immediate update. |
| Proof of delivery | DHL's proof-of-delivery PDF attached to the transfer on request. |
| Security | Credentials visible to administrators only and never logged; shipment records can only be changed by the integration and administrators; answers from DHL Express are size-limited and type-checked. |
What it does not do
- Cancelling a waybill at DHL Express: the MyDHL API has no such call. Cancel marks it cancelled in Odoo and cancels the booked pickup.
- Landed cost, separately booked pickups, paperless trade uploads, add-piece, service points, value-added services (insurance, dangerous goods), return labels.
- EPL / LP2 label printers and imperial units.
FAQ
Do I need a DHL Express account?
Yes: an active DHL Express customer account and MyDHL API access (key and secret), which DHL Express provides.
Which price does the customer see?
With "DHL Express rate", the price DHL Express quotes for your account (billing currency) for the product chosen on the shipping method, converted into the order currency. You can add Odoo's margin on top, or use a fixed price or pricing rules instead.
When is a customs declaration sent?
By default when sender and recipient are not both in the EU customs area; the setting can also be "always" or "never". Products need a country of origin; the HS code is sent when set.
Can I cancel a shipment?
The MyDHL API has no shipment cancellation. Cancel in Odoo cancels the pickup booked with the shipment and marks the waybill cancelled; do not hand the parcels over.
Can I test without shipping real parcels?
Yes: leave Production off to use the DHL Express test environment (DHL allows 500 calls a day there).
Need a carrier or workflow we don't cover? hello@crmsmiths.com
Support
Questions, problems or a feature you need: write to hello@crmsmiths.com. Please include your Odoo version and, for an error, the message shown and the matching row of the module's history.
Published by CRM Smiths. Independent integration; not affiliated with or endorsed by DHL.
| Availability |
Odoo Online
Odoo.sh
On Premise
|
| Odoo Apps Dependencies |
•
Discuss (mail)
• Invoicing (account) • Inventory (stock) |
| Lines of code | 2081 |
| Technical Name |
cs_delivery_dhl_express |
| License | OPL-1 |
| Website | https://crmsmiths.com/odoo-apps/dhl-express/?utm_source=odoo-store&utm_medium=listing&utm_campaign=cs_delivery_dhl_express |
Odoo Proprietary License v1.0 This software and associated files (the "Software") may only be used (executed, modified, executed after modifications) if you have purchased a valid license from the authors, typically via Odoo Apps, or if you have received a written agreement from the authors of the Software (see the COPYRIGHT file). You may develop Odoo modules that use the Software as a library (typically by depending on it, importing it and using its resources), but without copying any source code or material from the Software. You may distribute those modules under the license of your choice, provided that this license is compatible with the terms of the Odoo Proprietary License (For example: LGPL, MIT, or proprietary licenses similar to this one). It is forbidden to publish, distribute, sublicense, or sell copies of the Software or modified copies of the Software. The above copyright notice and this permission notice must be included in all copies or substantial portions of the Software. THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.

Please log in to comment on this module