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 polling, plus Saudi National Address lookup and verification on contacts.

Buy on the Odoo App StoreThe catalogue

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.

Demo video

The video loads from YouTube (privacy-enhanced mode) when you press play. Watch on YouTube

Features

FeatureWhat it does
Waybills and labelsOne SPL waybill per delivery order with its PDF label, pieces and weight; product type DOM, INTOUT or INTIN chosen from the addresses.
ServicesDelivery model (door / retail point), shipment type (parcel / document), weekend or same-day delivery.
CancellationCancels the waybill at SPL until it is out for delivery; SPL's answer is shown.
ReturnsReturn waybills (ERTN) from the customer back to your branch, optionally from the portal.
TrackingWebhook 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 AddressShort address, building number, additional number and district on contacts; fill the address from the short address and verify it.
SecurityCredentials visible to administrators only and never logged; the webhook checks its key; waybill records can only be changed by the integration and administrators.

Setup

  1. 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).
  2. 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).
  3. Click Generate Webhook Key and give SPL the webhook address and key shown there.
  4. For the National Address: enter your api.address.gov.sa subscription key on your company (National Address (KSA) tab).

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 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.

Tests

Automated tests, last run
OdooTests passedLast run
1757
1857
1957
2057

The tests ship with the module source, so you can run them on your own server.

Questions

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).

Questions about the module?

Tell us your carrier account and Odoo version. We reply within one business day.

Contact us [email protected]