Root type defined for uae and austria
diff --git a/erpnext/accounts/doctype/account/chart_of_accounts/ae_uae_chart_template_standard.json b/erpnext/accounts/doctype/account/chart_of_accounts/ae_uae_chart_template_standard.json
index f76ad14..48c6b7a 100644
--- a/erpnext/accounts/doctype/account/chart_of_accounts/ae_uae_chart_template_standard.json
+++ b/erpnext/accounts/doctype/account/chart_of_accounts/ae_uae_chart_template_standard.json
@@ -1,422 +1,426 @@
 {
-    "country_code": "ae", 
-    "name": "U.A.E Chart of Accounts - Standard", 
+    "country_code": "ae",
+    "name": "U.A.E Chart of Accounts - Standard",
     "tree": {
         "Assets": {
             "Current Assets": {
                 "Accounts Receivable": {
                     "Corporate Credit Cards": {
                         "account_type": "Receivable"
-                    }, 
+                    },
                     "Other Receivable": {
                         "Accrued Rebates Due from Suppliers": {
                             "account_type": "Receivable"
-                        }, 
+                        },
                         "Accured Income from Suppliers": {
                             "account_type": "Receivable"
-                        }, 
+                        },
                         "Other Debtors": {
                             "account_type": "Receivable"
-                        }, 
+                        },
                         "account_type": "Receivable"
-                    }, 
+                    },
                     "Post Dated Cheques Received": {
                         "account_type": "Receivable"
-                    }, 
+                    },
                     "Staff Receivable": {
                         "account_type": "Receivable"
-                    }, 
+                    },
                     "Trade Receivable": {
                         "account_type": "Receivable"
-                    }, 
+                    },
                     "Trade in Opening Fees": {
                         "account_type": "Receivable"
-                    }, 
+                    },
                     "account_type": "Receivable"
-                }, 
+                },
                 "Cash in Hand & Banks": {
                     "Banks": {
-                        "Bank Margin On LC & LG": {}, 
-                        "Banks Blocked Deposits": {}, 
-                        "Banks Call Deposit Accounts": {}, 
+                        "Bank Margin On LC & LG": {},
+                        "Banks Blocked Deposits": {},
+                        "Banks Call Deposit Accounts": {},
                         "Banks Current Accounts": {}
-                    }, 
+                    },
                     "Cash in Hand": {
                         "Cash in Safe": {
                             "Main Safe": {
                                 "account_type": "Cash"
-                            }, 
+                            },
                             "Main Safe - Foreign Currency": {
                                 "account_type": "Cash"
                             }
-                        }, 
+                        },
                         "Petty Cash": {
                             "Petty Cash - Admininistration": {
                                 "account_type": "Cash"
-                            }, 
+                            },
                             "Petty Cash - Others": {
                                 "account_type": "Cash"
                             }
                         }
-                    }, 
+                    },
                     "Cash in Transit": {
                         "Credit Cards": {
                             "Gateway Credit Cards": {
                                 "account_type": "Bank"
-                            }, 
+                            },
                             "Manual Visa & Master Cards": {
                                 "account_type": "Bank"
-                            }, 
+                            },
                             "PayPal Account": {
                                 "account_type": "Bank"
-                            }, 
+                            },
                             "Visa & Master Credit Cards": {
                                 "account_type": "Bank"
                             }
                         }
                     }
-                }, 
+                },
                 "Inventory": {
                     "Consigned Stock": {
-                        "Handling Difference in Inventory": {}, 
+                        "Handling Difference in Inventory": {},
                         "Items Delivered to Customs on temprary Base": {}
-                    }, 
+                    },
                     "Stock in Hand": {
-                        "Customs Duty": {}, 
-                        "Freight and Transport": {}, 
-                        "Shipment Insurance": {}, 
-                        "Shipment Other Charges": {}, 
-                        "Shipments Documentation Charges": {}, 
+                        "Customs Duty": {},
+                        "Freight and Transport": {},
+                        "Shipment Insurance": {},
+                        "Shipment Other Charges": {},
+                        "Shipments Documentation Charges": {},
                         "Supplier Cost": {}
                     }
-                }, 
+                },
                 "Perliminary and Preoperating Expenses": {
                     "Preoperating Expenses": {}
-                }, 
+                },
                 "Prepayments & Deposits": {
                     "Deposits": {
-                        "Deposit - Office Rent": {}, 
-                        "Deposit Others": {}, 
-                        "Deposit to Immigration (Visa)": {}, 
+                        "Deposit - Office Rent": {},
+                        "Deposit Others": {},
+                        "Deposit to Immigration (Visa)": {},
                         "Deposits - Customs": {}
-                    }, 
+                    },
                     "Prepaid Taxes": {
-                        "Sales Taxes Receivables": {}, 
+                        "Sales Taxes Receivables": {},
                         "Withholding Tax Receivables": {}
-                    }, 
+                    },
                     "Prepayments": {
-                        "Other Prepayments": {}, 
-                        "PrePaid Advertisement Expenses": {}, 
-                        "Prepaid Bank Guarantee": {}, 
-                        "Prepaid Consultancy Fees": {}, 
-                        "Prepaid Employees Housing": {}, 
-                        "Prepaid Finance charge for Loans": {}, 
-                        "Prepaid Legal Fees": {}, 
-                        "Prepaid License Fees": {}, 
-                        "Prepaid Life Insurance": {}, 
-                        "Prepaid Maintenance": {}, 
-                        "Prepaid Medical Insurance": {}, 
-                        "Prepaid Office Rent": {}, 
-                        "Prepaid Other Insurance": {}, 
-                        "Prepaid Schooling Fees": {}, 
-                        "Prepaid Site Hosting Fees": {}, 
+                        "Other Prepayments": {},
+                        "PrePaid Advertisement Expenses": {},
+                        "Prepaid Bank Guarantee": {},
+                        "Prepaid Consultancy Fees": {},
+                        "Prepaid Employees Housing": {},
+                        "Prepaid Finance charge for Loans": {},
+                        "Prepaid Legal Fees": {},
+                        "Prepaid License Fees": {},
+                        "Prepaid Life Insurance": {},
+                        "Prepaid Maintenance": {},
+                        "Prepaid Medical Insurance": {},
+                        "Prepaid Office Rent": {},
+                        "Prepaid Other Insurance": {},
+                        "Prepaid Schooling Fees": {},
+                        "Prepaid Site Hosting Fees": {},
                         "Prepaid Sponsorship Fees": {}
                     }
                 }
-            }, 
+            },
             "Long Term Assets": {
                 "Fixed Assets": {
                     "Accumulated Depreciation": {
-                        "Acc. Depreciation of Motor Vehicles": {}, 
-                        "Acc. Deprn.Computer Hardware & Software": {}, 
-                        "Acc.Deprn.of Furniture & Office Equipment": {}, 
+                        "Acc. Depreciation of Motor Vehicles": {},
+                        "Acc. Deprn.Computer Hardware & Software": {},
+                        "Acc.Deprn.of Furniture & Office Equipment": {},
                         "Amortisation on Leasehold Improvement": {}
-                    }, 
+                    },
                     "Fixed Assets (Cost Price)": {
-                        "Computer Hardware & Software": {}, 
-                        "Furniture and Equipment": {}, 
-                        "Leasehold Improvement": {}, 
-                        "Motor Vehicules": {}, 
+                        "Computer Hardware & Software": {},
+                        "Furniture and Equipment": {},
+                        "Leasehold Improvement": {},
+                        "Motor Vehicules": {},
                         "Work In Progrees": {}
                     }
-                }, 
+                },
                 "Intangible Assets": {
-                    "Computer Card Renewal": {}, 
-                    "Dispoal of Outlets": {}, 
+                    "Computer Card Renewal": {},
+                    "Dispoal of Outlets": {},
                     "Registration of Trademarks": {}
-                }, 
-                "Intercompany Accounts": {}, 
+                },
+                "Intercompany Accounts": {},
                 "Investments": {
                     "Investments in Subsidiaries": {}
                 }
-            }
-        }, 
+            },
+            "root_type": "Asset"
+        },
         "Closing And Temporary Accounts": {
             "Closing Accounts": {
                 "Closing Account": {}
-            }
-        }, 
+            },
+            "root_type": "Liability"
+        },
         "Expenses": {
             "Commercial Expenses": {
-                "Consultancy Fees": {}, 
+                "Consultancy Fees": {},
                 "Provision for Doubtful Debts": {}
-            }, 
+            },
             "Cost of Sale": {
                 "Cost Of Goods Sold": {
-                    "Cost Of Goods Sold I/C Sales": {}, 
+                    "Cost Of Goods Sold I/C Sales": {},
                     "Cost of Goods Sold in Trading": {}
                 }
-            }, 
+            },
             "Depreciation": {
                 "Depreciation & Amortization": {
-                    "Amortization on Leasehold Improvement": {}, 
-                    "Depreciation Of Computer Hard & Soft": {}, 
-                    "Depreciation Of Furniture & Office Equipment\n\t\t\t": {}, 
+                    "Amortization on Leasehold Improvement": {},
+                    "Depreciation Of Computer Hard & Soft": {},
+                    "Depreciation Of Furniture & Office Equipment\n\t\t\t": {},
                     "Depreciation Of Motor Vehicles": {}
                 }
-            }, 
+            },
             "Direct Expenses": {
                 "Financial Charges": {
-                    "Air Miles Card Charges": {}, 
-                    "Amex Credit Cards Charges": {}, 
-                    "Bank Finance & Loan Charges": {}, 
-                    "Credit Card Charges": {}, 
-                    "Credit Card Swipe Charges": {}, 
+                    "Air Miles Card Charges": {},
+                    "Amex Credit Cards Charges": {},
+                    "Bank Finance & Loan Charges": {},
+                    "Credit Card Charges": {},
+                    "Credit Card Swipe Charges": {},
                     "PayPal Charges": {}
                 }
-            }, 
+            },
             "MISC Charges": {
                 "Other Charges": {
                     "Captial Loss": {
-                        "Disposal of Business Branch": {}, 
-                        "Loss On Fixed Assets Disposal": {}, 
+                        "Disposal of Business Branch": {},
+                        "Loss On Fixed Assets Disposal": {},
                         "Loss on Difference on Exchange": {}
-                    }, 
+                    },
                     "Other Non Operating Exp": {
                         "Other Non Operating Expenses": {}
-                    }, 
+                    },
                     "Previous Year Adjustments": {
                         "Previous Year Adjustments Account": {}
-                    }, 
+                    },
                     "Royalty Fees": {
                         "Royalty to Parent Co.": {}
-                    }, 
+                    },
                     "Tax / Zakat Expenses": {
-                        "Income Tax": {}, 
+                        "Income Tax": {},
                         "Zakat": {}
                     }
                 }
-            }, 
+            },
             "Share Resources": {
                 "Share Resource Expenses Account": {}
-            }, 
+            },
             "Store Operating Expenses": {
                 "Selling, General & Admin Expenses": {
                     "Advertising Expenses": {
                         "Other - Advertising Expenses": {}
-                    }, 
+                    },
                     "Bank & Finance Charges": {
                         "Other Bank Charges": {}
-                    }, 
+                    },
                     "Communications": {
-                        "Courrier": {}, 
-                        "Others - Communication": {}, 
-                        "Telephone": {}, 
+                        "Courrier": {},
+                        "Others - Communication": {},
+                        "Telephone": {},
                         "Web Site Hosting Fees": {}
-                    }, 
+                    },
                     "Office & Various Expenses": {
-                        "Cleaning": {}, 
-                        "Convoyance Expenses": {}, 
-                        "Gifts & Donations": {}, 
-                        "Insurance": {}, 
-                        "Kitchen and Buffet Expenses": {}, 
-                        "Maintenance": {}, 
-                        "Others - Office Various Expenses": {}, 
-                        "Security & Guard": {}, 
-                        "Stationary From Suppliers": {}, 
-                        "Stationary Out Of Stock": {}, 
-                        "Subscriptions": {}, 
-                        "Training": {}, 
+                        "Cleaning": {},
+                        "Convoyance Expenses": {},
+                        "Gifts & Donations": {},
+                        "Insurance": {},
+                        "Kitchen and Buffet Expenses": {},
+                        "Maintenance": {},
+                        "Others - Office Various Expenses": {},
+                        "Security & Guard": {},
+                        "Stationary From Suppliers": {},
+                        "Stationary Out Of Stock": {},
+                        "Subscriptions": {},
+                        "Training": {},
                         "Vehicle Expenses": {}
-                    }, 
+                    },
                     "Personnel Cost": {
-                        "Basic Salary": {}, 
-                        "End Of Service Indemnity": {}, 
-                        "Housing Allowance": {}, 
-                        "Leave Salary": {}, 
-                        "Leave Ticket": {}, 
-                        "Life Insurance": {}, 
-                        "Medical Insurance": {}, 
-                        "Personnel Cost Others": {}, 
-                        "Sales Commission": {}, 
-                        "Staff School Allowances": {}, 
-                        "Transportation Allowance": {}, 
-                        "Uniform": {}, 
+                        "Basic Salary": {},
+                        "End Of Service Indemnity": {},
+                        "Housing Allowance": {},
+                        "Leave Salary": {},
+                        "Leave Ticket": {},
+                        "Life Insurance": {},
+                        "Medical Insurance": {},
+                        "Personnel Cost Others": {},
+                        "Sales Commission": {},
+                        "Staff School Allowances": {},
+                        "Transportation Allowance": {},
+                        "Uniform": {},
                         "Visa Expenses": {}
-                    }, 
+                    },
                     "Professional & Legal Fees": {
-                        "Audit Fees": {}, 
-                        "Legal fees": {}, 
-                        "Others - Professional Fees": {}, 
-                        "Sponsorship Fees": {}, 
+                        "Audit Fees": {},
+                        "Legal fees": {},
+                        "Others - Professional Fees": {},
+                        "Sponsorship Fees": {},
                         "Trade License Fees": {}
-                    }, 
+                    },
                     "Provision & Write Off": {
-                        "Amortisation of Preoperating Expenses": {}, 
-                        "Cash Shortage": {}, 
-                        "Others - Provision & Write off": {}, 
-                        "Write Off Inventory": {}, 
+                        "Amortisation of Preoperating Expenses": {},
+                        "Cash Shortage": {},
+                        "Others - Provision & Write off": {},
+                        "Write Off Inventory": {},
                         "Write Off Receivables & Payables": {}
-                    }, 
+                    },
                     "Rent Expenses": {
-                        "Office Rent": {}, 
+                        "Office Rent": {},
                         "Warehouse Rent": {}
-                    }, 
+                    },
                     "Travel Expenses": {
-                        "Air tickets": {}, 
-                        "Hotel": {}, 
-                        "Meals": {}, 
-                        "Others": {}, 
+                        "Air tickets": {},
+                        "Hotel": {},
+                        "Meals": {},
+                        "Others": {},
                         "Per Diem": {}
-                    }, 
+                    },
                     "Utilities": {
-                        "Other Utility Cahrges": {}, 
+                        "Other Utility Cahrges": {},
                         "Water & Electricity": {}
                     }
                 }
-            }
-        }, 
+            },
+            "root_type": "Expense"
+        },
         "Liabilities": {
             "Current Liabilities": {
                 "Accounts Payable": {
                     "Payables": {
                         "Advance Paybale to Suppliers": {
                             "account_type": "Payable"
-                        }, 
+                        },
                         "Consigned Payable": {
                             "account_type": "Payable"
-                        }, 
+                        },
                         "Other Payable": {
                             "account_type": "Payable"
-                        }, 
+                        },
                         "Post Dated Cheques Paid": {
                             "account_type": "Payable"
-                        }, 
+                        },
                         "Staff Payable": {
                             "account_type": "Payable"
-                        }, 
+                        },
                         "Suppliers Price Protection": {
                             "account_type": "Payable"
-                        }, 
+                        },
                         "Trade Payable": {
                             "account_type": "Payable"
-                        }, 
+                        },
                         "account_type": "Payable"
                     }
-                }, 
+                },
                 "Accruals & Provisions": {
                     "Accruals": {
                         "Accrued Personnel Cost": {
-                            "Accrued - Commissions": {}, 
-                            "Accrued - Leave Salary": {}, 
-                            "Accrued - Leave Tickets": {}, 
-                            "Accrued - Salaries": {}, 
-                            "Accrued Other Personnel Cost": {}, 
-                            "Accrued Salaries Increment": {}, 
+                            "Accrued - Commissions": {},
+                            "Accrued - Leave Salary": {},
+                            "Accrued - Leave Tickets": {},
+                            "Accrued - Salaries": {},
+                            "Accrued Other Personnel Cost": {},
+                            "Accrued Salaries Increment": {},
                             "Accrued-Staff Bonus": {}
                         }
-                    }, 
+                    },
                     "Accrued Expenses": {
                         "Accrued Other Expenses": {
-                            "Accrued - Audit Fees": {}, 
-                            "Accrued - Office Rent": {}, 
-                            "Accrued - Sponsorship": {}, 
-                            "Accrued - Telephone": {}, 
-                            "Accrued - Utilities": {}, 
+                            "Accrued - Audit Fees": {},
+                            "Accrued - Office Rent": {},
+                            "Accrued - Sponsorship": {},
+                            "Accrued - Telephone": {},
+                            "Accrued - Utilities": {},
                             "Accrued Others": {}
                         }
-                    }, 
+                    },
                     "Other Current Liabilities": {
-                        "Accrued Dubai Customs": {}, 
-                        "Deferred income": {}, 
+                        "Accrued Dubai Customs": {},
+                        "Deferred income": {},
                         "Shipping & Handling": {}
-                    }, 
+                    },
                     "Provisions": {
                         "Tax Payables": {
-                            "Income Tax Payable": {}, 
-                            "Sales Tax Payable": {}, 
+                            "Income Tax Payable": {},
+                            "Sales Tax Payable": {},
                             "Withholding Tax Payable": {}
                         }
-                    }, 
+                    },
                     "Short Term Loan": {}
-                }, 
+                },
                 "Reservations & Credit Notes": {
                     "Credit Notes": {
-                        "Credit Notes to Customers": {}, 
+                        "Credit Notes to Customers": {},
                         "Reservations": {}
                     }
-                }, 
+                },
                 "Unearned Income": {}
-            }, 
+            },
             "Long Term Liabilities": {
                 "Long Term Loans & Provisions": {}
-            }
-        }, 
+            },
+            "root_type": "Liability"
+        },
         "Revenue": {
             "Direct Revenue": {
                 "Other Direct Revenue": {
                     "Other Revenue - Operating": {
-                        "Advertising Income": {}, 
-                        "Branding Income": {}, 
-                        "Early Setmt Margin from Suppliers": {}, 
-                        "Marketing Rebate from Suppliers": {}, 
-                        "Rebate from Suppliers": {}, 
-                        "Service Income": {}, 
+                        "Advertising Income": {},
+                        "Branding Income": {},
+                        "Early Setmt Margin from Suppliers": {},
+                        "Marketing Rebate from Suppliers": {},
+                        "Rebate from Suppliers": {},
+                        "Service Income": {},
                         "Space Rental Income": {}
                     }
                 }
-            }, 
+            },
             "Indirect Revenue": {
                 "Other Indirect Revenue": {
-                    "Capital Gain": {}, 
-                    "Excess In Till": {}, 
-                    "Gain On Difference Of Exchange": {}, 
-                    "Management Consultancy Fees": {}, 
+                    "Capital Gain": {},
+                    "Excess In Till": {},
+                    "Gain On Difference Of Exchange": {},
+                    "Management Consultancy Fees": {},
                     "Other Income": {}
-                }, 
+                },
                 "Other Revenue - Non Operating": {
-                    "Interest Revenue": {}, 
-                    "Interest from FD": {}, 
-                    "Products Listing Fees from Suppliers": {}, 
+                    "Interest Revenue": {},
+                    "Interest from FD": {},
+                    "Products Listing Fees from Suppliers": {},
                     "Trade Opening Fees from suppliers": {}
                 }
-            }, 
+            },
             "Sales": {
                 "Sales from Other Regions": {
                     "Sales from Other Region": {}
-                }, 
+                },
                 "Sales of same region": {
-                    "Management Consultancy Fees": {}, 
-                    "Sales Account": {}, 
+                    "Management Consultancy Fees": {},
+                    "Sales Account": {},
                     "Sales of I/C": {}
                 }
-            }
-        }, 
+            },
+            "root_type": "Income"
+        },
         "Share Holder Equity": {
             "Capital": {
-                "Contributed Capital": {}, 
-                "Share Capital": {}, 
-                "Shareholders Current A/c": {}, 
-                "Sub Ordinated Loan": {}, 
+                "Contributed Capital": {},
+                "Share Capital": {},
+                "Shareholders Current A/c": {},
+                "Sub Ordinated Loan": {},
                 "Treasury Stocks": {}
-            }, 
+            },
             "Retained Earnings": {
-                "Current Year Results": {}, 
-                "Dividends Paid": {}, 
+                "Current Year Results": {},
+                "Dividends Paid": {},
                 "Previous Years Results": {}
-            }
-        }, 
-        "name": "Chart of Account U.A.E", 
-        "parent_id": null
+            },
+            "root_type": "Equity"
+        }
     }
-}
\ No newline at end of file
+}
diff --git a/erpnext/accounts/doctype/account/chart_of_accounts/ar_ar_chart_template.json b/erpnext/accounts/doctype/account/chart_of_accounts/ar_ar_chart_template.json
index 8ee0f07..fc10a8a 100644
--- a/erpnext/accounts/doctype/account/chart_of_accounts/ar_ar_chart_template.json
+++ b/erpnext/accounts/doctype/account/chart_of_accounts/ar_ar_chart_template.json
@@ -134,7 +134,8 @@
                     "Resultados Acumulados": {}, 
                     "Resultados Acumulados del Ejercicio Anterior": {}
                 }
-            }
+            }, 
+            "root_type": ""
         }, 
         "Cuentas de Movimiento": {
             "Compras": {
@@ -142,7 +143,8 @@
             }, 
             "Costos de Producci\u00f3n": {}, 
             "Gastos de Administraci\u00f3n": {}, 
-            "Gastos de Comercializaci\u00f3n": {}
+            "Gastos de Comercializaci\u00f3n": {}, 
+            "root_type": ""
         }, 
         "Cuentas de Orden": {
             "CUENTAS DE ORDEN ACREEDORAS": {
@@ -156,7 +158,8 @@
                 "Documentos Endosados": {}, 
                 "Garantias Otorgadas": {}, 
                 "Mercaderias Recibidas en Consignaci\u00f3n": {}
-            }
+            }, 
+            "root_type": ""
         }, 
         "Cuentas de Resultado": {
             "RESULTADOS NEGATIVOS": {
@@ -199,8 +202,8 @@
                         "Ventas - Categoria de productos 01": {}
                     }
                 }
-            }
-        }, 
-        "name": "Argentina"
+            }, 
+            "root_type": ""
+        }
     }
 }
