# Custom Chart of Accounts Questions

**URL:** <https://www.dolibarr.org/forum/t/custom-chart-of-accounts-questions/17215>\
**Category:** Using my Dolibarr\
**Created:** [January 2, 2019, 2:05am UTC](https://www.dolibarr.org/forum/t/custom-chart-of-accounts-questions/17215 "2019-01-02T02:05:34Z")\
**Posts on this page:** 15\
**Page:** 1

<div class="post-metadata">

**Author:** ![rootlookup](https://www.dolibarr.org/forum/letter_avatar_proxy/v4/letter/r/5fc32e/32.png) [@rootlookup](https://www.dolibarr.org/forum/u/rootlookup)\
**Post date:** [January 2, 2019, 2:05am UTC](https://www.dolibarr.org/forum/t/custom-chart-of-accounts-questions/17215/1 "2019-01-02T02:05:34Z")

</div>

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 :
> 
> - [CoA.txt](https://www.dolibarr.org/forum/uploads/short-url/lEcN9G4JDT5jtvMcPnqD9tgysE2.txt) (387 Bytes)

---

<div class="post-metadata">

**Author:** ![benlimanto](https://www.dolibarr.org/forum/user_avatar/www.dolibarr.org/benlimanto/32/537_2.png) [@benlimanto](https://www.dolibarr.org/forum/u/benlimanto)\
**Post date:** [January 10, 2019, 3:28am UTC](https://www.dolibarr.org/forum/t/custom-chart-of-accounts-questions/17215/2 "2019-01-10T03:28:27Z")

</div>

> [@rootlookup](#):
>
> 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

You could connect to database, look at the llx\_accounting\_account, and do sql update to replace those you need.

---

<div class="post-metadata">

**Author:** ![jayguntor](https://www.dolibarr.org/forum/letter_avatar_proxy/v4/letter/j/e0b2c6/32.png) [@jayguntor](https://www.dolibarr.org/forum/u/jayguntor)\
**Post date:** [October 29, 2019, 7:16am UTC](https://www.dolibarr.org/forum/t/custom-chart-of-accounts-questions/17215/3 "2019-10-29T07:16:57Z")

</div>

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

---

<div class="post-metadata">

**Author:** ![isoscent](https://www.dolibarr.org/forum/user_avatar/www.dolibarr.org/isoscent/32/3200_2.png) [@isoscent](https://www.dolibarr.org/forum/u/isoscent)\
**Post date:** [May 18, 2020, 3:48pm UTC](https://www.dolibarr.org/forum/t/custom-chart-of-accounts-questions/17215/4 "2020-05-18T15:48:24Z")

</div>

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.

---

<div class="post-metadata">

**Author:** ![isoscent](https://www.dolibarr.org/forum/user_avatar/www.dolibarr.org/isoscent/32/3200_2.png) [@isoscent](https://www.dolibarr.org/forum/u/isoscent)\
**Post date:** [May 18, 2020, 3:56pm UTC](https://www.dolibarr.org/forum/t/custom-chart-of-accounts-questions/17215/5 "2020-05-18T15:56:10Z")

</div>

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?

---

<div class="post-metadata">

**Author:** ![isoscent](https://www.dolibarr.org/forum/user_avatar/www.dolibarr.org/isoscent/32/3200_2.png) [@isoscent](https://www.dolibarr.org/forum/u/isoscent)\
**Post date:** [May 18, 2020, 4:50pm UTC](https://www.dolibarr.org/forum/t/custom-chart-of-accounts-questions/17215/6 "2020-05-18T16:50:17Z")

</div>

| 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?

---

<div class="post-metadata">

**Author:** ![jayguntor](https://www.dolibarr.org/forum/letter_avatar_proxy/v4/letter/j/e0b2c6/32.png) [@jayguntor](https://www.dolibarr.org/forum/u/jayguntor)\
**Post date:** [May 19, 2020, 8:19am UTC](https://www.dolibarr.org/forum/t/custom-chart-of-accounts-questions/17215/7 "2020-05-19T08:19:33Z")

</div>

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](https://wiki.dolibarr.org/index.php/Chart_of_accounts_id)

---

<div class="post-metadata">

**Author:** ![isoscent](https://www.dolibarr.org/forum/user_avatar/www.dolibarr.org/isoscent/32/3200_2.png) [@isoscent](https://www.dolibarr.org/forum/u/isoscent)\
**Post date:** [May 22, 2020, 4:16am UTC](https://www.dolibarr.org/forum/t/custom-chart-of-accounts-questions/17215/8 "2020-05-22T04:16:21Z")

</div>

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?

---

<div class="post-metadata">

**Author:** ![isoscent](https://www.dolibarr.org/forum/user_avatar/www.dolibarr.org/isoscent/32/3200_2.png) [@isoscent](https://www.dolibarr.org/forum/u/isoscent)\
**Post date:** [May 22, 2020, 4:21am UTC](https://www.dolibarr.org/forum/t/custom-chart-of-accounts-questions/17215/9 "2020-05-22T04:21:26Z")

</div>

| Account | [Num. transaction](http://2.50.232.144:9091/dolibarr/accountancy/bookkeeping/listbyaccount.php?sortfield=t.piece_num&sortorder=asc&begin=&search_date_startmonth=1&search_date_startday=1&search_date_startyear=2020&search_date_endmonth=12&search_date_endday=31&search_date_endyear=2020) | [Date](http://2.50.232.144:9091/dolibarr/accountancy/bookkeeping/listbyaccount.php?sortfield=t.doc_date&sortorder=desc&begin=&search_date_startmonth=1&search_date_startday=1&search_date_startyear=2020&search_date_endmonth=12&search_date_endday=31&search_date_endyear=2020) | [Accounting Doc.](http://2.50.232.144:9091/dolibarr/accountancy/bookkeeping/listbyaccount.php?sortfield=t.doc_ref&sortorder=asc&begin=&search_date_startmonth=1&search_date_startday=1&search_date_startyear=2020&search_date_endmonth=12&search_date_endday=31&search_date_endyear=2020) | Label | [Debit](http://2.50.232.144:9091/dolibarr/accountancy/bookkeeping/listbyaccount.php?sortfield=t.debit&sortorder=asc&begin=&search_date_startmonth=1&search_date_startday=1&search_date_startyear=2020&search_date_endmonth=12&search_date_endday=31&search_date_endyear=2020) | [Credit](http://2.50.232.144:9091/dolibarr/accountancy/bookkeeping/listbyaccount.php?sortfield=t.credit&sortorder=asc&begin=&search_date_startmonth=1&search_date_startday=1&search_date_startyear=2020&search_date_endmonth=12&search_date_endday=31&search_date_endyear=2020) | [Journal](http://2.50.232.144:9091/dolibarr/accountancy/bookkeeping/listbyaccount.php?sortfield=t.code_journal&sortorder=asc&begin=&search_date_startmonth=1&search_date_startday=1&search_date_startyear=2020&search_date_endmonth=12&search_date_endday=31&search_date_endyear=2020) | |
| --- | --- | --- | --- | --- | --- | --- | --- | --- |
| 15402 : VAT - Purchases | | | | | | | | |
| | [2](http://2.50.232.144:9091/dolibarr/accountancy/bookkeeping/card.php?piece_num=2) | 04/01/2020 | SI2004-0002 | ETISALAT (AL SAF… - INV1702518659 - Sales tax 5 (FTA-AS) % | 50.04 | 0.00 | [AC](http://2.50.232.144:9091/dolibarr/accountancy/admin/journals_list.php?id=35) | |
| | [1](http://2.50.232.144:9091/dolibarr/accountancy/bookkeeping/card.php?piece_num=1) | 05/01/2020 | SI2005-0001 | ETISALAT - INV1706044039 - Purchases tax 5 (FTA-AS) % | 49.78 | 0.00 | [AC](http://2.50.232.144:9091/dolibarr/accountancy/admin/journals_list.php?id=35) | |
| Subtotal: | 99.82 | 0.00 | | | | | | |
| 21102 : Trade Accounts Payable | | | | | | | | |
| | [2](http://2.50.232.144:9091/dolibarr/accountancy/bookkeeping/card.php?piece_num=2) | 04/01/2020 | SI2004-0002 | ETISALAT (AL SAF… - INV1702518659 - Subledger account | | | | |
| (21402) | 0.00 | 1,050.74 | [AC](http://2.50.232.144:9091/dolibarr/accountancy/admin/journals_list.php?id=35) | | | | | |
| | [1](http://2.50.232.144:9091/dolibarr/accountancy/bookkeeping/card.php?piece_num=1) | 05/01/2020 | SI2005-0001 | ETISALAT - INV1706044039 - Subledger account | | | | |
| (21402) | 0.00 | 1,045.38 | [AC](http://2.50.232.144:9091/dolibarr/accountancy/admin/journals_list.php?id=35) | | | | | |
| Subtotal: | 0.00 | 2,096.12 | | | | | | |
| 52902 : Telephone, Fax and Internet | | | | | | | | |
| | [2](http://2.50.232.144:9091/dolibarr/accountancy/bookkeeping/card.php?piece_num=2) | 04/01/2020 | SI2004-0002 | ETISALAT (AL SAF… - INV1702518659 - Telephone, Fax and Internet | 1,000.70 | 0.00 | [AC](http://2.50.232.144:9091/dolibarr/accountancy/admin/journals_list.php?id=35) | |
| | [1](http://2.50.232.144:9091/dolibarr/accountancy/bookkeeping/card.php?piece_num=1) | 05/01/2020 | SI2005-0001 | ETISALAT - INV1706044039 - Telephone, Fax and Internet | 995.60 | 0.00 | [AC](http://2.50.232.144:9091/dolibarr/accountancy/admin/journals_list.php?id=35) | |
| Subtotal: | 1,996.30 | 0.00 | 1,996.30 | | | | | |
| Total: | 2,096.12 | 2,096.12 | | | | | | |

---

<div class="post-metadata">

**Author:** ![RiseValInfotech](https://www.dolibarr.org/forum/letter_avatar_proxy/v4/letter/r/41988e/32.png) [@RiseValInfotech](https://www.dolibarr.org/forum/u/RiseValInfotech)\
**Post date:** [April 11, 2021, 7:29am UTC](https://www.dolibarr.org/forum/t/custom-chart-of-accounts-questions/17215/10 "2021-04-11T07:29:27Z")

</div>

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

---

<div class="post-metadata">

**Author:** ![RiseValInfotech](https://www.dolibarr.org/forum/letter_avatar_proxy/v4/letter/r/41988e/32.png) [@RiseValInfotech](https://www.dolibarr.org/forum/u/RiseValInfotech)\
**Post date:** [April 11, 2021, 1:08pm UTC](https://www.dolibarr.org/forum/t/custom-chart-of-accounts-questions/17215/11 "2021-04-11T13:08:17Z")

</div>

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](https://www.imprezz.in/what-is-accounting-standards/)

1. Visit the link : [Ministry Of Corporate Affairs - Indian Accounting Standards](http://www.mca.gov.in/MinistryV2/Stand.html) 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.

---

<div class="post-metadata">

**Author:** ![RiseValInfotech](https://www.dolibarr.org/forum/letter_avatar_proxy/v4/letter/r/41988e/32.png) [@RiseValInfotech](https://www.dolibarr.org/forum/u/RiseValInfotech)\
**Post date:** [April 12, 2021, 4:58pm UTC](https://www.dolibarr.org/forum/t/custom-chart-of-accounts-questions/17215/12 "2021-04-12T16:58:09Z")

</div>

For UAE, please follow this link : [IFRS - List of IFRS Standards and IFRIC Interpretations](https://www.ifrs.org/issued-standards/list-of-standards/#standards)

---

<div class="post-metadata">

**Author:** ![rajsona](https://www.dolibarr.org/forum/letter_avatar_proxy/v4/letter/r/7993a0/32.png) [@rajsona](https://www.dolibarr.org/forum/u/rajsona)\
**Post date:** [March 18, 2024, 2:36pm UTC](https://www.dolibarr.org/forum/t/custom-chart-of-accounts-questions/17215/13 "2024-03-18T14:36:03Z")

</div>

> [@RiseValInfotech](#):
>
> [Ministry Of Corporate Affairs - Indian Accounting Standards](http://www.mca.gov.in/MinistryV2/Stand.html)

Hello, I am trying to Setup the accounting module as per Indian Standard, [http://www.mca.gov.in/MinistryV2/Stand.html](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.

---

<div class="post-metadata">

**Author:** ![jonbendtsen](https://www.dolibarr.org/forum/letter_avatar_proxy/v4/letter/j/977dab/32.png) [@jonbendtsen](https://www.dolibarr.org/forum/u/jonbendtsen)\
**Post date:** [March 18, 2024, 5:00pm UTC](https://www.dolibarr.org/forum/t/custom-chart-of-accounts-questions/17215/14 "2024-03-18T17:00:11Z")

</div>

> [@rajsona](#):
>
> Hello, I am trying to Setup the accounting module as per Indian Standard, [http://www.mca.gov.in/MinistryV2/Stand.html](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

> **[Ministry Of Corporate Affairs - Indian Accounting Standards](https://web.archive.org/web/20221016021609/https://www.mca.gov.in/MinistryV2/Stand.html)**
>
> Indian Accounting Standards

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](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](https://github.com/Dolibarr/dolibarr/blob/develop/htdocs/install/mysql/data/llx_accounting_account_gb.sql) 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:

```auto
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

---

<div class="post-metadata">

**Author:** ![inpilankar](https://www.dolibarr.org/forum/user_avatar/www.dolibarr.org/inpilankar/32/7239_2.png) [@inpilankar](https://www.dolibarr.org/forum/u/inpilankar)\
**Post date:** [July 12, 2024, 7:47am UTC](https://www.dolibarr.org/forum/t/custom-chart-of-accounts-questions/17215/15 "2024-07-12T07:47:13Z")

</div>

how do i import/use it in my setup? i guess this only works for double entry accounting module.
