Set up cost centers ​

The chart of accounts shows what the company earned or spent. A cost center shows where: which product line, branch, or department. With cost centers, you can report profit and loss for each part of the business without separate income and expense accounts for each part.

For example, a company sells mobile phones, laptops, and tablets, and each product line has its own manager. Create one cost center for each product line, tag every income and expense row with it, and run the Profit and Loss report for each cost center.

Prerequisites ​

  • The company exists. ERPNext creates a root cost center and a Main cost center with the company.

Create the cost center tree ​

  1. Open the Cost Center tree and select the company.
  2. Select the parent cost center and select Add Child.
  3. Enter the Cost Center Name and, if you use numbers, the Cost Center Number.
  4. Select Is Group only if the cost center will hold child cost centers. Documents use non-group cost centers.
  5. Save.

Base the tree on management responsibility, and keep it stable. Do not create a cost center for each short project or customer. Use projects or accounting dimensions for those.

Set default cost centers ​

  • On the company: Default Cost Center, and Round Off Cost Center for rounding entries.
  • On the Item or Item Group: Default Selling Cost Center and Default Buying Cost Center in Item Defaults.

Use cost centers in documents ​

Cost centers appear on the income and expense rows of Sales Invoices, Purchase Invoices, Journal Entries, and other documents. The row value is the one that posts.

Example: tag one line of a Sales Invoice to an online channel.

  1. Create a Sales Invoice and add the Items.
  2. Open an Item row and select the Cost Center, for example Online Sales - NET.
  3. Submit.

Each Item row can have a different cost center. ERPNext writes the cost center on the income and expense ledger entries.

To split one amount across several cost centers by percentage, see Split costs with Cost Center Allocation.

Report by cost center ​

Filter the Profit and Loss report, the General Ledger, and other reports by cost center. A group cost center includes all its children. You can also set budgets on cost centers.

Troubleshooting ​

A cost center is not available on a document ​

Check that it belongs to the company of the document, is not disabled, and is not a group.

ERPNext fetches the wrong cost center ​

Check the Item defaults, the company default, and the document row.