\ No newline at end of file
diff --git a/erpnext/accounts/doctype/account/chart_of_accounts/at_austria_chart_template.json b/erpnext/accounts/doctype/account/chart_of_accounts/at_austria_chart_template.json
index adeeed9..3b07d51 100644
--- a/erpnext/accounts/doctype/account/chart_of_accounts/at_austria_chart_template.json
+++ b/erpnext/accounts/doctype/account/chart_of_accounts/at_austria_chart_template.json
@@ -1,389 +1,398 @@
 {
-    "country_code": "at", 
-    "name": "Austria - Chart of Accounts", 
+    "country_code": "at",
+    "name": "Austria - Chart of Accounts",
     "tree": {
         "Summe Abschreibungen und Aufwendungen": {
-            "7010 bis 7080 Abschreibungen auf das Anlageverm\u00f6gen (ausgenommen Finanzanlagen)": {}, 
+            "7010 bis 7080 Abschreibungen auf das Anlageverm\u00f6gen (ausgenommen Finanzanlagen)": {},
             "7100 bis 7190 Sonstige Steuern": {
                 "account_type": "Tax"
-            }, 
-            "7200 bis 7290 Instandhaltung u. Reinigung durh Dritte, Entsorgung, Beleuchtung": {}, 
-            "7300 bis 7310 Transporte durch Dritte": {}, 
-            "7320 bis 7330 Kfz - Aufwand": {}, 
-            "7340 bis 7350 Reise- und Fahraufwand": {}, 
-            "7360 bis 7370 Tag- und N\u00e4chtigungsgelder": {}, 
-            "7380 bis 7390 Nachrichtenaufwand": {}, 
-            "7400 bis 7430 Miet- und Pachtaufwand": {}, 
-            "7440 bis 7470 Leasingaufwand": {}, 
-            "7480 bis 7490 Lizenzaufwand": {}, 
-            "7500 bis 7530 Aufwand f\u00fcr beigestelltes Personal": {}, 
-            "7540 bis 7570 Provisionen an Dritte": {}, 
-            "7580 bis 7590 Aufsichtsratsverg\u00fctungen": {}, 
-            "7610 bis 7620 Druckerzeugnisse und Vervielf\u00e4ltigungen": {}, 
-            "7650 bis 7680 Werbung und Repr\u00e4sentationen": {}, 
-            "7700 bis 7740 Versicherungen": {}, 
-            "7750 bis 7760 Beratungs- und Pr\u00fcfungsaufwand": {}, 
-            "7800 bis 7810 Schadensf\u00e4lle": {}, 
-            "7840 bis 7880 Verschiedene betriebliche Aufwendungen": {}, 
-            "7910 bis 7950 Aufwandsstellenrechung der Hersteller": {}, 
-            "Abschreibungen auf aktivierte Aufwendungen f\u00fcr das Ingangs. u. Erweitern des Betriebes": {}, 
-            "Abschreibungen vom Umlaufverm\u00f6gen, soweit diese die im Unternehmen \u00fcblichen Abschreibungen \u00fcbersteigen": {}, 
-            "Aufwandsstellenrechnung": {}, 
-            "Aus- und Fortbildung": {}, 
-            "Buchwert abgegangener Anlagen, ausgenommen Finanzanlagen": {}, 
-            "B\u00fcromaterial und Drucksorten": {}, 
-            "Fachliteratur und Zeitungen ": {}, 
-            "Herstellungskosten der zur Erzielung der Umsatzerl\u00f6se erbrachten Leistungen": {}, 
-            "Mitgliedsbeitr\u00e4ge": {}, 
-            "Skontoertr\u00e4ge auf sonstige betriebliche Aufwendungen": {}, 
-            "Sonstige betrieblichen Aufwendungen": {}, 
-            "Spenden und Trinkgelder": {}, 
-            "Spesen des Geldverkehrs": {}, 
-            "Verluste aus dem Abgang vom Anlageverm\u00f6gen, ausgenommen Finanzanlagen": {}, 
-            "Vertriebskosten": {}, 
-            "Verwaltungskosten": {}
-        }, 
+            },
+            "7200 bis 7290 Instandhaltung u. Reinigung durh Dritte, Entsorgung, Beleuchtung": {},
+            "7300 bis 7310 Transporte durch Dritte": {},
+            "7320 bis 7330 Kfz - Aufwand": {},
+            "7340 bis 7350 Reise- und Fahraufwand": {},
+            "7360 bis 7370 Tag- und N\u00e4chtigungsgelder": {},
+            "7380 bis 7390 Nachrichtenaufwand": {},
+            "7400 bis 7430 Miet- und Pachtaufwand": {},
+            "7440 bis 7470 Leasingaufwand": {},
+            "7480 bis 7490 Lizenzaufwand": {},
+            "7500 bis 7530 Aufwand f\u00fcr beigestelltes Personal": {},
+            "7540 bis 7570 Provisionen an Dritte": {},
+            "7580 bis 7590 Aufsichtsratsverg\u00fctungen": {},
+            "7610 bis 7620 Druckerzeugnisse und Vervielf\u00e4ltigungen": {},
+            "7650 bis 7680 Werbung und Repr\u00e4sentationen": {},
+            "7700 bis 7740 Versicherungen": {},
+            "7750 bis 7760 Beratungs- und Pr\u00fcfungsaufwand": {},
+            "7800 bis 7810 Schadensf\u00e4lle": {},
+            "7840 bis 7880 Verschiedene betriebliche Aufwendungen": {},
+            "7910 bis 7950 Aufwandsstellenrechung der Hersteller": {},
+            "Abschreibungen auf aktivierte Aufwendungen f\u00fcr das Ingangs. u. Erweitern des Betriebes": {},
+            "Abschreibungen vom Umlaufverm\u00f6gen, soweit diese die im Unternehmen \u00fcblichen Abschreibungen \u00fcbersteigen": {},
+            "Aufwandsstellenrechnung": {},
+            "Aus- und Fortbildung": {},
+            "Buchwert abgegangener Anlagen, ausgenommen Finanzanlagen": {},
+            "B\u00fcromaterial und Drucksorten": {},
+            "Fachliteratur und Zeitungen ": {},
+            "Herstellungskosten der zur Erzielung der Umsatzerl\u00f6se erbrachten Leistungen": {},
+            "Mitgliedsbeitr\u00e4ge": {},
+            "Skontoertr\u00e4ge auf sonstige betriebliche Aufwendungen": {},
+            "Sonstige betrieblichen Aufwendungen": {},
+            "Spenden und Trinkgelder": {},
+            "Spesen des Geldverkehrs": {},
+            "Verluste aus dem Abgang vom Anlageverm\u00f6gen, ausgenommen Finanzanlagen": {},
+            "Vertriebskosten": {},
+            "Verwaltungskosten": {},
+            "root_type": "Expense"
+        },
         "Summe Betriebliche Ertr\u00e4ge": {
-            "4400 bis 4490 Erl\u00f6sschm\u00e4lerungen": {}, 
-            "4500 bis 4570 Ver\u00e4nderungen des Bestandes an fertigen und unfertigen Erzeugn. sowie an noch nicht abrechenbaren Leistungen": {}, 
-            "4580 bis 4590 andere aktivierte Eigenleistungen": {}, 
-            "4600 bis 4620 Erl\u00f6se aus dem Abgang vom Anlageverm\u00f6gen, ausgen. Finanzanlagen": {}, 
-            "4630 bis 4650 Ertr\u00e4ge aus dem Abgang vom Anlageverm\u00f6gen, ausgen. Finanzanlagen": {}, 
-            "4660 bis 4670 Ertr\u00e4ge aus der Zuschreibung zum Anlageverm\u00f6gen, ausgen. Finanzanlagen": {}, 
-            "4700 bis 4790 Ertr\u00e4ge aus der Aufl\u00f6sung von R\u00fcckstellungen": {}, 
-            "4800 bis 4990 \u00dcbrige betriebliche Ertr\u00e4ge": {}, 
-            "Erl\u00f6se 0 % Ausfuhrlieferungen/Drittl\u00e4nder": {}, 
-            "Erl\u00f6se 10 %": {}, 
-            "Erl\u00f6se 20 %": {}, 
-            "Erl\u00f6se aus im Inland stpfl. EG Lieferungen 10 % USt": {}, 
-            "Erl\u00f6se aus im Inland stpfl. EG Lieferungen 20 % USt": {}, 
-            "Erl\u00f6se i.g. Lieferungen (stfr)": {}
-        }, 
+            "4400 bis 4490 Erl\u00f6sschm\u00e4lerungen": {},
+            "4500 bis 4570 Ver\u00e4nderungen des Bestandes an fertigen und unfertigen Erzeugn. sowie an noch nicht abrechenbaren Leistungen": {},
+            "4580 bis 4590 andere aktivierte Eigenleistungen": {},
+            "4600 bis 4620 Erl\u00f6se aus dem Abgang vom Anlageverm\u00f6gen, ausgen. Finanzanlagen": {},
+            "4630 bis 4650 Ertr\u00e4ge aus dem Abgang vom Anlageverm\u00f6gen, ausgen. Finanzanlagen": {},
+            "4660 bis 4670 Ertr\u00e4ge aus der Zuschreibung zum Anlageverm\u00f6gen, ausgen. Finanzanlagen": {},
+            "4700 bis 4790 Ertr\u00e4ge aus der Aufl\u00f6sung von R\u00fcckstellungen": {},
+            "4800 bis 4990 \u00dcbrige betriebliche Ertr\u00e4ge": {},
+            "Erl\u00f6se 0 % Ausfuhrlieferungen/Drittl\u00e4nder": {},
+            "Erl\u00f6se 10 %": {},
+            "Erl\u00f6se 20 %": {},
+            "Erl\u00f6se aus im Inland stpfl. EG Lieferungen 10 % USt": {},
+            "Erl\u00f6se aus im Inland stpfl. EG Lieferungen 20 % USt": {},
+            "Erl\u00f6se i.g. Lieferungen (stfr)": {},
+            "root_type": "Income"
+        },
         "Summe Eigenkapital R\u00fccklagen Abschlusskonten": {
             "9000 bis 9180 Gezeichnetes bzw. gewidmetes Kapital": {
                 "account_type": "Equity"
-            }, 
+            },
             "9200 bis 9290 Kapitalr\u00fccklagen": {
                 "account_type": "Equity"
-            }, 
+            },
             "9300 bis 9380 Gewinnr\u00fccklagen": {
                 "account_type": "Equity"
-            }, 
+            },
             "9400 bis 9590 Bewertungsreserven uns sonst. unversteuerte R\u00fccklagen": {
                 "account_type": "Equity"
-            }, 
-            "9600 bis 9690 Privat und Verrechnungskonten bei Einzelunternehmen und Personengesellschaften": {}, 
-            "9700 bis 9790 Einlagen stiller Gesellschafter ": {}, 
-            "9900 bis 9999 Evidenzkonten": {}, 
+            },
+            "9600 bis 9690 Privat und Verrechnungskonten bei Einzelunternehmen und Personengesellschaften": {},
+            "9700 bis 9790 Einlagen stiller Gesellschafter ": {},
+            "9900 bis 9999 Evidenzkonten": {},
             "Bilanzgewinn (-verlust )": {
                 "account_type": "Equity"
-            }, 
-            "Er\u00f6ffnungsbilanz": {}, 
-            "Gewinn- und Verlustrechnung": {}, 
-            "Schlussbilanz": {}, 
+            },
+            "Er\u00f6ffnungsbilanz": {},
+            "Gewinn- und Verlustrechnung": {},
+            "Schlussbilanz": {},
             "nicht eingeforderte ausstehende Einlagen": {
                 "account_type": "Equity"
-            }
-        }, 
+            },
+            "root_type": "Equity"
+        },
         "Summe Finanzertr\u00e4ge und Aufwendungen": {
-            "8000 bis 8040 Ertr\u00e4ge aus Beteiligungen": {}, 
-            "8050 bis 8090 Ertr\u00e4ge aus anderen Wertpapieren und Ausleihungen des Finanzanlageverm\u00f6gens": {}, 
-            "8100 bis 8130 Sonstige Zinsen und \u00e4hnliche Ertr\u00e4ge": {}, 
-            "8220 bis 8250 Aufwendungen aus Beteiligungen": {}, 
-            "8260 bis 8270 Aufwendungen aus sonst. Fiananzanlagen und aus Wertpapieren des Umlaufverm\u00f6gens": {}, 
-            "8280 bis 8340 Zinsen und \u00e4hnliche Aufwendungem": {}, 
-            "8400 bis 8440 Au\u00dferordentliche Ertr\u00e4ge": {}, 
-            "8450 bis 8490 Au\u00dferordentliche Aufwendungen": {}, 
+            "8000 bis 8040 Ertr\u00e4ge aus Beteiligungen": {},
+            "8050 bis 8090 Ertr\u00e4ge aus anderen Wertpapieren und Ausleihungen des Finanzanlageverm\u00f6gens": {},
+            "8100 bis 8130 Sonstige Zinsen und \u00e4hnliche Ertr\u00e4ge": {},
+            "8220 bis 8250 Aufwendungen aus Beteiligungen": {},
+            "8260 bis 8270 Aufwendungen aus sonst. Fiananzanlagen und aus Wertpapieren des Umlaufverm\u00f6gens": {},
+            "8280 bis 8340 Zinsen und \u00e4hnliche Aufwendungem": {},
+            "8400 bis 8440 Au\u00dferordentliche Ertr\u00e4ge": {},
+            "8450 bis 8490 Au\u00dferordentliche Aufwendungen": {},
             "8500 bis 8590 Steuern vom Einkommen und vom Ertrag": {
                 "account_type": "Tax"
-            }, 
-            "8600 bis 8690 Aufl\u00f6sung unversteuerten R\u00fccklagen": {}, 
-            "8700 bis 8740 Aufl\u00f6sung von Kapitalr\u00fccklagen": {}, 
-            "8750 bis 8790 Aufl\u00f6sung von Gewinnr\u00fccklagen": {}, 
-            "8800 bis 8890 Zuweisung von unversteuerten R\u00fccklagen": {}, 
-            "Buchwert abgegangener Beteiligungen": {}, 
-            "Buchwert abgegangener Wertpapiere des Umlaufverm\u00f6gens": {}, 
-            "Buchwert abgegangener sonstiger Finanzanlagen": {}, 
-            "Erl\u00f6se aus dem Abgang von Beteiligungen": {}, 
-            "Erl\u00f6se aus dem Abgang von Wertpapieren des Umlaufverm\u00f6gens": {}, 
-            "Erl\u00f6se aus dem Abgang von sonstigen Finanzanlagen": {}, 
-            "Ertr\u00e4ge aus dem Abgang von und der Zuschreibung zu Finanzanlagen": {}, 
-            "Ertr\u00e4ge aus dem Abgang von und der Zuschreibung zu Wertpapieren des Umlaufverm\u00f6gens": {}, 
-            "Gewinabfuhr bzw. Verlust\u00fcberrechnung aus Ergebnisabf\u00fchrungsvertr\u00e4gen": {}, 
-            "nicht ausgenutzte Lieferantenskonti": {}
-        }, 
+            },
+            "8600 bis 8690 Aufl\u00f6sung unversteuerten R\u00fccklagen": {},
+            "8700 bis 8740 Aufl\u00f6sung von Kapitalr\u00fccklagen": {},
+            "8750 bis 8790 Aufl\u00f6sung von Gewinnr\u00fccklagen": {},
+            "8800 bis 8890 Zuweisung von unversteuerten R\u00fccklagen": {},
+            "Buchwert abgegangener Beteiligungen": {},
+            "Buchwert abgegangener Wertpapiere des Umlaufverm\u00f6gens": {},
+            "Buchwert abgegangener sonstiger Finanzanlagen": {},
+            "Erl\u00f6se aus dem Abgang von Beteiligungen": {},
+            "Erl\u00f6se aus dem Abgang von Wertpapieren des Umlaufverm\u00f6gens": {},
+            "Erl\u00f6se aus dem Abgang von sonstigen Finanzanlagen": {},
+            "Ertr\u00e4ge aus dem Abgang von und der Zuschreibung zu Finanzanlagen": {},
+            "Ertr\u00e4ge aus dem Abgang von und der Zuschreibung zu Wertpapieren des Umlaufverm\u00f6gens": {},
+            "Gewinabfuhr bzw. Verlust\u00fcberrechnung aus Ergebnisabf\u00fchrungsvertr\u00e4gen": {},
+            "nicht ausgenutzte Lieferantenskonti": {},
+            "root_type": "Income"
+        },
         "Summe Fremdkapital": {
-            "3020 bis 3030 Steuerr\u00fcckstellungen": {}, 
-            "3040 bis 3090 Sonstige R\u00fcckstellungen": {}, 
-            "3110 bis 3170 Verbindlichkeiten gegen\u00fcber Kredidinstituten": {}, 
-            "3180 bis 3190 Verbindlichkeiten gegen\u00fcber Finanzinstituten": {}, 
+            "3020 bis 3030 Steuerr\u00fcckstellungen": {},
+            "3040 bis 3090 Sonstige R\u00fcckstellungen": {},
+            "3110 bis 3170 Verbindlichkeiten gegen\u00fcber Kredidinstituten": {},
+            "3180 bis 3190 Verbindlichkeiten gegen\u00fcber Finanzinstituten": {},
             "3380 bis 3390 Verbindlichkeiten aus der Annahme gezogener Wechsel u. d. Ausstellungen eigener Wechsel": {
                 "account_type": "Payable"
-            }, 
-            "3400 bis 3470 Verbindlichkeiten gegen\u00fc. verb. Untern., Verbindl. gegen\u00fc. Untern., mit denen eine Beteiligungsverh\u00e4lnis besteht": {}, 
-            "3600 bis 3690 Verbindlichkeiten im Rahmen der sozialen Sicherheit": {}, 
-            "3700 bis 3890 \u00dcbrige sonstige Verbindlichkeiten": {}, 
-            "3900 bis 3990 Passive Rechnungsabgrenzungsposten": {}, 
-            "Anleihen (einschlie\u00dflich konvertibler)": {}, 
-            "Erhaltene Anzahlungenauf Bestellungen": {}, 
-            "R\u00fcckstellungen f\u00fcr Abfertigung": {}, 
-            "R\u00fcckstellungen f\u00fcr Pensionen": {}, 
+            },
+            "3400 bis 3470 Verbindlichkeiten gegen\u00fc. verb. Untern., Verbindl. gegen\u00fc. Untern., mit denen eine Beteiligungsverh\u00e4lnis besteht": {},
+            "3600 bis 3690 Verbindlichkeiten im Rahmen der sozialen Sicherheit": {},
+            "3700 bis 3890 \u00dcbrige sonstige Verbindlichkeiten": {},
+            "3900 bis 3990 Passive Rechnungsabgrenzungsposten": {},
+            "Anleihen (einschlie\u00dflich konvertibler)": {},
+            "Erhaltene Anzahlungenauf Bestellungen": {},
+            "R\u00fcckstellungen f\u00fcr Abfertigung": {},
+            "R\u00fcckstellungen f\u00fcr Pensionen": {},
             "USt. \u00a719 /art (reverse charge)": {
                 "account_type": "Tax"
-            }, 
-            "Umsatzsteuer": {}, 
+            },
+            "Umsatzsteuer": {},
             "Umsatzsteuer Zahllast": {
                 "account_type": "Tax"
-            }, 
+            },
             "Umsatzsteuer aus i.g. Erwerb 10%": {
                 "account_type": "Tax"
-            }, 
+            },
             "Umsatzsteuer aus i.g. Erwerb 20%": {
                 "account_type": "Tax"
-            }, 
+            },
             "Umsatzsteuer aus i.g. Lieferungen 10%": {
                 "account_type": "Tax"
-            }, 
+            },
             "Umsatzsteuer aus i.g. Lieferungen 20%": {
                 "account_type": "Tax"
-            }, 
-            "Umsatzsteuer-Evidenzkonto f\u00fcr erhaltene Anzahlungen auf Bestellungen": {}, 
+            },
+            "Umsatzsteuer-Evidenzkonto f\u00fcr erhaltene Anzahlungen auf Bestellungen": {},
             "Verbindlichkeiten aus Lieferungen u. Leistungen EU": {
                 "account_type": "Payable"
-            }, 
+            },
             "Verbindlichkeiten aus Lieferungen u. Leistungen Inland": {
                 "account_type": "Payable"
-            }, 
+            },
             "Verbindlichkeiten aus Lieferungen u. Leistungen sonst. Ausland": {
                 "account_type": "Payable"
-            }, 
-            "Verbindlichkeiten gegen\u00fcber Gesellschaften": {}, 
+            },
+            "Verbindlichkeiten gegen\u00fcber Gesellschaften": {},
             "Verrechnung Finanzamt": {
                 "account_type": "Tax"
-            }
-        }, 
+            },
+            "root_type": "Liability"
+        },
         "Summe Kontoklasse 0 Anlageverm\u00f6gen": {
-            "44 bis 49 Sonstige Maschinen und maschinelle Anlagen": {}, 
-            "920 bis 930 Festverzinsliche Wertpapiere des Anlageverm\u00f6gens": {}, 
-            "940 bis 970 Sonstige Finanzanlagen, Wertrechte": {}, 
-            "Allgemeine Werkzeuge und Handwerkzeuge": {}, 
-            "Andere Bef\u00f6rderungsmittel": {}, 
-            "Andere Betriebs- und Gesch\u00e4ftsausstattung": {}, 
-            "Andere Erzeugungshilfsmittel": {}, 
-            "Anlagen im Bau": {}, 
-            "Anteile an Investmentfonds": {}, 
-            "Anteile an Kapitalgesellschaften ohne Beteiligungscharakter": {}, 
-            "Anteile an Personengesellschaften ohne Beteiligungscharakter": {}, 
-            "Anteile an verbundenen Unternehmen": {}, 
-            "Antriebsmaschinen": {}, 
-            "Aufwendungen f\u00fcs das Ingangssetzen u. Erweitern eines Betriebes": {}, 
-            "Ausleihungen an  verbundene Unternehmen": {}, 
-            "Ausleihungen an  verbundene Unternehmen, mit denen ein Beteiligungsverh\u00e4lnis besteht": {}, 
-            "Bauliche Investitionen in fremden (gepachteten) Betriebs- und Gesch\u00e4ftsgeb\u00e4uden": {}, 
-            "Bauliche Investitionen in fremden (gepachteten) Wohn- und Sozialgeb\u00e4uden": {}, 
-            "Bebaute Grundst\u00fccke (Grundwert)": {}, 
-            "Beheizungs- und Beleuchtungsanlagen": {}, 
-            "Beteiligungen an Gemeinschaftunternehmen": {}, 
-            "Beteiligungen an angeschlossenen (assoziierten) Unternehmen": {}, 
-            "Betriebs- und Gesch\u00e4ftsgeb\u00e4ude auf eigenem Grund": {}, 
-            "Betriebs- und Gesch\u00e4ftsgeb\u00e4ude auf fremdem Grund": {}, 
-            "B\u00fcromaschinen, EDV - Anlagen": {}, 
-            "Datenverarbeitungsprogramme": {}, 
-            "Energieversorgungsanlagen": {}, 
-            "Fertigungsmaschinen": {}, 
-            "Gebinde": {}, 
-            "Geleistete Anzahlungen": {}, 
-            "Genossenschaften ohne Beteiligungscharakter": {}, 
-            "Geringwertige Verm\u00f6gensgegenst\u00e4nde, soweit im Erzeugerprozess verwendet": {}, 
-            "Geringwertige Verm\u00f6gensgegenst\u00e4nde, soweit nicht im Erzeugungsprozess verwendet": {}, 
-            "Gesch\u00e4fts(Firmen)wert": {}, 
-            "Grundst\u00fcckseinrichtunten auf eigenem Grund": {}, 
-            "Grundst\u00fcckseinrichtunten auf fremdem Grund": {}, 
-            "Grundst\u00fccksgleiche Rechte": {}, 
-            "Hebezeuge und Montageanlagen": {}, 
-            "Konzessionen": {}, 
-            "Kumulierte Abschreibungen": {}, 
-            "LKW": {}, 
-            "Marken, Warenzeichen und Musterschutzrechte": {}, 
-            "Maschinenwerkzeuge": {}, 
-            "Nachrichten- und Kontrollanlagen": {}, 
-            "PKW": {}, 
-            "Pacht- und Mietrechte": {}, 
-            "Patentrechte und Lizenzen": {}, 
-            "Sonstige Ausleihungen": {}, 
-            "Sonstige Beteiligungen": {}, 
-            "Transportanlagen": {}, 
-            "Unbebaute Grundst\u00fccke": {}, 
-            "Vorrichtungen, Formen und Modelle": {}, 
-            "Wohn- und Sozialgeb\u00e4ude auf eigenem Grund": {}, 
-            "Wohn- und Sozialgeb\u00e4ude auf fremdem Grund": {}
-        }, 
+            "44 bis 49 Sonstige Maschinen und maschinelle Anlagen": {},
+            "920 bis 930 Festverzinsliche Wertpapiere des Anlageverm\u00f6gens": {},
+            "940 bis 970 Sonstige Finanzanlagen, Wertrechte": {},
+            "Allgemeine Werkzeuge und Handwerkzeuge": {},
+            "Andere Bef\u00f6rderungsmittel": {},
+            "Andere Betriebs- und Gesch\u00e4ftsausstattung": {},
+            "Andere Erzeugungshilfsmittel": {},
+            "Anlagen im Bau": {},
+            "Anteile an Investmentfonds": {},
+            "Anteile an Kapitalgesellschaften ohne Beteiligungscharakter": {},
+            "Anteile an Personengesellschaften ohne Beteiligungscharakter": {},
+            "Anteile an verbundenen Unternehmen": {},
+            "Antriebsmaschinen": {},
+            "Aufwendungen f\u00fcs das Ingangssetzen u. Erweitern eines Betriebes": {},
+            "Ausleihungen an  verbundene Unternehmen": {},
+            "Ausleihungen an  verbundene Unternehmen, mit denen ein Beteiligungsverh\u00e4lnis besteht": {},
+            "Bauliche Investitionen in fremden (gepachteten) Betriebs- und Gesch\u00e4ftsgeb\u00e4uden": {},
+            "Bauliche Investitionen in fremden (gepachteten) Wohn- und Sozialgeb\u00e4uden": {},
+            "Bebaute Grundst\u00fccke (Grundwert)": {},
+            "Beheizungs- und Beleuchtungsanlagen": {},
+            "Beteiligungen an Gemeinschaftunternehmen": {},
+            "Beteiligungen an angeschlossenen (assoziierten) Unternehmen": {},
+            "Betriebs- und Gesch\u00e4ftsgeb\u00e4ude auf eigenem Grund": {},
+            "Betriebs- und Gesch\u00e4ftsgeb\u00e4ude auf fremdem Grund": {},
+            "B\u00fcromaschinen, EDV - Anlagen": {},
+            "Datenverarbeitungsprogramme": {},
+            "Energieversorgungsanlagen": {},
+            "Fertigungsmaschinen": {},
+            "Gebinde": {},
+            "Geleistete Anzahlungen": {},
+            "Genossenschaften ohne Beteiligungscharakter": {},
+            "Geringwertige Verm\u00f6gensgegenst\u00e4nde, soweit im Erzeugerprozess verwendet": {},
+            "Geringwertige Verm\u00f6gensgegenst\u00e4nde, soweit nicht im Erzeugungsprozess verwendet": {},
+            "Gesch\u00e4fts(Firmen)wert": {},
+            "Grundst\u00fcckseinrichtunten auf eigenem Grund": {},
+            "Grundst\u00fcckseinrichtunten auf fremdem Grund": {},
+            "Grundst\u00fccksgleiche Rechte": {},
+            "Hebezeuge und Montageanlagen": {},
+            "Konzessionen": {},
+            "Kumulierte Abschreibungen": {},
+            "LKW": {},
+            "Marken, Warenzeichen und Musterschutzrechte": {},
+            "Maschinenwerkzeuge": {},
+            "Nachrichten- und Kontrollanlagen": {},
+            "PKW": {},
+            "Pacht- und Mietrechte": {},
+            "Patentrechte und Lizenzen": {},
+            "Sonstige Ausleihungen": {},
+            "Sonstige Beteiligungen": {},
+            "Transportanlagen": {},
+            "Unbebaute Grundst\u00fccke": {},
+            "Vorrichtungen, Formen und Modelle": {},
+            "Wohn- und Sozialgeb\u00e4ude auf eigenem Grund": {},
+            "Wohn- und Sozialgeb\u00e4ude auf fremdem Grund": {},
+            "root_type": "Asset"
+        },
         "Summe Personalaufwand": {
-            "6000 bis 6190 L\u00f6hne": {}, 
-            "6200 bis 6390 Geh\u00e4lter": {}, 
-            "6400 bis 6440 Aufwendungen f\u00fcr Abfertigungen": {}, 
-            "6450 bis 6490 Aufwendungen f\u00fcr Altersversorgung": {}, 
-            "6500 bis 6550 Gesetzlicher Sozialaufwand Arbeiter": {}, 
-            "6560 bis 6590 Gesetzlicher Sozialaufwand Angestellte": {}, 
-            "6600 bis 6650 Lohnabh\u00e4ngige Abgaben und Pflichtbeitr\u00e4gte": {}, 
-            "6660 bis 6690 Gehaltsabh\u00e4ngige Abgaben und Pflichtbeitr\u00e4gte": {}, 
-            "6700 bis 6890 Sonstige Sozialaufwendungen": {}, 
-            "Aufwandsstellenrechnung": {}
-        }, 
+            "6000 bis 6190 L\u00f6hne": {},
+            "6200 bis 6390 Geh\u00e4lter": {},
+            "6400 bis 6440 Aufwendungen f\u00fcr Abfertigungen": {},
+            "6450 bis 6490 Aufwendungen f\u00fcr Altersversorgung": {},
+            "6500 bis 6550 Gesetzlicher Sozialaufwand Arbeiter": {},
+            "6560 bis 6590 Gesetzlicher Sozialaufwand Angestellte": {},
+            "6600 bis 6650 Lohnabh\u00e4ngige Abgaben und Pflichtbeitr\u00e4gte": {},
+            "6660 bis 6690 Gehaltsabh\u00e4ngige Abgaben und Pflichtbeitr\u00e4gte": {},
+            "6700 bis 6890 Sonstige Sozialaufwendungen": {},
+            "Aufwandsstellenrechnung": {},
+            "root_type": "Expense"
+        },
         "Summe Umlaufverm\u00f6gen": {
             "2000 bis 2007 Forderungen aus Lief. und Leist. Inland": {
                 "account_type": "Receivable"
-            }, 
+            },
             "2100 bis 2120 Forderungen aus Lief. und Leist. EU": {
                 "account_type": "Receivable"
-            }, 
+            },
             "2150 bis 2170 Forderungen aus Lief. und Leist. Ausland": {
                 "account_type": "Receivable"
-            }, 
+            },
             "2200 bis 2220 Forderungen gegen\u00fcber verbundenen Unternehmen": {
                 "account_type": "Receivable"
-            }, 
+            },
             "2250 bis 2270 Forderungen gegen\u00fcber Unternehmen, mit denen ein Beteiligungsverh\u00e4ltnis besteht": {
                 "account_type": "Receivable"
-            }, 
+            },
             "2300 bis 2460 Sonstige Forderungen und Verm\u00f6gensgegenst\u00e4nde": {
                 "account_type": "Receivable"
-            }, 
+            },
             "2630 bis 2670 Sonstige Wertpapiere": {
                 "account_type": "Receivable"
-            }, 
+            },
             "2750 bis 2770 Kassenbest\u00e4nde in Fremdw\u00e4hrung": {
                 "account_type": "Receivable"
-            }, 
+            },
             "Aktive Rechnungsabrenzungsposten": {
                 "account_type": "Receivable"
-            }, 
+            },
             "Anteile an verbundenen Unternehmen": {
                 "account_type": "Receivable"
-            }, 
+            },
             "Bank / Guthaben bei Kreditinstituten": {
                 "account_type": "Receivable"
-            }, 
+            },
             "Besitzwechsel ...": {
                 "account_type": "Receivable"
-            }, 
+            },
             "Disagio": {
                 "account_type": "Receivable"
-            }, 
+            },
             "Eigene Anteile (Wertpapiere)": {
                 "account_type": "Receivable"
-            }, 
-            "Einfuhrumsatzsteuer (bezahlt)": {}, 
+            },
+            "Einfuhrumsatzsteuer (bezahlt)": {},
             "Eingeforderte aber noch nicht eingezahlte Einlagen": {
                 "account_type": "Receivable"
-            }, 
+            },
             "Einzelwertberichtigungen zu Forderungen aus Lief. und Leist. Ausland": {
                 "account_type": "Receivable"
-            }, 
+            },
             "Einzelwertberichtigungen zu Forderungen aus Lief. und Leist. EU": {
                 "account_type": "Receivable"
-            }, 
+            },
             "Einzelwertberichtigungen zu Forderungen aus Lief. und Leist. Inland ": {
                 "account_type": "Receivable"
-            }, 
+            },
             "Einzelwertberichtigungen zu Forderungen gegen\u00fcber Unternehmen mit denen ein Beteiligungsverh\u00e4ltnis besteht": {
                 "account_type": "Receivable"
-            }, 
+            },
             "Einzelwertberichtigungen zu Forderungen gegen\u00fcber verbundenen Unternehmen": {
                 "account_type": "Receivable"
-            }, 
+            },
             "Einzelwertberichtigungen zu sonstigen Forderungen und Verm\u00f6gensgegenst\u00e4nden": {
                 "account_type": "Receivable"
-            }, 
+            },
             "Kassenbestand": {
                 "account_type": "Receivable"
-            }, 
+            },
             "Pauschalwertberichtigungen zu Forderungen aus Lief. und Leist. Ausland": {
                 "account_type": "Receivable"
-            }, 
+            },
             "Pauschalwertberichtigungen zu Forderungen aus Lief. und Leist. EU": {
                 "account_type": "Receivable"
-            }, 
+            },
             "Pauschalwertberichtigungen zu Forderungen aus Lief. und Leist. Inland ": {
                 "account_type": "Receivable"
-            }, 
+            },
             "Pauschalwertberichtigungen zu Forderungen gegen\u00fcber Unternehmen mit denen ein Beteiligungsverh\u00e4ltnis besteht": {
                 "account_type": "Receivable"
-            }, 
+            },
             "Pauschalwertberichtigungen zu Forderungen gegen\u00fcber verbundenen Unternehmen": {
                 "account_type": "Receivable"
-            }, 
+            },
             "Pauschalwertberichtigungen zu sonstigen Forderungen und Verm\u00f6gensgegenst\u00e4nden": {
                 "account_type": "Receivable"
-            }, 
+            },
             "Postwertzeichen": {
                 "account_type": "Receivable"
-            }, 
+            },
             "Schecks in Inlandsw\u00e4hrung": {
                 "account_type": "Receivable"
-            }, 
+            },
             "Sonstige Anteile": {
                 "account_type": "Receivable"
-            }, 
+            },
             "Stempelmarken": {
                 "account_type": "Receivable"
-            }, 
+            },
             "Steuerabgrenzung": {
                 "account_type": "Receivable"
-            }, 
+            },
             "Unterschiedsbetrag gem. Abschnitt XII Pensionskassengesetz": {
                 "account_type": "Receivable"
-            }, 
+            },
             "Unterschiedsbetrag zur gebotenen Pensionsr\u00fcckstellung": {
                 "account_type": "Receivable"
-            }, 
+            },
             "Vorsteuer": {
                 "account_type": "Receivable"
-            }, 
+            },
             "Vorsteuer aus ig. Erwerb 10%": {
                 "account_type": "Tax"
-            }, 
+            },
             "Vorsteuer aus ig. Erwerb 20%": {
                 "account_type": "Tax"
-            }, 
+            },
             "Vorsteuer \u00a719/Art 19 ( reverse charge ) ": {
                 "account_type": "Tax"
-            }, 
+            },
             "Wertberichtigungen": {
                 "account_type": "Receivable"
-            }
-        }, 
+            },
+            "root_type": "Asset"
+        },
         "Summe Vorr\u00e4te": {
-            "1000 bis 1090 Bezugsverrechnung": {}, 
-            "1100 bis 1190 Rohstoffe": {}, 
-            "1200 bis 1290 Bezogene Teile": {}, 
-            "1300 bis 1340 Hilfsstoffe": {}, 
-            "1350 bis 1390 Betriebsstoffe": {}, 
-            "1400 bis 1490 Unfertige Erzeugniss": {}, 
-            "1500 bis 1590 Fertige Erzeugniss": {}, 
-            "1600 bis 1690 Waren": {}, 
-            "1700 bis 1790 Noch nicht abgerechenbare Leistungen": {}, 
-            "1900 bis 1990 Wertberichtigungen": {}, 
-            "geleistete Anzahlungen": {}
-        }, 
+            "1000 bis 1090 Bezugsverrechnung": {},
+            "1100 bis 1190 Rohstoffe": {},
+            "1200 bis 1290 Bezogene Teile": {},
+            "1300 bis 1340 Hilfsstoffe": {},
+            "1350 bis 1390 Betriebsstoffe": {},
+            "1400 bis 1490 Unfertige Erzeugniss": {},
+            "1500 bis 1590 Fertige Erzeugniss": {},
+            "1600 bis 1690 Waren": {},
+            "1700 bis 1790 Noch nicht abgerechenbare Leistungen": {},
+            "1900 bis 1990 Wertberichtigungen": {},
+            "geleistete Anzahlungen": {},
+            "root_type": "Asset"
+        },
         "Summe Wareneinsatz": {
-            "5100 bis 5190 Verbrauch an Rohstoffen": {}, 
-            "5200 bis 5290 Verbrauch von bezogenen Fertig- und Einzelteilen": {}, 
-            "5300 bis 5390 Verbrauch von Hilfsstoffen": {}, 
-            "5400 bis 5490 Verbrauch von Betriebsstoffen": {}, 
-            "5500 bis 5590 Verbrauch von Werkzeugen und anderen Erzeugungshilfsmittel": {}, 
-            "5600 bis 5690 Verbrauch von Brenn- und Treibstoffen, Energie und Wasser": {}, 
-            "5700 bis 5790 Sonstige bezogene Herstellungsleistungen": {}, 
-            "Aufwandsstellenrechnung": {}, 
-            "Skontoertr\u00e4ge auf Materialaufwand": {}, 
-            "Skontoertr\u00e4ge auf sonstige bezogene Herstellungsleistungen": {}, 
-            "Wareneinkauf 10 %": {}, 
-            "Wareneinkauf 20 %": {}, 
-            "Wareneinkauf igErwerb 10 % VSt/10 % USt": {}, 
-            "Wareneinkauf igErwerb 20 % VSt/20 % USt": {}, 
-            "Wareneinkauf igErwerb ohne Vorsteuerabzug und 10 % USt": {}, 
-            "Wareneinkauf igErwerb ohne Vorsteuerabzug und 20 % USt": {}
-        }, 
-        "name": "Account Chart - Austria EKR2010"
+            "5100 bis 5190 Verbrauch an Rohstoffen": {},
+            "5200 bis 5290 Verbrauch von bezogenen Fertig- und Einzelteilen": {},
+            "5300 bis 5390 Verbrauch von Hilfsstoffen": {},
+            "5400 bis 5490 Verbrauch von Betriebsstoffen": {},
+            "5500 bis 5590 Verbrauch von Werkzeugen und anderen Erzeugungshilfsmittel": {},
+            "5600 bis 5690 Verbrauch von Brenn- und Treibstoffen, Energie und Wasser": {},
+            "5700 bis 5790 Sonstige bezogene Herstellungsleistungen": {},
+            "Aufwandsstellenrechnung": {},
+            "Skontoertr\u00e4ge auf Materialaufwand": {},
+            "Skontoertr\u00e4ge auf sonstige bezogene Herstellungsleistungen": {},
+            "Wareneinkauf 10 %": {},
+            "Wareneinkauf 20 %": {},
+            "Wareneinkauf igErwerb 10 % VSt/10 % USt": {},
+            "Wareneinkauf igErwerb 20 % VSt/20 % USt": {},
+            "Wareneinkauf igErwerb ohne Vorsteuerabzug und 10 % USt": {},
+            "Wareneinkauf igErwerb ohne Vorsteuerabzug und 20 % USt": {},
+            "root_type": "Expense"
+        }
     }
