Back to all posts
Architecture8 min read·November 22, 2026

Software for a Multi-Branch Business: What to Plan Early

TB
ThynkBlox Team
Engineering

Software for a multi-branch retail business must treat the branch as a first-class idea from the start. Decide early how stock and prices are held per branch, how goods move between branches, who can see what, how head office sees the whole, what happens when a branch loses its connection, and how documents are numbered. These are cheap to design in and costly to retrofit.

Why does the move from one branch to many change the software?

A single-shop system quietly assumes one stock count, one price list, one set of staff and one sequence of invoice numbers. Adding a second branch breaks each of those assumptions at once.

The problem is rarely the extra screens. It is that existing records have no "where" attached to them. If stock, sales and users are not tied to a branch from the beginning, you must work out later which branch each old record belongs to, and some of that history will be guesswork.

Which decisions should you make before building?

Use this table as a brief for your build partner. Each row is a decision, the realistic options, and what goes wrong if nobody makes it.

DecisionOptionsWhat goes wrong if skipped
Stock locationOne shared pool, or a separate quantity per branchStaff sell items that are physically at another branch, and counts never match the shelf
PricingOne price list for all, or branch-specific prices and overridesPrices are edited by hand at each branch and drift apart without anyone noticing
Inter-branch transfersDirect stock edits, or a transfer document with states such as requested, dispatched, in transit and receivedGoods vanish from one branch before they appear at another, and nobody can say where they are
PermissionsEveryone sees everything, or access scoped by branch and roleA cashier at one branch edits another branch's records, or a manager cannot see their own
Head-office viewsLive combined reports, or periodic consolidationOwners add up branch spreadsheets by hand and the totals disagree
Offline behaviourBranch stops when offline, or branch keeps selling and syncs laterA short outage halts a busy counter, or offline sales collide when they sync
Document numberingOne global sequence, or a sequence per branchNumbers are duplicated, have gaps nobody can explain, or cannot be traced to a branch

How should per-branch stock and pricing work?

Hold stock as a quantity per product per branch, and total it only when you need a combined figure. A single shared number hides the fact that stock in one branch cannot serve a customer in another.

For pricing, choose a default list and allow branch-level overrides that are recorded with who changed them and when. This keeps most prices consistent while letting a branch respond to local conditions. Decide too whether a branch may discount at the counter, and within what limit.

How do inter-branch transfers and in-transit status work?

A transfer is a movement with a start and an end, not a single edit. When goods leave a branch they are no longer on its shelf, but they have not yet arrived anywhere.

Record that gap as an in-transit state. A simple flow is: requested, dispatched, in transit, received. Stock leaves the sending branch at dispatch and joins the receiving branch only when someone confirms receipt.

Also decide how to handle differences. If ten items left and eight arrived, the receiving branch should record the shortfall against the transfer so it can be investigated instead of silently absorbed.

How should branch-level permissions be designed?

Separate who a person is from what they may do, and add a third question: at which branch. A branch manager may approve discounts at their own branch only. A stock controller may receive transfers at one location. Head office may view all branches.

Decide whether a user can belong to several branches, which is common for area managers. Our guide to authentication versus authorization explains the difference and why scoped permissions are worth designing before screens are built.

What should the head-office view show?

Head office needs a consolidated view that is built from branch records, not retyped from them. Typical needs are combined sales, stock by branch, transfers still in transit and comparisons between branches.

Decide how fresh the view must be. Live figures suit stock and daily sales. A periodic roll-up may be enough for month-end reviews. Be clear on which figures are final and which may still change when offline branches sync.

If your business is one company with several branches, that is different from selling the same software to separate companies. See single-tenant versus multi-tenant software for how that choice affects data separation.

What happens when a branch loses its connection?

Decide this in advance, per activity. Selling at the counter usually cannot stop. Approving a large transfer or changing a price list may reasonably wait.

If a branch keeps working offline, its changes must be merged later. Two branches may touch the same record, or an offline sale may use stock that was already moved. Plan the rules for resolving those cases; two-way data sync and conflict resolution covers the options.

Agree what staff see while offline, so they know their stock figures may be out of date.

How should documents be numbered per branch?

Give each branch its own sequence, usually with a branch prefix, for invoices, receipts, transfer notes and similar documents. Staff can then recognise where a document came from, and branches do not compete for the next number.

Decide the rules for gaps: cancelled documents should stay on record and be marked cancelled, not deleted. Offline branches need numbers that cannot clash when they reconnect, which is another reason to keep sequences separate by branch. Where invoice numbering is set by law, confirm the format with your accountant before you fix the scheme.

What does going from one branch to three look like?

All numbers below are illustrative.

A shop runs from one location with one stock count and one invoice series. The owner opens two more branches.

  1. Add a branch to every stock, sale and user record. Existing records are assigned to the original branch.
  2. Split stock into a quantity per product per branch. If the single count was 100, it becomes 100 at the original branch and zero at the new ones.
  3. Keep one default price list, with an override at the second branch only.
  4. Introduce transfers. Thirty units are sent to the second branch. Until received, they show as in transit, not at either shelf.
  5. Give each branch manager access to their own branch, and give the owner a combined view.
  6. Start a numbered series per branch, such as one prefix for each location.

Because the first step was done early, nothing has to be guessed about old records.

What common mistakes should you avoid?

Treating branch as a report filter only. If branch is added late as a label, transactions and permissions will not respect it.

Editing stock directly to move goods. It leaves no trail and no in-transit state.

Assuming connectivity. Test what a branch can and cannot do offline before launch.

One number series for everyone. It causes clashes and makes audits harder.

Over-building for a business that will stay small. If you will only ever have one location, most of this is unnecessary. A simple structure that can gain a branch field later may be enough, though adding it early costs little.

Frequently asked questions

Do we need all of this for two branches?

Not all at once, but the underlying structure should exist. Tie records to a branch and keep stock per branch from day one. Features such as detailed approval flows can follow later, once the foundations will not need rework.

Should every branch see the other branches' stock?

Often yes, in read-only form, so staff can tell a customer where an item is held. Editing should stay limited to the owning branch. Decide this per role, because a cashier and an area manager need different levels of visibility.

Can branches work if the internet goes down?

They can, if the software is designed for it. Decide which actions continue offline, such as sales, and which wait. Plan how changes are merged on reconnection so duplicate numbers and stock conflicts are handled by rules, not by staff.

When should head office see consolidated figures?

Match freshness to the decision. Daily sales and stock checks benefit from near-live figures. Month-end reviews can use a periodic roll-up. Mark any figure that may still change after offline branches synchronise, so nobody treats it as final.


*Planning software for more than one branch? Start a conversation →*

Ready to build?

Let's turn these ideas into your next product.

Start your project