Multi-company and multi-plant ERPNext: running group companies on one system
Picture a Coimbatore promoter group with a pump manufacturing company, a trading company that sells spares across South India, and a small firm that does machining job work for both. Three sets of books, three Tally files, one accountant who spends the first ten days of every month copying numbers into Excel so the family can see a group profit. The inter-company sales never match, and nobody trusts the consolidated sheet. Multi-company ERPNext exists for exactly this: several legal entities in one system, each with its own books, sharing masters and reporting as a group.

What multi-company ERPNext actually gives you
A single ERPNext site can hold many Companies. Each Company keeps its own chart of accounts, base currency, cost centers and default warehouses, and its own ledger and financial statements. Items, customers and suppliers can be shared across all of them, so the same pump model carries the same item code whether the factory makes it or the trading arm sells it.
Companies can also be arranged in a tree. You create a group record with Is Group ticked and place operating companies under it through the Parent Company field. The group record does not post transactions. It exists for structure and consolidated reporting.
The chart of accounts follows that tree. By default, an account added to the parent is created in the child companies too, which keeps account heads consistent across the group. A setting on the Company record, Allow Account Creation Against Child Company, lets a child create accounts of its own, but accounts that exist only in a child have nothing to roll up into at group level. In our projects we design the group chart of accounts first and keep child-only accounts rare.
Legal entity, branch or plant: what becomes a Company?
This is the first design decision in any multi-company ERPNext project, and the one most often got wrong. A Company in ERPNext should be a set of books you would file separately. A plant, a depot or a branch usually is not.
| Situation | Model it in ERPNext as | Why |
|---|---|---|
| Separate legal entity with its own PAN (Pvt Ltd, LLP, partnership) | A separate Company | It has its own balance sheet, audit and tax filings |
| Same entity, plant in another state | Same Company, separate Address with that state’s GSTIN, own warehouses and a cost center or dimension | One balance sheet, but GST treats each state registration separately |
| Same entity, second plant in the same state | Warehouses plus a cost center or accounting dimension | Plant-wise reporting without splitting the books |
| Sales branch or depot | Warehouse plus a cost center | You want branch profitability, not branch balance sheets |
The state-wise row needs care. Under section 25 of the CGST Act, registrations in different states are treated as distinct persons for GST, even though they sit under one PAN. India Compliance, the GST app for ERPNext, links GSTIN to the Address, and GST details on a transaction are fetched from the Company Address first. So a Coimbatore plant and a Bengaluru plant of the same company each get their own Company Address and GSTIN, and their invoices, e-invoices and returns stay separate, while the profit and loss stays in one Company. Our GST e-invoicing guide covers the per-GSTIN setup.
For plant-level reporting inside one Company, use Cost Center or an accounting dimension. ERPNext already treats Cost Center and Project as dimensions. You can add your own, such as Plant or Product Line, set a default per company, and make it mandatory on profit and loss postings so nothing slips through untagged.
Inter-company transactions without double entry
In the Tally world, the manufacturing company raises a sales invoice, and someone in the trading company keys the same bill again as a purchase. Two people, two chances to get it wrong.
In multi-company ERPNext, you create a Customer that represents the buying company and a Supplier that represents the selling company, using the Represents Company field. When the factory submits a Sales Invoice to that customer, the buyer opens it and picks Create, then Inter Company Purchase Invoice. ERPNext maps the document across. The buying side still reviews accounts, warehouse, taxes and cost center and submits it, because tax treatment can differ between the two entities. The Frappe documentation on inter-company invoices is clear on two limits worth repeating: the invoice pair does not move stock, so you still need a Delivery Note and Purchase Receipt, and it does not consolidate anything by itself.
For shared costs, such as one company paying the group’s rent or salaries for common staff, ERPNext has the Inter Company Journal Entry. You post one side in the paying company, then create the linked entry for the other company from it. Each side posts only to its own ledger, and the two stay linked for review.
A word on transfer pricing and valuation
Once group companies trade with each other, the price on those invoices matters to more people than your sales team. GST has its own valuation rule for supplies between distinct or related persons (Rule 28 of the CGST Rules), and income tax and company law have their own related-party and transfer pricing provisions. ERPNext will record whatever price you set. It will not tell you whether that price is defensible. Agree an inter-company pricing policy with your chartered accountant before go-live, and set it up as Price Lists for the internal customers so the policy is applied the same way every time.
Consolidation and permissions in multi-company ERPNext
The Consolidated Financial Statement report gives a group view of the financial statements across the companies under a parent. Because the chart of accounts is shared down the tree, the heads line up without a mapping sheet. Inter-company balances still deserve attention: we review eliminations with the auditor at each close rather than assuming the report handles every group adjustment your accounts require.
Access is controlled through User Permissions. Restrict a user to one Company and, by default, that restriction applies across every document type that links to Company, so the trading company’s billing clerk simply never sees the factory’s purchase bills. Tick Is Default and their new documents open in the right company. The promoter and group CFO get access to all of them. Warehouse-level restrictions work the same way for store keepers at each plant.
One site or separate sites?
Multi-company ERPNext on one site is the right default for most promoter groups. It is not always right. Here is the decision framework we use.
- Choose one site when the companies share ownership and management, trade with each other, share items or customers, and the promoter wants a group view every month.
- Choose separate sites when the businesses are unrelated, have different shareholders who should not see each other’s data, need conflicting customisations, or one entity may be sold or brought in with outside investors.
- Choose one site with strict User Permissions when the businesses are related but staff should stay inside their own company. This covers most families with a manufacturing arm and a trading arm.
Separate sites mean separate masters, separate upgrades and consolidation outside ERPNext, which is the problem you were trying to escape. Our ERPNext hosting cost guide breaks down what each option costs to run.
Setting up multi-company ERPNext: a checklist
- List every legal entity, its PAN, its GSTINs and its addresses. Confirm the list with your auditor.
- Decide the Company tree: group record, operating companies and abbreviations. Abbreviations appear in account, cost center and warehouse names and are hard to change later.
- Design one group chart of accounts at the parent level before creating child companies.
- Create Company Addresses with the correct GSTIN for each registration.
- Set up warehouses per Company and per plant, plus cost centers and any Plant dimension.
- Create internal Customers and Suppliers with Represents Company set, and Price Lists for inter-company pricing.
- Configure User Permissions by Company and warehouse, then test logins for each role.
- Load opening balances company by company and run the consolidated report before go-live.
Moving from several Tally files adds a data step for each entity. Our ERPNext vs Tally guide explains what changes for the accounts team.
Running a group on separate books? Bring your entity list to a free 30-minute ERPNext consultation and we will sketch the Company structure, GSTIN mapping and inter-company flows for your group, or see how we approach ERPNext implementation.
Frequently asked questions
Can ERPNext handle multiple companies in one installation?
Yes. One ERPNext site can hold many Companies, each with its own chart of accounts, currency, cost centers, warehouses and financial statements, while sharing items, customers and suppliers.
Should each plant be a separate Company in ERPNext?
Usually not. In multi-company ERPNext, make a separate Company only for a separate legal entity. Plants of the same entity are better modelled as warehouses with a cost center or accounting dimension, plus a separate Address and GSTIN if the plant is in another state.
How do inter-company invoices work in ERPNext?
Set up an internal Customer and Supplier using the Represents Company field. A submitted Sales Invoice in one company can then create an Inter Company Purchase Invoice in the other, which the buying side reviews and submits. Stock movement still needs its own documents.
Can ERPNext produce consolidated financial statements for a group?
Yes. In multi-company ERPNext, the Consolidated Financial Statement report gives a group view of the financial statements across companies under a parent. Review inter-company eliminations with your auditor as part of the close.
How do we stop staff of one company seeing another company’s data?
Use User Permissions to restrict each user to their Company, and to specific warehouses where needed. The restriction applies across linked documents by default.
Can multi-company ERPNext handle different GSTINs for one company?
Yes. With India Compliance, GSTIN is held on the Address, so one Company can have several Company Addresses, each with its own state GSTIN, and transactions pick up GST details from the address used.
Multi-company ERPNext: key takeaways
Multi-company ERPNext lets a promoter group run every legal entity on one site with separate books, a shared chart of accounts flowing from the parent, inter-company invoices and journal entries that remove double keying, a consolidated financial statement, and User Permissions that keep staff inside their own company. Model only legal entities as Companies, and handle plants and branches with warehouses, cost centers, dimensions and state-wise GSTIN addresses. Settle inter-company pricing with your chartered accountant early. The Frappe guide to Inter Company Journal Entry is a good next read for your accounts team.