-}
\ No newline at end of file
+}
diff --git a/erpnext/accounts/doctype/account/chart_of_accounts/be_l10nbe_chart_template.json b/erpnext/accounts/doctype/account/chart_of_accounts/be_l10nbe_chart_template.json
index 93b03cd..18bea35 100644
--- a/erpnext/accounts/doctype/account/chart_of_accounts/be_l10nbe_chart_template.json
+++ b/erpnext/accounts/doctype/account/chart_of_accounts/be_l10nbe_chart_template.json
@@ -128,7 +128,8 @@
             "SUBSIDES EN CAPITAL": {
                 "Montants obtenus": {}, 
                 "Montants transf\u00e9r\u00e9s aux r\u00e9sultats": {}
-            }
+            }, 
+            "root_type": ""
         }, 
         "CLASSE 2. FRAIS D'ETABLISSEMENT. ACTIFS IMMOBILISES ET CREANCES A PLUS D'UN AN": {
             "AUTRES IMMOBILISATIONS CORPORELLES": {
@@ -438,7 +439,8 @@
                         "Voies de transport et ouvrages d'art": {}
                     }
                 }
-            }
+            }, 
+            "root_type": ""
         }, 
         "CLASSE 3. STOCK ET COMMANDES EN COURS D'EXECUTION": {
             "ACOMPTES VERSES SUR ACHATS POUR STOCKS": {
@@ -585,7 +587,8 @@
                 }, 
                 "account_type": "Stock"
             }, 
-            "account_type": "Stock"
+            "account_type": "Stock", 
+            "root_type": ""
         }, 
         "CLASSE 4. CREANCES ET DETTES A UN AN AU PLUS": {
             "ACOMPTES RECUS SUR COMMANDES": {
@@ -1100,7 +1103,8 @@
                         "account_type": "Payable"
                     }
                 }
-            }
+            }, 
+            "root_type": ""
         }, 
         "CLASSE 5. PLACEMENTS DE TRESORERIE ET DE VALEURS DISPONIBLES": {
             "ACTIONS ET PARTS": {
@@ -1170,7 +1174,8 @@
             }, 
             "VIREMENTS INTERNES": {
                 "account_type": "Cash"
-            }
+            }, 
+            "root_type": ""
         }, 
         "CLASSE 6. - CHARGES": {
             "AFFECTATION DES RESULTATS": {
@@ -1413,7 +1418,8 @@
                     "Sous-traitants pour activit\u00e9s propres": {}
                 }
             }, 
-            "TRANSFERTS AUX RESERVES IMMUNISEES": {}
+            "TRANSFERTS AUX RESERVES IMMUNISEES": {}, 
+            "root_type": ""
         }, 
         "CLASSE 7. - PRODUITS": {
             "AFFECTATION AUX RESULTATS": {
@@ -1526,8 +1532,8 @@
                 "Des en cours de fabrication": {}, 
                 "Des immeubles construits destin\u00e9s \u00e0 la vente": {}, 
                 "Des produits finis": {}
-            }
-        }, 
-        "name": "PLAN COMPTABLE MINIMUM NORMALISE"
+            }, 
+            "root_type": ""
+        }
     }
 }
\ No newline at end of file
diff --git a/erpnext/accounts/doctype/account/chart_of_accounts/br_l10n_br_account_chart_template.json b/erpnext/accounts/doctype/account/chart_of_accounts/br_l10n_br_account_chart_template.json
index 586e203..2f404b7 100644
--- a/erpnext/accounts/doctype/account/chart_of_accounts/br_l10n_br_account_chart_template.json
+++ b/erpnext/accounts/doctype/account/chart_of_accounts/br_l10n_br_account_chart_template.json
@@ -131,7 +131,8 @@
                     "Outras Contas": {}, 
                     "Valores Mobili\u00e1rios": {}
                 }
-            }
+            }, 
+            "root_type": ""
         }, 
         "CUSTOS DE PRODU\u00c7\u00c3O": {
             "CUSTO DOS BENS E SERVI\u00c7OS PRODUZIDOS": {
@@ -213,7 +214,8 @@
                     "Servi\u00e7os Prestados por Cooperativa de Trabalho": {}, 
                     "Servi\u00e7os Prestados por Pessoa F\u00edsica sem V\u00ednculo Empregat\u00edcio": {}
                 }
-            }
+            }, 
+            "root_type": ""
         }, 
         "PASSIVO": {
             "CIRCULANTE": {
@@ -314,7 +316,8 @@
                     "Reservas Estatut\u00e1rias": {}, 
                     "Reservas Patrimoniais": {}
                 }
-            }
+            }, 
+            "root_type": ""
         }, 
         "RESULTADO L\u00cdQUIDO DO PER\u00cdODO": {
             "PROVIS\u00c3O PARA CSLL E IRPJ (ATIVIDADE RURAL)": {
@@ -603,7 +606,8 @@
                         }
                     }
                 }
-            }
+            }, 
+            "root_type": ""
         }, 
         "SUPER\u00c1VIT/D\u00c9FICIT L\u00cdQUIDO DO PER\u00cdODO": {
             "OUTRAS RECEITAS E DESPESAS": {
@@ -786,9 +790,8 @@
                         }
                     }
                 }
-            }
-        }, 
-        "name": "Plano de Contas", 
-        "parent_id": null
+            }, 
+            "root_type": ""
+        }
     }
 }
\ No newline at end of file
diff --git a/erpnext/accounts/doctype/account/chart_of_accounts/ca_ca_en_chart_template_en.json b/erpnext/accounts/doctype/account/chart_of_accounts/ca_ca_en_chart_template_en.json
index 7d2941d..bff5350 100644
--- a/erpnext/accounts/doctype/account/chart_of_accounts/ca_ca_en_chart_template_en.json
+++ b/erpnext/accounts/doctype/account/chart_of_accounts/ca_ca_en_chart_template_en.json
@@ -47,7 +47,8 @@
                 "TANGIBLE ASSETS": {
                     "ACCUMULATED DEPRECIATIONS": {}
                 }
-            }
+            }, 
+            "root_type": ""
         }, 
         "EQUITY": {
             "CONTRIBUTED SURPLUS": {}, 
@@ -55,7 +56,8 @@
             "PREMIUMS": {}, 
             "RETAINED EARNINGS": {}, 
             "SHARE CAPITAL": {}, 
-            "TRANSLATION ADJUSTMENTS": {}
+            "TRANSLATION ADJUSTMENTS": {}, 
+            "root_type": ""
         }, 
         "EXPENSES": {
             "NON-OPERATING EXPENSES": {
@@ -85,7 +87,8 @@
                 "OTHER OPERATING EXPENSES": {}, 
                 "RESEARCH AND DEVELOPMENT EXPENSES": {}, 
                 "SALES EXPENSES": {}
-            }
+            }, 
+            "root_type": ""
         }, 
         "INCOMES": {
             "NON-OPERATING INCOMES": {
@@ -98,7 +101,8 @@
                 "International Sales": {}, 
                 "Non-Harmonized Provinces Sales": {}, 
                 "OTHER OPERATING INCOMES": {}
-            }
+            }, 
+            "root_type": ""
         }, 
         "LIABILITIES": {
             "CURRENT LIABILITIES": {
@@ -161,7 +165,8 @@
                 "NON-CURRENT FINANCIAL DEBTS": {}, 
                 "OTHER NON-CURRENT LIABILITIES": {}, 
                 "PROVISIONS FOR PENSIONS AND OTHER POST-EMPLOYMENT ADVANTAGES": {}
-            }
+            }, 
+            "root_type": ""
         }
     }
 }
\ No newline at end of file
diff --git a/erpnext/accounts/doctype/account/chart_of_accounts/ca_ca_fr_chart_template_fr.json b/erpnext/accounts/doctype/account/chart_of_accounts/ca_ca_fr_chart_template_fr.json
index fdaa238..8d2833f 100644
--- a/erpnext/accounts/doctype/account/chart_of_accounts/ca_ca_fr_chart_template_fr.json
+++ b/erpnext/accounts/doctype/account/chart_of_accounts/ca_ca_fr_chart_template_fr.json
@@ -37,7 +37,8 @@
                     "BREVETS, MARQUES DE COMMERCE ET DROITS D'AUTEURS": {}
                 }, 
                 "PLACEMENTS DISPONIBLES \u00c0 LA VENTE": {}
-            }
+            }, 
+            "root_type": ""
         }, 
         "CAPITAUX PROPRES": {
             "AUTRES \u00c9L\u00c9MENTS DU R\u00c9SULTAT GLOBAL": {}, 
@@ -46,6 +47,7 @@
             "DIVIDENDES": {}, 
             "PRIMES": {}, 
             "SURPLUS D'APPORT": {}, 
+            "root_type": "", 
             "\u00c9CARTS DE CONVERSION": {}
         }, 
         "CHARGES": {
@@ -76,7 +78,8 @@
             "FRAIS NON LI\u00c9S \u00c0 L'EXPLOITATION": {
                 "AUTRES FRAIS NON LI\u00c9S \u00c0 L'EXPLOITATION": {}, 
                 "INT\u00c9R\u00caTS D\u00c9BITEURS": {}
-            }
+            }, 
+            "root_type": ""
         }, 
         "PASSIF": {
             "PASSIFS COURANTS": {
@@ -129,7 +132,8 @@
                 "DETTES FINANCI\u00c8RES NON-COURANTES": {}, 
                 "IMP\u00d4TS DIFF\u00c9R\u00c9S": {}, 
                 "PROVISIONS POUR RETRAITES ET AUTRES AVANTAGES POST\u00c9RIEURS \u00c0 L'EMPLOI": {}
-            }
+            }, 
+            "root_type": ""
         }, 
         "PRODUITS": {
             "PRODUITS D'EXPLOITATION": {
@@ -142,8 +146,8 @@
             "PRODUITS NON LI\u00c9S \u00c0 L'EXPLOITATION": {
                 "AUTRES PRODUITS NON LI\u00c9S \u00c0 L'EXPLOITATION": {}, 
                 "INT\u00c9R\u00caTS": {}
-            }
-        }, 
-        "name": "Account Chart CA FR"
+            }, 
+            "root_type": ""
+        }
     }
 }
\ No newline at end of file
diff --git a/erpnext/accounts/doctype/account/chart_of_accounts/ch_l10nch_chart_template.json b/erpnext/accounts/doctype/account/chart_of_accounts/ch_l10nch_chart_template.json
index 34cad3d..de0e644 100644
--- a/erpnext/accounts/doctype/account/chart_of_accounts/ch_l10nch_chart_template.json
+++ b/erpnext/accounts/doctype/account/chart_of_accounts/ch_l10nch_chart_template.json
@@ -838,7 +838,8 @@
                         }
                     }
                 }
-            }
+            }, 
+            "root_type": ""
         }, 
         "Compte de r\u00e9sultat": {
             "Autres charges d'exploitation": {
@@ -1991,8 +1992,8 @@
                         }
                     }
                 }
-            }
-        }, 
-        "name": "Plan comptable"
+            }, 
+            "root_type": ""
+        }
     }
 }
\ No newline at end of file
diff --git a/erpnext/accounts/doctype/account/chart_of_accounts/cl_cl_chart_template.json b/erpnext/accounts/doctype/account/chart_of_accounts/cl_cl_chart_template.json
index 4ab6e76..ad9c449 100644
--- a/erpnext/accounts/doctype/account/chart_of_accounts/cl_cl_chart_template.json
+++ b/erpnext/accounts/doctype/account/chart_of_accounts/cl_cl_chart_template.json
@@ -8,7 +8,8 @@
             }, 
             "Costos de Producci\u00f3n": {}, 
             "Gastos de Administraci\u00f3n": {}, 
-            "Gastos de Comercializaci\u00f3n": {}
+            "Gastos de Comercializaci\u00f3n": {}, 
+            "root_type": ""
         }, 
         "Cuentas de Orden": {
             "CUENTAS DE ORDEN ACREEDORAS": {
@@ -22,7 +23,8 @@
                 "Documentos Endosados": {}, 
                 "Garantias Otorgadas": {}, 
                 "Mercaderias Recibidas en Consignaci\u00f3n": {}
-            }
+            }, 
+            "root_type": ""
         }, 
         "Cuentas de Resultado": {
             "RESULTADO GANANCIA": {
@@ -65,7 +67,8 @@
                     "Gastos en Servicios P\u00fablicos": {}, 
                     "Gastos en Sueldos y Jornales": {}
                 }
-            }
+            }, 
+            "root_type": ""
         }, 
         "inventario del Balance General": {
             "ACTIVOS": {
@@ -195,8 +198,8 @@
                     "Resultados Acumulados del Ejercicio Anterior": {}, 
                     "Utilidades y P\u00e9rdidas del Ejercicio": {}
                 }
-            }
-        }, 
-        "name": "Chile"
+            }, 
+            "root_type": ""
+        }
     }
 }
