Van sales and DSD Offline-first on the road Vehicle stock and end-of-day reconciliation

Custom direct store delivery (DSD) software development

In direct store delivery, the driver is often the salesperson too: they sell from the stock in their van, adjust to what the store needs and invoice on the spot. That makes the van a mobile warehouse with its own stock records, and a connection to the office is something you can't count on.

Why van sales needs different software from delivery

In direct store delivery, goods go straight to the point of sale, bypassing the retailer's distribution centre. Within that model there are two ways of working that look alike. With pre-selling, a sales representative takes the order and the driver delivers what has already been sold. With van sales, the driver is the salesperson: they decide with the store manager what is needed, load it from their own stock and invoice immediately.

That second way of working turns the software upside down. The van is not a means of transport but a warehouse location with its own balance per item, and the sales document is created at the door. Assumptions that are self-evident at the office no longer hold: the price doesn't come from a central list and the invoice number doesn't come from a central counter.

If your question lies elsewhere, another page will suit you better. If your driver only delivers orders sold in advance and the delivery confirmation is the final step, you're looking for a proof of delivery app. If it's about the wider working day with route lists, tasks and planning, see the driver app. If the bottleneck is in planning, start with a transport planning API.

The van as a stock location

Every vehicle has its own balance per item. What is on van A cannot be sold by van B.

Invoice at the door

Price and customer agreement are determined on the device and recorded on the line.

Two opposing flows

Packaging, deposits and returns flow the other way and are the most often forgotten.

Offline is the normal state, not a fault

The driver is in a loading bay beneath a supermarket, in a back street or on a site where the signal just won't cooperate. Software that needs a connection for a price or a number then grinds to a halt, and so does the driver. Offline-first is therefore not an emergency mode: the device is where the transaction originates.

That requires an explicit choice about what the device may decide for itself. Prices and customer agreements are stored locally, with the version used fixed on the line. Each device gets its own invoice number series; the Dutch Tax Administration's invoicing requirements allow multiple series as long as every number is unique and the series is traceable. Credit limits are loaded along with the stock, because fetching them online fails precisely when they're needed.

When synchronising, what matters is that a sale is not a request but a fact that has already happened. Visits are sent up as events, with device ID, sequence number and idempotency key, so that a repeated upload never produces a second invoice. Master data flows the other way and overwrites the device.

The real conflicts lie in scarcity, not in changed fields. Two drivers claiming the same remaining batch can only happen if both devices, offline, write off from the same central pool. The solution is for each vehicle to be its own location. Swapping between vehicles can then only be two-sided: one books out, the other confirms with a scan, and as long as one side is missing the batch can't be sold by anyone. More cumbersome than a shared stock pool, and the only variant that stays watertight offline.

  • Prices and customer agreements stored locally, version fixed on the line
  • Own invoice number series per device
  • Write off down to zero, never negative vehicle stock
  • Resumable sync per visit, not one upload per day
  • Transfers between vehicles only with two-sided confirmation
  • Exceptions go to a worklist, no silent corrections

The end-of-day reconciliation is the moment of truth

At the end of the run, three counts have to reconcile: what was unloaded, what the visits show was sold and taken back, and what physically comes back. In the parcel world this is called route accounting; SAP has a settlement cockpit for it. More important than the name is when a discrepancy becomes visible. If it only surfaces the next morning, the driver has gone and the reconstruction relies on memory.

Discrepancies rarely arise from ill will: a mispick during loading, breakage, a sample left behind, a variant that looks almost identical to its neighbouring item, and above all confusion between cases and consumer units. A crate counted as twelve bottles one day and as a single crate the next produces an unexplainable difference.

A workable close-out therefore reconciles at intake, per item, and forces every discrepancy to be given a category: breakage, return, giveaway or unexplained. Unexplained discrepancies never disappear entirely, and a system that pretends otherwise gets bypassed. What you can require is that releasing a discrepancy is a recorded action, so that patterns per route become visible. Cash discrepancies are closed separately from stock discrepancies.

What moves against the sales flow

Packaging, deposits and returns

A deposit is not revenue but a liability that moves back and forth and belongs separately on the invoice. Verpact runs the Dutch deposit system and publishes the rates every year, so your software has to handle a rate change with an effective date without rewriting old receipts. Crates, roll containers and pallets work as an exchange system: what goes in full should come back empty, and the difference is a running account per point of sale. For recording this, GS1 code lists for packaging exist.

In addition, unsold items come back. Regulation (EU) No 1169/2011 has two date markings that work out differently: best before concerns quality, use by concerns food safety. At intake, the system records per item what happens: back into saleable stock, rejected or written off. For chilled products this depends on temperature, and the hygiene code for transport, storage and distribution prescribes registration there.

Route, time window and unloading point

Shops have delivery windows, shared loading bays and unloading points behind the premises. A route that works on paper but misses the window costs not minutes but a whole trip: the van returns with the consignment still on board and the shelf stays empty. The window is therefore a hard constraint, and waiting time at a loading bay counts as driving time.

