Custom Chart of Accounts Questions

I am based in the US, but I am not an accountant. In the ENG-BASE chart of accounts, there are roughly 345 accounts. That’s way, way, to many. So, I’m wanting to create my own custom chart of accounts, with only the needed accounts present.

Dolibarr 8.0.4
advanced accounting = on

q1) What is the best way to trim down these accounts to only what I need?

q2) Are there any specific accounts required by Dolibarr to function correctly?
q3) If I change the below accounts, will I need to change anything else in Dolibarr?

q4) Also, another question. Can I change the “Group of Account” (pcg_type) to something like below?
These are also my main branches of accounts.
(also, I have attached a .txt file that’s easier to read.)

| fk_pcg_version | pcg_type | account_number | account_parent | |
| - |
| ENG-US-CUSTOM Assets 10000 0 |
| ENG-US-CUSTOM Liabilities 20000 0 |
| ENG-US-CUSTOM Equity 30000 0 |
| ENG-US-CUSTOM Income and Revenue 40000 0 |
| ENG-US-CUSTOM Job Costs or COGS 50000 0 |
| ENG-US-CUSTOM Overhead and Expenses 60000 0 |
| ENG-US-CUSTOM Other Income 70000 0 |
| ENG-US-CUSTOM Other Expenses 80000 0 |


In other words, I would like to change these “Group of Accounts” (pcg_type) from these …
CAPIT | IMMO| STOCK | TIERS | FINAN | CHARGE | PROD

To these …
Assets | Liabilities | Equity | Income and Revenue | Job costs and COGS | Overhead and Expenses | Other Income | Other Expenses

Pièces jointes :

You could connect to database, look at the llx_accounting_account, and do sql update to replace those you need.

In version 10.0.3, there is a file you can build on:
/install/mysql/data/llx_accounting_account_XX.sql
where XX is your country code

2 Likes

What I want to clarify is the Chart of Accounts you Pre-Built on the system has been built by the Sequence of the System? Or we can modify as such:
xx Assets
xxxxxxx Current Assets
xxxxxxx Other Assets

xx Liabilities
xxxxxx Current Liabilities
xxxxxx Long-Term Liabilities

xx Capital
xxxxx Owner’s Withdrawals
xxxxx Onwer’s Capital
xxxxx Rentained Earnings

xx Revenue
xxxxx Sales from Operation
xxxxx Other Sales

xx Cost of Sales
xxxxx Cost from the Operation
xxxxx Other Cost of Sales

xxxx Operating Expenses
xxxx Administrative Expenses




Etc.

I have noticed the Pre-Built in. Does it mean like this? I am trying to Do my own numbering start from 1000 Assets by it did not take it. It saved 1 Assets Instead of Starting from 1000. Does it had to do with your Programming?

1 CAPIT - Capital?
2 IMMO - Customers/Sales?
3 STOCK - Inventory?
4 TIERS - Suppliers/Purchases?
5 FINAN - Loan/Liabilities?
6 CHARG - Expenses?
7 PROD - Manufacturing?
Is this the Euro/African Standard Chart of Accounts?

Account Number Label Parent Account Group Sub-Group
1 Assets
11 Cash and Cash Equivalents 1
111 Cash In Bank and On Hand 11
11101 Cash On Hand 111 Cash On Hand Company 1
11102 Cash On Hand 111 Company 2
112 Cash Equivalents 11
11201 Cash Equivalents 112 Cash Equipvalent Company 1
11202 Cash Equivalents 112 Company 2
113 Restricted Cash and Cash Equivalents 11
11301 Restricted Cash and Cash Equivalents 113 Restricted Cash and Cash Equivalents Company 1
11302 Restricted Cash and Cash Equivalents 113 Company 2
114 Other Cash Items 11
11401 Other Cash Items 114 Other Cash Items Company 1
11402 Other Cash Items 114 Company 2
12 Investments and Financial Instruments 1
121 Investments 12
12101 Investments 121 Investments Company 1
12102 Investments 121 Company 2
122 Related Party Investments 12
12201 Related Party Investments 122 Related Party Investments Company 1
12202 Related Party Investments 122 Company 2

