Skip to content

Last-mile delivery for a regional distributor

This concept study explores how a consumer goods distributor could run daily deliveries to groceries and pharmacies: route planning, proof of delivery, cash collection and returns of expired stock.

A route line through stops that ends at a yellow destination point, with status cards below.

The challenge

This concept study considers a distributor supplying consumer goods to small groceries and pharmacies across several cities. The day starts with a supervisor assigning orders to drivers from memory and local knowledge, and each driver leaves with paper invoices that the shop owner signs on delivery.

A lot happens at the door that the office never sees. One shop accepts only part of the order, another returns stock close to expiry, a third pays in cash and a fourth by cheque. All of it is written on paper and typed in again at the end of the day.

The result is cash differences at shift reconciliation, returns that only reach inventory days later, and customers calling about their orders without getting a clear answer. Weak network coverage in some industrial areas makes all of this harder. Nor does the manager have a daily view of what each route costs, or which shops return goods more often than others.

Our approach

We mapped a full day for three roles: the supervisor who assigns orders, the driver who delivers them and the accountant who reconciles cash in the evening. From that map we identified the moments where differences arise, mostly at the door, when the order changes and the paper does not.

We then decided the driver app would work offline first, saving every delivery, collection and return on the device and syncing when the connection returns. Cities were divided into delivery zones with time windows, and we designed an overnight route planning model in Python that the supervisor adjusts in the morning for absences and urgent orders.

Finally, we defined the integration points with the ERP for invoicing and stock updates, so no figure is entered twice.

We also set clear rules for what happens when a shop refuses part of an order: the driver picks a reason from a fixed list, the amount due is adjusted automatically, and the sales rep responsible for that shop is notified at once.

The solution

The proposed solution is built as delivery and fleet modules on top of Nizam ERP, connected to its stock and accounts. In the morning the supervisor finds suggested routes on the map board, adjusts and approves them, and each driver receives their route in the app after a quick vehicle check.

  • At the door the driver records the quantities actually accepted, any returns and their reason, and the payment method, and the shop owner signs on screen.
  • The invoice is adjusted immediately to match what was accepted, and the shop receives a copy by message.
  • Returns reach inventory the same day, with their expiry date and reason.
  • Shift reconciliation compares cash handed in with what the app recorded, driver by driver.
  • Shops receive a link with the driver's expected arrival on delivery day.

A management board shows delivered, late and returned orders by zone, and the cost of each route from fuel and distance data in the fleet module. Every cash handover is recorded in the audit trail under the name of the person who received it.

Intended outcomes

  • At the doorThe invoice follows what was acceptedDesign goal: no re-entry at the end of the day.
  • CashReconciled per driver against the app recordDifferences surface within the same shift.
  • ReturnsIn inventory the same dayWith expiry date and reason attached.
  • CoverageA driver app that works offlineDesigned for areas with weak signal.

Key features

  • Overnight route planning with morning adjustment
  • Offline-first driver app
  • E-signature and invoice adjustment at the door
  • Returns recorded with expiry dates
  • Cash reconciliation per driver
  • Route cost from fleet data

Project gallery

Concept study: last-mile delivery for a regional distributor — diagram 1Concept study: last-mile delivery for a regional distributor — diagram 2