\ No newline at end of file
diff --git a/erpnext/accounts/doctype/account/chart_of_accounts/cn_l10n_chart_china.json b/erpnext/accounts/doctype/account/chart_of_accounts/cn_l10n_chart_china.json
index 5b73670..e747234 100644
--- a/erpnext/accounts/doctype/account/chart_of_accounts/cn_l10n_chart_china.json
+++ b/erpnext/accounts/doctype/account/chart_of_accounts/cn_l10n_chart_china.json
@@ -2,40 +2,104 @@
     "country_code": "cn", 
     "name": "\u4e2d\u56fd\u4f1a\u8ba1\u79d1\u76ee\u8868  \uff08\u8d22\u4f1a[2006]3\u53f7\u300a\u4f01\u4e1a\u4f1a\u8ba1\u51c6\u5219\u300b\uff09", 
     "tree": {
-        "name": "\u4f1a\u8ba1\u79d1\u76ee", 
-        "\u4e3b\u8425\u4e1a\u52a1\u6210\u672c": {}, 
-        "\u4e3b\u8425\u4e1a\u52a1\u6536\u5165": {}, 
-        "\u4ea4\u6613\u6027\u91d1\u878d\u8d1f\u503a": {}, 
-        "\u4ea4\u6613\u6027\u91d1\u878d\u8d44\u4ea7": {}, 
-        "\u4ee5\u524d\u5e74\u5ea6\u635f\u76ca\u8c03\u6574": {}, 
-        "\u516c\u5141\u4ef7\u503c\u53d8\u52a8\u635f\u76ca": {}, 
-        "\u5176\u4ed6\u4e1a\u52a1\u652f\u51fa": {}, 
-        "\u5176\u4ed6\u4e1a\u52a1\u6536\u5165": {}, 
-        "\u5176\u4ed6\u5e94\u4ed8\u6b3e": {}, 
-        "\u5176\u4ed6\u5e94\u6536\u6b3e": {}, 
-        "\u5176\u4ed6\u8d27\u5e01\u8d44\u91d1": {}, 
-        "\u5229\u6da6\u5206\u914d": {}, 
-        "\u5236\u9020\u8d39\u7528": {}, 
-        "\u52b3\u52a1\u6210\u672c": {}, 
-        "\u5305\u88c5\u7269\u53ca\u4f4e\u503c\u6613\u8017\u54c1": {}, 
-        "\u539f\u6750\u6599": {}, 
-        "\u53d1\u51fa\u5546\u54c1": {}, 
-        "\u5546\u54c1\u8fdb\u9500\u5dee\u4ef7": {}, 
-        "\u5546\u8a89": {}, 
-        "\u56fa\u5b9a\u8d44\u4ea7": {}, 
-        "\u56fa\u5b9a\u8d44\u4ea7\u51cf\u503c\u51c6\u5907": {}, 
-        "\u56fa\u5b9a\u8d44\u4ea7\u6e05\u7406": {}, 
-        "\u5728\u5efa\u5de5\u7a0b": {}, 
-        "\u5728\u9014\u7269\u8d44": {}, 
-        "\u574f\u8d26\u51c6\u5907": {}, 
-        "\u5957\u671f\u5de5\u5177": {}, 
-        "\u59d4\u6258\u52a0\u5de5\u7269\u8d44": {}, 
-        "\u5b58\u8d27\u8dcc\u4ef7\u51c6\u5907": {}, 
-        "\u5b9e\u6536\u8d44\u672c": {}, 
-        "\u5de5\u7a0b\u7269\u8d44": {}, 
-        "\u5e93\u5b58\u5546\u54c1": {}, 
-        "\u5e93\u5b58\u80a1": {}, 
+        "\u4e3b\u8425\u4e1a\u52a1\u6210\u672c": {
+            "root_type": ""
+        }, 
+        "\u4e3b\u8425\u4e1a\u52a1\u6536\u5165": {
+            "root_type": ""
+        }, 
+        "\u4ea4\u6613\u6027\u91d1\u878d\u8d1f\u503a": {
+            "root_type": ""
+        }, 
+        "\u4ea4\u6613\u6027\u91d1\u878d\u8d44\u4ea7": {
+            "root_type": ""
+        }, 
+        "\u4ee5\u524d\u5e74\u5ea6\u635f\u76ca\u8c03\u6574": {
+            "root_type": ""
+        }, 
+        "\u516c\u5141\u4ef7\u503c\u53d8\u52a8\u635f\u76ca": {
+            "root_type": ""
+        }, 
+        "\u5176\u4ed6\u4e1a\u52a1\u652f\u51fa": {
+            "root_type": ""
+        }, 
+        "\u5176\u4ed6\u4e1a\u52a1\u6536\u5165": {
+            "root_type": ""
+        }, 
+        "\u5176\u4ed6\u5e94\u4ed8\u6b3e": {
+            "root_type": ""
+        }, 
+        "\u5176\u4ed6\u5e94\u6536\u6b3e": {
+            "root_type": ""
+        }, 
+        "\u5176\u4ed6\u8d27\u5e01\u8d44\u91d1": {
+            "root_type": ""
+        }, 
+        "\u5229\u6da6\u5206\u914d": {
+            "root_type": ""
+        }, 
+        "\u5236\u9020\u8d39\u7528": {
+            "root_type": ""
+        }, 
+        "\u52b3\u52a1\u6210\u672c": {
+            "root_type": ""
+        }, 
+        "\u5305\u88c5\u7269\u53ca\u4f4e\u503c\u6613\u8017\u54c1": {
+            "root_type": ""
+        }, 
+        "\u539f\u6750\u6599": {
+            "root_type": ""
+        }, 
+        "\u53d1\u51fa\u5546\u54c1": {
+            "root_type": ""
+        }, 
+        "\u5546\u54c1\u8fdb\u9500\u5dee\u4ef7": {
+            "root_type": ""
+        }, 
+        "\u5546\u8a89": {
+            "root_type": ""
+        }, 
+        "\u56fa\u5b9a\u8d44\u4ea7": {
+            "root_type": ""
+        }, 
+        "\u56fa\u5b9a\u8d44\u4ea7\u51cf\u503c\u51c6\u5907": {
+            "root_type": ""
+        }, 
+        "\u56fa\u5b9a\u8d44\u4ea7\u6e05\u7406": {
+            "root_type": ""
+        }, 
+        "\u5728\u5efa\u5de5\u7a0b": {
+            "root_type": ""
+        }, 
+        "\u5728\u9014\u7269\u8d44": {
+            "root_type": ""
+        }, 
+        "\u574f\u8d26\u51c6\u5907": {
+            "root_type": ""
+        }, 
+        "\u5957\u671f\u5de5\u5177": {
+            "root_type": ""
+        }, 
+        "\u59d4\u6258\u52a0\u5de5\u7269\u8d44": {
+            "root_type": ""
+        }, 
+        "\u5b58\u8d27\u8dcc\u4ef7\u51c6\u5907": {
+            "root_type": ""
+        }, 
+        "\u5b9e\u6536\u8d44\u672c": {
+            "root_type": ""
+        }, 
+        "\u5de5\u7a0b\u7269\u8d44": {
+            "root_type": ""
+        }, 
+        "\u5e93\u5b58\u5546\u54c1": {
+            "root_type": ""
+        }, 
+        "\u5e93\u5b58\u80a1": {
+            "root_type": ""
+        }, 
         "\u5e94\u4ea4\u7a0e\u8d39": {
+            "root_type": "", 
             "\u5e94\u4ea4\u4e2a\u4eba\u6240\u5f97\u7a0e": {}, 
             "\u5e94\u4ea4\u571f\u5730\u4f7f\u7528\u7a0e": {}, 
             "\u5e94\u4ea4\u571f\u5730\u589e\u503c\u7a0e": {}, 
@@ -59,54 +123,152 @@
             "\u5e94\u4ea4\u8d44\u6e90\u7a0e": {}, 
             "\u5e94\u4ea4\u8f66\u8239\u4f7f\u7528\u7a0e": {}
         }, 
-        "\u5e94\u4ed8\u5229\u606f": {}, 
-        "\u5e94\u4ed8\u7968\u636e": {}, 
-        "\u5e94\u4ed8\u804c\u5de5\u85aa\u916c": {}, 
-        "\u5e94\u4ed8\u80a1\u5229": {}, 
-        "\u5e94\u4ed8\u8d26\u6b3e": {}, 
-        "\u5e94\u6536\u5229\u606f": {}, 
-        "\u5e94\u6536\u7968\u636e": {}, 
-        "\u5e94\u6536\u80a1\u5229": {}, 
-        "\u5e94\u6536\u8d26\u6b3e": {}, 
-        "\u5f85\u5904\u7406\u8d22\u4ea7\u635f\u6ea2": {}, 
-        "\u5f85\u644a\u8d39\u7528": {}, 
-        "\u6240\u5f97\u7a0e": {}, 
-        "\u6295\u8d44\u6536\u76ca": {}, 
-        "\u6301\u6709\u81f3\u5230\u671f\u6295\u8d44": {}, 
-        "\u6301\u6709\u81f3\u5230\u671f\u6295\u8d44\u51cf\u503c\u51c6\u5907": {}, 
-        "\u65e0\u5f62\u8d44\u4ea7": {}, 
-        "\u65e0\u5f62\u8d44\u4ea7\u51cf\u503c\u51c6\u5907": {}, 
-        "\u672c\u5e74\u5229\u6da6": {}, 
-        "\u6750\u6599\u6210\u672c\u5dee\u5f02": {}, 
-        "\u6750\u6599\u91c7\u8d2d": {}, 
-        "\u73b0\u91d1": {}, 
-        "\u751f\u4ea7\u6210\u672c": {}, 
-        "\u76c8\u4f59\u516c\u79ef": {}, 
-        "\u77ed\u671f\u501f\u6b3e": {}, 
-        "\u7814\u53d1\u652f\u51fa": {}, 
-        "\u7ba1\u7406\u8d39\u7528": {}, 
-        "\u7d2f\u8ba1\u6298\u65e7": {}, 
-        "\u8425\u4e1a\u5916\u652f\u51fa": {}, 
-        "\u8425\u4e1a\u5916\u6536\u5165": {}, 
-        "\u8425\u4e1a\u7a0e\u91d1\u53ca\u9644\u52a0": {}, 
-        "\u884d\u751f\u5de5\u5177": {}, 
-        "\u88ab\u5957\u671f\u9879\u76ee": {}, 
-        "\u8d22\u52a1\u8d39\u7528": {}, 
-        "\u8d44\u4ea7\u51cf\u503c\u635f\u5931": {}, 
-        "\u8d44\u672c\u516c\u79ef": {}, 
-        "\u9012\u5ef6\u6240\u5f97\u7a0e\u8d1f\u503a": {}, 
-        "\u9012\u5ef6\u6240\u5f97\u7a0e\u8d44\u4ea7": {}, 
-        "\u94f6\u884c\u5b58\u6b3e": {}, 
-        "\u9500\u552e\u8d39\u7528": {}, 
-        "\u957f\u671f\u501f\u6b3e": {}, 
-        "\u957f\u671f\u503a\u5238": {}, 
-        "\u957f\u671f\u5e94\u4ed8\u6b3e": {}, 
-        "\u957f\u671f\u5e94\u6536\u6b3e": {}, 
-        "\u957f\u671f\u5f85\u644a\u8d39\u7528": {}, 
-        "\u957f\u671f\u6295\u8d44\u51cf\u503c\u51c6\u5907": {}, 
-        "\u957f\u671f\u80a1\u6743\u6295\u8d44": {}, 
-        "\u9884\u4ed8\u8d26\u6b3e": {}, 
-        "\u9884\u63d0\u8d39\u7528": {}, 
-        "\u9884\u6536\u8d26\u6b3e": {}
+        "\u5e94\u4ed8\u5229\u606f": {
+            "root_type": ""
+        }, 
+        "\u5e94\u4ed8\u7968\u636e": {
+            "root_type": ""
+        }, 
+        "\u5e94\u4ed8\u804c\u5de5\u85aa\u916c": {
+            "root_type": ""
+        }, 
+        "\u5e94\u4ed8\u80a1\u5229": {
+            "root_type": ""
+        }, 
+        "\u5e94\u4ed8\u8d26\u6b3e": {
+            "root_type": ""
+        }, 
+        "\u5e94\u6536\u5229\u606f": {
+            "root_type": ""
+        }, 
+        "\u5e94\u6536\u7968\u636e": {
+            "root_type": ""
+        }, 
+        "\u5e94\u6536\u80a1\u5229": {
+            "root_type": ""
+        }, 
+        "\u5e94\u6536\u8d26\u6b3e": {
+            "root_type": ""
+        }, 
+        "\u5f85\u5904\u7406\u8d22\u4ea7\u635f\u6ea2": {
+            "root_type": ""
+        }, 
+        "\u5f85\u644a\u8d39\u7528": {
+            "root_type": ""
+        }, 
+        "\u6240\u5f97\u7a0e": {
+            "root_type": ""
+        }, 
+        "\u6295\u8d44\u6536\u76ca": {
+            "root_type": ""
+        }, 
+        "\u6301\u6709\u81f3\u5230\u671f\u6295\u8d44": {
+            "root_type": ""
+        }, 
+        "\u6301\u6709\u81f3\u5230\u671f\u6295\u8d44\u51cf\u503c\u51c6\u5907": {
+            "root_type": ""
+        }, 
+        "\u65e0\u5f62\u8d44\u4ea7": {
+            "root_type": ""
+        }, 
+        "\u65e0\u5f62\u8d44\u4ea7\u51cf\u503c\u51c6\u5907": {
+            "root_type": ""
+        }, 
+        "\u672c\u5e74\u5229\u6da6": {
+            "root_type": ""
+        }, 
+        "\u6750\u6599\u6210\u672c\u5dee\u5f02": {
+            "root_type": ""
+        }, 
+        "\u6750\u6599\u91c7\u8d2d": {
+            "root_type": ""
+        }, 
+        "\u73b0\u91d1": {
+            "root_type": ""
+        }, 
+        "\u751f\u4ea7\u6210\u672c": {
+            "root_type": ""
+        }, 
+        "\u76c8\u4f59\u516c\u79ef": {
+            "root_type": ""
+        }, 
+        "\u77ed\u671f\u501f\u6b3e": {
+            "root_type": ""
+        }, 
+        "\u7814\u53d1\u652f\u51fa": {
+            "root_type": ""
+        }, 
+        "\u7ba1\u7406\u8d39\u7528": {
+            "root_type": ""
+        }, 
+        "\u7d2f\u8ba1\u6298\u65e7": {
+            "root_type": ""
+        }, 
+        "\u8425\u4e1a\u5916\u652f\u51fa": {
+            "root_type": ""
+        }, 
+        "\u8425\u4e1a\u5916\u6536\u5165": {
+            "root_type": ""
+        }, 
+        "\u8425\u4e1a\u7a0e\u91d1\u53ca\u9644\u52a0": {
+            "root_type": ""
+        }, 
+        "\u884d\u751f\u5de5\u5177": {
+            "root_type": ""
+        }, 
+        "\u88ab\u5957\u671f\u9879\u76ee": {
+            "root_type": ""
+        }, 
+        "\u8d22\u52a1\u8d39\u7528": {
+            "root_type": ""
+        }, 
+        "\u8d44\u4ea7\u51cf\u503c\u635f\u5931": {
+            "root_type": ""
+        }, 
+        "\u8d44\u672c\u516c\u79ef": {
+            "root_type": ""
+        }, 
+        "\u9012\u5ef6\u6240\u5f97\u7a0e\u8d1f\u503a": {
+            "root_type": ""
+        }, 
+        "\u9012\u5ef6\u6240\u5f97\u7a0e\u8d44\u4ea7": {
+            "root_type": ""
+        }, 
+        "\u94f6\u884c\u5b58\u6b3e": {
+            "root_type": ""
+        }, 
+        "\u9500\u552e\u8d39\u7528": {
+            "root_type": ""
+        }, 
+        "\u957f\u671f\u501f\u6b3e": {
+            "root_type": ""
+        }, 
+        "\u957f\u671f\u503a\u5238": {
+            "root_type": ""
+        }, 
+        "\u957f\u671f\u5e94\u4ed8\u6b3e": {
+            "root_type": ""
+        }, 
+        "\u957f\u671f\u5e94\u6536\u6b3e": {
+            "root_type": ""
+        }, 
+        "\u957f\u671f\u5f85\u644a\u8d39\u7528": {
+            "root_type": ""
+        }, 
+        "\u957f\u671f\u6295\u8d44\u51cf\u503c\u51c6\u5907": {
+            "root_type": ""
+        }, 
+        "\u957f\u671f\u80a1\u6743\u6295\u8d44": {
+            "root_type": ""
+        }, 
+        "\u9884\u4ed8\u8d26\u6b3e": {
+            "root_type": ""
+        }, 
+        "\u9884\u63d0\u8d39\u7528": {
+            "root_type": ""
+        }, 
+        "\u9884\u6536\u8d26\u6b3e": {
+            "root_type": ""
+        }
     }
 }
\ No newline at end of file
diff --git a/erpnext/accounts/doctype/account/chart_of_accounts/cn_l10n_chart_china_small_business.json b/erpnext/accounts/doctype/account/chart_of_accounts/cn_l10n_chart_china_small_business.json
index 1c4ad99..48357f5 100644
--- a/erpnext/accounts/doctype/account/chart_of_accounts/cn_l10n_chart_china_small_business.json
+++ b/erpnext/accounts/doctype/account/chart_of_accounts/cn_l10n_chart_china_small_business.json
@@ -2,70 +2,197 @@
     "country_code": "cn", 
     "name": "\u5c0f\u4f01\u4e1a\u4f1a\u8ba1\u79d1\u76ee\u8868\uff08\u8d22\u4f1a[2011]17\u53f7\u300a\u5c0f\u4f01\u4e1a\u4f1a\u8ba1\u51c6\u5219\u300b\uff09", 
     "tree": {
-        "name": "\u4f1a\u8ba1\u79d1\u76ee", 
-        "\u4e3b\u8425\u4e1a\u52a1\u6210\u672c": {}, 
-        "\u4e3b\u8425\u4e1a\u52a1\u6536\u5165": {}, 
-        "\u5176\u4ed6\u4e1a\u52a1\u6210\u672c": {}, 
-        "\u5176\u4ed6\u4e1a\u52a1\u6536\u5165": {}, 
-        "\u5176\u4ed6\u5e94\u6536\u6b3e": {}, 
-        "\u5176\u4ed6\u8d27\u5e01\u8d44\u91d1": {}, 
-        "\u5229\u6da6\u5206\u914d": {}, 
-        "\u5236\u9020\u8d39\u7528": {}, 
-        "\u539f\u6750\u6599": {}, 
-        "\u5468\u8f6c\u6750\u6599": {}, 
-        "\u5546\u54c1\u8fdb\u9500\u5dee\u4ef7": {}, 
-        "\u56fa\u5b9a\u8d44\u4ea7": {}, 
-        "\u56fa\u5b9a\u8d44\u4ea7\u6e05\u7406": {}, 
-        "\u5728\u5efa\u5de5\u7a0b": {}, 
-        "\u5728\u9014\u7269\u8d44": {}, 
-        "\u59d4\u6258\u52a0\u5de5\u7269\u8d44": {}, 
-        "\u5b9e\u6536\u8d44\u672c": {}, 
-        "\u5de5\u7a0b\u65bd\u5de5": {}, 
-        "\u5de5\u7a0b\u7269\u8d44": {}, 
-        "\u5e93\u5b58\u5546\u54c1": {}, 
-        "\u5e94\u4ea4\u7a0e\u8d39": {}, 
-        "\u5e94\u4ed8\u5229\u606f": {}, 
-        "\u5e94\u4ed8\u5229\u6da6": {}, 
-        "\u5e94\u4ed8\u7968\u636e": {}, 
-        "\u5e94\u4ed8\u804c\u5de5\u85aa\u916c": {}, 
-        "\u5e94\u4ed8\u8d26\u6b3e": {}, 
-        "\u5e94\u6536\u5229\u606f": {}, 
-        "\u5e94\u6536\u7968\u636e": {}, 
-        "\u5e94\u6536\u80a1\u5229": {}, 
-        "\u5e94\u6536\u8d26\u6b3e": {}, 
-        "\u5f85\u5904\u7406\u8d22\u4ea7\u635f\u6ea2": {}, 
-        "\u6240\u5f97\u7a0e": {}, 
-        "\u6295\u8d44\u6536\u76ca": {}, 
-        "\u65e0\u5f62\u8d44\u4ea7": {}, 
-        "\u672c\u5e74\u5229\u6da6": {}, 
-        "\u673a\u68b0\u4f5c\u4e1a": {}, 
-        "\u6750\u6599\u6210\u672c\u5dee\u5f02": {}, 
-        "\u6750\u6599\u91c7\u8d2d": {}, 
-        "\u6d88\u8017\u6027\u751f\u7269\u8d44\u4ea7": {}, 
-        "\u73b0\u91d1": {}, 
-        "\u751f\u4ea7\u6027\u751f\u7269\u8d44\u4ea7": {}, 
-        "\u751f\u4ea7\u6027\u751f\u7269\u8d44\u4ea7\u7d2f\u8ba1\u6298\u65e7": {}, 
-        "\u751f\u4ea7\u6210\u672c": {}, 
-        "\u76c8\u4f59\u516c\u79ef": {}, 
-        "\u77ed\u671f\u501f\u6b3e": {}, 
-        "\u77ed\u671f\u6295\u8d44": {}, 
-        "\u7814\u53d1\u652f\u51fa": {}, 
-        "\u7ba1\u7406\u8d39\u7528": {}, 
-        "\u7d2f\u8ba1\u644a\u9500": {}, 
-        "\u8425\u4e1a\u5916\u652f\u51fa": {}, 
-        "\u8425\u4e1a\u5916\u6536\u5165": {}, 
-        "\u8425\u4e1a\u7a0e\u91d1\u53ca\u9644\u52a0": {}, 
-        "\u8d22\u52a1\u8d39\u7528": {}, 
-        "\u8d44\u672c\u516c\u79ef": {}, 
-        "\u9012\u5ef6\u6536\u76ca": {}, 
-        "\u94f6\u884c\u5b58\u6b3e": {}, 
-        "\u9500\u552e\u8d39\u7528": {}, 
-        "\u957f\u671f\u501f\u6b3e": {}, 
-        "\u957f\u671f\u503a\u5238\u6295\u8d44": {}, 
-        "\u957f\u671f\u5e94\u4ed8\u6b3e": {}, 
-        "\u957f\u671f\u5f85\u644a\u8d39\u7528": {}, 
-        "\u957f\u671f\u80a1\u6743\u6295\u8d44": {}, 
-        "\u9884\u4ed8\u8d26\u6b3e": {}, 
-        "\u9884\u6536\u8d26\u6b3e": {}
+        "\u4e3b\u8425\u4e1a\u52a1\u6210\u672c": {
+            "root_type": ""
+        }, 
+        "\u4e3b\u8425\u4e1a\u52a1\u6536\u5165": {
+            "root_type": ""
+        }, 
+        "\u5176\u4ed6\u4e1a\u52a1\u6210\u672c": {
+            "root_type": ""
+        }, 
+        "\u5176\u4ed6\u4e1a\u52a1\u6536\u5165": {
+            "root_type": ""
+        }, 
+        "\u5176\u4ed6\u5e94\u6536\u6b3e": {
+            "root_type": ""
+        }, 
+        "\u5176\u4ed6\u8d27\u5e01\u8d44\u91d1": {
+            "root_type": ""
+        }, 
+        "\u5229\u6da6\u5206\u914d": {
+            "root_type": ""
+        }, 
+        "\u5236\u9020\u8d39\u7528": {
+            "root_type": ""
+        }, 
+        "\u539f\u6750\u6599": {
+            "root_type": ""
+        }, 
+        "\u5468\u8f6c\u6750\u6599": {
+            "root_type": ""
+        }, 
+        "\u5546\u54c1\u8fdb\u9500\u5dee\u4ef7": {
+            "root_type": ""
+        }, 
+        "\u56fa\u5b9a\u8d44\u4ea7": {
+            "root_type": ""
+        }, 
+        "\u56fa\u5b9a\u8d44\u4ea7\u6e05\u7406": {
+            "root_type": ""
+        }, 
+        "\u5728\u5efa\u5de5\u7a0b": {
+            "root_type": ""
+        }, 
+        "\u5728\u9014\u7269\u8d44": {
+            "root_type": ""
+        }, 
+        "\u59d4\u6258\u52a0\u5de5\u7269\u8d44": {
+            "root_type": ""
+        }, 
+        "\u5b9e\u6536\u8d44\u672c": {
+            "root_type": ""
+        }, 
+        "\u5de5\u7a0b\u65bd\u5de5": {
+            "root_type": ""
+        }, 
+        "\u5de5\u7a0b\u7269\u8d44": {
+            "root_type": ""
+        }, 
+        "\u5e93\u5b58\u5546\u54c1": {
+            "root_type": ""
+        }, 
+        "\u5e94\u4ea4\u7a0e\u8d39": {
+            "root_type": ""
+        }, 
+        "\u5e94\u4ed8\u5229\u606f": {
+            "root_type": ""
+        }, 
+        "\u5e94\u4ed8\u5229\u6da6": {
+            "root_type": ""
+        }, 
+        "\u5e94\u4ed8\u7968\u636e": {
+            "root_type": ""
+        }, 
+        "\u5e94\u4ed8\u804c\u5de5\u85aa\u916c": {
+            "root_type": ""
+        }, 
+        "\u5e94\u4ed8\u8d26\u6b3e": {
+            "root_type": ""
+        }, 
+        "\u5e94\u6536\u5229\u606f": {
+            "root_type": ""
+        }, 
+        "\u5e94\u6536\u7968\u636e": {
+            "root_type": ""
+        }, 
+        "\u5e94\u6536\u80a1\u5229": {
+            "root_type": ""
+        }, 
+        "\u5e94\u6536\u8d26\u6b3e": {
+            "root_type": ""
+        }, 
+        "\u5f85\u5904\u7406\u8d22\u4ea7\u635f\u6ea2": {
+            "root_type": ""
+        }, 
+        "\u6240\u5f97\u7a0e": {
+            "root_type": ""
+        }, 
+        "\u6295\u8d44\u6536\u76ca": {
+            "root_type": ""
+        }, 
+        "\u65e0\u5f62\u8d44\u4ea7": {
+            "root_type": ""
+        }, 
+        "\u672c\u5e74\u5229\u6da6": {
+            "root_type": ""
+        }, 
+        "\u673a\u68b0\u4f5c\u4e1a": {
+            "root_type": ""
+        }, 
+        "\u6750\u6599\u6210\u672c\u5dee\u5f02": {
+            "root_type": ""
+        }, 
+        "\u6750\u6599\u91c7\u8d2d": {
+            "root_type": ""
+        }, 
+        "\u6d88\u8017\u6027\u751f\u7269\u8d44\u4ea7": {
+            "root_type": ""
+        }, 
+        "\u73b0\u91d1": {
+            "root_type": ""
+        }, 
+        "\u751f\u4ea7\u6027\u751f\u7269\u8d44\u4ea7": {
+            "root_type": ""
+        }, 
+        "\u751f\u4ea7\u6027\u751f\u7269\u8d44\u4ea7\u7d2f\u8ba1\u6298\u65e7": {
+            "root_type": ""
+        }, 
+        "\u751f\u4ea7\u6210\u672c": {
+            "root_type": ""
+        }, 
+        "\u76c8\u4f59\u516c\u79ef": {
+            "root_type": ""
+        }, 
+        "\u77ed\u671f\u501f\u6b3e": {
+            "root_type": ""
+        }, 
+        "\u77ed\u671f\u6295\u8d44": {
+            "root_type": ""
+        }, 
+        "\u7814\u53d1\u652f\u51fa": {
+            "root_type": ""
+        }, 
+        "\u7ba1\u7406\u8d39\u7528": {
+            "root_type": ""
+        }, 
+        "\u7d2f\u8ba1\u644a\u9500": {
+            "root_type": ""
+        }, 
+        "\u8425\u4e1a\u5916\u652f\u51fa": {
+            "root_type": ""
+        }, 
+        "\u8425\u4e1a\u5916\u6536\u5165": {
+            "root_type": ""
+        }, 
+        "\u8425\u4e1a\u7a0e\u91d1\u53ca\u9644\u52a0": {
+            "root_type": ""
+        }, 
+        "\u8d22\u52a1\u8d39\u7528": {
+            "root_type": ""
+        }, 
+        "\u8d44\u672c\u516c\u79ef": {
+            "root_type": ""
+        }, 
+        "\u9012\u5ef6\u6536\u76ca": {
+            "root_type": ""
+        }, 
+        "\u94f6\u884c\u5b58\u6b3e": {
+            "root_type": ""
+        }, 
+        "\u9500\u552e\u8d39\u7528": {
+            "root_type": ""
+        }, 
+        "\u957f\u671f\u501f\u6b3e": {
+            "root_type": ""
+        }, 
+        "\u957f\u671f\u503a\u5238\u6295\u8d44": {
+            "root_type": ""
+        }, 
+        "\u957f\u671f\u5e94\u4ed8\u6b3e": {
+            "root_type": ""
+        }, 
+        "\u957f\u671f\u5f85\u644a\u8d39\u7528": {
+            "root_type": ""
+        }, 
+        "\u957f\u671f\u80a1\u6743\u6295\u8d44": {
+            "root_type": ""
+        }, 
+        "\u9884\u4ed8\u8d26\u6b3e": {
+            "root_type": ""
+        }, 
+        "\u9884\u6536\u8d26\u6b3e": {
+            "root_type": ""
+        }
     }
 }
