PostNL Shipping
Ship with PostNL from Odoo: labels and pre-alert in one step, PDF or ZPL, Parcel EU and Non-EU with customs, delivery to a PostNL point and automatic track & trace updates.
What it does
Adds PostNL as a provider for Odoo shipping methods. When a delivery order is validated, PostNL creates and confirms one label per package in a single call, and the label is attached to the transfer.
Dutch addresses use the product you choose; EU addresses go as Parcel EU (consumer or business) and the rest of the world as Parcel Non-EU with the customs declaration. Track and trace is updated on a schedule; every PostNL call is written to a history.
Demo video
The video loads from YouTube (privacy-enhanced mode) when you press play. Watch on YouTube
Features
| Feature | What it does |
|---|---|
| Label and pre-alert | One call per delivery order creates the labels and confirms the shipment to PostNL. |
| Dutch products | Standard, deliver to stated address only, signature on delivery, return when not home. |
| Abroad | Parcel EU for consumers or businesses, Parcel Non-EU with up to 5 customs lines, HS code and country of origin; the CN23 is attached. |
| PostNL points | Enter the location code on the delivery order; the module checks it with PostNL and shows the address. |
| Labels | PDF or ZPL (200, 300 or 600 dpi). |
| Track and trace | PostNL status and events on a schedule, in your time zone, with a chatter note on delivery or a problem. |
| Security | The API key is visible to administrators only and never logged; shipment records can only be changed by the integration and administrators; answers are size-limited and type-checked. |
Setup
- Inventory > Configuration > Shipping Methods > New, provider PostNL.
- As an administrator, on the PostNL tab: your API key from Mijn PostNL, customer code and customer number. Leave Production off to use the PostNL sandbox first.
- Click Test Connection (PostNL issues one barcode for your account; nothing is shipped).
- Choose the product for Dutch addresses, whether to ship abroad, the label format and the price (fixed price or pricing rules).
- For Parcel Non-EU, give your products a 6-digit HS code and a country of origin.
Requirements
- Odoo 17, 18, 19 or 20, Community edition
- Odoo apps: Delivery, Discuss
- Python requests on the Odoo server
What it does not do
- Price quotes (PostNL has no price API): prices come from the fixed price or pricing rules.
- Cancelling at PostNL: the PostNL APIs offer no cancellation; Cancel marks the barcode cancelled in Odoo.
- Multicollo, cash on delivery, extra cover amounts, age check, evening or same-day delivery, returns, Extra@Home and the new v4 APIs (offered by PostNL on invitation).
Tests
| Odoo | Tests passed | Last run |
|---|---|---|
| 17 | 58 | |
| 18 | 58 | |
| 19 | 58 | |
| 20 | 58 |
The tests ship with the module source, so you can run them on your own server.
Questions
What do I need from PostNL?
A PostNL business contract, an API key from Mijn PostNL, and your customer code and customer number.
Which product is used abroad?
Parcel EU (4907) for EU countries, as consumer or business shipment depending on the recipient; Parcel Non-EU (4909) with customs for other countries. You can also limit the shipping method to the Netherlands.
Can I cancel a label?
The PostNL APIs have no cancellation. Cancel in Odoo marks the barcode cancelled; do not hand the parcel over.
Does it use PostNL's v4 APIs?
Not yet: PostNL offers v4 on invitation. This module uses the v2 APIs every PostNL customer can use.
Questions about the module?
Tell us your carrier account and Odoo version. We reply within one business day.