Odoo 19 app

Pošta Slovenije Shipping

Validate the delivery order and Odoo sends the e-data to Posta Slovenije, gets the parcel numbers back and files the label PDF on the transfer.

Posta SlovenijeSlovenia PosteSpremnicaMojPaketHitra postaShipping labelOdkupnina CODCN23

What it does

Create a delivery method of the type Posta Slovenije, enter the eSpremnica login and contract numbers your Posta Slovenije contract administrator gave you, and pick the shipment type: MojPaket Midi, Maxi or Mini, Connect paket, Hitra posta, an international parcel or a registered letter. When a delivery order is validated, Odoo sends its e-data to the eSpremnica eOddaja service, one parcel per package with its weight, the additional services you chose, cash on delivery and the declared value. A few seconds later it asks for the processing status, writes the parcel numbers as the tracking reference and stores the label PDF in the chatter, in label size or four to an A4 sheet. If the numbers are not ready yet, a job picks them up every 15 minutes. Refused data shows the error Posta Slovenije returned, row by row.

Who it is for

  • Slovenian web shops sending MojPaket parcels. A shop that posts most orders as MojPaket Midi or Mini can stop typing addresses into eSpremnica. Validating the delivery order sends the e-data, and the parcel numbers land on the transfer as its tracking reference.
  • Sellers collecting odkupnina on delivery. If many customers pay the postman, the delivery method can collect the order total or only what is still unpaid. Choose ODK with a UPN slip (QR, OCR or plain) or ODKBN paid straight to your IBAN.
  • Warehouses printing a stack of labels each afternoon. The label PDF for every parcel of a transfer is attached to its chatter, either in label size or four labels on an A4 sheet. The oddajni popis for the submission is one button away when the van arrives.
  • Exporters posting parcels outside the EU. For Serbia, Bosnia or other non-EU addresses the CN23 lines are built from each product's HS code, origin, weight and value. Odoo stops the shipment before sending if a product has no HS code.

Features

Shipment e-data from Odooone record per delivery order, one parcel per package, weights in grams, sent when the transfer is validated
Parcel numbers backread from the processing status and written as the tracking reference
LabelsPDF label for all parcels of the transfer, label size or A4 with four labels, get it again any time
Submission listthe oddajni popis of a submission as PDF in one click
Cancelcancelling the shipment in Odoo cancels the e-data of each parcel at Posta Slovenije
Cash on deliveryodkupnina with a UPN payment slip (QR, OCR or plain) or odkupnina brez naloga to your IBAN, for the order total or what is still unpaid
Servicesdeclared value plus any service code from the Posta Slovenije list: PR, DOB, AR, D+1, PNP...
Abroadcountry codes, non-delivery instruction and content category; outside the EU the CN23 customs lines come from the products (HS code, origin, weight, value)
Checks before sendingweight limit of the shipment type, incomplete addresses and missing HS codes are caught in Odoo
Shipment logevery submission with its GUID, status, parcel numbers, errors and the data sent
Test and productionthe test server until you switch the delivery method to production

Setting it up

  1. Ask your Pošta Slovenije contract administrator for the eSpremnica web service username and password and your KomitentId, PogodbaId, PodruznicaId and PostaId (plus PogodbaPPNId only if the recipient pays postage).
  2. Install the module. It needs Sales and the delivery framework (stock_delivery), both in Community.
  3. Open Inventory > Configuration > Delivery Methods, create a method and set Provider to Pošta Slovenije.
  4. On the Pošta Slovenije tab enter the login and contract numbers and press Test Connection. The method stays on the test server until you switch it to production.
  5. Pick the Shipment Type, any extra service codes such as PR or D+1, Declared Value, Default Weight, Label Paper and the Price Charged, then set the cash on delivery mode and, for ODKBN, your IBAN.
  6. Validate an outgoing delivery that uses this method. Open the Pošta Slovenije smart button on the transfer to see the shipment, its parcel numbers and the label.

Pošta Slovenije Shipping: questions

Does it fetch live postage prices?

No. The eSpremnica service has no price call, so the module charges the fixed Price Charged you enter on the delivery method.

What if parcel numbers are not ready when I validate?

The shipment stays in Waiting for Numbers. A scheduled job checks again every 15 minutes, or you can press Check Status Now on the shipment record.

Can I cancel a shipment after sending it?

Yes. Cancelling the shipment in Odoo calls the storniranje of each parcel's e-data, and the chatter of the transfer records the cancellation. If Pošta Slovenije refuses, the error is shown and nothing is changed in Odoo.

Who can see the eSpremnica password?

The username, password and contract numbers are limited to the Settings administrator group. Inventory users can send shipments, fetch labels and check status, but cannot read the credentials.

Does it track parcel status inside Odoo?

It does not pull scan events. The tracking reference links to the sledenje.posta.si page, and you can change that link in the Tracking Page field.

Do I need Enterprise?

No. It depends only on stock_delivery and sale_management and runs on Odoo 19 Community or Enterprise. Each shipment record carries its company, so several companies can each use their own delivery method.