\ No newline at end of file
diff --git a/erpnext/accounts/doctype/account/chart_of_accounts/co_vauxoo_mx_chart_template.json b/erpnext/accounts/doctype/account/chart_of_accounts/co_vauxoo_mx_chart_template.json
index 7b0b774..4fadaba 100644
--- a/erpnext/accounts/doctype/account/chart_of_accounts/co_vauxoo_mx_chart_template.json
+++ b/erpnext/accounts/doctype/account/chart_of_accounts/co_vauxoo_mx_chart_template.json
@@ -837,13 +837,15 @@
                     "VIAS DE COMUNICACION": {}, 
                     "YACIMIENTOS": {}
                 }
-            }
+            }, 
+            "root_type": ""
         }, 
         "COSTOS DE PRODUCCION O DE OPERACION": {
             "CONTRATOS DE SERVICIOS": {}, 
             "COSTOS INDIRECTOS": {}, 
             "MANO DE OBRA DIRECTA": {}, 
-            "MATERIA PRIMA": {}
+            "MATERIA PRIMA": {}, 
+            "root_type": ""
         }, 
         "COSTOS DE VENTAS": {
             "COMPRAS": {
@@ -1145,7 +1147,8 @@
                     "SERVICIOS COMPLEMENTARIOS PARA EL TRANSPORTE": {}, 
                     "TRANSMISION DE SONIDO E IMAGENES POR CONTRATO": {}
                 }
-            }
+            }, 
+            "root_type": ""
         }, 
         "CUENTAS DE ORDEN ACREEDORAS": {
             "ACREEDORAS DE CONTROL": {
@@ -1206,7 +1209,8 @@
                 "OTRAS RESPONSABILIDADES CONTINGENTES": {}, 
                 "PROMESAS DE COMPRAVENTA": {}
             }, 
-            "RESPONSABILIDADES CONTINGENTES POR CONTRA (DB)": {}
+            "RESPONSABILIDADES CONTINGENTES POR CONTRA (DB)": {}, 
+            "root_type": ""
         }, 
         "CUENTAS DE ORDEN DEUDORAS": {
             "DERECHOS CONTINGENTES": {
@@ -1309,7 +1313,8 @@
             }, 
             "DEUDORAS DE CONTROL POR CONTRA (CR)": {}, 
             "DEUDORAS FISCALES": {}, 
-            "DEUDORAS FISCALES POR CONTRA (CR)": {}
+            "DEUDORAS FISCALES POR CONTRA (CR)": {}, 
+            "root_type": ""
         }, 
         "GASTOS": {
             "GANANCIAS Y PERDIDAS": {
@@ -1865,7 +1870,8 @@
                     "TEMPORALES": {}, 
                     "TRANSPORTE, FLETES Y ACARREOS": {}
                 }
-            }
+            }, 
+            "root_type": ""
         }, 
         "INGRESOS": {
             "AJUSTES POR INFLACION": {
@@ -2412,7 +2418,8 @@
                     "SERVICIOS COMPLEMENTARIOS PARA EL TRANSPORTE": {}, 
                     "TRANSMISION DE SONIDO E IMAGENES POR CONTRATO": {}
                 }
-            }
+            }, 
+            "root_type": ""
         }, 
         "PASIVO": {
             "BONOS Y PAPELES COMERCIALES": {
@@ -2850,7 +2857,8 @@
                         "PROVEEDORES NACIONALES CXP": {}
                     }
                 }
-            }
+            }, 
+            "root_type": ""
         }, 
         "PATRIMONIO": {
             "CAPITAL SOCIAL": {
@@ -2993,8 +3001,8 @@
                     "VIAS DE COMUNICACION": {}, 
                     "YACIMIENTOS": {}
                 }
-            }
-        }, 
-        "name": "PLAN DE CUENTAS VAUXOO"
+            }, 
+            "root_type": ""
+        }
     }
 }
\ No newline at end of file
diff --git a/erpnext/accounts/doctype/account/chart_of_accounts/cr_account_chart_template_0.json b/erpnext/accounts/doctype/account/chart_of_accounts/cr_account_chart_template_0.json
index e11312d..c1130ef 100644
--- a/erpnext/accounts/doctype/account/chart_of_accounts/cr_account_chart_template_0.json
+++ b/erpnext/accounts/doctype/account/chart_of_accounts/cr_account_chart_template_0.json
@@ -118,7 +118,8 @@
                 "0-Gastos pagados por anticipado": {
                     "0-P\u00f3lizas de seguros prepagadas": {}
                 }
-            }
+            }, 
+            "root_type": ""
         }, 
         "0-Gastos": {
             "0-Gastos no deducibles": {
@@ -196,7 +197,8 @@
                 "0-Donaciones deducibles": {}, 
                 "0-Gastos Financieros": {}, 
                 "0-Perdida por robo": {}
-            }
+            }, 
+            "root_type": ""
         }, 
         "0-Ingresos": {
             "0-Ingresos financieros": {
@@ -212,7 +214,8 @@
             "0-Otros ingresos": {
                 "0-Ajustes": {}, 
                 "0-Donaciones": {}
-            }
+            }, 
+            "root_type": ""
         }, 
         "0-Pasivo": {
             "0-Pasivo circulante": {
@@ -233,7 +236,8 @@
                         "0-Impuesto de ventas por pagar": {}
                     }
                 }
-            }
+            }, 
+            "root_type": ""
         }, 
         "0-Patrimonio": {
             "0-Aportes de capital": {
@@ -262,9 +266,8 @@
             }, 
             "0-Utilidad o p\u00e9rdida del per\u00edodo actual": {
                 "0-Utilidad o p\u00e9rdida del per\u00edodo actual": {}
-            }
-        }, 
-        "name": "0-Plan Contable", 
-        "parent_id": null
+            }, 
+            "root_type": ""
+        }
     }
 }
\ No newline at end of file
diff --git a/erpnext/accounts/doctype/account/chart_of_accounts/cr_account_chart_template_x.json b/erpnext/accounts/doctype/account/chart_of_accounts/cr_account_chart_template_x.json
index 28b56f3..9e7f495 100644
--- a/erpnext/accounts/doctype/account/chart_of_accounts/cr_account_chart_template_x.json
+++ b/erpnext/accounts/doctype/account/chart_of_accounts/cr_account_chart_template_x.json
@@ -2,9 +2,8 @@
     "country_code": "cr", 
     "name": "Costa Rica - Company 1", 
     "tree": {
-        "name": "xPlan Contable", 
-        "parent_id": null, 
         "xActivo": {
+            "root_type": "", 
             "xActivo circulante": {
                 "xActivo circulante disponible": {
                     "xBancos": {}, 
@@ -116,6 +115,7 @@
             }
         }, 
         "xGastos": {
+            "root_type": "", 
             "xGastos no deducibles": {
                 "xDiferencial cambiario": {}, 
                 "xDonaciones no deducibles": {}, 
@@ -194,6 +194,7 @@
             }
         }, 
         "xIngresos": {
+            "root_type": "", 
             "xIngresos financieros": {
                 "xIntereses ganados sobre cuentas corrientes": {}
             }, 
@@ -210,6 +211,7 @@
             }
         }, 
         "xPasivo": {
+            "root_type": "", 
             "xPasivo circulante": {
                 "xCuentas por pagar": {
                     "xCuentas por pagar a compa\u00f1\u00edas relacionadas": {}, 
@@ -231,6 +233,7 @@
             }
         }, 
         "xPatrimonio": {
+            "root_type": "", 
             "xAportes de capital": {
                 "xSocio 1": {}
             }, 
diff --git a/erpnext/accounts/doctype/account/chart_of_accounts/de_l10n_chart_de_skr04.json b/erpnext/accounts/doctype/account/chart_of_accounts/de_l10n_chart_de_skr04.json
index eb9c5ef..89b3170 100644
--- a/erpnext/accounts/doctype/account/chart_of_accounts/de_l10n_chart_de_skr04.json
+++ b/erpnext/accounts/doctype/account/chart_of_accounts/de_l10n_chart_de_skr04.json
@@ -1092,7 +1092,8 @@
                     "Saldenvortr\u00e4ge- Sachkonten": {}, 
                     "Summenvortragskonto": {}
                 }
-            }
+            }, 
+            "root_type": ""
         }, 
         "Gewinn u. Verlust": {
             "Gewinn u. Verlust - Aufwendungen": {
@@ -1768,8 +1769,8 @@
                         }
                     }
                 }
-            }
-        }, 
-        "name": "Deutscher Kontenplan SKR04"
+            }, 
+            "root_type": ""
+        }
     }
 }
\ No newline at end of file
diff --git a/erpnext/accounts/doctype/account/chart_of_accounts/de_l10n_de_chart_template.json b/erpnext/accounts/doctype/account/chart_of_accounts/de_l10n_de_chart_template.json
index 76c7fcb..20bdd43 100644
--- a/erpnext/accounts/doctype/account/chart_of_accounts/de_l10n_de_chart_template.json
+++ b/erpnext/accounts/doctype/account/chart_of_accounts/de_l10n_de_chart_template.json
@@ -644,7 +644,8 @@
                         }
                     }
                 }
-            }
+            }, 
+            "root_type": ""
         }, 
         "Gewinn u. Verlust": {
             "Ergebnis vor Steuern": {
@@ -1249,7 +1250,8 @@
                 "Solidarit\u00e4tszuschlag": {}, 
                 "Solidarit\u00e4tszuschlag f\u00fcr Vorjahre": {}, 
                 "Zinsabschlagsteuer": {}
-            }
+            }, 
+            "root_type": ""
         }, 
         "Vortrags- Kapital- und Statistische Konten": {
             "Aufgliederung der R\u00fcckstellungen": {
@@ -1556,8 +1558,8 @@
                 "Saldenvortr\u00e4ge Kreditoren": {}, 
                 "Saldenvortr\u00e4ge- Sachkonten": {}, 
                 "Summenvortragskonto": {}
-            }
-        }, 
-        "name": "Deutscher Kontenplan SKR03"
+            }, 
+            "root_type": ""
+        }
     }
 }
\ No newline at end of file
diff --git a/erpnext/accounts/doctype/account/chart_of_accounts/ec_ec_chart_template.json b/erpnext/accounts/doctype/account/chart_of_accounts/ec_ec_chart_template.json
index 0ffdb4c..67ad0a7 100644
--- a/erpnext/accounts/doctype/account/chart_of_accounts/ec_ec_chart_template.json
+++ b/erpnext/accounts/doctype/account/chart_of_accounts/ec_ec_chart_template.json
@@ -20,7 +20,8 @@
                     "Cta. Cte. En el exterior": {}, 
                     "Cta. Cte. Moneda de curso legal": {}
                 }
-            }
+            }, 
+            "root_type": ""
         }, 
         "ACTIVOS BIOLOGICOS": {
             "Animales vivos": {
@@ -31,7 +32,8 @@
             "Plantas en crecimiento": {
                 "En desarrollo": {}, 
                 "En producci\u00f3n": {}
-            }
+            }, 
+            "root_type": ""
         }, 
         "ACTIVOS FINANCIEROS": {
             "A VALOR RAZONABLE CON CAMBIOS EN RESULTADOS": {
@@ -150,7 +152,8 @@
             "PROVISI\u00d3N POR DETERIORO DE ACTIVOS FINANCIEROS": {
                 "Inversiones mantenidas hasta el vencimiento ": {}, 
                 "Pr\u00e9stamos y partidas a cobrar": {}
-            }
+            }, 
+            "root_type": ""
         }, 
         "ACTIVOS NO CORRIENTES": {
             "ACTIVOS ADQUIRIDOS EN ARRENDAMIENTO FINANCIERO": {}, 
@@ -178,7 +181,8 @@
                 "Plusval\u00eda mercantil (Goodwill) ": {}, 
                 "Propiedades": {}, 
                 "Propiedades de inversi\u00f3n ": {}
-            }
+            }, 
+            "root_type": ""
         }, 
         "CUENTAS CONTINGENTES": {
             "ACREEDORAS": {
@@ -188,7 +192,8 @@
             "DEUDORAS": {
                 "Garant\u00edas ": {}, 
                 "Garant\u00edas en titularizaci\u00f3n": {}
-            }
+            }, 
+            "root_type": ""
         }, 
         "CUENTAS DE ORDEN": {
             "ACREEDORAS": {
@@ -267,7 +272,8 @@
                     "Valores en garant\u00eda": {}
                 }
             }, 
-            "DEUDORES POR  CONTRA": {}
+            "DEUDORES POR  CONTRA": {}, 
+            "root_type": ""
         }, 
         "CUENTAS DE RESULTADOS ACREEDORAS": {
             "COMISIONES GANADAS": {
@@ -327,7 +333,8 @@
                 "UTILIDAD EN VENTA DE PROPIEDAD": {}, 
                 "UTILIDAD EN VENTA DE VALORES": {}, 
                 "UTILIDAD POR OPERACIONES DESCONTINUADAS": {}
-            }
+            }, 
+            "root_type": ""
         }, 
         "CUENTAS DE RESULTADOS DEUDORAS": {
             "GASTOS ADMINISTRATIVOS": {
@@ -431,7 +438,8 @@
                 "OTROS GASTOS": {}, 
                 "PRIMA POR OPERACIONES DE REPORTO": {}, 
                 "PROPIEDADES DE INVERSI\u00d3N": {}
-            }
+            }, 
+            "root_type": ""
         }, 
         "CUENTAS Y DOCUMENTOS POR COBRAR": {
             "ANTICIPO A CONSTRUCTOR POR AVANCE DE OBRA": {}, 
@@ -480,21 +488,26 @@
             "RENDIMIENTOS POR COBRAR": {
                 "Dividendos": {}, 
                 "Intereses   ": {}
-            }
+            }, 
+            "root_type": ""
         }, 
-        "DEUDORES POR INTERMEDIACION": {}, 
+        "DEUDORES POR INTERMEDIACION": {
+            "root_type": ""
+        }, 
         "EXISTENCIAS": {
             "MATERIA PRIMA": {}, 
             "MATERIALES Y SUMINISTROS": {}, 
             "PRODUCTOS EN PROCESO": {}, 
             "PRODUCTOS TERMINADOS": {}, 
-            "PROVISI\u00d3N POR DETERIORO DE EXISTENCIAS": {}
+            "PROVISI\u00d3N POR DETERIORO DE EXISTENCIAS": {}, 
+            "root_type": ""
         }, 
         "OTROS ACTIVOS CORRIENTES": {
             "ACTIVO NO CORRIENTE DISPONIBLE PARA LA VENTA": {}, 
             "ACTIVO POR IMPUESTO CORRIENTE": {}, 
             "OTROS": {}, 
-            "UNIDADES DE PARTICIPACION": {}
+            "UNIDADES DE PARTICIPACION": {}, 
+            "root_type": ""
         }, 
         "OTROS ACTIVOS NO CORRIENTES": {
             "ACTIVO POR IMPUESTO DIFERIDO": {
@@ -526,7 +539,8 @@
                     "Dep\u00f3sitos en Garant\u00eda por operaciones burs\u00e1tiles": {}, 
                     "Dep\u00f3sitos en Garant\u00eda por reporto": {}
                 }
-            }
+            }, 
+            "root_type": ""
         }, 
         "PASIVO": {
             "OTROS": {}, 
@@ -604,7 +618,8 @@
                     "Intereses diferidos": {}, 
                     "Pasivos por impuestos diferidos": {}
                 }
-            }
+            }, 
+            "root_type": ""
         }, 
         "PATRIMONIO NETO": {
             "APORTES PARA FUTURAS CAPITALIZACIONES": {}, 
@@ -631,8 +646,8 @@
                 "ACUMULADOS": {}, 
                 "RESULTADOS ACUMULADOS POR APLICACI\u00d3N DE LAS NIIF POR PRIMERA VEZ": {}, 
                 "UTILIDAD (PERDIDA) DEL EJERCICIO": {}
-            }
-        }, 
-        "name": "PLAN DE CTAS. ECUADOR"
+            }, 
+            "root_type": ""
+        }
     }
 }
\ No newline at end of file
diff --git a/erpnext/accounts/doctype/account/chart_of_accounts/es_account_chart_template_common.json b/erpnext/accounts/doctype/account/chart_of_accounts/es_account_chart_template_common.json
index 9235fc7..5c70ee2 100644
--- a/erpnext/accounts/doctype/account/chart_of_accounts/es_account_chart_template_common.json
+++ b/erpnext/accounts/doctype/account/chart_of_accounts/es_account_chart_template_common.json
@@ -481,7 +481,8 @@
                     "account_type": "Payable"
                 }, 
                 "account_type": "Payable"
-            }
+            }, 
+            "root_type": ""
         }, 
         "Activo no corriente": {
             "Amortizaci\u00f3n acumulada del inmovilizado": {
@@ -885,7 +886,8 @@
                 "Valores representativos de deuda": {
                     "Valores representativos de deuda": {}
                 }
-            }
+            }, 
+            "root_type": ""
         }, 
         "Compras y gastos": {
             "Ayudas monetarias de la entidad y otros gastos de gesti\u00f3n": {
@@ -1442,7 +1444,8 @@
                 "Variaci\u00f3n de existencias de otros aprovisionamientos": {
                     "Variaci\u00f3n de existencias de otros aprovisionamientos": {}
                 }
-            }
+            }, 
+            "root_type": ""
         }, 
         "Cuentas financieras": {
             "Activos no corrientes mantenidos para la venta y activos y pasivos asociados": {
@@ -1929,7 +1932,8 @@
                 "Inversiones a corto plazo de gran liquidez": {
                     "Inversiones a corto plazo de gran liquidez": {}
                 }
-            }
+            }, 
+            "root_type": ""
         }, 
         "Existencias": {
             "Comerciales": {
@@ -2037,7 +2041,8 @@
                 "Subproductos B": {
                     "Subproductos B": {}
                 }
-            }
+            }, 
+            "root_type": ""
         }, 
         "Financiaci\u00f3n b\u00e1sica": {
             "Capital": {
@@ -2380,7 +2385,8 @@
                     }, 
                     "Subvenciones oficiales de capital": {}
                 }
-            }
+            }, 
+            "root_type": ""
         }, 
         "Gastos imputados al patrimonio neto": {
             "Gastos de participaciones en empresas del grupo o asociadas con ajustes valorativos positivos previos": {
@@ -2475,7 +2481,8 @@
                 "Transferencia de subvenciones oficiales de capital": {
                     "Transferencia de subvenciones oficiales de capital": {}
                 }
-            }
+            }, 
+            "root_type": ""
         }, 
         "Ingresos imputados al patrimonio neto": {
             "Ingresos de participaciones en empresas del grupo o asociadas con ajustes valorativos negativos previos": {
@@ -2548,7 +2555,8 @@
                 "Ingresos de subvenciones oficiales de capital": {
                     "Ingresos de subvenciones oficiales de capital": {}
                 }
-            }
+            }, 
+            "root_type": ""
         }, 
         "Ventas e ingresos": {
             "Beneficios procedentes de activos no corrientes e ingresos excepcionales": {
@@ -3032,9 +3040,8 @@
                         "Ventas de subproductos y residuos en Espa\u00f1a": {}
                     }
                 }
-            }
-        }, 
-        "name": "Plan General Contable 2008", 
-        "parent_id": null
+            }, 
+            "root_type": ""
+        }
     }
 }
\ No newline at end of file
diff --git a/erpnext/accounts/doctype/account/chart_of_accounts/et_l10n_et.json b/erpnext/accounts/doctype/account/chart_of_accounts/et_l10n_et.json
index b65411d..01ad85e 100644
--- a/erpnext/accounts/doctype/account/chart_of_accounts/et_l10n_et.json
+++ b/erpnext/accounts/doctype/account/chart_of_accounts/et_l10n_et.json
@@ -49,13 +49,15 @@
                     "Advance to supplier": {}
                 }
             }, 
-            "Stock": {}
+            "Stock": {}, 
+            "root_type": ""
         }, 
         "COST OF GOODS SOLD": {
             "Cost of Goods and Services": {}, 
             "Inventory Adjustments": {}, 
             "Other": {}, 
-            "Purchase Returns and Allowances": {}
+            "Purchase Returns and Allowances": {}, 
+            "root_type": ""
         }, 
         "EXPENSES": {
             "FIXED ASSETS AND CONSTRUCTION": {
@@ -137,7 +139,8 @@
                 "Pension Contributions": {
                     "Contribution to permanent staff pensions": {}
                 }
-            }
+            }, 
+            "root_type": ""
         }, 
         "LIABILITIES": {
             "Long-Term Debt": {
@@ -164,17 +167,18 @@
                 "Retentions": {
                     "Retention on contract": {}
                 }
-            }
+            }, 
+            "root_type": ""
         }, 
         "NET ASSETS/EQUITY": {
             "Profit and loss account": {}, 
             "Reserves": {}, 
-            "Share capital / equity": {}
+            "Share capital / equity": {}, 
+            "root_type": ""
         }, 
         "REVENUE": {
-            "Sales of Goods and Services": {}
-        }, 
-        "name": "Ethiopia", 
-        "parent_id": null
+            "Sales of Goods and Services": {}, 
+            "root_type": ""
+        }
     }
 }
\ No newline at end of file
diff --git a/erpnext/accounts/doctype/account/chart_of_accounts/fr_l10n_fr_pcg_chart_template.json b/erpnext/accounts/doctype/account/chart_of_accounts/fr_l10n_fr_pcg_chart_template.json
index 52b8fac..c05a45b 100644
--- a/erpnext/accounts/doctype/account/chart_of_accounts/fr_l10n_fr_pcg_chart_template.json
+++ b/erpnext/accounts/doctype/account/chart_of_accounts/fr_l10n_fr_pcg_chart_template.json
@@ -923,7 +923,8 @@
                     }
                 }, 
                 "Virements internes": {}
-            }
+            }, 
+            "root_type": ""
         }, 
         "Comptes de gestion": {
             "Comptes de charges": {
@@ -1280,8 +1281,8 @@
                     }, 
                     "Ventes de produits finis": {}
                 }
-            }
-        }, 
-        "name": "Plan Comptable G\u00e9n\u00e9ral"
+            }, 
+            "root_type": ""
+        }
     }
 }