Vehicle-related restrictions come on top of that. Municipalities are introducing zero-emission zones for urban logistics, which means not every van can serve every customer. If you cross the border with vans, take into account the tachograph obligation that applies from 1 July 2026 for vehicles over 2,500 kilograms in international transport and cabotage; nationally the threshold remains 3,500 kilograms.

The visit sequence also determines the loading sequence: if the planner reshuffles the route without the van being loaded differently, the first consignment ends up at the back.

Not sure about a large project yet?

Test your idea first: a working prototype in 1 day

With OneDayBuild, we make your idea tangible in a single day for €1,150, so you know whether further development is worth the investment. Decide to go ahead with the full build? Then we deduct the cost in full.

View OneDayBuild →

Integrations, messages and frameworks

On the office side, the van app connects to your ERP or warehouse system, where the van is a stock location and each issue is a posting. On the customer side, chains often work with GS1 messages such as ORDERS, DESADV with an SSCC per shipping unit, RECADV for what was actually received and INVOIC for the invoice.

There is a tension here that you should resolve in advance. Sending an advance shipping notice presupposes that the quantity is fixed, whereas in van sales it only becomes clear at the door what the shop takes. For each customer you then choose a variant: build the message after the visit from the actual quantity taken, or let deviations run through the receipt confirmation. That is an agreement with your customer, not a setting. For temperature, the requirements supervised by the NVWA apply.

Offline-first mobile app Local database on the device Event-based sync Mobile receipt printer Payment terminal on the van GTIN, GLN and SSCC EDI message flow ERP and WMS integration Temperature logging

When an off-the-shelf package is the better choice

DSD is not uncharted territory. SAP offers a direct store delivery solution with route accounting and a settlement cockpit, there are sales apps that connect to Microsoft Dynamics 365, and in drinks and foodservice distribution there are mature route accounting packages in which end-of-day closing, cash flow and returnable packaging have been refined over many years. If you recognise your process in those, you are buying a solved problem.

Custom development makes sense when your sales model differs from what those packages assume: delivery on a returns basis, sales by weight, or per-store price agreements that do not fit the standard structure. And above all when it comes to offline reality. Modules that allow offline entry but still need a connection for pricing, credit checks or number assignment do not work on real routes. Test that before you choose, in a loading bay and not in a demo setup.

Be honest about the burden of custom software too. Accountability shifts to you: which version of the app ran on which device, how the invoice sequences are built, how temperature logging is safeguarded. That requires documentation, version control and logging, and maintenance is part of the decision because your fleet starts up on it every morning. A hybrid approach is often the wisest: keep the ERP standard and build only the van app to your own specification.

  • Your sales model differs from standard pre-sales or from sales
  • Per-store price agreements do not fit the standard structure
  • The package does not properly track returnable packaging and returns
  • The existing module turns out unable to complete everything offline
  • A hybrid setup is enough: standard ERP, custom on the van

Frequently asked questions about DSD software

A proof of delivery app records that a pre-sold order has been delivered: scan, signature, discrepancy, photo. A driver app is about the working day: route list, tasks and contact with planning. DSD software adds selling to that, with pricing, van stock, invoicing and end-of-day closing. First establish which of the three is your bottleneck.

That is the requirement the whole design stands or falls on. A loading bay is often a concrete pit with no signal, and a driver cannot wait for coverage. The device therefore decides on price, stock and invoice number itself, and the end-of-day closing is also produced locally. Mind the difference between entering offline and completing offline: if a package can only do the first, you will still get stuck.

Often that is the wisest choice. SAP has a DSD solution with route accounting and a settlement cockpit, there are sales apps for Microsoft Dynamics 365, and in drinks distribution there are mature route accounting packages. With a common sales model you are buying a solved problem. Custom development only makes sense with a deviating sales model or a module that cannot complete offline.

By setting three counts against each other: what was unloaded, what was sold and taken back according to the visits, and what comes back. Show the difference at check-in, per item and at packaging level. Differences never disappear entirely; the aim is that they get a name and that their release is recorded.

With custom software, the source code should sit in a repository you own, together with the environments and the documentation. Put that in the contract, even if the collaboration is going well. What matters more is whether another party could take it over, and that depends on readable code, up-to-date documentation and mainstream technology.

That the burden of proof sits with you rather than with a package supplier. If you transport refrigerated products, your process falls under Regulation (EC) No 852/2004, as implemented through the Hygiene Code for transport, storage and distribution. For invoices, the Dutch Tax Administration's invoicing requirements apply, even if the number is generated on a handheld terminal.

Related services

Proof of delivery app

For routes delivering pre-sold orders, where the delivery confirmation is the final step.

Building a driver app

The wider working day on a single device: route list, tasks, documents and contact with planning.

Transport planning API

Link routes, time windows and vehicle profiles to your planning system.

Your route as the starting point, not a demo set-up

Tell us what is being loaded, what the driver may decide at the customer's site and where the end-of-day close-out currently gets stuck. Then we'll decide together whether a standard package is enough or whether custom software on the vehicle is the better route.

Edit content