Company

A company is a legal entity that owns assets, incurs liabilities, files its own statutory accounts, and under which all transactions of a business unit are recorded.

Also called Legal entity · Entity · Firm · Books

Why it exists

Because liability, tax and statutory reporting attach to a legal person, and software that cannot tell one legal person from another cannot produce filable accounts.

What it means to the business

The company is the outermost container in the data model, and choosing how many you have is the first structural decision an implementation makes. Everything else nests inside it — registrations, warehouses, accounts, permissions — so getting it wrong is not a configuration error that gets tuned later, it is a foundation that everything above has to be rebuilt to change.

01Lifecycle — walk the states

Incorporated. Legally formed. May not yet trade.

State 1 of 4

02Relationships — walk the chain

Company holds GSTIN.

One per state of operation.

Open GSTIN
03What goes wrong — and why
  • It forces inter-company invoicing for what is internally a transfer, multiplies the closing work by the number of 'companies', and produces consolidated accounts nobody asked for. Branches are a dimension within one company, not entities.

Rules that must hold

  • Each company keeps its own complete set of books. A trial balance belongs to exactly one company.
  • Transactions between two companies are real transactions, even under common ownership — they invoice each other and eliminate only on consolidation.
  • A company holds one PAN. Its GST registrations are per state and hang beneath it, not beside it.

What commonly goes wrong

The count gets chosen for operational convenience rather than legal fact — usually more companies than there are entities, because separate books feel tidier than a shared one with dimensions. Then every internal movement becomes an inter-company transaction, month-end multiplies, and the tidiness costs more each period than the original decision saved once.

Edge cases

  • Group structures where a holding company owns several trading entities and consolidation is a genuine requirement rather than a preference.
  • The same trading name operating under two entities — customers see one brand, the books see two.
  • Mid-year restructures, where transactions before and after belong to different entities and comparatives stop being comparable.
  • Foreign subsidiaries, where functional and reporting currency differ and translation is a period-end process rather than a field.

How ERPNext models it

DocTypeNote
CompanyHolds PAN, currency and the chart of accounts. Each company gets its own account tree — accounts are not shared.
Cost CenterThe correct home for branches and divisions inside one company. This is the answer to most 'should this be a company?' questions.
Party AccountWhere a customer or supplier's control account is set per company, which is what keeps books separate under common ownership.

Last reviewed 2026-08-14

Machine-readable version

We implement this for a living — that’s where the mistakes above come from. See the service or request a discovery briefing