Inventory · Couriers
Courier booking and COD: from delivery order to cash in the bank
Daftiq books parcels with Leopards or PostEx straight from a delivered delivery order. You get the tracking number and label, the status follows the courier, a returned parcel goes back into stock, and the courier's cash-on-delivery statement is matched parcel by parcel and booked into your bank against the right invoices.
Last updated:
- Where
- Inventory → Couriers & shipments
- Couriers
- Leopards and PostEx (sandbox for testing, then live)
- Statuses
- Booked, in transit, delivered, returned, cancelled
- COD
- Statement matched per tracking number, then booked as customer payments
- Module
- Inventory
Who is courier booking for?
Online sellers, Facebook and Instagram shops, and distributors who send parcels across Pakistan with cash on delivery. They usually book on the courier's portal, copy tracking numbers into a sheet, and spend days matching the courier's COD payment to orders. In Daftiq the parcel is booked from the same delivery order that took the goods out of stock, so the stock, the invoice, the parcel and the money stay linked.
How do I connect my Leopards or PostEx account?
- Open Inventory → Couriers & shipments and click Add account.
- Choose the Courier, give the account a name and choose the Mode. Sandbox (test) never calls the courier, so you can try the flow first.
- When the courier gives you API access, enter the API key and API password (Leopards) or the PostEx merchant token, and switch the mode to Live.
- Copy the Status webhook address shown on the account into the courier's portal, so status changes arrive by themselves. New secret makes a fresh address if the old one leaked.
How do I book a parcel?
- Validate the delivery order for the sale. Only a delivered (validated) delivery order can be booked.
- On the delivery order click Book a courier.
- Choose the courier account and check the consignee name, phone, address and city, the Weight (kg), the Pieces and the Cash to collect (COD).
- Click Book shipment. Daftiq sends it to the courier and saves the tracking number and the label.
- Open Label to print it, and stick it on the parcel. One delivery order has one live shipment, so a double click never books twice.
How does the status stay up to date?
The courier pushes status changes to your webhook, and Check status on a shipment asks the courier at any time. Each change is written in the Status history with its time and source. Status only moves forward: a late message never reopens a delivered or returned parcel.
What happens when a parcel comes back?
When the courier marks a parcel returned and it reaches your godown, click Receive return into stock. The delivery order is cancelled, so the goods come back into the warehouse. If that delivery was the invoice's only one and nothing was paid on it, the invoice is cancelled too, reversing the sale, tax and cost of goods. Otherwise (another delivery, a payment, or an invoice already reported to FBR) the shipment notes that you need to issue a credit note.
How do I match the courier's COD statement?
- Under COD statements, choose the courier account, the statement date and reference, and enter each tracking number with the amount paid.
- Click Match statement. Each line gets a result: ok, short, over, unknown, not delivered or duplicate (already settled on an earlier statement).
- Open the statement, choose the Bank account and Date received, and book it. Every matched parcel settles its invoice with a cleared customer payment, one payment per customer, never more than the invoice still owes.
Only someone who records customer payments, with an active bank account, can book a statement. Unknown, duplicate and not-delivered lines are never booked, and a statement is booked once.
Frequently asked questions
Which couriers does Daftiq support?
Leopards and PostEx are built in. A sandbox mode lets you test without calling the courier.
Can I book a courier before the delivery order is validated?
No. Validate the delivery order first, so the goods have left stock before the parcel is booked.
Does a returned parcel go back into stock?
Yes, when you click Receive return into stock. The delivery order is cancelled and the goods return to the warehouse; the invoice is cancelled or flagged for a credit note.
How is COD money recorded?
Match the courier's statement, then book it into the bank account the courier paid. Each matched parcel pays its invoice through a normal customer payment.
Can customers track their parcel?
Yes. Logistics AI gives your company a public tracking page where a customer enters the tracking number and the last 4 digits of their phone.
In this group: Inventory
- Goods Receipts (GRN) for Your Godown
- Delivery Orders and Delivery Challans
- Gate Pass Software: Inward, Outward, Returnable
- Stock Count and Cycle Counting Software
- Reorder Rules and Low Stock Alerts
- Bin Locations and Warehouse Routes
- Warehouse Tasks: Putaway, QC, Pick and Pack
- Mobile Warehouse Barcode Scanner
- Lot, Serial Number and Expiry Tracking
- Lot Traceability: Backward and Forward
- Stock Valuation: FIFO, Average or Standard Cost
- Landed Cost: Freight, Customs, Clearing
- Stock Ledger and Inventory Dashboard
- Stock Transfers Between Warehouses
- Store Requisitions and Material Issue
- Courier Booking: Leopards, PostEx and COD
- Kits and Bundles: Sell Sets of Products
- Consignment Stock: Vendor Goods and Dealers
- Weighbridge Software: Truck Weighing Tickets
- Units of Measure: Buy in Cartons, Sell Pieces
- Product Variants: Size, Colour and More
- Fleet Management: Vehicles, Fuel, Cost per km
- Vehicle Loading for Distributors
- Field Service Jobs on the Phone
- Logistics AI: Routes, Delays, Fuel, Drivers
- Retail AI: Demand Forecast, Reorders, Pricing
Stop matching COD by hand
Book, track and settle every parcel from the delivery order. See all Inventory features or the Inventory module.