GL Accounts - Sales

In our previous ERP software (Spire), each item had a specific chart of account (GL account) associated with it. For example, whenever we sold item “X” its cost of goods sold and revenue were placed into a specific GL account for that product category, item “Y” could have a different GL account for cost of goods sold and revenue.

To me it seems that ERPNext only has GL accounts for the company overall. In other words there is only one cost of goods sold account for all inventory in the company.

Is there a way to have specific GL codes associated with each item or item group?

Yes there is, but it is well hidden.
From the Item page, go into the Accounting tab, then in the Item Defaults table, click on the pencil to edit the row of your company, and then you will see Default Expense Account and Default Revenue Account fields.
The same table exists in the Item Group.

2 Likes

That works great, thanks for your help!