Does this Setup of Chart of Accounts works on the system?

in the numbering system, there are reserved numbers already in the system. I noticed I can’t just changed them using the GUI. So, I had to connect to mySQL to make the changes.

It is mentioned in the wiki: https://wiki.dolibarr.org/index.php/Chart_of_accounts_id

On the Chart of Accounts there is a Column called Sub-Group

On Accounting report this has not showing, I believed this is very important to the report since, We can segregate the Accounts as per Sub-Group if someone has Multiple company setup

How to let this Sub-Group to be appearing on the Accounting report?

Account Num. transaction Date Accounting Doc. Label Debit Credit Journal
15402 : VAT - Purchases
2 04/01/2020 SI2004-0002 ETISALAT (AL SAF… - INV1702518659 - Sales tax 5 (FTA-AS) % 50.04 0.00 AC
1 05/01/2020 SI2005-0001 ETISALAT - INV1706044039 - Purchases tax 5 (FTA-AS) % 49.78 0.00 AC
Subtotal: 99.82 0.00
21102 : Trade Accounts Payable
2 04/01/2020 SI2004-0002 ETISALAT (AL SAF… - INV1702518659 - Subledger account
(21402) 0.00 1,050.74 AC
1 05/01/2020 SI2005-0001 ETISALAT - INV1706044039 - Subledger account
(21402) 0.00 1,045.38 AC
Subtotal: 0.00 2,096.12
52902 : Telephone, Fax and Internet
2 04/01/2020 SI2004-0002 ETISALAT (AL SAF… - INV1702518659 - Telephone, Fax and Internet 1,000.70 0.00 AC
1 05/01/2020 SI2005-0001 ETISALAT - INV1706044039 - Telephone, Fax and Internet 995.60 0.00 AC
Subtotal: 1,996.30 0.00 1,996.30
Total: 2,096.12 2,096.12

Hi,

Is there any built in chart of accounts for UAE or India based accounting accounts…?

like : /install/mysql/data/llx_accounting_account_XX.sql where XX is either AE or IN

thanks

Hi all,

Here is what I did for India accounts. They follow India Accounting Standards (INDAS).
Check out this link for more info : What is Accounting Standards? - Imprezz

  1. Visit the link : Ministry Of Corporate Affairs - Indian Accounting Standards to get all of the AS codes.
  2. Home>Setup>Dictionaries>Regions and check the country code (India code is : 11701 in Dictionary setup - Regions )
  3. Accounting>Setup>General and make ‘Length of the general accounting accounts’ to 6
  4. Set Accounting period (FY is Apr to Mar in India)
  5. Add a chart of account model for India and enable it. Disable all other countries.
  6. Go to chart of accounts and select India account in the drop down
  7. Click add and add each entry from the link given in step 1 and enable it.

and Voila…Now you are ready to assign right code it to customers, vendors and banks !

This is what being done through .sql file during installation automatically. thats all.

For UAE, please follow this link : IFRS - List of IFRS Standards and IFRIC Interpretations

Hello, I am trying to Setup the accounting module as per Indian Standard, http://www.mca.gov.in/MinistryV2/Stand.html - this link is not working for getting the Indlian account standard code, can any one share the list of code which I need to setup for Indian Accountancy.

Also, If any one can help me by step be step configuration , so that I don’t mess any thing and the reports and calculation works properly in Dolibarr System.

I found it on the wayback machine

but it might have changed since 2022-10-16 so I would suggest you look here:
https://www.mca.gov.in/content/mca/global/en/acts-rules/ebooks/accounting-standards.html

To help others in the future I wish you would make a file similar to this file dolibarr/htdocs/install/mysql/data/llx_accounting_account_gb.sql at develop · Dolibarr/dolibarr · GitHub but just with Indian standard accounts. There is also the US version which seems to have 2 standard US account plans in one file.

When making the file you need some account numbers start with something like one million and increment 1 number at a time, like in this line:

INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label, active) VALUES (__ENTITY__, 71501, 'ENG-BASE', 'CAPIT', '1', '0', 'Equity, provisions for liabilities and charges and liabilities at more than one year', 1);

I am talking about the number 71501 you can start with 1000001