\ No newline at end of file
diff --git a/erpnext/accounts/doctype/account/chart_of_accounts/gr_l10n_gr_chart_template.json b/erpnext/accounts/doctype/account/chart_of_accounts/gr_l10n_gr_chart_template.json
index a6b226f..fe2268e 100644
--- a/erpnext/accounts/doctype/account/chart_of_accounts/gr_l10n_gr_chart_template.json
+++ b/erpnext/accounts/doctype/account/chart_of_accounts/gr_l10n_gr_chart_template.json
@@ -2,8 +2,8 @@
     "country_code": "gr", 
     "name": "\u03a0\u03c1\u03cc\u03c4\u03c5\u03c0\u03bf \u0395\u03bb\u03bb\u03b7\u03bd\u03b9\u03ba\u03bf\u03cd \u039b\u03bf\u03b3\u03b9\u03c3\u03c4\u03b9\u03ba\u03bf\u03cd \u03a3\u03c7\u03b5\u03b4\u03af\u03bf\u03c5", 
     "tree": {
-        "name": "\u0393\u03b5\u03bd\u03b9\u03ba\u03cc \u039b\u03bf\u03b3\u03b9\u03c3\u03c4\u03b9\u03ba\u03cc \u03a3\u03c7\u03ad\u03b4\u03b9\u03bf", 
         "\u0391\u03a0\u0391\u0399\u03a4\u0397\u03a3\u0395\u0399\u03a3 \u039a\u0391\u0399 \u0394\u0399\u0391\u0398\u0395\u03a3\u0399\u039c\u0391": {
+            "root_type": "", 
             "\u0391\u03a0\u0391\u0399\u03a4\u0397\u03a3\u0395\u0399\u03a3 \u039a\u0391\u0399 \u0394\u0399\u0391\u0398\u0395\u03a3\u0399\u039c\u0391 \u03a5\u03a0\u039f\u039a\u0391\u03a4\u0391\u03a3\u03a4\u0397\u039c\u0391\u03a4\u03a9\u039d \u0389 \u0391\u039b\u039b\u03a9\u039d \u039a\u0395\u039d\u03a4\u03a1\u03a9\u039d": {
                 "account_type": "Receivable", 
                 "\u0393\u03c1\u03b1\u03bc\u03bc\u03ac\u03c4\u03b9\u03b1 \u03b5\u03b9\u03c3\u03c0\u03c1\u03b1\u03ba\u03c4\u03ad\u03b1": {
@@ -441,6 +441,7 @@
             }
         }, 
         "\u0391\u03a0\u039f\u0398\u0395\u039c\u0391\u03a4\u0391": {
+            "root_type": "", 
             "\u0391\u039d\u0391\u039b\u03a9\u03a3\u0399\u039c\u0391 \u03a5\u039b\u0399\u039a\u0391": {
                 "\u0394\u03b9\u03ac\u03c6\u03bf\u03c1\u03b1 \u03b1\u03bd\u03b1\u03bb\u03ce\u03c3\u03b9\u03bc\u03b1 \u03c5\u03bb\u03b9\u03ba\u03ac": {}, 
                 "\u0395\u03ba\u03c0\u03c4\u03ce\u03c3\u03b5\u03b9\u03c2 \u03b1\u03b3\u03bf\u03c1\u03ce\u03bd": {}, 
@@ -494,6 +495,7 @@
             "\u03a5\u03a0\u039f\u03a0\u03a1\u039f\u03aa\u039f\u039d\u03a4\u0391 \u039a\u0391\u0399 \u03a5\u03a0\u039f\u039b\u0395\u0399\u039c\u039c\u0391\u03a4\u0391": {}
         }, 
         "\u0392\u03a1\u0391\u03a7\u03a5\u03a0\u03a1\u039f\u0398\u0395\u03a3\u039c\u0395\u03a3 \u03a5\u03a0\u039f\u03a7\u03a1\u0395\u03a9\u03a3\u0395\u0399\u03a3": {
+            "root_type": "", 
             "\u0391\u03a3\u03a6\u0391\u039b\u0399\u03a3\u03a4\u0399\u039a\u039f\u0399 \u039f\u03a1\u0393\u0391\u039d\u0399\u03a3\u039c\u039f\u0399": {
                 "account_type": "Payable", 
                 "\u038a\u03b4\u03c1\u03c5\u03bc\u03b1 \u039a\u03bf\u03b9\u03bd\u03c9\u03bd\u03b9\u03ba\u03ce\u03bd \u0391\u03c3\u03c6\u03b1\u03bb\u03af\u03c3\u03b5\u03c9\u03bd (\u0399\u039a\u0391)": {
@@ -811,6 +813,7 @@
             }
         }, 
         "\u039a\u0391\u0398\u0391\u03a1\u0397 \u0398\u0395\u03a3\u0397 - \u03a0\u03a1\u039f\u0392\u039b\u0395\u03a8\u0395\u0399\u03a3 -\u039c\u0391\u039a\u03a1/\u03a3\u039c\u0395\u03a3 \u03a5\u03a0\u039f\u03a7\u03a1\u0395\u03a9\u03a3\u0395\u0399\u03a3": {
+            "root_type": "", 
             "\u0391\u03a0\u039f\u0398\u0395\u039c\u0391\u03a4\u0391 - \u0394\u0399\u0391\u03a6\u039f\u03a1\u0395\u03a3 \u0391\u039d\u0391\u03a0\u03a1\u039f\u03a3\u0391\u03a1\u039c\u039f\u0393\u0397\u03a3 - \u0395\u03a0\u0399\u03a7\u039f\u03a1\u0397\u0393\u0397\u03a3\u0395\u0399\u03a3 \u0395\u03a0\u0395\u039d\u0394\u03a5\u03a3\u0395\u03a9\u039d": {
                 "account_type": "Equity", 
                 "\u0388\u03ba\u03c4\u03b1\u03ba\u03c4\u03b1 \u03b1\u03c0\u03bf\u03b8\u03b5\u03bc\u03b1\u03c4\u03b9\u03ba\u03ac": {
@@ -1065,6 +1068,7 @@
             }
         }, 
         "\u039b\u039f\u0393\u0391\u03a1\u0399\u0391\u03a3\u039c\u039f\u0399 \u0391\u039d\u0391\u039b\u03a5\u03a4\u0399\u039a\u0397\u03a3 \u039b\u039f\u0393\u0399\u03a3\u03a4\u0399\u039a\u0397\u03a3 \u0395\u039a\u039c\u0395\u03a4\u0391\u039b\u0395\u03a5\u03a3\u0395\u03a9\u03a3": {
+            "root_type": "", 
             "\u0391\u039d\u0391\u039a\u0391\u03a4\u0391\u03a4\u0391\u039e\u0397 \u0395\u039e\u039f\u0394\u03a9\u039d - \u0391\u0393\u039f\u03a1\u03a9\u039d \u039a\u0391\u0399 \u0395\u03a3\u039f\u0394\u03a9\u039d": {}, 
             "\u0391\u039d\u0391\u039b\u03a5\u03a4\u0399\u039a\u0391 \u0391\u03a0\u039f\u03a4\u0395\u039b\u0395\u03a3\u039c\u0391\u03a4\u0391": {}, 
             "\u0391\u03a0\u039f\u0398\u0395\u039c\u0391\u03a4\u0391": {
@@ -1113,6 +1117,7 @@
             "\u039a\u039f\u03a3\u03a4\u039f\u03a3 \u03a0\u0391\u03a1\u0391\u0393\u03a9\u0393\u0397\u03a3 (\u03a0\u03b1\u03c1\u03b1\u03b3\u03c9\u03b3\u03ae \u03c3\u03b5 \u03b5\u03be\u03ad\u03bb\u03b9\u03be\u03b7)": {}
         }, 
         "\u039b\u039f\u0393\u0391\u03a1\u0399\u0391\u03a3\u039c\u039f\u0399 \u0391\u03a0\u039f\u03a4\u0395\u039b\u0395\u03a3\u039c\u0391\u03a4\u03a9\u039d": {
+            "root_type": "", 
             "\u0391\u03a0\u039f\u03a3\u0392\u0395\u03a3\u0395\u0399\u03a3 \u03a0\u0391\u0393\u0399\u03a9\u039d \u039c\u0397 \u0395\u039d\u03a3\u03a9\u039c\u0391\u03a4\u03a9\u039c\u0395\u039d\u0395\u03a3 \u03a3\u03a4\u039f \u039b\u0395\u0399\u03a4\u039f\u03a5\u03a1\u0393\u0399\u039a\u039f \u039a\u039f\u03a3\u03a4\u039f\u03a3": {
                 "\u0391\u03c0\u03bf\u03c3\u03b2\u03ad\u03c3\u03b5\u03b9\u03c2 \u03b1\u03c3\u03ce\u03bc\u03b1\u03c4\u03c9\u03bd \u03b1\u03ba\u03b9\u03bd\u03b7\u03c4\u03bf\u03c0\u03bf\u03b9\u03ae\u03c3\u03b5\u03c9\u03bd \u03ba\u03b1\u03b9 \u03b5\u03be\u03cc\u03b4\u03c9\u03bd \u03c0\u03bf\u03bb\u03c5\u03b5\u03c4\u03bf\u03cd\u03c2 \u03b1\u03c0\u03cc\u03c3\u03b2\u03b5\u03c3\u03b7\u03c2": {
                     "\u0391\u03c0\u03bf\u03c3\u03b2\u03ad\u03c3\u03b5\u03b9\u03c2 \u03b4\u03b9\u03b1\u03c6\u03bf\u03c1\u03ce\u03bd \u03ad\u03ba\u03b4\u03bf\u03c3\u03b7\u03c2 \u03ba\u03b1\u03b9 \u03b5\u03be\u03cc\u03c6\u03bb\u03b7\u03c3\u03b7\u03c2 \u03bf\u03bc\u03bf\u03bb\u03bf\u03b3\u03b9\u03ce\u03bd": {}, 
@@ -1379,6 +1384,7 @@
             }
         }, 
         "\u039f\u03a1\u0393\u0391\u039d\u0399\u039a\u0391 \u0388\u039e\u039f\u0394\u0391 \u039a\u0391\u03a4\u0391 \u0395\u0399\u0394\u039f\u03a3": {
+            "root_type": "", 
             "\u0391\u039c\u039f\u0399\u0392\u0395\u03a3 \u039a\u0391\u0399 \u0395\u039e\u039f\u0394\u0391 \u03a0\u03a1\u039f\u03a3\u03a9\u03a0\u0399\u039a\u039f\u03a5": {
                 "\u0391\u03bc\u03bf\u03b9\u03b2\u03ad\u03c2 \u03ad\u03bc\u03bc\u03b9\u03c3\u03b8\u03bf\u03c5 \u03c0\u03c1\u03bf\u03c3\u03c9\u03c0\u03b9\u03ba\u03bf\u03cd": {
                     "\u0388\u03ba\u03c4\u03b1\u03ba\u03c4\u03b5\u03c2 \u03b1\u03bc\u03bf\u03b9\u03b2\u03ad\u03c2": {}, 
@@ -1803,6 +1809,7 @@
             }
         }, 
         "\u039f\u03a1\u0393\u0391\u039d\u0399\u039a\u0391 \u0395\u03a3\u039f\u0394\u0391 \u039a\u0391\u03a4\u0391 \u0395\u0399\u0394\u039f\u03a3": {
+            "root_type": "", 
             "\u0395\u03a0\u0399\u03a7\u039f\u03a1\u0397\u0393\u0397\u03a3\u0395\u0399\u03a3 \u039a\u0391\u0399 \u0394\u0399\u0391\u03a6\u039f\u03a1\u0391 \u0395\u03a3\u039f\u0394\u0391 \u03a0\u03a9\u039b\u0397\u03a3\u0395\u03a9\u039d": {
                 "\u0394\u03b9\u03ac\u03c6\u03bf\u03c1\u03b1 \u03c0\u03c1\u03cc\u03c3\u03b8\u03b5\u03c4\u03b1 \u03ad\u03c3\u03bf\u03b4\u03b1 \u03c0\u03c9\u03bb\u03ae\u03c3\u03b5\u03c9\u03bd": {
                     "\u0388\u03c3\u03bf\u03b4\u03b1 \u03b1\u03c0\u03cc \u03bc\u03b5\u03c1\u03b9\u03ba\u03ae \u03c7\u03c1\u03b7\u03c3\u03b9\u03bc\u03bf\u03c0\u03bf\u03af\u03b7\u03c3\u03b7 \u03b5\u03b9\u03b4\u03ce\u03bd \u03c3\u03c5\u03c3\u03ba\u03b5\u03c5\u03b1\u03c3\u03af\u03b1\u03c2": {}, 
@@ -1961,6 +1968,7 @@
             }
         }, 
         "\u03a0\u0391\u0393\u0399\u039f \u0395\u039d\u0395\u03a1\u0393\u0397\u03a4\u0399\u039a\u039f": {
+            "root_type": "", 
             "\u0391\u039a\u0399\u039d\u0397\u03a4\u039f\u03a0\u039f\u0399\u0397\u03a3\u0395\u0399\u03a3 \u03a5\u03a0\u039f \u0395\u039a\u03a4\u0395\u039b\u0395\u03a3\u0397 \u039a\u0391\u0399 \u03a0\u03a1\u039f\u039a\u0391\u03a4\u0391\u0392\u039f\u039b\u0395\u03a3 \u039a\u03a4\u0397\u03a3\u0397\u03a3 \u03a0\u0391\u0393\u0399\u03a9\u039d \u03a3\u03a4\u039f\u0399\u03a7\u0395\u0399\u03a9\u039d": {
                 "\u0388\u03c0\u03b9\u03c0\u03bb\u03b1 \u03ba\u03b1\u03b9 \u03bb\u03bf\u03b9\u03c0\u03cc\u03c2 \u03b5\u03be\u03bf\u03c0\u03bb\u03b9\u03c3\u03bc\u03cc\u03c2 \u03c5\u03c0\u03cc \u03b5\u03ba\u03c4\u03ad\u03bb\u03b5\u03c3\u03b7": {}, 
                 "\u039a\u03c4\u03af\u03c1\u03b9\u03b1 - \u0395\u03b3\u03ba\u03b1\u03c4\u03b1\u03c3\u03c4\u03ac\u03c3\u03b5\u03b9\u03c2 \u03ba\u03c4\u03b9\u03c1\u03af\u03c9\u03bd - \u03c4\u03b5\u03c7\u03bd\u03b9\u03ba\u03ac \u03ad\u03c1\u03b3\u03b1 \u03c5\u03c0\u03cc \u03b5\u03ba\u03c4\u03ad\u03bb\u03b5\u03c3\u03b7": {}, 
diff --git a/erpnext/accounts/doctype/account/chart_of_accounts/gt_cuentas_plantilla.json b/erpnext/accounts/doctype/account/chart_of_accounts/gt_cuentas_plantilla.json
index 31447b2..bd739c6 100644
--- a/erpnext/accounts/doctype/account/chart_of_accounts/gt_cuentas_plantilla.json
+++ b/erpnext/accounts/doctype/account/chart_of_accounts/gt_cuentas_plantilla.json
@@ -74,7 +74,8 @@
                         "Reservas": {}
                     }
                 }
-            }
+            }, 
+            "root_type": ""
         }, 
         "Estado de Resultados": {
             "Egresos": {
@@ -124,8 +125,8 @@
                         "Otros Gastos Financieros": {}
                     }
                 }
-            }
-        }, 
-        "name": "Plan contable de Guatemala (sencillo)"
+            }, 
+            "root_type": ""
+        }
     }
 }
\ No newline at end of file
diff --git a/erpnext/accounts/doctype/account/chart_of_accounts/hn_cuentas_plantilla.json b/erpnext/accounts/doctype/account/chart_of_accounts/hn_cuentas_plantilla.json
index 44b0a78..d5cc121 100644
--- a/erpnext/accounts/doctype/account/chart_of_accounts/hn_cuentas_plantilla.json
+++ b/erpnext/accounts/doctype/account/chart_of_accounts/hn_cuentas_plantilla.json
@@ -74,7 +74,8 @@
                         "Reservas": {}
                     }
                 }
-            }
+            }, 
+            "root_type": ""
         }, 
         "Estado de Resultados": {
             "Egresos": {
@@ -124,8 +125,8 @@
                         "Otros Gastos Financieros": {}
                     }
                 }
-            }
-        }, 
-        "name": "Plan contable de Honduras (sencillo)"
+            }, 
+            "root_type": ""
+        }
     }
 }
\ No newline at end of file
diff --git a/erpnext/accounts/doctype/account/chart_of_accounts/hr_l10n_hr_chart_template_rrif.json b/erpnext/accounts/doctype/account/chart_of_accounts/hr_l10n_hr_chart_template_rrif.json
index d595b1d..ffdec54 100644
--- a/erpnext/accounts/doctype/account/chart_of_accounts/hr_l10n_hr_chart_template_rrif.json
+++ b/erpnext/accounts/doctype/account/chart_of_accounts/hr_l10n_hr_chart_template_rrif.json
@@ -31,7 +31,8 @@
                 "Gubitak koji tereti manjinski interes": {
                     "Gubitak koji tereti manjinski interes-a1": {}
                 }
-            }
+            }, 
+            "root_type": ""
         }, 
         "KAPITAL I PRI\u010cUVE TE IZVANBILAN\u010cNI ZAPISI": {
             "DOBITAK ILI GUBITAK POSLOVNE GODINE": {
@@ -286,7 +287,8 @@
                         "Zadr\u017eani dobitak \u010dlanova dru\u0161tva (analitika po \u010dlanovima)": {}
                     }
                 }
-            }
+            }, 
+            "root_type": ""
         }, 
         "KRATKORO\u010cNE I DUGORO\u010cNE OBVEZE, DUGORO\u010cNA REZERVIRANJA, ODGO\u0110ENA PLA\u0106ANJA I PRIHODI BUDU\u0106EG RAZDOBLJA": {
             "DUGORO\u010cNA REZERVIRANJA ZA RIZIKE I TRO\u0160KOVE": {
@@ -737,7 +739,8 @@
                 "Rezerviranje tro\u0161ka za neiskori\u0161tene godi\u0161nje odmore": {
                     "Rezerviranje tro\u0161ka za neiskori\u0161tene godi\u0161nje odmore-a1": {}
                 }
-            }
+            }, 
+            "root_type": ""
         }, 
         "NOVAC, KRATKOTRAJNA FINANCIJSKA IMOVINA, KRATKOTRAJNA POTRA\u017dIVANJA, TRO\u0160KOVI I PRIHOD BUDU\u0106EG RAZDOBLJA": {
             "KRATKOTRAJNA FINANCIJSKA IMOVINA (do jedne godine)": {
@@ -1159,7 +1162,8 @@
                 "Vrijednosno uskla\u0111enje potra\u017eivanja od zaposlenih \u010dlanova dru\u0161tva i ostalih potra\u017eivanja": {
                     "Vrijednosno uskla\u0111enje potra\u017eivanja od zaposlenih \u010dlanova dru\u0161tva i ostalih potra\u017eivanja-a1": {}
                 }
-            }
+            }, 
+            "root_type": ""
         }, 
         "POKRI\u0106E RASHODA I PRIHODI RAZDOBLJA": {
             "FINANCIJSKI PRIHODI": {
@@ -1501,7 +1505,8 @@
                     "Udio u gubitku ortaka": {}, 
                     "Udio u gubitku povezanih dru\u0161tava": {}
                 }
-            }
+            }, 
+            "root_type": ""
         }, 
         "POTRA\u017dIVANJA ZA UPISANI KAPITAL I DUGOTRAJNA IMOVINA": {
             "BIOLO\u0160KA IMOVINA": {
@@ -1933,7 +1938,8 @@
                     "Vrijednosno uskla\u0111enje ulaganja u gra\u0111evine": {}, 
                     "Vrijednosno uskla\u0111enje ulaganja u zemlji\u0161te": {}
                 }
-            }
+            }, 
+            "root_type": ""
         }, 
         "PROIZVODNJA, BIOLO\u0160KA IMOVINA, GOTOVI PROIZVODI, ROBA I DUGOTRAJNA IMOVINA NAMIJENJENA PRODAJI": {
             "BIOLO\u0160KA IMOVINA": {
@@ -2153,7 +2159,8 @@
                 "Zalihe nekurentnih proizvoda i otpadaka": {
                     "Zalihe nekurentnih proizvoda i otpadaka-a1": {}
                 }
-            }
+            }, 
+            "root_type": ""
         }, 
         "TRO\u0160KOVI PREMA VRSTAMA, FINANCIJSKI I OSTALI RASHODI": {
             "AMORTIZACIJA": {
@@ -2726,7 +2733,8 @@
                 "Vrijednosno uskla\u0111enje zaliha (veza s 319, 329, 359 i 369)": {
                     "Vrijednosno uskla\u0111enje zaliha (veza s 319, 329, 359 i 369)-a1": {}
                 }
-            }
+            }, 
+            "root_type": ""
         }, 
         "ZALIHE SIROVINA I MATERIJALA, REZERVNIH DIJELOVA I SITNOG INVENTARA": {
             "OBRA\u010cUN TRO\u0160KOVA KUPNJE ZALIHA": {
@@ -2866,9 +2874,8 @@
                 "Vrijednosno uskla\u0111enje sitnog inventara, ambala\u017ee i autoguma": {
                     "Vrijednosno uskla\u0111enje sitnog inventara, ambala\u017ee i autoguma-a1": {}
                 }
-            }
-        }, 
-        "name": "KONTNI PLAN", 
-        "parent_id": null
+            }, 
+            "root_type": ""
+        }
     }
 }
\ No newline at end of file
diff --git a/erpnext/accounts/doctype/account/chart_of_accounts/hu_hungarian_chart_template.json b/erpnext/accounts/doctype/account/chart_of_accounts/hu_hungarian_chart_template.json
index f9c6817..7e9dfb8 100644
--- a/erpnext/accounts/doctype/account/chart_of_accounts/hu_hungarian_chart_template.json
+++ b/erpnext/accounts/doctype/account/chart_of_accounts/hu_hungarian_chart_template.json
@@ -151,7 +151,8 @@
                     "Terv szerinti egy\u00f6sszeg\u00fb (kis\u00e9rt\u00e9k\u00fbek)": {}, 
                     "Terv szerinti \u00e9rt\u00e9kcs\u00f6kken\u00e9s line\u00e1ris": {}
                 }
-            }
+            }, 
+            "root_type": ""
         }, 
         "M\u00e9rleg sz\u00e1ml\u00e1k": {
             "BEFEKTETETT ESZK\u00d6Z\u00d6K": {
@@ -347,9 +348,8 @@
                     "R\u00e9szesed\u00e9s kapcsolt v\u00e1llalkoz\u00e1sban": {}, 
                     "Saj\u00e1t r\u00e9szv\u00e9nyek, saj\u00e1t \u00fczletr\u00e9szek": {}
                 }
-            }
-        }, 
-        "name": "Magyar f\u0151k\u00f6nyvi kivonat", 
-        "parent_id": null
+            }, 
+            "root_type": ""
+        }
     }
 }
\ No newline at end of file
diff --git a/erpnext/accounts/doctype/account/chart_of_accounts/import_from_openerp.py b/erpnext/accounts/doctype/account/chart_of_accounts/import_from_openerp.py
index 28892bb..9762c69 100644
--- a/erpnext/accounts/doctype/account/chart_of_accounts/import_from_openerp.py
+++ b/erpnext/accounts/doctype/account/chart_of_accounts/import_from_openerp.py
@@ -17,6 +17,7 @@
 accounts = {}
 charts = {}
 all_account_types = []
+all_roots = {}
 
 def go():
 	global accounts, charts
@@ -50,6 +51,8 @@
 		make_account_trees()
 		make_charts()
 
+	create_all_roots_file()
+
 def get_default_account_types():
 	default_types_root = []
 	default_types_root.append(ET.parse(os.path.join(path, "account", "data",
@@ -232,9 +235,28 @@
 		chart["country_code"] = src["id"][5:]
 		chart["tree"] = accounts[src["account_root_id"]]
 
+
+		for key, val in chart["tree"].items():
+			if key in ["name", "parent_id"]:
+				chart["tree"].pop(key)
+			if type(val) == dict:
+				val["root_type"] = ""
+
 		with open(os.path.join("erpnext", "erpnext", "accounts", "doctype", "account", "chart_of_accounts",
 			filename + ".json"), "w") as chartfile:
 			chartfile.write(json.dumps(chart, indent=4, sort_keys=True))
 
+		all_roots.setdefault(filename, chart["tree"].keys())
+
+def create_all_roots_file():
+	with open('all_roots.txt', 'w') as f:
+		for filename, roots in sorted(all_roots.items()):
+			f.write(filename)
+			f.write('\n----------------------\n')
+			for r in sorted(roots):
+				f.write(r.encode('utf-8'))
+				f.write('\n')
+			f.write('\n\n\n')
+
 if __name__=="__main__":
 	go()
diff --git a/erpnext/accounts/doctype/account/chart_of_accounts/in_indian_chart_template_schedule6.json b/erpnext/accounts/doctype/account/chart_of_accounts/in_indian_chart_template_schedule6.json
index 40afaaa..6542a45 100644
--- a/erpnext/accounts/doctype/account/chart_of_accounts/in_indian_chart_template_schedule6.json
+++ b/erpnext/accounts/doctype/account/chart_of_accounts/in_indian_chart_template_schedule6.json
@@ -247,7 +247,8 @@
                         "Issued, Subscribed And Paid Up Capital": {}
                     }
                 }
-            }
+            }, 
+            "root_type": ""
         }, 
         "Profit And Loss": {
             "Total Expenses": {
@@ -348,8 +349,8 @@
                     "Product Sales": {}, 
                     "Sales of Services": {}
                 }
-            }
-        }, 
-        "name": "Indian Chart of Accounts - Schedule VI"
+            }, 
+            "root_type": ""
+        }
     }
 }
