SPL Saudi Post Shipping
by CRM Smiths https://crmsmiths.com/odoo-apps/spl/?utm_source=odoo-store&utm_medium=listing&utm_campaign=cs_delivery_spl$ 149.00
SPL Saudi Post Shipping
SPL Saudi Post Shipping + National Address
Ship with SPL (Saudi Post) from Odoo: waybills and labels on validation, domestic, international and returns, cancellation, tracking by webhook, and Saudi National Address lookup on contacts.
Independent integration by CRM Smiths, using the SPL Partners Platform API and the National Address API. Not affiliated with or endorsed by SPL. Requires an SPL business contract with the UAT and production API credentials SPL issues. Built against SPL's published request documentation; it has not been tested against SPL's own systems, so run your first shipments in SPL's UAT.
What it does
Adds SPL (Saudi Post) as a provider for Odoo shipping methods. When a delivery order is validated, the waybill is created with SPL (domestic, international outbound or inbound) and its PDF label is attached.
SPL pushes tracking events to Odoo through a webhook as they happen, and a scheduled bulk lookup fills any gap. Contacts get the Saudi National Address: short address, building and additional number and district, filled and verified through the National Address service.
Screenshots

A validated delivery order: the SPL waybill, the PDF label in the chatter and the SPL Shipments button.

The SPL tab of the shipping method: API credentials (password masked), customer, branch and branch address codes, delivery model and shipment type.

SPL Shipments: every waybill with its status from SPL's event codes, including a delivery exception.

A delivered waybill with its SPL events (event codes and names), Reprint Label and Update Tracking.
Supported versions
Odoo 17.0, 18.0, 19.0 and 20.0, Community edition. The same automated test suite (57 offline tests) passes on all four versions.
Depends on: Delivery for Inventory (stock_delivery) and Discuss (mail); Python requests.
Setup
- Get an SPL business contract and the API credentials and codes from SPL (API user name and password, customer code, branch code, branch address code).
- Inventory > Configuration > Shipping Methods > New, provider SPL (Saudi Post); enter them on the SPL tab and click Test Connection (it signs in; nothing is created).
- Click Generate Webhook Key and give SPL the webhook address and key shown there.
- For the National Address: enter your api.address.gov.sa subscription key on your company (National Address (KSA) tab).
Features
| Feature | What it does |
|---|---|
| Waybills and labels | One SPL waybill per delivery order with its PDF label, pieces and weight; product type DOM, INTOUT or INTIN chosen from the addresses. |
| Services | Delivery model (door / retail point), shipment type (parcel / document), weekend or same-day delivery. |
| Cancellation | Cancels the waybill at SPL until it is out for delivery; SPL's answer is shown. |
| Returns | Return waybills (ERTN) from the customer back to your branch, optionally from the portal. |
| Tracking | Webhook events as they happen plus a scheduled bulk lookup; status from SPL's published event codes; a chatter note on delivery or a delivery exception. |
| National Address | Short address, building number, additional number and district on contacts; fill the address from the short address and verify it. |
| Security | Credentials visible to administrators only and never logged; the webhook checks its key; waybill records can only be changed by the integration and administrators. |
What it does not do
- Price quotes from SPL (no rate service is published): prices come from the fixed price or pricing rules.
- Pickup and drop-off variants, cash on delivery, retail point search.
- A tested connection to SPL: SPL publishes no sample answers, so the module reads them defensively; confirm with SPL in UAT before going live.
FAQ
Do I need a contract with SPL?
Yes. SPL issues the API credentials and the customer, branch and branch address codes with a business contract.
How does tracking reach Odoo?
SPL calls the webhook address of your database with the key you generate; a scheduled lookup also runs every few hours.
Does the National Address need its own account?
Yes, a subscription key from api.address.gov.sa (a free development key allows 100 calls a month).
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 SPL or the National Address service.
| Availability |
Odoo Online
Odoo.sh
On Premise
|
| Odoo Apps Dependencies |
•
Discuss (mail)
• Invoicing (account) • Inventory (stock) |
| Lines of code | 2101 |
| Technical Name |
cs_delivery_spl |
| License | OPL-1 |
| Website | https://crmsmiths.com/odoo-apps/spl/?utm_source=odoo-store&utm_medium=listing&utm_campaign=cs_delivery_spl |
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