Odoo delivery carrier integration with the Pošta Srbije WSP REST API.
Provides real-time shipping rate quotations based on actual parcel weight for domestic Serbia shipments.
- Real-time postage quotation via WSP transaction Id=11 (PostarinaPosiljke)
- Separate test / production credentials switched via the carrier's built-in Environment toggle
- Configurable service type (IdRukovanje) per delivery carrier record
- ExtBrend / ExtMagacin support for B2B branded shipments
- Volume discount notes surfaced as order warnings from API response
- Odoo 19.0 (Community or Enterprise)
- A Pošta Srbije B2B account with WSP API credentials
- Products must have a non-zero
weightfield (the API cannot quote zero-gram shipments)
- Clone or download this module into your Odoo addons path:
git clone https://github.com/AdriaMartHQ/delivery_posta_srbije.git /path/to/addons/delivery_posta_srbije- Update the module list and install:
odoo-bin -c /etc/odoo.conf -d your_db -u delivery_posta_srbije --stop-after-init- Go to Settings > Inventory > Shipping Connectors
- Fill in your Pošta Srbije credentials (TEST and/or PROD)
- Set ExtBrend and ExtMagacin as assigned by Pošta Srbije during onboarding
- Create a new Delivery Method with provider type "Pošta Srbije"
- Set the IdRukovanje (service code) per your agreement — default 58 matches the official docs
| Environment | Endpoint |
|---|---|
| Test | http://212.62.32.201/WspWebApi/transakcija |
| Production | https://api.posta.rs/transakcija |
API documentation: https://www.posta.rs/wsp-help/pocetna.aspx
- Phase 2: B2B manifest creation + label download (Id=73)
- Phase 3: Tracking sync (Id=63/64)