\ No newline at end of file
diff --git a/erpnext/accounts/doctype/account/chart_of_accounts/in_indian_chart_template_standard.json b/erpnext/accounts/doctype/account/chart_of_accounts/in_indian_chart_template_standard.json
index 58a6aab..ee2428e 100644
--- a/erpnext/accounts/doctype/account/chart_of_accounts/in_indian_chart_template_standard.json
+++ b/erpnext/accounts/doctype/account/chart_of_accounts/in_indian_chart_template_standard.json
@@ -1,165 +1,167 @@
 {
-    "country_code": "in",
-    "name": "Indian Chart of Accounts - Standard",
+    "country_code": "in", 
+    "name": "Indian Chart of Accounts - Standard", 
     "tree": {
-        "Assets": {
-			"root_type": "Asset",
-            "Current Assets": {
-                "Accounts Receivable": {
-                    "Debtors": {
-                        "account_type": "Receivable"
+        "Balance Sheet": {
+            "Assets": {
+                "Current Assets": {
+                    "Accounts Receivable": {
+                        "Debtors": {
+                            "account_type": "Receivable"
+                        }
+                    }, 
+                    "Bank Accounts": {}, 
+                    "Cash In Hand": {
+                        "Cash - Payroll Checking": {
+                            "account_type": "Cash"
+                        }, 
+                        "Cash - Regular Checking": {
+                            "account_type": "Cash"
+                        }, 
+                        "Cash Account": {
+                            "account_type": "Cash"
+                        }, 
+                        "Petty Cash Fund": {
+                            "account_type": "Cash"
+                        }
+                    }, 
+                    "Deposit Account": {
+                        "Deposit Account": {}
+                    }, 
+                    "Inventories": {
+                        "Inventories": {}
+                    }, 
+                    "Other Current Assets": {
+                        "Prepaid Insurance": {}
+                    }, 
+                    "Tax Receivable": {
+                        "Excise Duty Receivable": {
+                            "Education Cess Receivable On Excise Duty": {}, 
+                            "Excise Duty Receivable": {}, 
+                            "Higher Education Cess Receivable On Excise Duty": {}
+                        }, 
+                        "Sales Tax Receivable": {}, 
+                        "Service Tax Receivable": {
+                            "Education Cess Receivable On Service Tax": {}, 
+                            "Higher Education Cess Receivable On Service Tax": {}, 
+                            "Service Tax Receivable": {}
+                        }, 
+                        "TDS Receivable": {}, 
+                        "VAT Receivable": {}
                     }
-                },
-                "Bank Accounts": {},
-                "Cash In Hand": {
-                    "Cash - Payroll Checking": {
-                        "account_type": "Cash"
-                    },
-                    "Cash - Regular Checking": {
-                        "account_type": "Cash"
-                    },
-                    "Cash Account": {
-                        "account_type": "Cash"
-                    },
-                    "Petty Cash Fund": {
-                        "account_type": "Cash"
+                }, 
+                "Fixed Assets": {
+                    "Air Conditionar": {}, 
+                    "Buildings": {}, 
+                    "Computer/Laptops (Assets)": {}, 
+                    "Equipments": {}, 
+                    "Furniture": {}, 
+                    "Land": {}, 
+                    "Misc Assets": {}, 
+                    "Vehicle": {}
+                }
+            }, 
+            "Liabilities": {
+                "Current Liabilities": {
+                    "Accounts Payable": {
+                        "Creditors": {
+                            "account_type": "Payable"
+                        }
+                    }, 
+                    "Duties And Taxes Payable": {
+                        "Excise Duty Payable": {
+                            "Education Cess Payable On Excise Duty": {}, 
+                            "Excise Duty Payable": {}, 
+                            "Higher Education Cess Payable On Excise Duty": {}
+                        }, 
+                        "Sales Tax Payable": {}, 
+                        "Service Tax Payable": {
+                            "Education Cess Payable On Service Tax": {}, 
+                            "Higher Education Cess Payable On Service Tax": {}, 
+                            "Service Tax Payable": {}
+                        }, 
+                        "TDS Payable": {}, 
+                        "VAT Payable": {}
+                    }, 
+                    "Loan Liabilities": {
+                        "Bank OD Account": {}, 
+                        "Secured Loan Account": {}, 
+                        "Unsecured Loan Account": {}
+                    }, 
+                    "Others Payable": {
+                        "Interest Payable": {}, 
+                        "Notes Payable": {}, 
+                        "Wages Payable": {}
                     }
-                },
-                "Deposit Account": {
-                    "Deposit Account": {}
-                },
-                "Inventories": {
-                    "Inventories": {}
-                },
-                "Other Current Assets": {
-                    "Prepaid Insurance": {}
-                },
-                "Tax Receivable": {
-                    "Excise Duty Receivable": {
-                        "Education Cess Receivable On Excise Duty": {},
-                        "Excise Duty Receivable": {},
-                        "Higher Education Cess Receivable On Excise Duty": {}
-                    },
-                    "Sales Tax Receivable": {},
-                    "Service Tax Receivable": {
-                        "Education Cess Receivable On Service Tax": {},
-                        "Higher Education Cess Receivable On Service Tax": {},
-                        "Service Tax Receivable": {}
-                    },
-                    "TDS Receivable": {},
-                    "VAT Receivable": {}
+                }, 
+                "Share Holder/Owners Fund": {
+                    "Capital Account": {}, 
+                    "Reserve And Surplus Account": {}
                 }
-            },
-            "Fixed Assets": {
-                "Air Conditionar": {},
-                "Buildings": {},
-                "Computer/Laptops (Assets)": {},
-                "Equipments": {},
-                "Furniture": {},
-                "Land": {},
-                "Misc Assets": {},
-                "Vehicle": {}
-            }
-        },
-        "Liabilities": {
-			"root_type": "Liability",
-            "Current Liabilities": {
-                "Accounts Payable": {
-                    "Creditors": {
-                        "account_type": "Payable"
+            }, 
+            "root_type": ""
+        }, 
+        "Profit And Loss": {
+            "Expense": {
+                "Cost of Goods Sold": {
+                    "Closing Stock": {}, 
+                    "Opening Stock": {}, 
+                    "Purchase Stock": {}
+                }, 
+                "Direct Expense": {
+                    "Computer/Laptop Accessories": {}, 
+                    "Electricity Expense": {}, 
+                    "House Keeping Expense": {}, 
+                    "Internet Expense": {}, 
+                    "News Paper And Magazine": {}, 
+                    "Office Rent": {}, 
+                    "Postage And Courier Expense": {}, 
+                    "Purchase Expense": {}, 
+                    "Salary Expense": {}, 
+                    "Telephone Expense": {}
+                }, 
+                "Indirect Expense": {
+                    "Bank Charges": {
+                        "account_type": "Bank"
+                    }, 
+                    "Business Promotion": {}, 
+                    "Diwali Bonus/Gift": {}, 
+                    "Entertainment Expense": {}, 
+                    "Foreign Exchange Loss": {}, 
+                    "Other Expense": {
+                        "Sales Commission Expense": {}, 
+                        "Stationary Expense": {}, 
+                        "Travelling Expense": {}
+                    }, 
+                    "Parts Purchase": {}, 
+                    "Professional Services": {}, 
+                    "Repairing Expense": {}
+                }, 
+                "Non Operating Expenses And Loss": {
+                    "Loss on Sale of Assets": {}, 
+                    "Write Off Expense": {}
+                }
+            }, 
+            "Income": {
+                "Non Operating Revenues And Gains": {
+                    "Foreign Exchange Profit": {}, 
+                    "Gain on Sale of Assets": {}, 
+                    "Interest Revenues": {}, 
+                    "Write off Income": {}
+                }, 
+                "Operating Revenues": {
+                    "Sales of Goods": {
+                        "Export Sales": {}, 
+                        "Local Sales": {}, 
+                        "Retail Sales": {}
+                    }, 
+                    "Sales of Services": {
+                        "Export Services": {}, 
+                        "Local Services": {}
                     }
-                },
-                "Duties And Taxes Payable": {
-                    "Excise Duty Payable": {
-                        "Education Cess Payable On Excise Duty": {},
-                        "Excise Duty Payable": {},
-                        "Higher Education Cess Payable On Excise Duty": {}
-                    },
-                    "Sales Tax Payable": {},
-                    "Service Tax Payable": {
-                        "Education Cess Payable On Service Tax": {},
-                        "Higher Education Cess Payable On Service Tax": {},
-                        "Service Tax Payable": {}
-                    },
-                    "TDS Payable": {},
-                    "VAT Payable": {}
-                },
-                "Loan Liabilities": {
-                    "Bank OD Account": {},
-                    "Secured Loan Account": {},
-                    "Unsecured Loan Account": {}
-                },
-                "Others Payable": {
-                    "Interest Payable": {},
-                    "Notes Payable": {},
-                    "Wages Payable": {}
                 }
-            },
-            "Share Holder/Owners Fund": {
-                "Capital Account": {},
-                "Reserve And Surplus Account": {}
-            }
-        },
-        "Expense": {
-			"root_type": "Expense",
-            "Cost of Goods Sold": {
-                "Closing Stock": {},
-                "Opening Stock": {},
-                "Purchase Stock": {}
-            },
-            "Direct Expense": {
-                "Computer/Laptop Accessories": {},
-                "Electricity Expense": {},
-                "House Keeping Expense": {},
-                "Internet Expense": {},
-                "News Paper And Magazine": {},
-                "Office Rent": {},
-                "Postage And Courier Expense": {},
-                "Purchase Expense": {},
-                "Salary Expense": {},
-                "Telephone Expense": {}
-            },
-            "Indirect Expense": {
-                "Bank Charges": {
-                    "account_type": "Bank"
-                },
-                "Business Promotion": {},
-                "Diwali Bonus/Gift": {},
-                "Entertainment Expense": {},
-                "Foreign Exchange Loss": {},
-                "Other Expense": {
-                    "Sales Commission Expense": {},
-                    "Stationary Expense": {},
-                    "Travelling Expense": {}
-                },
-                "Parts Purchase": {},
-                "Professional Services": {},
-                "Repairing Expense": {}
-            },
-            "Non Operating Expenses And Loss": {
-                "Loss on Sale of Assets": {},
-                "Write Off Expense": {}
-            }
-        },
-        "Income": {
-			"root_type": "Income",
-            "Non Operating Revenues And Gains": {
-                "Foreign Exchange Profit": {},
-                "Gain on Sale of Assets": {},
-                "Interest Revenues": {},
-                "Write off Income": {}
-            },
-            "Operating Revenues": {
-                "Sales of Goods": {
-                    "Export Sales": {},
-                    "Local Sales": {},
-                    "Retail Sales": {}
-                },
-                "Sales of Services": {
-                    "Export Services": {},
-                    "Local Services": {}
-                }
-            }
+            }, 
+            "root_type": ""
         }
     }
-}
+}
\ No newline at end of file
diff --git a/erpnext/accounts/doctype/account/chart_of_accounts/it_l10n_it_chart_template_generic.json b/erpnext/accounts/doctype/account/chart_of_accounts/it_l10n_it_chart_template_generic.json
index 3400de0..47f8f51 100644
--- a/erpnext/accounts/doctype/account/chart_of_accounts/it_l10n_it_chart_template_generic.json
+++ b/erpnext/accounts/doctype/account/chart_of_accounts/it_l10n_it_chart_template_generic.json
@@ -88,10 +88,12 @@
                 "fornitori c/acconti": {}, 
                 "materie di consumo": {}, 
                 "merci": {}
-            }
+            }, 
+            "root_type": ""
         }, 
         "CONTI DI RISULTATO": {
             "conto di risultato economico": {}, 
+            "root_type": "", 
             "stato patrimoniale": {}
         }, 
         "COSTI DELLA PRODUZIONE": {
@@ -168,10 +170,12 @@
                 "svalutazione crediti": {}, 
                 "svalutazioni immobilizzazioni immateriali": {}, 
                 "svalutazioni immobilizzazioni materiali": {}
-            }
+            }, 
+            "root_type": ""
         }, 
         "IMPOSTE DELL'ESERCIZIO": {
-            "imposte dell'esercizio": {}
+            "imposte dell'esercizio": {}, 
+            "root_type": ""
         }, 
         "PASSIVO": {
             "CONTI DEI SISTEMI SUPPLEMENTARI": {
@@ -254,7 +258,8 @@
             }, 
             "TRATTAMENTO FINE RAPPORTO DI LAVORO": {
                 "debiti per TFRL": {}
-            }
+            }, 
+            "root_type": ""
         }, 
         "PROVENTI E ONERI FINANZIARI": {
             "ONERI FINANZIARI": {
@@ -269,7 +274,8 @@
                 "interessi attivi postali": {}, 
                 "interessi attivi v/clienti": {}, 
                 "proventi finanziari diversi": {}
-            }
+            }, 
+            "root_type": ""
         }, 
         "PROVENTI E ONERI STRAORDINARI": {
             "ONERI STRAORDINARI": {
@@ -282,7 +288,8 @@
                 "insussistenze attive straordinarie": {}, 
                 "plusvalenze straordinarie": {}, 
                 "sopravvenienze attive straordinarie": {}
-            }
+            }, 
+            "root_type": ""
         }, 
         "VALORE DELLA PRODUZIONE": {
             "RICAVI E PROVENTI DIVERSI": {
@@ -299,9 +306,8 @@
                 "resi su vendite": {}, 
                 "ribassi e abbuoni passivi": {}, 
                 "rimborsi spese di vendita": {}
-            }
-        }, 
-        "name": "Azienda", 
-        "parent_id": null
+            }, 
+            "root_type": ""
+        }
     }
 }
\ No newline at end of file
diff --git a/erpnext/accounts/doctype/account/chart_of_accounts/lu_lu_2011_chart_1.json b/erpnext/accounts/doctype/account/chart_of_accounts/lu_lu_2011_chart_1.json
index 37e8bdc..1dc5293 100644
--- a/erpnext/accounts/doctype/account/chart_of_accounts/lu_lu_2011_chart_1.json
+++ b/erpnext/accounts/doctype/account/chart_of_accounts/lu_lu_2011_chart_1.json
@@ -737,7 +737,8 @@
                     "Parts dans des entreprises avec lesquelles la soci\u00e9t\u00e9 a un lien de participation": {}, 
                     "Parts dans des entreprises li\u00e9es": {}
                 }
-            }
+            }, 
+            "root_type": ""
         }, 
         "TOTAL CLASSES 6 ET 7": {
             "CLASSE 6 - COMPTES DE CHARGES": {
@@ -1446,9 +1447,8 @@
                         "Variation des stocks de produits r\u00e9siduels": {}
                     }
                 }
-            }
-        }, 
-        "name": "Plan de compte Luxembourgeois - Loi de Juin 2009 (THAMINI & ADN & ACSONE)", 
-        "parent_id": null
+            }, 
+            "root_type": ""
+        }
     }
 }
\ No newline at end of file
diff --git a/erpnext/accounts/doctype/account/chart_of_accounts/ma_l10n_kzc_temp_chart.json b/erpnext/accounts/doctype/account/chart_of_accounts/ma_l10n_kzc_temp_chart.json
index d405590..870d6d7 100644
--- a/erpnext/accounts/doctype/account/chart_of_accounts/ma_l10n_kzc_temp_chart.json
+++ b/erpnext/accounts/doctype/account/chart_of_accounts/ma_l10n_kzc_temp_chart.json
@@ -867,7 +867,8 @@
                         "Diminution des dettes circulantes": {}
                     }
                 }
-            }
+            }, 
+            "root_type": ""
         }, 
         "COMPTES DE GESTION": {
             "COMPTES DE CHARGES": {
@@ -1411,7 +1412,8 @@
                         "Subventions d'\u00e9quilibre re\u00e7ues des exercices ant\u00e9rieurs": {}
                     }
                 }
-            }
+            }, 
+            "root_type": ""
         }, 
         "COMPTES DE RESULTATS": {
             "RESULTAT APRES IMPOTS": {}, 
@@ -1427,9 +1429,8 @@
                 "Valeur ajout\u00e9e": {}
             }, 
             "RESULTAT FINANCIER": {}, 
-            "RESULTAT NON COURANT": {}
-        }, 
-        "name": "Plan_Comptable_Maroc", 
-        "parent_id": null
+            "RESULTAT NON COURANT": {}, 
+            "root_type": ""
+        }
     }
 }
\ No newline at end of file
diff --git a/erpnext/accounts/doctype/account/chart_of_accounts/mx_vauxoo_mx_chart_template.json b/erpnext/accounts/doctype/account/chart_of_accounts/mx_vauxoo_mx_chart_template.json
index 072ef61..56135d8 100644
--- a/erpnext/accounts/doctype/account/chart_of_accounts/mx_vauxoo_mx_chart_template.json
+++ b/erpnext/accounts/doctype/account/chart_of_accounts/mx_vauxoo_mx_chart_template.json
@@ -162,7 +162,8 @@
                         "DEPOSITOS GARANTIA PROVEEDORES": {}
                     }
                 }
-            }
+            }, 
+            "root_type": ""
         }, 
         "CAPITAL": {
             "CAPITAL SOCIAL": {
@@ -213,7 +214,8 @@
                         "UTILIDADES NO DISTRIBUIDAS": {}
                     }
                 }
-            }
+            }, 
+            "root_type": ""
         }, 
         "COSTO": {
             "COSTO DE VENTAS": {
@@ -222,7 +224,8 @@
                         "COSTO DE VENTAS": {}
                     }
                 }
-            }
+            }, 
+            "root_type": ""
         }, 
         "CUENTAS DE ORDEN": {
             "CUENTAS DE ORDEN": {
@@ -241,7 +244,8 @@
                         "MERCANCIA VENDIDAS EN TRANSITO": {}
                     }
                 }
-            }
+            }, 
+            "root_type": ""
         }, 
         "GASTOS": {
             "GASTOS OPERATIVOS": {
@@ -351,7 +355,8 @@
                         "VIATICOS NO DEDUCIBLES": {}
                     }
                 }
-            }
+            }, 
+            "root_type": ""
         }, 
         "INGRESOS": {
             "INGRESOS OPERACIONALES": {
@@ -370,7 +375,8 @@
                         "VENTAS NACIONALES AL DETAL": {}
                     }
                 }
-            }
+            }, 
+            "root_type": ""
         }, 
         "OTROS INGRESOS (EGRESOS)": {
             "EGRESOS": {
@@ -412,7 +418,8 @@
                         "OTROS INGRESOS": {}
                     }
                 }
-            }
+            }, 
+            "root_type": ""
         }, 
         "PASIVO": {
             "OTROS PASIVOS A CORTO PLAZO": {
@@ -557,8 +564,8 @@
                         "PASIVOS INTERCOMPA\u00d1IAS": {}
                     }
                 }
-            }
-        }, 
-        "name": "PLAN CONTABLE"
+            }, 
+            "root_type": ""
+        }
     }
 }
\ No newline at end of file
diff --git a/erpnext/accounts/doctype/account/chart_of_accounts/nl_l10nnl_chart_template.json b/erpnext/accounts/doctype/account/chart_of_accounts/nl_l10nnl_chart_template.json
index fb38326..1c5138b 100644
--- a/erpnext/accounts/doctype/account/chart_of_accounts/nl_l10nnl_chart_template.json
+++ b/erpnext/accounts/doctype/account/chart_of_accounts/nl_l10nnl_chart_template.json
@@ -2,7 +2,9 @@
     "country_code": "nl", 
     "name": "Nederlands Grootboekschema", 
     "tree": {
-        "FABRIKAGEREKENINGEN": {}, 
+        "FABRIKAGEREKENINGEN": {
+            "root_type": ""
+        }, 
         "FINANCIELE REKENINGEN, KORTLOPENDE VORDERINGEN EN SCHULDEN": {
             "KORTLOPENDE SCHULDEN": {
                 "Accountantskosten": {}, 
@@ -98,9 +100,12 @@
                 "Voorschotten personeel": {}, 
                 "Vooruitbetaalde kosten": {}, 
                 "Voorziening dubieuze debiteuren": {}
-            }
+            }, 
+            "root_type": ""
         }, 
-        "INDIRECTE KOSTEN": {}, 
+        "INDIRECTE KOSTEN": {
+            "root_type": ""
+        }, 
         "KOSTENREKENINGEN": {
             "AFSCHRIJVINGEN": {
                 "Aanhangwagens": {}, 
@@ -273,7 +278,8 @@
                 "Overige vervoerskosten": {}, 
                 "Priv\u00e9-gebruik auto's": {}, 
                 "Wegenbelasting": {}
-            }
+            }, 
+            "root_type": ""
         }, 
         "OVERIGE RESULTATEN": {
             "Memoriaal": {
@@ -286,7 +292,8 @@
             "Vpb bijzonder resultaat": {}, 
             "Vpb normaal resultaat": {}, 
             "Winst": {}, 
-            "Winst bij verkoop deelnem.": {}
+            "Winst bij verkoop deelnem.": {}, 
+            "root_type": ""
         }, 
         "TUSSENREKENINGEN": {
             "Betaalwijze cadeaubonnen": {
@@ -369,7 +376,8 @@
             }, 
             "Vraagposten": {
                 "account_type": "Cash"
-            }
+            }, 
+            "root_type": ""
         }, 
         "VASTE ACTIVA, EIGEN VERMOGEN, LANGLOPEND VREEMD VERMOGEN EN VOORZIENINGEN": {
             "EIGEN VERMOGEN": {
@@ -589,7 +597,8 @@
                 "Voorziening deelnemingen": {
                     "account_type": "Equity"
                 }
-            }
+            }, 
+            "root_type": ""
         }, 
         "VERKOOPRESULTATEN": {
             "Diensten fabric. 0% niet-EU": {}, 
@@ -612,7 +621,8 @@
             "Verkopen handel laag": {}, 
             "Verkopen handel overig": {}, 
             "Verleende Kredietbep. fabricage": {}, 
-            "Verleende Kredietbep. handel": {}
+            "Verleende Kredietbep. handel": {}, 
+            "root_type": ""
         }, 
         "VOORRAAD GEREED PRODUCT EN ONDERHANDEN WERK": {
             "Betalingskort. crediteuren": {}, 
@@ -645,7 +655,8 @@
             "Toevoeging voorz. incour. handelsgoed.": {}, 
             "Uitbesteed werk": {}, 
             "Voorz. Incourourant grondst.": {}, 
-            "Voorz.incour. handelsgoed.": {}
+            "Voorz.incour. handelsgoed.": {}, 
+            "root_type": ""
         }, 
         "VOORRAAD GRONDSTOFFEN, HULPMATERIALEN EN HANDELSGOEDEREN": {
             "Emballage": {
@@ -698,8 +709,8 @@
             }, 
             "Zegels": {
                 "account_type": "Cash"
-            }
-        }, 
-        "name": "NEDERLANDS STANDAARD GROOTBOEKSCHEMA"
+            }, 
+            "root_type": ""
+        }
     }
 }
\ No newline at end of file
diff --git a/erpnext/accounts/doctype/account/chart_of_accounts/pa_l10npa_chart_template.json b/erpnext/accounts/doctype/account/chart_of_accounts/pa_l10npa_chart_template.json
index 46f251e..2a5435e 100644
--- a/erpnext/accounts/doctype/account/chart_of_accounts/pa_l10npa_chart_template.json
+++ b/erpnext/accounts/doctype/account/chart_of_accounts/pa_l10npa_chart_template.json
@@ -158,7 +158,8 @@
                     "Resultados Acumulados del Ejercicio Anterior": {}, 
                     "Utilidades y P\u00e9rdidas del Ejercicio": {}
                 }
-            }
+            }, 
+            "root_type": ""
         }, 
         "Cuentas de Orden": {
             "CUENTAS DE ORDEN ACREEDORAS": {
@@ -172,7 +173,8 @@
                 "Documentos Endosados": {}, 
                 "Garantias Otorgadas": {}, 
                 "Mercaderias Recibidas en Consignaci\u00f3n": {}
-            }
+            }, 
+            "root_type": ""
         }, 
         "Estado de Resultado": {
             "COSTOS": {
@@ -223,8 +225,8 @@
                         "Ventas - Categoria de productos 01": {}
                     }
                 }
-            }
-        }, 
-        "name": "Panam\u00e1"
+            }, 
+            "root_type": ""
+        }
     }
 }
\ No newline at end of file
diff --git a/erpnext/accounts/doctype/account/chart_of_accounts/pe_pe_chart_template.json b/erpnext/accounts/doctype/account/chart_of_accounts/pe_pe_chart_template.json
index 29e1f7e..3bb68c3 100644
--- a/erpnext/accounts/doctype/account/chart_of_accounts/pe_pe_chart_template.json
+++ b/erpnext/accounts/doctype/account/chart_of_accounts/pe_pe_chart_template.json
@@ -1587,7 +1587,8 @@
                     "Tributos y aportes ...- Instituciones p\u00fablicas / otras instituciones ": {}
                 }, 
                 "Tributos y aportes al sistema de pensiones y de salud por pagar - Otros costos administrativos e intereses ": {}
-            }
+            }, 
+            "root_type": ""
         }, 
         "Cuentas de Centros de Costo": {
             "Costo de Producci\u00f3n ": {
@@ -1775,7 +1776,8 @@
                     "Gastos financieros - Otras cargas financieras / intereses moratorios": {}, 
                     "Gastos financieros - Otras cargas financieras / pago tributos y contribuciones ": {}
                 }
-            }
+            }, 
+            "root_type": ""
         }, 
         "Cuentas de Ganancias y Perdidas": {
             "Cargas cubiertas por provisiones": {
@@ -2622,7 +2624,8 @@
                         "Ventas - Subproductos, desechos ... / subproductos, terceros": {}
                     }
                 }
-            }
+            }, 
+            "root_type": ""
         }, 
         "Cuentas de Orden": {
             "Acreedoras por el contrario": {}, 
@@ -2703,8 +2706,8 @@
                     "Otras cuentas de orden deudoras - Contratos aprobados / contratos en tr\u00e1mite ": {}
                 }, 
                 "Otras cuentas de orden deudoras - Diversas": {}
-            }
-        }, 
-        "name": "Per\u00fa - PCGE 2010"
+            }, 
+            "root_type": ""
+        }
     }
 }
\ No newline at end of file
diff --git a/erpnext/accounts/doctype/account/chart_of_accounts/pl_pl_chart_template.json b/erpnext/accounts/doctype/account/chart_of_accounts/pl_pl_chart_template.json
index bb0f096..108e5e3 100644
--- a/erpnext/accounts/doctype/account/chart_of_accounts/pl_pl_chart_template.json
+++ b/erpnext/accounts/doctype/account/chart_of_accounts/pl_pl_chart_template.json
@@ -69,6 +69,7 @@
                 "Nabyta warto\u015b\u0107 firmy": {}, 
                 "Zaliczki na warto\u015bci niematerialne i prawne": {}
             }, 
+            "root_type": "", 
             "\u015arodki Trwa\u0142e": {
                 "Budynki, lokale i obiekty in\u017cynierii l\u0105dowej i wodnej": {}, 
                 "Grunty w\u0142asne i prawa wieczystego u\u017cytkowania grunt\u00f3w": {}, 
@@ -128,7 +129,8 @@
                 "Ujemna warto\u015b\u0107 firmy": {}
             }, 
             "Rozliczenia wyniku finansowego": {}, 
-            "Wynik finansowy": {}
+            "Wynik finansowy": {}, 
+            "root_type": ""
         }, 
         "Koszty wed\u0142ug rodzaj\u00f3w i ich rozliczenie": {
             "Amortyzacja": {}, 
@@ -178,6 +180,7 @@
                 "Nie podlegaj\u0105ce rozliczeniu w czasie": {}, 
                 "Przypadaj\u0105ce na przysz\u0142e okresy": {}
             }, 
+            "root_type": "", 
             "\u015awiadczenia na rzecz pracownik\u00f3w": {}
         }, 
         "Koszty wed\u0142ug typ\u00f3w dzia\u0142alno\u015bci i ich rozliczenie": {
@@ -199,7 +202,8 @@
                 "Koszty zarz\u0105dzania jednostk\u0105": {}, 
                 "\u015awiadczenia us\u0142ug na potrzeby reprezentacji i reklamy": {}
             }, 
-            "Rozliczenie koszt\u00f3w dzia\u0142alno\u015bci": {}
+            "Rozliczenie koszt\u00f3w dzia\u0142alno\u015bci": {}, 
+            "root_type": ""
         }, 
         "Materia\u0142y i towary": {
             "Materia\u0142y i opakowania": {
@@ -237,7 +241,8 @@
                 "Towary w hurcie": {}, 
                 "Towary w zak\u0142adach gastronomicznych": {}
             }, 
-            "Zapasy obce": {}
+            "Zapasy obce": {}, 
+            "root_type": ""
         }, 
         "Produkty i rozliczenia mi\u0119dzyokresowe": {
             "Odchylenia od cen ewidencyjnych produkt\u00f3w": {
@@ -258,7 +263,8 @@
             "Rozliczenia mi\u0119dzyokresowe koszt\u00f3w": {
                 "Bierne rozliczenia mi\u0119dzyokresowe koszt\u00f3w": {}, 
                 "Czynne rozliczenia mi\u0119dzyokresowe koszt\u00f3w": {}
-            }
+            }, 
+            "root_type": ""
         }, 
         "Przychody i koszty zwi\u0105zane z ich osi\u0105gni\u0119ciem": {
             "Koszt w\u0142asny obrot\u00f3w wewn\u0119trznych": {
@@ -338,7 +344,8 @@
                 "Warto\u015b\u0107 sprzedanych towar\u00f3w w sprzeda\u017cy hurtowej": {}, 
                 "Warto\u015b\u0107 sprzedanych towar\u00f3w w sprzeda\u017cy wysy\u0142kowej": {}
             }, 
-            "Zyski nadzwyczajne": {}
+            "Zyski nadzwyczajne": {}, 
+            "root_type": ""
         }, 
         "Rozrachunki i roszczenia": {
             "Odpisy aktualizuj\u0105ce rozrachunki": {}, 
@@ -442,9 +449,9 @@
                 "Inne rozrachunki z pracownikami": {}, 
                 "Rozrachunki z tytu\u0142u po\u017cyczek udzielonych pracownikom": {}, 
                 "Rozrachunki z tytu\u0142u wynagrodze\u0144": {}
-            }
+            }, 
+            "root_type": ""
         }, 
