Skip links
Table of Contents
    blog_placeholder

    ERPNext Multi-Company and Multi-Warehouse Setup: A Practical Guide

    If you run more than one legal entity — a manufacturing company and a trading arm, a domestic business and a Middle East branch, a parent with a few sister concerns — the question isn’t whether ERPNext can technically hold multiple companies. It can. ERPNext multi company setup works by letting one ERPNext instance host several separate companies, each with its own chart of accounts, fiscal year, and warehouses, while linking them through inter-company transactions whenever they buy from or sell to each other. The real question is whether that’s the right structure for your group, and what you need to get right before you configure anything.

    That second question is the one most guides skip. This one doesn’t.

    What ERPNext Multi Company Setup Actually Means

    In ERPNext, a Company is a top-level entity with its own chart of accounts, fiscal year, currency, and set of default accounts (bank, receivables, payables, and so on). You can create as many companies as you need inside a single ERPNext instance, and each one is financially independent: a sales invoice raised under Company A does not touch Company B’s books unless you deliberately connect them.

    Warehouses sit underneath companies, not alongside them. Every warehouse belongs to exactly one company. So if your group has a manufacturing unit in Ahmedabad and a distribution unit in Dubai, and you set them up as two companies, each will have its own warehouse tree — you can’t casually stock-transfer between a warehouse in Company A and a warehouse in Company B the way you would between two warehouses inside the same company. That distinction trips up more founders than anything else in this setup, and it’s worth sitting with before you build anything.

    Within a single company, though, multiple warehouses are straightforward. A company can have a raw material store, a finished goods warehouse, a rejection or QC holding area, and a warehouse per branch or retail location, all reporting into the same set of books. Stock transfers, valuation, and reorder levels all work per-warehouse but roll up to one consolidated inventory picture for that company.

    One Instance or Separate Instances — The Decision That Actually Matters

    Before you configure a single warehouse, decide this: should your entities live in one ERPNext instance as multiple companies, or should some of them run as entirely separate ERPNext installations?

    One instance, multiple companies, tends to make sense when:

    The entities are related and you'll regularly need consolidated visibility: total group revenue, combined cash position, or a shared customer/vendor master.

    They share people. The same finance team closes books for both, the same procurement team buys for both, the same MD wants one dashboard.

    They trade with each other reasonably often, such as a manufacturing company selling to its own distribution arm, which is exactly what inter-company transactions in ERPNext are built to handle.

    Separate instances tend to make more sense when:

    The entities are only loosely related: a shared holding structure but genuinely independent operations, teams, and systems.

    Data segregation matters for regulatory, ownership, or confidentiality reasons beyond what role-based permissions can reasonably enforce.

    The businesses differ enough in process, such as a manufacturing operation paired with an unrelated services business, that sharing item masters, workflows, and customizations would mean constantly working around each other's configuration.

    There’s no universally correct answer here; it depends on how your entities actually operate, not on what looks tidier on paper. Founders often default to “one instance for everything” because it seems simpler, then find a year or two in that two unrelated businesses have been quietly fighting over shared item codes and approval workflows the whole time.

    Not sure yet which side of that split fits your business? That usually depends on details specific to your entities, not a generic rule — worth talking through before you build around the wrong assumption.

    If you’re still weighing what a setup like this costs to get right, we’ve broken down ERPNext implementation costs in India separately, worth reading alongside this if you’re at the budgeting stage.

    How Inter-Company Transactions Actually Work

    If you go with one instance and multiple companies, and those companies trade with each other, ERPNext has a real mechanism for it, but it’s worth understanding what it actually requires, not just that it exists.When Company A sells to Company B inside the same instance, you’re not just recording one transaction; you’re recording a sale from A’s books and a matching purchase in B’s books, and ERPNext can auto-generate the second document from the first. That’s genuinely useful for a manufacturing-to-distribution flow. But it only works cleanly if:

    Both companies are set up with compatible item masters. The item being transferred needs to exist, correctly, in both companies.

    Someone has thought through transfer pricing: what price Company A "sells" to Company B at, since that affects both companies' reported margins.

    Your finance team understands that inter-company transactions need to be excluded when looking at true consolidated (group-level) numbers, since otherwise you'll double-count revenue that's really just inventory moving internally.

    This is the part that generic setup guides tend to gloss over, because it’s not a configuration screen; it’s a decision about how your group actually wants to represent internal trade in its books. Get it wrong and your consolidated P&L will look better, or worse, than reality until someone catches it.

    Common Mistakes in Multi-Company, Multi-Warehouse Setups

    A few patterns show up repeatedly in setups that need to be redone later:
    Using warehouses as a substitute for companies

    If two business units need genuinely separate financials, statutory compliance, or ownership structures, they need to be separate companies, not two warehouses under one company with a workaround for keeping the books apart. This one is expensive to fix after go-live because it means re-platforming transaction history.

    Not planning the chart of accounts before creating additional companies

    Each company gets its own chart of accounts, and ERPNext will let you set each one up differently. That flexibility becomes a liability if your finance team later wants comparable, consolidated reporting across companies and the account structures don't line up.

    Underestimating warehouse-level permissions

    With multiple warehouses, especially across branches or locations, who can see stock, approve transfers, and adjust valuation needs to be scoped deliberately. Left on defaults, this either locks out people who need visibility or exposes stock data across locations that shouldn't see each other's numbers.

    Treating this as a one-time setup decision

    Company and warehouse structure isn't something you configure once and forget. New branches, new legal entities from expansion, or a decision to spin off a division all mean revisiting the structure. Setups that assume the current shape is permanent tend to need rework within a couple of years.

    These are patterns we see often, including in structures we’ve been brought in to untangle after another vendor or an in-house team set them up without thinking through the company/warehouse boundary first.

    For the warehouse side specifically — barcode tracking, bin-level accuracy, and multi-location stock visibility — our warehouse management system work covers what a properly configured multi-warehouse setup looks like in practice once the company structure itself is settled.

    Frequently Asked Questions

    You can add a company at any point; ERPNext doesn't require every entity to be defined upfront. But adding one later means setting up its chart of accounts, warehouses, and any inter-company links from scratch, and retrofitting reporting that was built around your original structure. It's possible, just more work than getting the structure right initially.
    They can, but they don't have to. Items can be shared across companies or restricted to specific ones, depending on how you configure it. Shared item masters make inter-company transactions and consolidated reporting easier; company-specific items give you more separation if the businesses genuinely sell different things.
    Not directly. A stock entry can move inventory between warehouses within the same company, but moving stock between warehouses that belong to different companies requires an inter-company transaction, effectively a sale and purchase between the two companies, not a simple transfer.
    It typically adds implementation time, mainly for chart-of-accounts planning, inter-company transaction configuration, and consolidated reporting setup, rather than adding proportional cost per company. The bigger cost driver is usually how many of your companies actually trade with each other, since that inter-company logic is where most of the additional setup work lives.
    Not necessarily. A single company with multiple branch warehouses is often the right structure for a business that's operationally one entity with several locations. Multi-company setup is specifically for situations where the locations or units are genuinely separate legal entities with their own books.

    The cost of getting company and warehouse structure wrong isn’t in the initial setup — it’s in the eighteen months of transactions you’ll eventually need to migrate once someone notices the structure doesn’t match how the business actually operates. If you’re mapping out an entity and location structure for the first time and want a second opinion before committing to one, book a free ERPNext consultation — we’ll look at your actual companies and warehouses rather than a generic template, and tell you honestly if a single instance fits or if it doesn’t.

    Niraj Gohel
    Meet Niraj Gohel, the “Problem Solver”, and occasionally the problem creator at Aavatto. When he’s not traveling, watching a film, or having a cup of tea, he spends his days solving problems, debating ideas, and occasionally distracting the team with completely unrelated conversations. His philosophy is simple: technology is important, but being a good human is more important.
    gohel-niraj
    This can be a new journey !

    Related Posts

    Have a Project in Mind?

    This can be a new journey !

    leaf