-        "name": "Plan kont", 
         "\u015arodki pieni\u0119\u017cne, rachunki bankowe oraz inne kr\u00f3tkoterminowe aktywa finansowe": {
             "Inne aktywa pieni\u0119\u017cne": {}, 
             "Inne \u015brodki pieni\u0119\u017cne": {
@@ -480,6 +487,7 @@
                 "Rachunki kredyt\u00f3w bankowych": {}, 
                 "\u015arodki pieni\u0119\u017cne w drodze": {}
             }, 
+            "root_type": "", 
             "\u015arodki pieni\u0119\u017cne w kasie": {
                 "Kasa krajowych \u015brodk\u00f3w pieni\u0119\u017cnych": {}, 
                 "Kasa zagranicznych \u015brodk\u00f3w pieni\u0119\u017cnych": {}
diff --git a/erpnext/accounts/doctype/account/chart_of_accounts/pt_pt_chart_template.json b/erpnext/accounts/doctype/account/chart_of_accounts/pt_pt_chart_template.json
index f7b86b6..6cb440f 100644
--- a/erpnext/accounts/doctype/account/chart_of_accounts/pt_pt_chart_template.json
+++ b/erpnext/accounts/doctype/account/chart_of_accounts/pt_pt_chart_template.json
@@ -39,7 +39,8 @@
                 "Outras reservas": {}, 
                 "Reservas legais": {}
             }, 
-            "Resultados transitados": {}
+            "Resultados transitados": {}, 
+            "root_type": ""
         }, 
         "Contas a receber e a pagar": {
             "Accionistas/s\u00f3cios": {
@@ -386,7 +387,8 @@
                     "account_type": "Equity"
                 }, 
                 "account_type": "Equity"
-            }
+            }, 
+            "root_type": ""
         }, 
         "Gastos": {
             "Custo das mercadorias vendidas e mat\u00e9rias consumidas": {
@@ -536,7 +538,8 @@
                 "Outras provis\u00f5es": {}, 
                 "Processos judiciais em curso": {}, 
                 "Reestrutura\u00e7\u00e3o": {}
-            }
+            }, 
+            "root_type": ""
         }, 
         "Invent\u00e1rios e activos biol\u00f3gicos": {
             "Activos biol\u00f3gicos": {
@@ -587,7 +590,8 @@
                 "Desperd\u00edcios, res\u00edduos e refugos": {}, 
                 "Perdas por imparidade acumuladas": {}, 
                 "Subprodutos": {}
-            }
+            }, 
+            "root_type": ""
         }, 
         "Investimentos": {
             "Activo fixos tang\u00edveis": {
@@ -653,7 +657,8 @@
                 "Outras propriedades de investimento": {}, 
                 "Perdas por imparidade acumuladas": {}, 
                 "Terrenos e recursos naturais": {}
-            }
+            }, 
+            "root_type": ""
         }, 
         "Meios financeiros l\u00edquidos": {
             "Caixa": {
@@ -694,7 +699,8 @@
                     "account_type": "Cash"
                 }, 
                 "account_type": "Cash"
-            }
+            }, 
+            "root_type": ""
         }, 
         "Rendimentos": {
             "Ganhos por aumentos de justo valor": {
@@ -822,7 +828,8 @@
                 "Mercadoria": {}, 
                 "Produtos acabados e interm\u00e9dios": {}, 
                 "Subprodutos, desperd\u00edcios, res\u00edduos e refugos": {}
-            }
+            }, 
+            "root_type": ""
         }, 
         "Resultados": {
             "Dividendos antecipados": {}, 
@@ -833,8 +840,8 @@
                 }, 
                 "Resultado antes de impostos": {}, 
                 "Resultado l\u00edquido": {}
-            }
-        }, 
-        "name": "SNC Portugal"
+            }, 
+            "root_type": ""
+        }
     }
 }
\ No newline at end of file
diff --git a/erpnext/accounts/doctype/account/chart_of_accounts/ro_ro_chart_template.json b/erpnext/accounts/doctype/account/chart_of_accounts/ro_ro_chart_template.json
index f7f493c..424a938 100644
--- a/erpnext/accounts/doctype/account/chart_of_accounts/ro_ro_chart_template.json
+++ b/erpnext/accounts/doctype/account/chart_of_accounts/ro_ro_chart_template.json
@@ -750,7 +750,8 @@
                         "Venituri din sconturi obtinute": {}
                     }
                 }
-            }
+            }, 
+            "root_type": ""
         }, 
         "CONTURI IN AFARA BILANTULUI": {
             "CONTURI DE GESTIUNE": {
@@ -807,8 +808,8 @@
                         "Dobanzi de platit": {}
                     }
                 }
-            }
-        }, 
-        "name": "PLAN DE CONTURI GENERAL"
+            }, 
+            "root_type": ""
+        }
     }
 }
\ No newline at end of file
diff --git a/erpnext/accounts/doctype/account/chart_of_accounts/sg_sg_chart_template.json b/erpnext/accounts/doctype/account/chart_of_accounts/sg_sg_chart_template.json
index 638655d..fc02bfb 100644
--- a/erpnext/accounts/doctype/account/chart_of_accounts/sg_sg_chart_template.json
+++ b/erpnext/accounts/doctype/account/chart_of_accounts/sg_sg_chart_template.json
@@ -147,7 +147,8 @@
                     }, 
                     "account_type": "Payable"
                 }
-            }
+            }, 
+            "root_type": ""
         }, 
         "Profit and Loss": {
             "Cost of sales": {
@@ -215,9 +216,8 @@
                     "Other Expense": {}, 
                     "Penalties and settlements": {}
                 }
-            }
-        }, 
-        "name": "Chart of Singapore", 
-        "parent_id": null
+            }, 
+            "root_type": ""
+        }
     }
 }
\ No newline at end of file
diff --git a/erpnext/accounts/doctype/account/chart_of_accounts/si_gd_chart.json b/erpnext/accounts/doctype/account/chart_of_accounts/si_gd_chart.json
index 7674698..443054e 100644
--- a/erpnext/accounts/doctype/account/chart_of_accounts/si_gd_chart.json
+++ b/erpnext/accounts/doctype/account/chart_of_accounts/si_gd_chart.json
@@ -214,7 +214,8 @@
                 "TERJATVE ZA ODLO\u017dENI DAVEK IZ ODBITNIH ZA\u010cASNIH RAZLIK": {
                     "TERJATVE ZA ODLO\u017dENI DAVEK IZ ODBITNIH ZA\u010cASNIH RAZLIK": {}
                 }
-            }
+            }, 
+            "root_type": ""
         }, 
         "KAPITAL, DOLGORO\u010cNE OBVEZNOSTI (DOLGOVI) IN DOLGORO\u010cNE REZERVACIJE": {
             "DOLGORO\u010cNE FINAN\u010cNE OBVEZNOSTI": {
@@ -413,6 +414,7 @@
                     "VREDNOTNICE, IZDANE ZA OBRA\u010cUNAVANJE ZNOTRAJ PRAVNE OSEBE": {}
                 }
             }, 
+            "root_type": "", 
             "\u010cISTI DOBI\u010cEK ALI \u010cISTA IZGUBA": {
                 "NEUPORABLJENI DEL \u010cISTEGA DOBI\u010cKA POSLOVNEGA LETA": {
                     "NEUPORABLJENI DEL \u010cISTEGA DOBI\u010cKA POSLOVNEGA LETA": {}
@@ -657,7 +659,8 @@
                 "OSLABITEV VREDNOSTI KRATKORO\u010cNIH TERJATEV, POVEZANIH S FINAN\u010cNIMI PRIHODKI": {
                     "OSLABITEV VREDNOSTI KRATKORO\u010cNIH TERJATEV, POVEZANIH S FINAN\u010cNIMI PRIHODKI": {}
                 }
-            }
+            }, 
+            "root_type": ""
         }, 
         "KRATKORO\u010cNE OBVEZNOSTI (DOLGOVI) IN KRATKORO\u010cNE PASIVNE \u010cASOVNE RAZMEJITVE": {
             "DRUGE KRATKORO\u010cNE OBVEZNOSTI": {
@@ -817,7 +820,8 @@
                     }, 
                     "account_type": "Payable"
                 }
-            }
+            }, 
+            "root_type": ""
         }, 
         "ODHODKI IN PRIHODKI": {
             "DRUGI FINAN\u010cNI ODHODKI IN OSTALI ODHODKI": {
@@ -989,7 +993,8 @@
                     "PREVREDNOTOVALNI POSLOVNI ODHODKI V ZVEZI Z NEOPREDMETENIMI SREDSTVI, OPREDMETENIMI OSNOVNIMI SREDSTVI IN NALO\u017dBENIMI NEPREMI\u010cNINAMI RAZPOREJENIMI IN IZMERJENIMI PO MODELU NABAVNE VREDNOSTI": {}
                 }
             }, 
-            "USREDSTVENI LASTNI PROIZVODI IN LASTNE STORITVE": {}
+            "USREDSTVENI LASTNI PROIZVODI IN LASTNE STORITVE": {}, 
+            "root_type": ""
         }, 
         "POSLOVNI IZID": {
             "DOBI\u010cEK ALI IZGUBA PRED OBDAV\u010cITVIJO": {
@@ -1038,9 +1043,12 @@
                 "\u010cISTI DOBI\u010cEK ZA OBLIKOVANJE ZAKONSKIH REZERV": {
                     "\u010cISTI DOBI\u010cEK ZA OBLIKOVANJE ZAKONSKIH REZERV": {}
                 }
-            }
+            }, 
+            "root_type": ""
         }, 
-        "PROSTO": {}, 
+        "PROSTO": {
+            "root_type": ""
+        }, 
         "STRO\u0160KI": {
             "AMORTIZACIJA": {
                 "AMORTIZACIJA DROBNEGA INVENTARJA": {
@@ -1189,7 +1197,8 @@
                 "STRO\u0160KI TRANSPORTNIH STORITEV": {
                     "STRO\u0160KI TRANSPORTNIH STORITEV": {}
                 }
-            }
+            }, 
+            "root_type": ""
         }, 
         "ZALOGE PROIZVODOV, STORITEV, BLAGA IN NEKRATKORO\u010cNIH SREDSTEV (SKUPINE ZA ODTUJITEV) ZA PRODAJO": {
             "NEDOKON\u010cANE PROIZVODNJA IN STORITVE": {
@@ -1279,7 +1288,8 @@
                 "VRA\u010cUNANA RAZLIKA V CENAH ZALOG BLAGA": {
                     "VRA\u010cUNANA RAZLIKA V CENAH ZALOG BLAGA": {}
                 }
-            }
+            }, 
+            "root_type": ""
         }, 
         "ZALOGE SUROVIN IN MATERIALA": {
             "OBRA\u010cUN NABAVE SUROVIN IN MATERIALA (TUDI DROBNEGA INVENTARJA IN EMBALA\u017dE)": {
@@ -1323,9 +1333,8 @@
                 "ZALOGE SUROVIN IN MATERIALA V SKLADI\u0160\u010cU": {
                     "ZALOGE SUROVIN IN MATERIALA V SKLADI\u0160\u010cU": {}
                 }
-            }
-        }, 
-        "name": "KONTNI NA\u010cRT ZA GOSPODARSKE DRU\u017dBE", 
-        "parent_id": null
+            }, 
+            "root_type": ""
+        }
     }
 }
\ No newline at end of file
diff --git a/erpnext/accounts/doctype/account/chart_of_accounts/syscohada_syscohada_chart_template.json b/erpnext/accounts/doctype/account/chart_of_accounts/syscohada_syscohada_chart_template.json
index b6dc7bc..474cda4 100644
--- a/erpnext/accounts/doctype/account/chart_of_accounts/syscohada_syscohada_chart_template.json
+++ b/erpnext/accounts/doctype/account/chart_of_accounts/syscohada_syscohada_chart_template.json
@@ -988,7 +988,8 @@
                     "SOCI\u00c9T\u00c9S DE GESTION ET D'INTERM\u00c9DIATION (S.G.I.)": {}, 
                     "TR\u00c9SOR": {}
                 }
-            }
+            }, 
+            "root_type": ""
         }, 
         "Comptes de gestion": {
             "Comptes de charges": {
@@ -1427,7 +1428,8 @@
                         "hors R\u00e9gion": {}
                     }
                 }
-            }
+            }, 
+            "root_type": ""
         }, 
         "Comptes des engagements hors bilan et comptabilit\u00e9 analytique": {
             "COMPTES D'ECARTS SUR COUTS PREETABLIS": {}, 
@@ -1485,7 +1487,8 @@
                     "Autres engagements r\u00e9ciproques": {}, 
                     "Commandes fermes des clients": {}
                 }
-            }
+            }, 
+            "root_type": ""
         }, 
         "Comptes sp\u00e9ciaux": {
             "CHARGES HORS ACTIVIT\u00c9S ORDINAIRES": {
@@ -1550,8 +1553,8 @@
                 "IMMOBILISATIONS CORPORELLES": {}, 
                 "IMMOBILISATIONS FINANCI\u00c8RES": {}, 
                 "IMMOBILISATIONS INCORPORELLES": {}
-            }
-        }, 
-        "name": "Plan Comptable SYSCOA"
+            }, 
+            "root_type": ""
+        }
     }
 }
\ No newline at end of file
diff --git a/erpnext/accounts/doctype/account/chart_of_accounts/th_chart.json b/erpnext/accounts/doctype/account/chart_of_accounts/th_chart.json
index 60b7eca..d6f9734 100644
--- a/erpnext/accounts/doctype/account/chart_of_accounts/th_chart.json
+++ b/erpnext/accounts/doctype/account/chart_of_accounts/th_chart.json
@@ -17,13 +17,15 @@
             "Input VAT": {}, 
             "Inventory": {}, 
             "Outstanding Cheques": {}, 
-            "Withholding Income Tax": {}
+            "Withholding Income Tax": {}, 
+            "root_type": ""
         }, 
         "Equity": {
             "Capital Stock": {}, 
             "Dividends": {}, 
             "Income Summary": {}, 
-            "Retained Earnings": {}
+            "Retained Earnings": {}, 
+            "root_type": ""
         }, 
         "Expenses": {
             "Cost of goods sold": {}, 
@@ -31,10 +33,12 @@
             "Interest expenses": {}, 
             "Office Expenses": {}, 
             "Rent": {}, 
-            "Salary": {}
+            "Salary": {}, 
+            "root_type": ""
         }, 
         "Income": {
-            "Income": {}
+            "Income": {}, 
+            "root_type": ""
         }, 
         "Liabilities": {
             "Account Payable": {}, 
@@ -42,8 +46,8 @@
             "Loans": {}, 
             "Output VAT": {}, 
             "Uninvoiced Receipts": {}, 
-            "Withholding Tax": {}
-        }, 
-        "name": "Simple chart of accounts"
+            "Withholding Tax": {}, 
+            "root_type": ""
+        }
     }
 }
\ No newline at end of file
diff --git a/erpnext/accounts/doctype/account/chart_of_accounts/tr_l10ntr_tek_duzen_hesap.json b/erpnext/accounts/doctype/account/chart_of_accounts/tr_l10ntr_tek_duzen_hesap.json
index 1b66024..ba220d8 100644
--- a/erpnext/accounts/doctype/account/chart_of_accounts/tr_l10ntr_tek_duzen_hesap.json
+++ b/erpnext/accounts/doctype/account/chart_of_accounts/tr_l10ntr_tek_duzen_hesap.json
@@ -68,6 +68,7 @@
                 "Verilen Depozito Ve Teminatlar": {}, 
                 "\u015e\u00fcpheli Ticari Alacaklar Kar\u015f\u0131l\u0131\u011f\u0131(-)": {}
             }, 
+            "root_type": "", 
             "\u00d6zel T\u00fckenmeye Tabi Varl\u0131klar": {
                 "Arama Giderleri": {}, 
                 "Birikmi\u015f T\u00fckenme Paylar\u0131(-)": {}, 
@@ -141,7 +142,8 @@
             "Y\u0131llara Yayg\u0131n \u0130n\u015faat ve Onar\u0131m Maliyetleri": {
                 "Ta\u015feronlara Verilen Avanslar": {}, 
                 "Y\u0131llara Yayg\u0131n \u0130n\u015faat Ve Onar\u0131m Maliyetleri": {}
-            }
+            }, 
+            "root_type": ""
         }, 
         "Gelir Tablosu Hesaplar\u0131": {
             "Br\u00fct Sat\u0131\u015flar": {
@@ -205,7 +207,8 @@
                 "Sat\u0131lan Hizmet Maliyeti(-)": {}, 
                 "Sat\u0131lan Mamuller Maliyeti(-)": {}, 
                 "Sat\u0131lan Ticari Mallar Maliyeti(-)": {}
-            }
+            }, 
+            "root_type": ""
         }, 
         "K\u0131sa Vadeli Yabanc\u0131 Kaynaklar": {
             "Al\u0131nan Avanslar": {
@@ -322,6 +325,7 @@
                 }, 
                 "account_type": "Payable"
             }, 
+            "root_type": "", 
             "\u00d6denecek Vergi ve Di\u011fer Y\u00fck\u00fcml\u00fcl\u00fckler": {
                 "Vadesi Ge\u00e7mi\u015f, Ertelenmi\u015f Veya Taksitlendirilmi\u015f Vergi Ve Di\u011fer Y\u00fck\u00fcml\u00fcl\u00fckler": {
                     "account_type": "Tax"
@@ -382,10 +386,15 @@
                 "Atra\u015ft\u0131rma Ve Geli\u015ftirme Giderleri": {}, 
                 "Pazarlama Sat\u0131\u015f Ve Dag\u0131t\u0131m Giderleri Yans\u0131tma Hesab\u0131": {}, 
                 "Pazarlama Sat\u0131\u015f Ve Da\u011f\u0131t\u0131m Giderleri Fark Hesab\u0131": {}
-            }
+            }, 
+            "root_type": ""
         }, 
-        "Naz\u0131m Hesaplar": {}, 
-        "Serbest Hesaplar": {}, 
+        "Naz\u0131m Hesaplar": {
+            "root_type": ""
+        }, 
+        "Serbest Hesaplar": {
+            "root_type": ""
+        }, 
         "Uzun Vadeli Yabanc\u0131 Kaynaklar": {
             "Al\u0131nan Avanslar": {
                 "Al\u0131nan Di\u011fer Avanslar": {
@@ -481,9 +490,9 @@
                     "account_type": "Payable"
                 }, 
                 "account_type": "Payable"
-            }
+            }, 
+            "root_type": ""
         }, 
-        "name": "Tek D\u00fczen Hesap Plan\u0131", 
         "\u00d6z Kaynaklar": {
             "D\u00f6nem Net K\u00e2r\u0131 (Zarar\u0131)": {
                 "D\u00f6nem Net K\u00e2r\u0131": {}, 
@@ -510,6 +519,7 @@
                 "Maliyet Art\u0131\u015flar\u0131 Fonu": {}, 
                 "\u0130\u015ftirakler Yeniden De\u011ferleme Art\u0131\u015flar\u0131": {}
             }, 
+            "root_type": "", 
             "\u00d6denmi\u015f Sermaye": {
                 "Sermaye": {}, 
                 "\u00d6denmi\u015f Sermaye(-)": {
diff --git a/erpnext/accounts/doctype/account/chart_of_accounts/uk_l10n_uk.json b/erpnext/accounts/doctype/account/chart_of_accounts/uk_l10n_uk.json
index 38fd0fc..f959329 100644
--- a/erpnext/accounts/doctype/account/chart_of_accounts/uk_l10n_uk.json
+++ b/erpnext/accounts/doctype/account/chart_of_accounts/uk_l10n_uk.json
@@ -78,7 +78,8 @@
                     "Loans": {}, 
                     "Mortgages": {}
                 }
-            }
+            }, 
+            "root_type": ""
         }, 
         "Profit and Loss": {
             "Administrative expenses": {
@@ -171,9 +172,8 @@
                 "Sales category 2": {}, 
                 "Sales category 3": {}, 
                 "Sales category 4": {}
-            }
-        }, 
-        "name": "Company", 
-        "parent_id": null
+            }, 
+            "root_type": ""
+        }
     }
 }
\ No newline at end of file
diff --git a/erpnext/accounts/doctype/account/chart_of_accounts/us_account_chart_template_basic.json b/erpnext/accounts/doctype/account/chart_of_accounts/us_account_chart_template_basic.json
index 4a39a16..ec3c7db 100644
--- a/erpnext/accounts/doctype/account/chart_of_accounts/us_account_chart_template_basic.json
+++ b/erpnext/accounts/doctype/account/chart_of_accounts/us_account_chart_template_basic.json
@@ -29,7 +29,8 @@
                 "Court Costs": {}, 
                 "Expert Witness Fees": {}, 
                 "Filing Fees": {}
-            }
+            }, 
+            "root_type": ""
         }, 
         "Cost of Goods Sold": {
             "Commissions Paid": {
@@ -68,7 +69,8 @@
             "Tools and Small Equipment": {
                 "account_type": "Cost of Goods Sold"
             }, 
-            "account_type": "Cost of Goods Sold"
+            "account_type": "Cost of Goods Sold", 
+            "root_type": ""
         }, 
         "Expenses": {
             "Advertising and Promotion": {}, 
@@ -116,7 +118,8 @@
             "Travel Expense": {}, 
             "Uniforms": {}, 
             "Utilities": {}, 
-            "Veterinary, Breeding, Medicine": {}
+            "Veterinary, Breeding, Medicine": {}, 
+            "root_type": ""
         }, 
         "Income": {
             "Administrative Fees": {}, 
@@ -138,7 +141,8 @@
             "Sales Discounts": {}, 
             "Service Income": {}, 
             "Settlement Income": {}, 
-            "Shipping and Delivery Income": {}
+            "Shipping and Delivery Income": {}, 
+            "root_type": ""
         }, 
         "Liabilities and Equity": {
             "Equity": {
@@ -168,15 +172,15 @@
                     "Sales Tax Payable": {}, 
                     "Use Tax Payable": {}
                 }
-            }
+            }, 
+            "root_type": ""
         }, 
         "Other Income": {
             "Finance Charge Income": {}, 
             "Insurance Proceeds Received": {}, 
             "Interest Income": {}, 
-            "Proceeds from Sale of Assets": {}
-        }, 
-        "name": "Basic", 
-        "parent_id": null
+            "Proceeds from Sale of Assets": {}, 
+            "root_type": ""
+        }
     }
 }
\ No newline at end of file
diff --git a/erpnext/accounts/doctype/account/chart_of_accounts/uy_uy_chart_template.json b/erpnext/accounts/doctype/account/chart_of_accounts/uy_uy_chart_template.json
index 086620e..47ee1d9 100644
--- a/erpnext/accounts/doctype/account/chart_of_accounts/uy_uy_chart_template.json
+++ b/erpnext/accounts/doctype/account/chart_of_accounts/uy_uy_chart_template.json
@@ -116,7 +116,8 @@
                     "Titulos y Acciones": {}, 
                     "Valores orig. y revaluados s/anexo": {}
                 }
-            }
+            }, 
+            "root_type": ""
         }, 
         "GANANCIAS": {
             "INGRESOS FINANCIEROS": {
@@ -133,15 +134,18 @@
                 "Ventas Tasa B\u00e1sica": {}, 
                 "Ventas Tasa M\u00ednima": {}, 
                 "Ventas por Exportaciones": {}
-            }
+            }, 
+            "root_type": ""
         }, 
         "ORDEN ACTIVO": {
             "Acciones a Emitir": {}, 
-            "Suscriptores de acciones": {}
+            "Suscriptores de acciones": {}, 
+            "root_type": ""
         }, 
         "ORDEN PASIVO": {
             "Capital Autorizado a Suscribir": {}, 
-            "Capital suscripto": {}
+            "Capital suscripto": {}, 
+            "root_type": ""
         }, 
         "PASIVO": {
             "PASIVO CORRIENTE": {
@@ -241,7 +245,8 @@
                 "PREVISIONES NO CORRIENTES": {
                     "Previsiones No Corrientes": {}
                 }
-            }
+            }, 
+            "root_type": ""
         }, 
         "PATRIMONIO": {
             "AJUSTES AL PATRIMONIO": {
@@ -282,7 +287,8 @@
                         "account_type": "Equity"
                     }
                 }
-            }
+            }, 
+            "root_type": ""
         }, 
         "PERDIDAS": {
             "AMORTIZACIONES": {
@@ -328,8 +334,8 @@
                 }, 
                 "Otros": {}, 
                 "Retenciones": {}
-            }
-        }, 
-        "name": "Uruguay - Plan de Cuentas"
+            }, 
+            "root_type": ""
+        }
     }
 }
\ No newline at end of file
diff --git a/erpnext/accounts/doctype/account/chart_of_accounts/ve_ve_chart_template_amd.json b/erpnext/accounts/doctype/account/chart_of_accounts/ve_ve_chart_template_amd.json
index a59ec87..2a47f99 100644
--- a/erpnext/accounts/doctype/account/chart_of_accounts/ve_ve_chart_template_amd.json
+++ b/erpnext/accounts/doctype/account/chart_of_accounts/ve_ve_chart_template_amd.json
@@ -192,7 +192,8 @@
                         "DEPOSITOS GARANTIA PROVEEDORES": {}
                     }
                 }
-            }
+            }, 
+            "root_type": ""
         }, 
         "COSTO": {
             "COSTO DE VENTAS": {
@@ -201,7 +202,8 @@
                         "COSTO DE VENTAS": {}
                     }
                 }
-            }
+            }, 
+            "root_type": ""
         }, 
         "CUENTAS DE ORDEN": {
             "CUENTAS DE ORDEN": {
@@ -218,7 +220,8 @@
                         "MERCANCIA EN CONSIGNACION P. COMPRA0": {}
                     }
                 }
-            }
+            }, 
+            "root_type": ""
         }, 
         "GASTOS": {
             "GASTOS OPERATIVOS": {
@@ -330,7 +333,8 @@
                         "VIATICOS NO DEDUCIBLES": {}
                     }
                 }
-            }
+            }, 
+            "root_type": ""
         }, 
         "INGRESOS": {
             "INGRESOS OPERACIONALES": {
@@ -349,7 +353,8 @@
                         "VENTAS NACIONALES AL MAYOR": {}
                     }
                 }
-            }
+            }, 
+            "root_type": ""
         }, 
         "OTROS INGRESOS (EGRESOS)": {
             "EGRESOS": {
@@ -391,7 +396,8 @@
                         "OTROS INGRESOS": {}
                     }
                 }
-            }
+            }, 
+            "root_type": ""
         }, 
         "PASIVO": {
             "OTROS PASIVOS A CORTO PLAZO": {
@@ -538,7 +544,8 @@
                         "RESERVAS OPERATIVAS": {}
                     }
                 }
-            }
+            }, 
+            "root_type": ""
         }, 
         "PATRIMONIO": {
             "CAPITAL SOCIAL": {
@@ -598,8 +605,8 @@
                         "UTILIDADES NO DISTRIBUIDAS": {}
                     }
                 }
-            }
-        }, 
-        "name": "Main Account Company"
+            }, 
+            "root_type": ""
+        }
     }
 }
\ No newline at end of file