Merge pull request #1482 from nabinhait/countrywise_coa
Countrywise coa
This commit is contained in:
commit
f7f95ea37a
@ -1,14 +1,6 @@
|
||||
// Copyright (c) 2013, Web Notes Technologies Pvt. Ltd. and Contributors
|
||||
// License: GNU General Public License v3. See license.txt
|
||||
|
||||
|
||||
// Onload
|
||||
// -----------------------------------------
|
||||
cur_frm.cscript.onload = function(doc, cdt, cdn) {
|
||||
}
|
||||
|
||||
// Refresh
|
||||
// -----------------------------------------
|
||||
cur_frm.cscript.refresh = function(doc, cdt, cdn) {
|
||||
if(doc.__islocal) {
|
||||
msgprint(frappe._("Please create new account from Chart of Accounts."));
|
||||
@ -22,8 +14,7 @@ cur_frm.cscript.refresh = function(doc, cdt, cdn) {
|
||||
'credit_days', 'credit_limit', 'tax_rate'], doc.group_or_ledger=='Ledger')
|
||||
|
||||
// disable fields
|
||||
cur_frm.toggle_enable(['account_name', 'debit_or_credit', 'group_or_ledger',
|
||||
'is_pl_account', 'company'], false);
|
||||
cur_frm.toggle_enable(['account_name', 'group_or_ledger', 'company'], false);
|
||||
|
||||
if(doc.group_or_ledger=='Ledger') {
|
||||
frappe.model.with_doc("Accounts Settings", "Accounts Settings", function (name) {
|
||||
@ -61,14 +52,8 @@ cur_frm.cscript.master_type = function(doc, cdt, cdn) {
|
||||
in_list(['Customer', 'Supplier'], doc.master_type));
|
||||
}
|
||||
|
||||
cur_frm.add_fetch('parent_account', 'report_type', 'report_type');
|
||||
|
||||
// Fetch parent details
|
||||
// -----------------------------------------
|
||||
cur_frm.add_fetch('parent_account', 'debit_or_credit', 'debit_or_credit');
|
||||
cur_frm.add_fetch('parent_account', 'is_pl_account', 'is_pl_account');
|
||||
|
||||
// Hide tax rate based on account type
|
||||
// -----------------------------------------
|
||||
cur_frm.cscript.account_type = function(doc, cdt, cdn) {
|
||||
if(doc.group_or_ledger=='Ledger') {
|
||||
cur_frm.toggle_display(['tax_rate'], doc.account_type == 'Tax');
|
||||
@ -78,8 +63,6 @@ cur_frm.cscript.account_type = function(doc, cdt, cdn) {
|
||||
}
|
||||
}
|
||||
|
||||
// Hide/unhide group or ledger
|
||||
// -----------------------------------------
|
||||
cur_frm.cscript.add_toolbar_buttons = function(doc) {
|
||||
cur_frm.appframe.add_button(frappe._('Chart of Accounts'),
|
||||
function() { frappe.set_route("Accounts Browser", "Account"); }, 'icon-sitemap')
|
||||
@ -102,8 +85,7 @@ cur_frm.cscript.add_toolbar_buttons = function(doc) {
|
||||
}, "icon-table");
|
||||
}
|
||||
}
|
||||
// Convert group to ledger
|
||||
// -----------------------------------------
|
||||
|
||||
cur_frm.cscript.convert_to_ledger = function(doc, cdt, cdn) {
|
||||
return $c_obj(cur_frm.get_doclist(),'convert_group_to_ledger','',function(r,rt) {
|
||||
if(r.message == 1) {
|
||||
@ -112,8 +94,6 @@ cur_frm.cscript.convert_to_ledger = function(doc, cdt, cdn) {
|
||||
});
|
||||
}
|
||||
|
||||
// Convert ledger to group
|
||||
// -----------------------------------------
|
||||
cur_frm.cscript.convert_to_group = function(doc, cdt, cdn) {
|
||||
return $c_obj(cur_frm.get_doclist(),'convert_ledger_to_group','',function(r,rt) {
|
||||
if(r.message == 1) {
|
||||
|
@ -48,34 +48,17 @@ class DocType:
|
||||
def validate_parent(self):
|
||||
"""Fetch Parent Details and validation for account not to be created under ledger"""
|
||||
if self.doc.parent_account:
|
||||
par = frappe.db.sql("""select name, group_or_ledger, is_pl_account, debit_or_credit
|
||||
from tabAccount where name =%s""", self.doc.parent_account)
|
||||
par = frappe.db.sql("""select name, group_or_ledger, report_type
|
||||
from tabAccount where name =%s""", self.doc.parent_account, as_dict=1)
|
||||
if not par:
|
||||
throw(_("Parent account does not exists"))
|
||||
elif par[0][0] == self.doc.name:
|
||||
elif par[0]["name"] == self.doc.name:
|
||||
throw(_("You can not assign itself as parent account"))
|
||||
elif par[0][1] != 'Group':
|
||||
elif par[0]["group_or_ledger"] != 'Group':
|
||||
throw(_("Parent account can not be a ledger"))
|
||||
elif self.doc.debit_or_credit and par[0][3] != self.doc.debit_or_credit:
|
||||
throw("{msg} {debit_or_credit} {under} {account} {acc}".format(**{
|
||||
"msg": _("You cannot move a"),
|
||||
"debit_or_credit": self.doc.debit_or_credit,
|
||||
"under": _("account under"),
|
||||
"account": par[0][3],
|
||||
"acc": _("account")
|
||||
}))
|
||||
|
||||
if not self.doc.is_pl_account:
|
||||
self.doc.is_pl_account = par[0][2]
|
||||
if not self.doc.debit_or_credit:
|
||||
self.doc.debit_or_credit = par[0][3]
|
||||
|
||||
def validate_max_root_accounts(self):
|
||||
"""Raise exception if there are more than 4 root accounts"""
|
||||
if frappe.db.sql("""select count(*) from tabAccount where
|
||||
company=%s and ifnull(parent_account,'')='' and docstatus != 2""",
|
||||
self.doc.company)[0][0] > 4:
|
||||
throw(_("One company cannot have more than 4 root Accounts"))
|
||||
|
||||
if par[0]["report_type"]:
|
||||
self.doc.report_type = par[0]["report_type"]
|
||||
|
||||
def validate_duplicate_account(self):
|
||||
if self.doc.fields.get('__islocal') or not self.doc.name:
|
||||
@ -138,10 +121,8 @@ class DocType:
|
||||
and docstatus != 2""", self.doc.name)
|
||||
|
||||
def validate_mandatory(self):
|
||||
if not self.doc.debit_or_credit:
|
||||
throw(_("Debit or Credit field is mandatory"))
|
||||
if not self.doc.is_pl_account:
|
||||
throw(_("Is PL Account field is mandatory"))
|
||||
if not self.doc.report_type:
|
||||
throw(_("Report Type is mandatory"))
|
||||
|
||||
def validate_warehouse_account(self):
|
||||
if not cint(frappe.defaults.get_global_default("auto_accounting_for_stock")):
|
||||
@ -169,7 +150,6 @@ class DocType:
|
||||
frappe.utils.nestedset.update_nsm(self)
|
||||
|
||||
def on_update(self):
|
||||
self.validate_max_root_accounts()
|
||||
self.update_nsm_model()
|
||||
|
||||
def get_authorized_user(self):
|
||||
@ -223,12 +203,12 @@ class DocType:
|
||||
throw(_("Account ") + new +_(" does not exists"))
|
||||
|
||||
val = list(frappe.db.get_value("Account", new_account,
|
||||
["group_or_ledger", "debit_or_credit", "is_pl_account", "company"]))
|
||||
["group_or_ledger", "report_type", "company"]))
|
||||
|
||||
if val != [self.doc.group_or_ledger, self.doc.debit_or_credit, self.doc.is_pl_account, self.doc.company]:
|
||||
if val != [self.doc.group_or_ledger, self.doc.report_type, self.doc.company]:
|
||||
throw(_("""Merging is only possible if following \
|
||||
properties are same in both records.
|
||||
Group or Ledger, Debit or Credit, Is PL Account"""))
|
||||
Group or Ledger, Report Type, Company"""))
|
||||
|
||||
return new_account
|
||||
|
||||
@ -241,7 +221,7 @@ class DocType:
|
||||
rebuild_tree("Account", "parent_account")
|
||||
|
||||
def get_master_name(doctype, txt, searchfield, start, page_len, filters):
|
||||
conditions = (" and company='%s'"% filters["company"]) if doctype == "Warehouse" else ""
|
||||
conditions = (" and company='%s'"% filters["company"].replace("'", "\'")) if doctype == "Warehouse" else ""
|
||||
|
||||
return frappe.db.sql("""select name from `tab%s` where %s like %s %s
|
||||
order by name limit %s, %s""" %
|
||||
|
@ -2,7 +2,7 @@
|
||||
{
|
||||
"creation": "2013-01-30 12:49:46",
|
||||
"docstatus": 0,
|
||||
"modified": "2014-01-20 17:48:20",
|
||||
"modified": "2014-03-19 12:07:27",
|
||||
"modified_by": "Administrator",
|
||||
"owner": "Administrator"
|
||||
},
|
||||
@ -16,7 +16,7 @@
|
||||
"in_create": 1,
|
||||
"module": "Accounts",
|
||||
"name": "__common__",
|
||||
"search_fields": "debit_or_credit, group_or_ledger"
|
||||
"search_fields": "group_or_ledger"
|
||||
},
|
||||
{
|
||||
"doctype": "DocField",
|
||||
@ -93,29 +93,6 @@
|
||||
"reqd": 1,
|
||||
"search_index": 1
|
||||
},
|
||||
{
|
||||
"doctype": "DocField",
|
||||
"fieldname": "debit_or_credit",
|
||||
"fieldtype": "Data",
|
||||
"in_filter": 1,
|
||||
"label": "Debit or Credit",
|
||||
"oldfieldname": "debit_or_credit",
|
||||
"oldfieldtype": "Data",
|
||||
"read_only": 1,
|
||||
"search_index": 1
|
||||
},
|
||||
{
|
||||
"doctype": "DocField",
|
||||
"fieldname": "is_pl_account",
|
||||
"fieldtype": "Select",
|
||||
"in_filter": 1,
|
||||
"label": "Is PL Account",
|
||||
"oldfieldname": "is_pl_account",
|
||||
"oldfieldtype": "Select",
|
||||
"options": "Yes\nNo",
|
||||
"read_only": 1,
|
||||
"search_index": 1
|
||||
},
|
||||
{
|
||||
"doctype": "DocField",
|
||||
"fieldname": "company",
|
||||
@ -146,6 +123,13 @@
|
||||
"options": "Account",
|
||||
"search_index": 1
|
||||
},
|
||||
{
|
||||
"doctype": "DocField",
|
||||
"fieldname": "report_type",
|
||||
"fieldtype": "Select",
|
||||
"label": "Report Type",
|
||||
"options": "\nBalance Sheet\nProfit and Loss"
|
||||
},
|
||||
{
|
||||
"description": "Setting Account Type helps in selecting this Account in transactions.",
|
||||
"doctype": "DocField",
|
||||
@ -155,7 +139,7 @@
|
||||
"label": "Account Type",
|
||||
"oldfieldname": "account_type",
|
||||
"oldfieldtype": "Select",
|
||||
"options": "\nFixed Asset Account\nBank or Cash\nExpense Account\nTax\nIncome Account\nChargeable\nWarehouse",
|
||||
"options": "Bank\nCash\nTax\nChargeable\nWarehouse\nReceivable\nPayable\nEquity\nFixed Asset\nCost of Goods Sold\nExpense Account\nIncome Account\nStock Received But Not Billed\nExpenses Included In Valuation\nStock Adjustment",
|
||||
"search_index": 0
|
||||
},
|
||||
{
|
||||
@ -220,12 +204,11 @@
|
||||
"options": "[Select]"
|
||||
},
|
||||
{
|
||||
"default": "1",
|
||||
"depends_on": "eval:doc.group_or_ledger==\"Ledger\"",
|
||||
"doctype": "DocField",
|
||||
"fieldname": "allow_negative_balance",
|
||||
"fieldtype": "Check",
|
||||
"label": "Allow Negative Balance"
|
||||
"fieldname": "balance_must_be",
|
||||
"fieldtype": "Select",
|
||||
"label": "Balance must be",
|
||||
"options": "\nDebit\nCredit"
|
||||
},
|
||||
{
|
||||
"doctype": "DocField",
|
||||
|
@ -0,0 +1,65 @@
|
||||
# Copyright (c) 2013, Web Notes Technologies Pvt. Ltd. and Contributors
|
||||
# License: GNU General Public License v3. See license.txt
|
||||
|
||||
from __future__ import unicode_literals
|
||||
import frappe, os, json
|
||||
from frappe.utils import cstr
|
||||
from unidecode import unidecode
|
||||
|
||||
|
||||
class DocType:
|
||||
def __init__(self, d, dl):
|
||||
self.doc, self.doclist = d, dl
|
||||
self.no_report_type = False
|
||||
|
||||
def create_accounts(self, company):
|
||||
chart = {}
|
||||
with open(os.path.join(os.path.dirname(__file__), "charts",
|
||||
self.doc.source_file), "r") as f:
|
||||
chart = json.loads(f.read())
|
||||
|
||||
from erpnext.accounts.doctype.chart_of_accounts.charts.account_properties \
|
||||
import account_properties
|
||||
|
||||
if chart:
|
||||
accounts = []
|
||||
def _import_accounts(children, parent):
|
||||
for child in children:
|
||||
account_name = child.get("name")
|
||||
account_name_in_db = unidecode(account_name.strip().lower())
|
||||
|
||||
if account_name_in_db in accounts:
|
||||
count = accounts.count(account_name_in_db)
|
||||
account_name = account_name + " " + cstr(count)
|
||||
|
||||
child.update(account_properties.get(chart.get("name"), {}).get(account_name))
|
||||
|
||||
account = frappe.bean({
|
||||
"doctype": "Account",
|
||||
"account_name": account_name,
|
||||
"company": company,
|
||||
"parent_account": parent,
|
||||
"group_or_ledger": "Group" if child.get("children") else "Ledger",
|
||||
"report_type": child.get("report_type"),
|
||||
"account_type": child.get("account_type")
|
||||
}).insert()
|
||||
|
||||
accounts.append(account_name_in_db)
|
||||
|
||||
# set report_type for all parents where blank
|
||||
if not account.doc.report_type or account.doc.report_type == 'None':
|
||||
self.no_report_type = True
|
||||
elif self.no_report_type:
|
||||
frappe.db.sql("""update tabAccount set report_type=%s
|
||||
where lft<=%s and rgt>=%s and ifnull(report_type, '')=''""",
|
||||
(account.doc.report_type, account.doc.lft, account.doc.rgt))
|
||||
|
||||
if child.get("children"):
|
||||
_import_accounts(child.get("children"), account.doc.name)
|
||||
|
||||
_import_accounts(chart.get("root").get("children"), None)
|
||||
|
||||
@frappe.whitelist()
|
||||
def get_charts_for_country(country):
|
||||
return frappe.db.sql_list("select chart_name from `tabChart of Accounts` where country=%s",
|
||||
country)
|
@ -0,0 +1,78 @@
|
||||
[
|
||||
{
|
||||
"creation": "2014-03-05 14:11:31",
|
||||
"docstatus": 0,
|
||||
"modified": "2014-03-05 14:51:05",
|
||||
"modified_by": "Administrator",
|
||||
"owner": "Administrator"
|
||||
},
|
||||
{
|
||||
"autoname": "field:chart_name",
|
||||
"description": "Financial Chart of Accounts. Imported from file.",
|
||||
"doctype": "DocType",
|
||||
"document_type": "Master",
|
||||
"in_create": 1,
|
||||
"module": "Accounts",
|
||||
"name": "__common__"
|
||||
},
|
||||
{
|
||||
"doctype": "DocField",
|
||||
"name": "__common__",
|
||||
"parent": "Chart of Accounts",
|
||||
"parentfield": "fields",
|
||||
"parenttype": "DocType",
|
||||
"permlevel": 0
|
||||
},
|
||||
{
|
||||
"doctype": "DocPerm",
|
||||
"export": 0,
|
||||
"name": "__common__",
|
||||
"parent": "Chart of Accounts",
|
||||
"parentfield": "permissions",
|
||||
"parenttype": "DocType",
|
||||
"permlevel": 0,
|
||||
"print": 1,
|
||||
"read": 1,
|
||||
"report": 1,
|
||||
"role": "Accounts Manager"
|
||||
},
|
||||
{
|
||||
"doctype": "DocType",
|
||||
"name": "Chart of Accounts"
|
||||
},
|
||||
{
|
||||
"doctype": "DocField",
|
||||
"fieldname": "chart_name",
|
||||
"fieldtype": "Data",
|
||||
"in_list_view": 0,
|
||||
"label": "Chart Name",
|
||||
"reqd": 1
|
||||
},
|
||||
{
|
||||
"doctype": "DocField",
|
||||
"fieldname": "country",
|
||||
"fieldtype": "Link",
|
||||
"in_list_view": 1,
|
||||
"label": "Country",
|
||||
"options": "Country",
|
||||
"reqd": 1
|
||||
},
|
||||
{
|
||||
"doctype": "DocField",
|
||||
"fieldname": "preview",
|
||||
"fieldtype": "HTML",
|
||||
"label": "Preview"
|
||||
},
|
||||
{
|
||||
"doctype": "DocField",
|
||||
"fieldname": "source_file",
|
||||
"fieldtype": "Data",
|
||||
"hidden": 1,
|
||||
"label": "Source File",
|
||||
"read_only": 1,
|
||||
"reqd": 0
|
||||
},
|
||||
{
|
||||
"doctype": "DocPerm"
|
||||
}
|
||||
]
|
@ -0,0 +1,13 @@
|
||||
account_properties = {
|
||||
"Deutscher Kontenplan SKR03": {
|
||||
"Bilanzkonten": {
|
||||
"report_type": "Balance Sheet",
|
||||
},
|
||||
"Gewinn u. Verlust": {
|
||||
"report_type": "Profit and Loss",
|
||||
},
|
||||
"Vortrags- Kapital- und Statistische Konten": {
|
||||
"report_type": "Balance Sheet"
|
||||
}
|
||||
}
|
||||
}
|
@ -0,0 +1,669 @@
|
||||
{
|
||||
"name": "Argentina - Plan de Cuentas",
|
||||
"root": {
|
||||
"children": [
|
||||
{
|
||||
"children": [
|
||||
{
|
||||
"children": [
|
||||
{
|
||||
"name": "Acreedor por Garant\u00edas Otorgadas"
|
||||
},
|
||||
{
|
||||
"name": "Acreedor por Documentos Descontados"
|
||||
},
|
||||
{
|
||||
"name": "Comitente por Mercaderias Recibidas en Consignaci\u00f3n"
|
||||
}
|
||||
],
|
||||
"name": "CUENTAS DE ORDEN ACREEDORAS"
|
||||
},
|
||||
{
|
||||
"children": [
|
||||
{
|
||||
"name": "Documentos Endosados"
|
||||
},
|
||||
{
|
||||
"name": "Documentos Descontados"
|
||||
},
|
||||
{
|
||||
"name": "Garantias Otorgadas"
|
||||
},
|
||||
{
|
||||
"name": "Dep\u00f3sito de Valores Recibos en Garant\u00eda"
|
||||
},
|
||||
{
|
||||
"name": "Mercaderias Recibidas en Consignaci\u00f3n"
|
||||
}
|
||||
],
|
||||
"name": "CUENTAS DE ORDEN DEUDORAS"
|
||||
}
|
||||
],
|
||||
"name": "Cuentas de Orden"
|
||||
},
|
||||
{
|
||||
"children": [
|
||||
{
|
||||
"children": [
|
||||
{
|
||||
"children": [
|
||||
{
|
||||
"name": "Recupero de Rezagos",
|
||||
"report_type": "Profit and Loss"
|
||||
},
|
||||
{
|
||||
"name": "Ganancia Venta de Bienes de Uso",
|
||||
"report_type": "Profit and Loss"
|
||||
},
|
||||
{
|
||||
"name": "Recupero de Deudores Incobrables",
|
||||
"report_type": "Profit and Loss"
|
||||
},
|
||||
{
|
||||
"name": "Ganancia Venta Inversiones Permanentes",
|
||||
"report_type": "Profit and Loss"
|
||||
},
|
||||
{
|
||||
"name": "Donaciones obtenidas, ganandas, percibidas",
|
||||
"report_type": "Profit and Loss"
|
||||
}
|
||||
],
|
||||
"name": "Resultados Positivos Extraordinarios"
|
||||
},
|
||||
{
|
||||
"children": [
|
||||
{
|
||||
"name": "Comisiones gananados, obtenidos, percibidos",
|
||||
"report_type": "Profit and Loss"
|
||||
},
|
||||
{
|
||||
"name": "Descuentos gananados, obtenidos, percibidos",
|
||||
"report_type": "Profit and Loss"
|
||||
},
|
||||
{
|
||||
"name": "Renta de T\u00edtulos P\u00fablicos",
|
||||
"report_type": "Profit and Loss"
|
||||
},
|
||||
{
|
||||
"name": "Honorarios gananados, obtenidos, percibidos",
|
||||
"report_type": "Profit and Loss"
|
||||
},
|
||||
{
|
||||
"children": [
|
||||
{
|
||||
"name": "Ventas - Categoria de productos 01",
|
||||
"report_type": "Profit and Loss"
|
||||
}
|
||||
],
|
||||
"name": "Resultados Positivos Ordinarios"
|
||||
},
|
||||
{
|
||||
"name": "Intereses gananados, obtenidos, percibidos",
|
||||
"report_type": "Profit and Loss"
|
||||
},
|
||||
{
|
||||
"name": "Alquileres gananados, obtenidos, percibidos",
|
||||
"report_type": "Profit and Loss"
|
||||
},
|
||||
{
|
||||
"name": "Ganancia Venta de Acciones",
|
||||
"report_type": "Profit and Loss"
|
||||
}
|
||||
],
|
||||
"name": "Resultados Positivos Ordinarios"
|
||||
}
|
||||
],
|
||||
"name": "RESULTADOS POSITIVOS"
|
||||
},
|
||||
{
|
||||
"children": [
|
||||
{
|
||||
"children": [
|
||||
{
|
||||
"name": "Gastos de Publicidad y Propaganda",
|
||||
"report_type": "Profit and Loss"
|
||||
},
|
||||
{
|
||||
"name": "Gastos en Servicios P\u00fablicos"
|
||||
},
|
||||
{
|
||||
"children": [
|
||||
{
|
||||
"name": "Costo de Mercader\u00edas Vendidas - Categoria de productos 01",
|
||||
"report_type": "Profit and Loss"
|
||||
}
|
||||
],
|
||||
"name": "Costo de Mercader\u00edas Vendidas"
|
||||
},
|
||||
{
|
||||
"name": "Gastos en Amortizaci\u00f3n",
|
||||
"report_type": "Profit and Loss"
|
||||
},
|
||||
{
|
||||
"name": "Gastos en Cargas Sociales",
|
||||
"report_type": "Profit and Loss"
|
||||
},
|
||||
{
|
||||
"name": "Gastos en Sueldos y Jormales",
|
||||
"report_type": "Profit and Loss"
|
||||
},
|
||||
{
|
||||
"name": "Gastos Bancarios"
|
||||
},
|
||||
{
|
||||
"name": "Gastos en Impuestos"
|
||||
},
|
||||
{
|
||||
"name": "Gastos en Depreciaci\u00f3n de Bienes de Uso",
|
||||
"report_type": "Profit and Loss"
|
||||
}
|
||||
],
|
||||
"name": "Resultados Negativos Ordinarios"
|
||||
},
|
||||
{
|
||||
"children": [
|
||||
{
|
||||
"name": "Gastos en Siniestros",
|
||||
"report_type": "Profit and Loss"
|
||||
},
|
||||
{
|
||||
"name": "Donaciones Cedidas, Otorgadas",
|
||||
"report_type": "Profit and Loss"
|
||||
},
|
||||
{
|
||||
"name": "P\u00e9rdida Venta Bienes de Uso",
|
||||
"report_type": "Profit and Loss"
|
||||
}
|
||||
],
|
||||
"name": "Resultados Negativos Extraordinarios"
|
||||
}
|
||||
],
|
||||
"name": "RESULTADOS NEGATIVOS"
|
||||
}
|
||||
],
|
||||
"name": "Cuentas de Resultado"
|
||||
},
|
||||
{
|
||||
"children": [
|
||||
{
|
||||
"children": [
|
||||
{
|
||||
"children": [
|
||||
{
|
||||
"name": "Ajustes al Patrimonio / Revaluo T\u00e9cnico de Bienes de Uso",
|
||||
"report_type": "Balance Sheet"
|
||||
}
|
||||
],
|
||||
"name": "Ajustes al Patrimonio"
|
||||
},
|
||||
{
|
||||
"children": [
|
||||
{
|
||||
"name": "Aportes No Capitalizados / Aportes Irrevocables Futura Suscripci\u00f3n de Acciones",
|
||||
"report_type": "Balance Sheet"
|
||||
},
|
||||
{
|
||||
"name": "Aportes No Capitalizados / Primas de Emsi\u00f3n",
|
||||
"report_type": "Balance Sheet"
|
||||
}
|
||||
],
|
||||
"name": "Aportes No Capitalizados"
|
||||
},
|
||||
{
|
||||
"children": [
|
||||
{
|
||||
"name": "Capital social / Dividendos a Distribuir en Acciones",
|
||||
"report_type": "Balance Sheet"
|
||||
},
|
||||
{
|
||||
"name": "Capital social / Acciones en Circulaci\u00f3n",
|
||||
"report_type": "Balance Sheet"
|
||||
},
|
||||
{
|
||||
"name": "Capital social / Capital Suscripto",
|
||||
"report_type": "Balance Sheet"
|
||||
},
|
||||
{
|
||||
"name": "Capital social / (-) Descuento de Emisi\u00f3n de Acciones",
|
||||
"report_type": "Balance Sheet"
|
||||
}
|
||||
],
|
||||
"name": "Capital Social"
|
||||
},
|
||||
{
|
||||
"children": [
|
||||
{
|
||||
"name": "Resultados Acumulados",
|
||||
"report_type": "Balance Sheet"
|
||||
},
|
||||
{
|
||||
"name": "Resultado del Ejercicio",
|
||||
"report_type": "Balance Sheet"
|
||||
},
|
||||
{
|
||||
"name": "Ganancias y P\u00e9rdidas del Ejercicio",
|
||||
"report_type": "Balance Sheet"
|
||||
},
|
||||
{
|
||||
"name": "Resultados Acumulados del Ejercicio Anterior",
|
||||
"report_type": "Balance Sheet"
|
||||
}
|
||||
],
|
||||
"name": "Resultados No Asignados"
|
||||
},
|
||||
{
|
||||
"children": [
|
||||
{
|
||||
"name": "Reserva para Renovaci\u00f3n de Bienes de Uso",
|
||||
"report_type": "Balance Sheet"
|
||||
},
|
||||
{
|
||||
"name": "Reserva Estatutaria",
|
||||
"report_type": "Balance Sheet"
|
||||
},
|
||||
{
|
||||
"name": "Reserva Facultativa",
|
||||
"report_type": "Balance Sheet"
|
||||
},
|
||||
{
|
||||
"name": "Reserva Legal",
|
||||
"report_type": "Balance Sheet"
|
||||
}
|
||||
],
|
||||
"name": "Ganancias Reservadas"
|
||||
}
|
||||
],
|
||||
"name": "PATRIMONIO NETO"
|
||||
},
|
||||
{
|
||||
"children": [
|
||||
{
|
||||
"children": [
|
||||
{
|
||||
"name": "Deudas Sociales / Retenciones a Depositar",
|
||||
"report_type": "Balance Sheet"
|
||||
},
|
||||
{
|
||||
"name": "Deudas Sociales / Sueldos a Pagar",
|
||||
"report_type": "Balance Sheet"
|
||||
},
|
||||
{
|
||||
"name": "Deudas Sociales / Provisi\u00f3n para Sueldo Anual Complementario",
|
||||
"report_type": "Balance Sheet"
|
||||
},
|
||||
{
|
||||
"name": "Deudas Sociales / Cargas Sociales a Pagar",
|
||||
"report_type": "Balance Sheet"
|
||||
}
|
||||
],
|
||||
"name": "Deudas Sociales"
|
||||
},
|
||||
{
|
||||
"children": [
|
||||
{
|
||||
"name": "Otras Deudas / Acreedores Varios",
|
||||
"report_type": "Balance Sheet"
|
||||
},
|
||||
{
|
||||
"name": "Otras Deudas / Honorarios Directores y S\u00edndicos a Pagar",
|
||||
"report_type": "Balance Sheet"
|
||||
},
|
||||
{
|
||||
"name": "Otras Deudas / Dividendos a Pagar",
|
||||
"report_type": "Balance Sheet"
|
||||
},
|
||||
{
|
||||
"name": "Otras Deudas / Cobros por Adelantado",
|
||||
"report_type": "Balance Sheet"
|
||||
}
|
||||
],
|
||||
"name": "Otras Deudas"
|
||||
},
|
||||
{
|
||||
"children": [
|
||||
{
|
||||
"name": "Previsiones / Previsi\u00f3n para Garant\u00edas por Service",
|
||||
"report_type": "Balance Sheet"
|
||||
},
|
||||
{
|
||||
"name": "Previsiones / Previsi\u00f3n para juicios Pendientes",
|
||||
"report_type": "Balance Sheet"
|
||||
},
|
||||
{
|
||||
"name": "Previsiones / Previsi\u00f3n Indemnizaci\u00f3n por Despidos",
|
||||
"report_type": "Balance Sheet"
|
||||
}
|
||||
],
|
||||
"name": "Previsiones"
|
||||
},
|
||||
{
|
||||
"children": [
|
||||
{
|
||||
"name": "Deudas Comerciales / Anticipos de Clientes",
|
||||
"report_type": "Balance Sheet"
|
||||
},
|
||||
{
|
||||
"name": "Deudas Comerciales / (-) Intereses a Devengar por Compras al Cr\u00e9dito",
|
||||
"report_type": "Balance Sheet"
|
||||
},
|
||||
{
|
||||
"name": "Deudas Comerciales / Proveedores",
|
||||
"report_type": "Balance Sheet"
|
||||
}
|
||||
],
|
||||
"name": "Deudas Comerciales"
|
||||
},
|
||||
{
|
||||
"children": [
|
||||
{
|
||||
"name": "Deudas Bancarias y Financieras / Debentures Emitidos",
|
||||
"report_type": "Balance Sheet"
|
||||
},
|
||||
{
|
||||
"name": "Deudas Bancarias y Financieras / Intereses a Pagar",
|
||||
"report_type": "Balance Sheet"
|
||||
},
|
||||
{
|
||||
"name": "Deudas Bancarias y Financieras / Obligaciones a Pagar",
|
||||
"report_type": "Balance Sheet"
|
||||
},
|
||||
{
|
||||
"name": "Deudas Bancarias y Financieras / Prestamos",
|
||||
"report_type": "Balance Sheet"
|
||||
},
|
||||
{
|
||||
"name": "Deudas Bancarias y Financieras / Adelantos en Cuenta Corriente",
|
||||
"report_type": "Balance Sheet"
|
||||
}
|
||||
],
|
||||
"name": "Deudas Bancarias y Financieras"
|
||||
},
|
||||
{
|
||||
"children": [
|
||||
{
|
||||
"name": "Deudas Fiscales / Impuesto sobre los Bienes Personales a Pagar",
|
||||
"report_type": "Balance Sheet"
|
||||
},
|
||||
{
|
||||
"name": "Deudas Fiscales / Impuesto a la Ganancia M\u00ednima Presunta a Pagar",
|
||||
"report_type": "Balance Sheet"
|
||||
},
|
||||
{
|
||||
"name": "Deudas Fiscales / Monotributo a Pagar",
|
||||
"report_type": "Balance Sheet"
|
||||
},
|
||||
{
|
||||
"name": "Deudas Fiscales / IVA a Pagar",
|
||||
"report_type": "Balance Sheet"
|
||||
},
|
||||
{
|
||||
"name": "Deudas Fiscales / Impuesto a los D\u00e9bitos y Cr\u00e9ditos Bancarios a Pagar",
|
||||
"report_type": "Balance Sheet"
|
||||
},
|
||||
{
|
||||
"name": "Deudas Fiscales / Impuesto a las Ganancias a Pagar",
|
||||
"report_type": "Balance Sheet"
|
||||
}
|
||||
],
|
||||
"name": "Deudas Fiscales"
|
||||
}
|
||||
],
|
||||
"name": "PASIVO"
|
||||
},
|
||||
{
|
||||
"children": [
|
||||
{
|
||||
"name": "Otros Cr\u00e9ditos / Anticipo de Impuestos",
|
||||
"report_type": "Balance Sheet"
|
||||
},
|
||||
{
|
||||
"name": "Otros Cr\u00e9ditos / Anticipos a Proveedores",
|
||||
"report_type": "Balance Sheet"
|
||||
},
|
||||
{
|
||||
"name": "Otros Cr\u00e9ditos / Pr\u00e9stamos otorgados",
|
||||
"report_type": "Balance Sheet"
|
||||
},
|
||||
{
|
||||
"name": "Otros Cr\u00e9ditos / Accionistas",
|
||||
"report_type": "Balance Sheet"
|
||||
},
|
||||
{
|
||||
"name": "Otros Cr\u00e9ditos / Intereses Pagados por Adelantado",
|
||||
"report_type": "Balance Sheet"
|
||||
},
|
||||
{
|
||||
"name": "Otros Cr\u00e9ditos / Alquileres Pagados por Adelantado",
|
||||
"report_type": "Balance Sheet"
|
||||
},
|
||||
{
|
||||
"name": "Otros Cr\u00e9ditos / Anticipo al Personal",
|
||||
"report_type": "Balance Sheet"
|
||||
},
|
||||
{
|
||||
"name": "Otros Cr\u00e9ditos / (-) Intereses (+) a Devengar",
|
||||
"report_type": "Balance Sheet"
|
||||
},
|
||||
{
|
||||
"name": "Otros Cr\u00e9ditos / (-) Previsi\u00f3n para Descuentos",
|
||||
"report_type": "Balance Sheet"
|
||||
}
|
||||
],
|
||||
"name": "Otros Cr\u00e9ditos"
|
||||
},
|
||||
{
|
||||
"children": [
|
||||
{
|
||||
"name": "Cr\u00e9ditos por Ventas / Deudores por Ventas",
|
||||
"report_type": "Balance Sheet"
|
||||
},
|
||||
{
|
||||
"name": "Cr\u00e9ditos por Ventas / Deudores Morosos",
|
||||
"report_type": "Balance Sheet"
|
||||
},
|
||||
{
|
||||
"name": "Cr\u00e9ditos por Ventas / Deudores en Gesti\u00f3n Judicial",
|
||||
"report_type": "Balance Sheet"
|
||||
},
|
||||
{
|
||||
"name": "Cr\u00e9ditos por Ventas / Deudores Varios",
|
||||
"report_type": "Balance Sheet"
|
||||
},
|
||||
{
|
||||
"name": "Cr\u00e9ditos por Ventas / (-) Previsi\u00f3n para Ds. Incobrables",
|
||||
"report_type": "Balance Sheet"
|
||||
}
|
||||
],
|
||||
"name": "Cr\u00e9ditos por Ventas"
|
||||
},
|
||||
{
|
||||
"children": [
|
||||
{
|
||||
"children": [
|
||||
{
|
||||
"name": "Caja y bancos - Valores a Depositar ",
|
||||
"report_type": "Balance Sheet"
|
||||
},
|
||||
{
|
||||
"children": [
|
||||
{
|
||||
"name": "Caja y Bancos.../ BCO. CTA CTE ARS",
|
||||
"report_type": "Balance Sheet"
|
||||
}
|
||||
],
|
||||
"name": "Caja y Bancos - Cuentas Corrientes"
|
||||
},
|
||||
{
|
||||
"name": "Caja y bancos - Recaudaciones a Depositar ",
|
||||
"report_type": "Balance Sheet"
|
||||
},
|
||||
{
|
||||
"children": [
|
||||
{
|
||||
"name": "Caja y bancos - Caja / efectivo ARS",
|
||||
"report_type": "Balance Sheet"
|
||||
}
|
||||
],
|
||||
"name": "Caja y Bancos - Caja"
|
||||
},
|
||||
{
|
||||
"children": [
|
||||
{
|
||||
"name": "Caja y ...- Fondos fijos / caja chica 01 ARS",
|
||||
"report_type": "Balance Sheet"
|
||||
}
|
||||
],
|
||||
"name": "Caja y Bancos - Fondos fijos"
|
||||
},
|
||||
{
|
||||
"children": [
|
||||
{
|
||||
"name": "Caja y bancos - Caja / efectivo USD",
|
||||
"report_type": "Balance Sheet"
|
||||
}
|
||||
],
|
||||
"name": "Caja y Bancos - Moneda Extranjera"
|
||||
}
|
||||
],
|
||||
"name": "Caja y Bancos"
|
||||
},
|
||||
{
|
||||
"children": [
|
||||
{
|
||||
"children": [
|
||||
{
|
||||
"name": "Bienes de Cambio - Mercader\u00edas / Categoria de productos 01",
|
||||
"report_type": "Balance Sheet"
|
||||
}
|
||||
],
|
||||
"name": "Bienes de Cambio - Mercader\u00edas"
|
||||
},
|
||||
{
|
||||
"name": "Materias primas",
|
||||
"report_type": "Balance Sheet"
|
||||
},
|
||||
{
|
||||
"name": "Bienes de Cambio - Mercader\u00edas en Tr\u00e1nsito",
|
||||
"report_type": "Balance Sheet"
|
||||
},
|
||||
{
|
||||
"name": "Productos Elaborados",
|
||||
"report_type": "Balance Sheet"
|
||||
},
|
||||
{
|
||||
"name": "Productos en Curso de Elaboraci\u00f3n",
|
||||
"report_type": "Balance Sheet"
|
||||
},
|
||||
{
|
||||
"name": "(-) Previsi\u00f3n para Desvalorizaci\u00f3n de Bienes de Cambio",
|
||||
"report_type": "Balance Sheet"
|
||||
},
|
||||
{
|
||||
"name": "Materiales Varios ",
|
||||
"report_type": "Balance Sheet"
|
||||
}
|
||||
],
|
||||
"name": "Bienes de Cambio"
|
||||
},
|
||||
{
|
||||
"children": [
|
||||
{
|
||||
"name": "Inversiones / (-) Previsi\u00f3n para Devalorizaci\u00f3n de Acciones",
|
||||
"report_type": "Balance Sheet"
|
||||
},
|
||||
{
|
||||
"name": "Inversiones / Acciones Permanentes",
|
||||
"report_type": "Balance Sheet"
|
||||
},
|
||||
{
|
||||
"name": "Inversiones / T\u00edtulos P\u00fablicos",
|
||||
"report_type": "Balance Sheet"
|
||||
},
|
||||
{
|
||||
"name": "Inversiones / Acciones Transitorias",
|
||||
"report_type": "Balance Sheet"
|
||||
}
|
||||
],
|
||||
"name": "Inversiones"
|
||||
},
|
||||
{
|
||||
"children": [
|
||||
{
|
||||
"name": "Bienes Inmateriales / (-) Amortizaci\u00f3n Acumulada",
|
||||
"report_type": "Balance Sheet"
|
||||
},
|
||||
{
|
||||
"name": "Bienes Inmateriales / Patentes de Invenci\u00f3n",
|
||||
"report_type": "Balance Sheet"
|
||||
},
|
||||
{
|
||||
"name": "Bienes Inmateriales / Concesiones y Franquicias",
|
||||
"report_type": "Balance Sheet"
|
||||
},
|
||||
{
|
||||
"name": "Bienes Inmateriales / Marcas de F\u00e1brica",
|
||||
"report_type": "Balance Sheet"
|
||||
}
|
||||
],
|
||||
"name": "Bienes Inmateriales"
|
||||
},
|
||||
{
|
||||
"children": [
|
||||
{
|
||||
"name": "Bienes de Uso / Inmuebles",
|
||||
"report_type": "Balance Sheet"
|
||||
},
|
||||
{
|
||||
"name": "Bienes de Uso / Maquinaria",
|
||||
"report_type": "Balance Sheet"
|
||||
},
|
||||
{
|
||||
"name": "Bienes de Uso / Rodados",
|
||||
"report_type": "Balance Sheet"
|
||||
},
|
||||
{
|
||||
"name": "Bienes de Uso / (-) Depreciaci\u00f3n Acumulada",
|
||||
"report_type": "Balance Sheet"
|
||||
},
|
||||
{
|
||||
"name": "Bienes de Uso / Equipos",
|
||||
"report_type": "Balance Sheet"
|
||||
}
|
||||
],
|
||||
"name": "Bienes de Uso"
|
||||
}
|
||||
],
|
||||
"name": "ACTIVO"
|
||||
}
|
||||
],
|
||||
"name": "Cuentas Patrimoniales"
|
||||
},
|
||||
{
|
||||
"children": [
|
||||
{
|
||||
"children": [
|
||||
{
|
||||
"name": "Compras - Categoria de productos 01"
|
||||
}
|
||||
],
|
||||
"name": "Compras"
|
||||
},
|
||||
{
|
||||
"name": "Costos de Producci\u00f3n",
|
||||
"report_type": "Profit and Loss"
|
||||
},
|
||||
{
|
||||
"name": "Gastos de Administraci\u00f3n",
|
||||
"report_type": "Profit and Loss"
|
||||
},
|
||||
{
|
||||
"name": "Gastos de Comercializaci\u00f3n",
|
||||
"report_type": "Profit and Loss"
|
||||
}
|
||||
],
|
||||
"name": "Cuentas de Movimiento"
|
||||
}
|
||||
],
|
||||
"name": "Argentina"
|
||||
}
|
||||
}
|
File diff suppressed because it is too large
Load Diff
File diff suppressed because it is too large
Load Diff
@ -0,0 +1,657 @@
|
||||
{
|
||||
"name": "Bolivia - Plan de Cuentas",
|
||||
"root": {
|
||||
"children": [
|
||||
{
|
||||
"children": [
|
||||
{
|
||||
"children": [
|
||||
{
|
||||
"name": "Acreedor por Garant\u00edas Otorgadas"
|
||||
},
|
||||
{
|
||||
"name": "Acreedor por Documentos Descontados"
|
||||
},
|
||||
{
|
||||
"name": "Comitente por Mercaderias Recibidas en Consignaci\u00f3n"
|
||||
}
|
||||
],
|
||||
"name": "CUENTAS DE ORDEN ACREEDORAS"
|
||||
},
|
||||
{
|
||||
"children": [
|
||||
{
|
||||
"name": "Documentos Endosados"
|
||||
},
|
||||
{
|
||||
"name": "Documentos Descontados"
|
||||
},
|
||||
{
|
||||
"name": "Garantias Otorgadas"
|
||||
},
|
||||
{
|
||||
"name": "Dep\u00f3sito de Valores Recibos en Garant\u00eda"
|
||||
},
|
||||
{
|
||||
"name": "Mercaderias Recibidas en Consignaci\u00f3n"
|
||||
}
|
||||
],
|
||||
"name": "CUENTAS DE ORDEN DEUDORAS"
|
||||
}
|
||||
],
|
||||
"name": "Cuentas de Orden"
|
||||
},
|
||||
{
|
||||
"children": [
|
||||
{
|
||||
"children": [
|
||||
{
|
||||
"children": [
|
||||
{
|
||||
"name": "Recupero de Rezagos",
|
||||
"report_type": "Profit and Loss"
|
||||
},
|
||||
{
|
||||
"name": "Ganancia Venta de Bienes de Uso",
|
||||
"report_type": "Profit and Loss"
|
||||
},
|
||||
{
|
||||
"name": "Recupero de Deudores Incobrables",
|
||||
"report_type": "Profit and Loss"
|
||||
},
|
||||
{
|
||||
"name": "Ganancia Venta Inversiones Permanentes",
|
||||
"report_type": "Profit and Loss"
|
||||
},
|
||||
{
|
||||
"name": "Donaciones obtenidas, ganandas, percibidas",
|
||||
"report_type": "Profit and Loss"
|
||||
}
|
||||
],
|
||||
"name": "Resultados Positivos Extraordinarios"
|
||||
},
|
||||
{
|
||||
"children": [
|
||||
{
|
||||
"name": "Comisiones gananados, obtenidos, percibidos",
|
||||
"report_type": "Profit and Loss"
|
||||
},
|
||||
{
|
||||
"name": "Descuentos gananados, obtenidos, percibidos",
|
||||
"report_type": "Profit and Loss"
|
||||
},
|
||||
{
|
||||
"name": "Renta de T\u00edtulos P\u00fablicos",
|
||||
"report_type": "Profit and Loss"
|
||||
},
|
||||
{
|
||||
"name": "Honorarios gananados, obtenidos, percibidos",
|
||||
"report_type": "Profit and Loss"
|
||||
},
|
||||
{
|
||||
"children": [
|
||||
{
|
||||
"name": "Ventas - Categoria de productos 01",
|
||||
"report_type": "Profit and Loss"
|
||||
}
|
||||
],
|
||||
"name": "Ventas"
|
||||
},
|
||||
{
|
||||
"name": "Intereses gananados, obtenidos, percibidos",
|
||||
"report_type": "Profit and Loss"
|
||||
},
|
||||
{
|
||||
"name": "Alquileres gananados, obtenidos, percibidos",
|
||||
"report_type": "Profit and Loss"
|
||||
},
|
||||
{
|
||||
"name": "Ganancia Venta de Acciones",
|
||||
"report_type": "Profit and Loss"
|
||||
}
|
||||
],
|
||||
"name": "Resultados Positivos Ordinarios"
|
||||
}
|
||||
],
|
||||
"name": "RESULTADOS POSITIVOS"
|
||||
},
|
||||
{
|
||||
"children": [
|
||||
{
|
||||
"children": [
|
||||
{
|
||||
"name": "Gastos de Publicidad y Propaganda",
|
||||
"report_type": "Profit and Loss"
|
||||
},
|
||||
{
|
||||
"name": "Gastos en Servicios P\u00fablicos"
|
||||
},
|
||||
{
|
||||
"children": [
|
||||
{
|
||||
"name": "Costo de Mercader\u00edas Vendidas - Categoria de productos 01",
|
||||
"report_type": "Profit and Loss"
|
||||
}
|
||||
],
|
||||
"name": "Costo de Mercader\u00edas Vendidas"
|
||||
},
|
||||
{
|
||||
"name": "Gastos en Amortizaci\u00f3n",
|
||||
"report_type": "Profit and Loss"
|
||||
},
|
||||
{
|
||||
"name": "Gastos en Cargas Sociales",
|
||||
"report_type": "Profit and Loss"
|
||||
},
|
||||
{
|
||||
"name": "Gastos en Sueldos y Jormales",
|
||||
"report_type": "Profit and Loss"
|
||||
},
|
||||
{
|
||||
"name": "Gastos Bancarios"
|
||||
},
|
||||
{
|
||||
"name": "Gastos en Impuestos"
|
||||
},
|
||||
{
|
||||
"name": "Gastos en Depreciaci\u00f3n de Bienes de Uso",
|
||||
"report_type": "Profit and Loss"
|
||||
}
|
||||
],
|
||||
"name": "Resultados Negativos Ordinarios"
|
||||
},
|
||||
{
|
||||
"children": [
|
||||
{
|
||||
"name": "Gastos en Siniestros",
|
||||
"report_type": "Profit and Loss"
|
||||
},
|
||||
{
|
||||
"name": "Donaciones Cedidas, Otorgadas",
|
||||
"report_type": "Profit and Loss"
|
||||
},
|
||||
{
|
||||
"name": "P\u00e9rdida Venta Bienes de Uso",
|
||||
"report_type": "Profit and Loss"
|
||||
}
|
||||
],
|
||||
"name": "Resultados Negativos Extraordinarios"
|
||||
}
|
||||
],
|
||||
"name": "RESULTADOS NEGATIVOS"
|
||||
}
|
||||
],
|
||||
"name": "Cuentas de Resultado"
|
||||
},
|
||||
{
|
||||
"children": [
|
||||
{
|
||||
"children": [
|
||||
{
|
||||
"children": [
|
||||
{
|
||||
"name": "Ajustes al Patrimonio / Revaluo T\u00e9cnico de Bienes de Uso",
|
||||
"report_type": "Balance Sheet"
|
||||
}
|
||||
],
|
||||
"name": "Ajustes al Patrimonio"
|
||||
},
|
||||
{
|
||||
"children": [
|
||||
{
|
||||
"name": "Aportes No Capitalizados / Aportes Irrevocables Futura Suscripci\u00f3n de Acciones",
|
||||
"report_type": "Balance Sheet"
|
||||
},
|
||||
{
|
||||
"name": "Aportes No Capitalizados / Primas de Emsi\u00f3n",
|
||||
"report_type": "Balance Sheet"
|
||||
}
|
||||
],
|
||||
"name": "Aportes No Capitalizados"
|
||||
},
|
||||
{
|
||||
"children": [
|
||||
{
|
||||
"name": "Capital social / Dividendos a Distribuir en Acciones",
|
||||
"report_type": "Balance Sheet"
|
||||
},
|
||||
{
|
||||
"name": "Capital social / Acciones en Circulaci\u00f3n",
|
||||
"report_type": "Balance Sheet"
|
||||
},
|
||||
{
|
||||
"name": "Capital social / Capital Suscripto",
|
||||
"report_type": "Balance Sheet"
|
||||
},
|
||||
{
|
||||
"name": "Capital social / (-) Descuento de Emisi\u00f3n de Acciones",
|
||||
"report_type": "Balance Sheet"
|
||||
}
|
||||
],
|
||||
"name": "Capital Social"
|
||||
},
|
||||
{
|
||||
"children": [
|
||||
{
|
||||
"name": "Resultados Acumulados",
|
||||
"report_type": "Balance Sheet"
|
||||
},
|
||||
{
|
||||
"name": "Resultado del Ejercicio",
|
||||
"report_type": "Balance Sheet"
|
||||
},
|
||||
{
|
||||
"name": "Ganancias y P\u00e9rdidas del Ejercicio",
|
||||
"report_type": "Balance Sheet"
|
||||
},
|
||||
{
|
||||
"name": "Resultados Acumulados del Ejercicio Anterior",
|
||||
"report_type": "Balance Sheet"
|
||||
}
|
||||
],
|
||||
"name": "Resultados No Asignados"
|
||||
},
|
||||
{
|
||||
"children": [
|
||||
{
|
||||
"name": "Reserva para Renovaci\u00f3n de Bienes de Uso",
|
||||
"report_type": "Balance Sheet"
|
||||
},
|
||||
{
|
||||
"name": "Reserva Estatutaria",
|
||||
"report_type": "Balance Sheet"
|
||||
},
|
||||
{
|
||||
"name": "Reserva Facultativa",
|
||||
"report_type": "Balance Sheet"
|
||||
},
|
||||
{
|
||||
"name": "Reserva Legal",
|
||||
"report_type": "Balance Sheet"
|
||||
}
|
||||
],
|
||||
"name": "Ganancias Reservadas"
|
||||
}
|
||||
],
|
||||
"name": "PATRIMONIO NETO"
|
||||
},
|
||||
{
|
||||
"children": [
|
||||
{
|
||||
"children": [
|
||||
{
|
||||
"name": "Deudas Sociales / Retenciones a Depositar",
|
||||
"report_type": "Balance Sheet"
|
||||
},
|
||||
{
|
||||
"name": "Deudas Sociales / Sueldos a Pagar",
|
||||
"report_type": "Balance Sheet"
|
||||
},
|
||||
{
|
||||
"name": "Deudas Sociales / Provisi\u00f3n para Sueldo Anual Complementario",
|
||||
"report_type": "Balance Sheet"
|
||||
},
|
||||
{
|
||||
"name": "Deudas Sociales / Cargas Sociales a Pagar",
|
||||
"report_type": "Balance Sheet"
|
||||
}
|
||||
],
|
||||
"name": "Deudas Sociales"
|
||||
},
|
||||
{
|
||||
"children": [
|
||||
{
|
||||
"name": "Otras Deudas / Acreedores Varios",
|
||||
"report_type": "Balance Sheet"
|
||||
},
|
||||
{
|
||||
"name": "Otras Deudas / Honorarios Directores y S\u00edndicos a Pagar",
|
||||
"report_type": "Balance Sheet"
|
||||
},
|
||||
{
|
||||
"name": "Otras Deudas / Dividendos a Pagar",
|
||||
"report_type": "Balance Sheet"
|
||||
},
|
||||
{
|
||||
"name": "Otras Deudas / Cobros por Adelantado",
|
||||
"report_type": "Balance Sheet"
|
||||
}
|
||||
],
|
||||
"name": "Otras Deudas"
|
||||
},
|
||||
{
|
||||
"children": [
|
||||
{
|
||||
"name": "Previsiones / Previsi\u00f3n para Garant\u00edas por Service",
|
||||
"report_type": "Balance Sheet"
|
||||
},
|
||||
{
|
||||
"name": "Previsiones / Previsi\u00f3n para juicios Pendientes",
|
||||
"report_type": "Balance Sheet"
|
||||
},
|
||||
{
|
||||
"name": "Previsiones / Previsi\u00f3n Indemnizaci\u00f3n por Despidos",
|
||||
"report_type": "Balance Sheet"
|
||||
}
|
||||
],
|
||||
"name": "Previsiones"
|
||||
},
|
||||
{
|
||||
"children": [
|
||||
{
|
||||
"name": "Deudas Comerciales / Anticipos de Clientes",
|
||||
"report_type": "Balance Sheet"
|
||||
},
|
||||
{
|
||||
"name": "Deudas Comerciales / (-) Intereses a Devengar por Compras al Cr\u00e9dito",
|
||||
"report_type": "Balance Sheet"
|
||||
},
|
||||
{
|
||||
"name": "Deudas Comerciales / Proveedores",
|
||||
"report_type": "Balance Sheet"
|
||||
}
|
||||
],
|
||||
"name": "Deudas Comerciales"
|
||||
},
|
||||
{
|
||||
"children": [
|
||||
{
|
||||
"name": "Deudas Bancarias y Financieras / Letras de Cambio Emitidos",
|
||||
"report_type": "Balance Sheet"
|
||||
},
|
||||
{
|
||||
"name": "Deudas Bancarias y Financieras / Intereses a Pagar",
|
||||
"report_type": "Balance Sheet"
|
||||
},
|
||||
{
|
||||
"name": "Deudas Bancarias y Financieras / Obligaciones a Pagar",
|
||||
"report_type": "Balance Sheet"
|
||||
},
|
||||
{
|
||||
"name": "Deudas Bancarias y Financieras / Prestamos",
|
||||
"report_type": "Balance Sheet"
|
||||
},
|
||||
{
|
||||
"name": "Deudas Bancarias y Financieras / Adelantos en Cuenta Corriente",
|
||||
"report_type": "Balance Sheet"
|
||||
}
|
||||
],
|
||||
"name": "Deudas Bancarias y Financieras"
|
||||
},
|
||||
{
|
||||
"children": [
|
||||
{
|
||||
"name": "Deudas Fiscales / IVA a Pagar",
|
||||
"report_type": "Balance Sheet"
|
||||
},
|
||||
{
|
||||
"name": "Deudas Fiscales / Impuesto a las Transacciones IT a Pagar",
|
||||
"report_type": "Balance Sheet"
|
||||
},
|
||||
{
|
||||
"name": "Deudas Fiscales / Impuesto a las Utilidades de Empresas IUE a Pagar",
|
||||
"report_type": "Balance Sheet"
|
||||
}
|
||||
],
|
||||
"name": "Deudas Fiscales"
|
||||
}
|
||||
],
|
||||
"name": "PASIVO"
|
||||
},
|
||||
{
|
||||
"children": [
|
||||
{
|
||||
"children": [
|
||||
{
|
||||
"name": "Caja y bancos - Valores a Depositar ",
|
||||
"report_type": "Balance Sheet"
|
||||
},
|
||||
{
|
||||
"children": [
|
||||
{
|
||||
"name": "Caja y Bancos.../ BCO. CTA CTE BOB",
|
||||
"report_type": "Balance Sheet"
|
||||
}
|
||||
],
|
||||
"name": "Caja y Bancos - Cuentas Corrientes"
|
||||
},
|
||||
{
|
||||
"name": "Caja y bancos - Recaudaciones a Depositar ",
|
||||
"report_type": "Balance Sheet"
|
||||
},
|
||||
{
|
||||
"children": [
|
||||
{
|
||||
"name": "Caja y bancos - Caja / efectivo en BOB",
|
||||
"report_type": "Balance Sheet"
|
||||
}
|
||||
],
|
||||
"name": "Caja y Bancos - Caja"
|
||||
},
|
||||
{
|
||||
"children": [
|
||||
{
|
||||
"name": "Caja y ...- Fondos fijos / caja chica 01 BOB",
|
||||
"report_type": "Balance Sheet"
|
||||
}
|
||||
],
|
||||
"name": "Caja y Bancos - Fondos fijos"
|
||||
},
|
||||
{
|
||||
"children": [
|
||||
{
|
||||
"name": "Caja y bancos - Caja / efectivo USD",
|
||||
"report_type": "Balance Sheet"
|
||||
}
|
||||
],
|
||||
"name": "Caja y Bancos - Moneda Extranjera"
|
||||
}
|
||||
],
|
||||
"name": "Caja y Bancos"
|
||||
},
|
||||
{
|
||||
"children": [
|
||||
{
|
||||
"name": "Otros Cr\u00e9ditos / Anticipo de Impuestos",
|
||||
"report_type": "Balance Sheet"
|
||||
},
|
||||
{
|
||||
"name": "Otros Cr\u00e9ditos / Anticipos a Proveedores",
|
||||
"report_type": "Balance Sheet"
|
||||
},
|
||||
{
|
||||
"name": "Otros Cr\u00e9ditos / Pr\u00e9stamos otorgados",
|
||||
"report_type": "Balance Sheet"
|
||||
},
|
||||
{
|
||||
"name": "Otros Cr\u00e9ditos / Accionistas",
|
||||
"report_type": "Balance Sheet"
|
||||
},
|
||||
{
|
||||
"name": "Otros Cr\u00e9ditos / Intereses Pagados por Adelantado",
|
||||
"report_type": "Balance Sheet"
|
||||
},
|
||||
{
|
||||
"name": "Otros Cr\u00e9ditos / Alquileres Pagados por Adelantado",
|
||||
"report_type": "Balance Sheet"
|
||||
},
|
||||
{
|
||||
"name": "Otros Cr\u00e9ditos / Anticipo al Personal",
|
||||
"report_type": "Balance Sheet"
|
||||
},
|
||||
{
|
||||
"name": "Otros Cr\u00e9ditos / (-) Intereses (+) a Devengar",
|
||||
"report_type": "Balance Sheet"
|
||||
},
|
||||
{
|
||||
"name": "Otros Cr\u00e9ditos / (-) Previsi\u00f3n para Descuentos",
|
||||
"report_type": "Balance Sheet"
|
||||
}
|
||||
],
|
||||
"name": "Otros Cr\u00e9ditos"
|
||||
},
|
||||
{
|
||||
"children": [
|
||||
{
|
||||
"name": "Cr\u00e9ditos fiscal IVA / Deudores por Ventas",
|
||||
"report_type": "Balance Sheet"
|
||||
},
|
||||
{
|
||||
"name": "Cr\u00e9ditos fiscal IVA / Deudores Morosos",
|
||||
"report_type": "Balance Sheet"
|
||||
},
|
||||
{
|
||||
"name": "Cr\u00e9ditos fiscal IVA / Deudores en Gesti\u00f3n Judicial",
|
||||
"report_type": "Balance Sheet"
|
||||
},
|
||||
{
|
||||
"name": "Cr\u00e9ditos fiscal IVA / Deudores Varios",
|
||||
"report_type": "Balance Sheet"
|
||||
},
|
||||
{
|
||||
"name": "Cr\u00e9ditos fiscal IVA / (-) Previsi\u00f3n para Ds. Incobrables",
|
||||
"report_type": "Balance Sheet"
|
||||
}
|
||||
],
|
||||
"name": "Cr\u00e9ditos fiscal IVA"
|
||||
},
|
||||
{
|
||||
"children": [
|
||||
{
|
||||
"children": [
|
||||
{
|
||||
"name": "Bienes de Cambio - Existencia de Mercader\u00edas / Categoria de productos 01",
|
||||
"report_type": "Balance Sheet"
|
||||
}
|
||||
],
|
||||
"name": "Bienes de Cambio - Mercader\u00edas"
|
||||
},
|
||||
{
|
||||
"name": "Materias primas",
|
||||
"report_type": "Balance Sheet"
|
||||
},
|
||||
{
|
||||
"name": "Bienes de Cambio - Mercader\u00edas en Tr\u00e1nsito",
|
||||
"report_type": "Balance Sheet"
|
||||
},
|
||||
{
|
||||
"name": "Productos Elaborados",
|
||||
"report_type": "Balance Sheet"
|
||||
},
|
||||
{
|
||||
"name": "Productos en Curso de Elaboraci\u00f3n",
|
||||
"report_type": "Balance Sheet"
|
||||
},
|
||||
{
|
||||
"name": "(-) Desvalorizaci\u00f3n de Existencias",
|
||||
"report_type": "Balance Sheet"
|
||||
},
|
||||
{
|
||||
"name": "Materiales Varios ",
|
||||
"report_type": "Balance Sheet"
|
||||
}
|
||||
],
|
||||
"name": "Bienes de Cambio o Realizables"
|
||||
},
|
||||
{
|
||||
"children": [
|
||||
{
|
||||
"name": "Inversiones / (-) Previsi\u00f3n para Devalorizaci\u00f3n de Acciones",
|
||||
"report_type": "Balance Sheet"
|
||||
},
|
||||
{
|
||||
"name": "Inversiones / Acciones Permanentes",
|
||||
"report_type": "Balance Sheet"
|
||||
},
|
||||
{
|
||||
"name": "Inversiones / T\u00edtulos P\u00fablicos",
|
||||
"report_type": "Balance Sheet"
|
||||
},
|
||||
{
|
||||
"name": "Inversiones / Acciones Transitorias",
|
||||
"report_type": "Balance Sheet"
|
||||
}
|
||||
],
|
||||
"name": "Inversiones"
|
||||
},
|
||||
{
|
||||
"children": [
|
||||
{
|
||||
"name": "Bienes Intangibles / (-) Amortizaci\u00f3n Acumulada",
|
||||
"report_type": "Balance Sheet"
|
||||
},
|
||||
{
|
||||
"name": "Bienes Intangibles / Patentes de Invenci\u00f3n",
|
||||
"report_type": "Balance Sheet"
|
||||
},
|
||||
{
|
||||
"name": "Bienes Intangibles / Concesiones y Franquicias",
|
||||
"report_type": "Balance Sheet"
|
||||
},
|
||||
{
|
||||
"name": "Bienes Intangibles / Marcas de F\u00e1brica",
|
||||
"report_type": "Balance Sheet"
|
||||
}
|
||||
],
|
||||
"name": "Bienes Intangibles"
|
||||
},
|
||||
{
|
||||
"children": [
|
||||
{
|
||||
"name": "Bienes de Uso / Inmuebles",
|
||||
"report_type": "Balance Sheet"
|
||||
},
|
||||
{
|
||||
"name": "Bienes de Uso / Maquinaria",
|
||||
"report_type": "Balance Sheet"
|
||||
},
|
||||
{
|
||||
"name": "Bienes de Uso / Veh\u00edculos",
|
||||
"report_type": "Balance Sheet"
|
||||
},
|
||||
{
|
||||
"name": "Bienes de Uso / (-) Depreciaci\u00f3n Acumulada Bienes de Uso",
|
||||
"report_type": "Balance Sheet"
|
||||
},
|
||||
{
|
||||
"name": "Bienes de Uso / Equipos",
|
||||
"report_type": "Balance Sheet"
|
||||
}
|
||||
],
|
||||
"name": "Bienes de Uso"
|
||||
}
|
||||
],
|
||||
"name": "ACTIVO"
|
||||
}
|
||||
],
|
||||
"name": "Cuentas Patrimoniales"
|
||||
},
|
||||
{
|
||||
"children": [
|
||||
{
|
||||
"children": [
|
||||
{
|
||||
"name": "Compras - Categoria de productos 01"
|
||||
}
|
||||
],
|
||||
"name": "Compras"
|
||||
},
|
||||
{
|
||||
"name": "Costos de Producci\u00f3n",
|
||||
"report_type": "Profit and Loss"
|
||||
},
|
||||
{
|
||||
"name": "Gastos de Administraci\u00f3n",
|
||||
"report_type": "Profit and Loss"
|
||||
},
|
||||
{
|
||||
"name": "Gastos de Comercializaci\u00f3n",
|
||||
"report_type": "Profit and Loss"
|
||||
}
|
||||
],
|
||||
"name": "Cuentas de Movimiento"
|
||||
}
|
||||
],
|
||||
"name": "Bolivia"
|
||||
}
|
||||
}
|
File diff suppressed because it is too large
Load Diff
@ -4,6 +4,30 @@
|
||||
"children": [
|
||||
{
|
||||
"children": [
|
||||
{
|
||||
"children": [
|
||||
{
|
||||
"name": "International Sales",
|
||||
"report_type": "Profit and Loss"
|
||||
},
|
||||
{
|
||||
"name": "Inside Sales",
|
||||
"report_type": "Profit and Loss"
|
||||
},
|
||||
{
|
||||
"name": "Non-Harmonized Provinces Sales",
|
||||
"report_type": "Profit and Loss"
|
||||
},
|
||||
{
|
||||
"name": "OTHER OPERATING INCOMES"
|
||||
},
|
||||
{
|
||||
"name": "Harmonized Provinces Sales",
|
||||
"report_type": "Profit and Loss"
|
||||
}
|
||||
],
|
||||
"name": "OPERATING INCOMES"
|
||||
},
|
||||
{
|
||||
"children": [
|
||||
{
|
||||
@ -14,30 +38,6 @@
|
||||
}
|
||||
],
|
||||
"name": "NON-OPERATING INCOMES"
|
||||
},
|
||||
{
|
||||
"children": [
|
||||
{
|
||||
"name": "Inside Sales",
|
||||
"root_type": "Income"
|
||||
},
|
||||
{
|
||||
"name": "International Sales",
|
||||
"root_type": "Income"
|
||||
},
|
||||
{
|
||||
"name": "Non-Harmonized Provinces Sales",
|
||||
"root_type": "Income"
|
||||
},
|
||||
{
|
||||
"name": "Harmonized Provinces Sales",
|
||||
"root_type": "Income"
|
||||
},
|
||||
{
|
||||
"name": "OTHER OPERATING INCOMES"
|
||||
}
|
||||
],
|
||||
"name": "OPERATING INCOMES"
|
||||
}
|
||||
],
|
||||
"name": "INCOMES"
|
||||
@ -46,41 +46,46 @@
|
||||
"children": [
|
||||
{
|
||||
"children": [
|
||||
{
|
||||
"name": "PREPAID EXPENSES"
|
||||
},
|
||||
{
|
||||
"name": "INVESTMENTS HELD FOR TRADING"
|
||||
},
|
||||
{
|
||||
"children": [
|
||||
{
|
||||
"name": "ALLOWANCE FOR DOUBTFUL ACCOUNTS"
|
||||
},
|
||||
{
|
||||
"name": "Customers Account"
|
||||
}
|
||||
],
|
||||
"name": "ACCOUNTS RECEIVABLES"
|
||||
},
|
||||
{
|
||||
"children": [
|
||||
{
|
||||
"name": "Stock In Hand",
|
||||
"root_type": "Asset"
|
||||
},
|
||||
{
|
||||
"name": "Stock Delivered But Not Billed",
|
||||
"root_type": "Asset"
|
||||
}
|
||||
],
|
||||
"name": "STOCKS"
|
||||
},
|
||||
{
|
||||
"name": "TREASURY OR TREASURY EQUIVALENTS"
|
||||
},
|
||||
{
|
||||
"name": "CASH"
|
||||
"children": [
|
||||
{
|
||||
"children": [
|
||||
{
|
||||
"account_type": "Receivable",
|
||||
"name": "HST receivable - 13%",
|
||||
"report_type": "Balance Sheet"
|
||||
},
|
||||
{
|
||||
"account_type": "Receivable",
|
||||
"name": "HST receivable - 15%",
|
||||
"report_type": "Balance Sheet"
|
||||
},
|
||||
{
|
||||
"account_type": "Receivable",
|
||||
"name": "HST receivable - 14%",
|
||||
"report_type": "Balance Sheet"
|
||||
}
|
||||
],
|
||||
"name": "HST receivable"
|
||||
},
|
||||
{
|
||||
"account_type": "Receivable",
|
||||
"name": "PST/QST receivable",
|
||||
"report_type": "Balance Sheet"
|
||||
},
|
||||
{
|
||||
"account_type": "Receivable",
|
||||
"name": "GST receivable",
|
||||
"report_type": "Balance Sheet"
|
||||
}
|
||||
],
|
||||
"name": "TAXES RECEIVABLES"
|
||||
},
|
||||
{
|
||||
"name": "INVESTMENTS HELD FOR TRADING"
|
||||
},
|
||||
{
|
||||
"name": "CERTIFICATES OF DEPOSITS"
|
||||
@ -88,25 +93,40 @@
|
||||
{
|
||||
"children": [
|
||||
{
|
||||
"name": "GST receivable"
|
||||
"name": "Stock In Hand",
|
||||
"report_type": "Balance Sheet"
|
||||
},
|
||||
{
|
||||
"name": "PST/QST receivable"
|
||||
},
|
||||
{
|
||||
"name": "HST receivable"
|
||||
"name": "Stock Delivered But Not Billed",
|
||||
"report_type": "Balance Sheet"
|
||||
}
|
||||
],
|
||||
"name": "TAXES RECEIVABLES"
|
||||
"name": "STOCKS"
|
||||
},
|
||||
{
|
||||
"name": "CASH"
|
||||
},
|
||||
{
|
||||
"name": "PREPAID EXPENSES"
|
||||
},
|
||||
{
|
||||
"children": [
|
||||
{
|
||||
"account_type": "Receivable",
|
||||
"name": "Customers Account",
|
||||
"report_type": "Balance Sheet"
|
||||
},
|
||||
{
|
||||
"name": "ALLOWANCE FOR DOUBTFUL ACCOUNTS"
|
||||
}
|
||||
],
|
||||
"name": "ACCOUNTS RECEIVABLES"
|
||||
}
|
||||
],
|
||||
"name": "CURRENT ASSETS"
|
||||
},
|
||||
{
|
||||
"children": [
|
||||
{
|
||||
"name": "INVESTMENTS AVAILABLE FOR SALE"
|
||||
},
|
||||
{
|
||||
"children": [
|
||||
{
|
||||
@ -115,6 +135,9 @@
|
||||
],
|
||||
"name": "TANGIBLE ASSETS"
|
||||
},
|
||||
{
|
||||
"name": "INVESTMENTS AVAILABLE FOR SALE"
|
||||
},
|
||||
{
|
||||
"children": [
|
||||
{
|
||||
@ -132,112 +155,151 @@
|
||||
{
|
||||
"children": [
|
||||
{
|
||||
"name": "TRANSLATION ADJUSTMENTS"
|
||||
"children": [
|
||||
{
|
||||
"name": "OTHER OPERATING EXPENSES"
|
||||
},
|
||||
{
|
||||
"name": "RESEARCH AND DEVELOPMENT EXPENSES"
|
||||
},
|
||||
{
|
||||
"children": [
|
||||
{
|
||||
"name": "International Purchases",
|
||||
"report_type": "Profit and Loss"
|
||||
},
|
||||
{
|
||||
"name": "Purchases in non-harmonized provinces",
|
||||
"report_type": "Profit and Loss"
|
||||
},
|
||||
{
|
||||
"name": "Purchases in harmonized provinces",
|
||||
"report_type": "Profit and Loss"
|
||||
},
|
||||
{
|
||||
"name": "Inside Purchases",
|
||||
"report_type": "Profit and Loss"
|
||||
}
|
||||
],
|
||||
"name": "COST OF GOODS SOLD"
|
||||
},
|
||||
{
|
||||
"name": "SALES EXPENSES"
|
||||
},
|
||||
{
|
||||
"name": "GENERAL EXPENSES"
|
||||
},
|
||||
{
|
||||
"children": [
|
||||
{
|
||||
"name": "Parental Insurance",
|
||||
"report_type": "Profit and Loss"
|
||||
},
|
||||
{
|
||||
"name": "Holidays",
|
||||
"report_type": "Profit and Loss"
|
||||
},
|
||||
{
|
||||
"name": "Labour Health and Safety",
|
||||
"report_type": "Profit and Loss"
|
||||
},
|
||||
{
|
||||
"name": "Employment Insurance",
|
||||
"report_type": "Profit and Loss"
|
||||
},
|
||||
{
|
||||
"name": "Federal Income Tax",
|
||||
"report_type": "Profit and Loss"
|
||||
},
|
||||
{
|
||||
"name": "Salaries, wages and commissions",
|
||||
"report_type": "Profit and Loss"
|
||||
},
|
||||
{
|
||||
"name": "Annuities",
|
||||
"report_type": "Profit and Loss"
|
||||
},
|
||||
{
|
||||
"name": "Provincial Income Tax",
|
||||
"report_type": "Profit and Loss"
|
||||
},
|
||||
{
|
||||
"name": "Labour Standards",
|
||||
"report_type": "Profit and Loss"
|
||||
},
|
||||
{
|
||||
"name": "Health Services Fund",
|
||||
"report_type": "Profit and Loss"
|
||||
}
|
||||
],
|
||||
"name": "LABOUR EXPENSES"
|
||||
}
|
||||
],
|
||||
"name": "OPERATING EXPENSES"
|
||||
},
|
||||
{
|
||||
"name": "CONTRIBUTED SURPLUS"
|
||||
},
|
||||
{
|
||||
"name": "RETAINED EARNINGS"
|
||||
},
|
||||
{
|
||||
"name": "PREMIUMS"
|
||||
},
|
||||
{
|
||||
"name": "SHARE CAPITAL"
|
||||
},
|
||||
{
|
||||
"name": "DIVIDENDS"
|
||||
"children": [
|
||||
{
|
||||
"name": "INTERESTS EXPENSES"
|
||||
},
|
||||
{
|
||||
"name": "OTHER NON-OPERATING EXPENSES"
|
||||
}
|
||||
],
|
||||
"name": "NON-OPERATING EXPENSES"
|
||||
}
|
||||
],
|
||||
"name": "EQUITY"
|
||||
"name": "EXPENSES"
|
||||
},
|
||||
{
|
||||
"children": [
|
||||
{
|
||||
"children": [
|
||||
{
|
||||
"name": "DEFERRED TAXES"
|
||||
},
|
||||
{
|
||||
"name": "NON-CURRENT FINANCIAL DEBTS"
|
||||
},
|
||||
{
|
||||
"name": "OTHER NON-CURRENT LIABILITIES"
|
||||
},
|
||||
{
|
||||
"name": "PROVISIONS FOR PENSIONS AND OTHER POST-EMPLOYMENT ADVANTAGES"
|
||||
}
|
||||
],
|
||||
"name": "NON-CURRENT LIABILITIES"
|
||||
},
|
||||
{
|
||||
"children": [
|
||||
{
|
||||
"children": [
|
||||
{
|
||||
"name": "Stock Received But Not Billed",
|
||||
"root_type": "Liability"
|
||||
}
|
||||
],
|
||||
"name": "LIABILITIES ASSETS HELD FOR TRANSFER"
|
||||
},
|
||||
{
|
||||
"name": "CURRENT FINANCIAL DEBTS"
|
||||
},
|
||||
{
|
||||
"children": [
|
||||
{
|
||||
"name": "Suppliers Account"
|
||||
}
|
||||
],
|
||||
"name": "ACCOUNTS PAYABLES"
|
||||
},
|
||||
{
|
||||
"children": [
|
||||
{
|
||||
"children": [
|
||||
{
|
||||
"name": "Health Services Fund to pay",
|
||||
"root_type": "Liability"
|
||||
},
|
||||
{
|
||||
"name": "Labour Health and Safety to pay",
|
||||
"root_type": "Liability"
|
||||
},
|
||||
{
|
||||
"children": [
|
||||
{
|
||||
"name": "Annuities - Employees Contribution",
|
||||
"root_type": "Liability"
|
||||
"report_type": "Balance Sheet"
|
||||
},
|
||||
{
|
||||
"name": "Annuities - Employer Contribution",
|
||||
"root_type": "Liability"
|
||||
"report_type": "Balance Sheet"
|
||||
}
|
||||
],
|
||||
"name": "ANNUITIES TO PAY"
|
||||
},
|
||||
{
|
||||
"children": [
|
||||
{
|
||||
"name": "PAP - Employer Contribution",
|
||||
"root_type": "Liability"
|
||||
},
|
||||
{
|
||||
"name": "PAP - Employee Contribution",
|
||||
"root_type": "Liability"
|
||||
}
|
||||
],
|
||||
"name": "PARENTAL INSURANCE PLAN TO PAY"
|
||||
"name": "Health Services Fund to pay",
|
||||
"report_type": "Balance Sheet"
|
||||
},
|
||||
{
|
||||
"name": "Labour Health and Safety to pay",
|
||||
"report_type": "Balance Sheet"
|
||||
},
|
||||
{
|
||||
"name": "Provincial Income Tax",
|
||||
"root_type": "Liability"
|
||||
"report_type": "Balance Sheet"
|
||||
},
|
||||
{
|
||||
"name": "Labour Standards to pay",
|
||||
"root_type": "Liability"
|
||||
"report_type": "Balance Sheet"
|
||||
},
|
||||
{
|
||||
"children": [
|
||||
{
|
||||
"name": "PAP - Employer Contribution",
|
||||
"report_type": "Balance Sheet"
|
||||
},
|
||||
{
|
||||
"name": "PAP - Employee Contribution",
|
||||
"report_type": "Balance Sheet"
|
||||
}
|
||||
],
|
||||
"name": "PARENTAL INSURANCE PLAN TO PAY"
|
||||
}
|
||||
],
|
||||
"name": "PROVINCIAL REVENU AGENCY"
|
||||
@ -248,18 +310,18 @@
|
||||
"children": [
|
||||
{
|
||||
"name": "EI - Employees Contribution",
|
||||
"root_type": "Liability"
|
||||
"report_type": "Balance Sheet"
|
||||
},
|
||||
{
|
||||
"name": "EI - Employer Contribution",
|
||||
"root_type": "Liability"
|
||||
"report_type": "Balance Sheet"
|
||||
}
|
||||
],
|
||||
"name": "EMPLOYMENT INSURANCE TO PAY"
|
||||
},
|
||||
{
|
||||
"name": "Federal Income Tax",
|
||||
"root_type": "Liability"
|
||||
"report_type": "Balance Sheet"
|
||||
}
|
||||
],
|
||||
"name": "CANADIAN REVENU AGENCY"
|
||||
@ -267,28 +329,88 @@
|
||||
],
|
||||
"name": "LABOUR TAXES TO PAY"
|
||||
},
|
||||
{
|
||||
"name": "STOCK LIABILITIES"
|
||||
},
|
||||
{
|
||||
"name": "OTHER ACCOUNTS PAYABLES"
|
||||
},
|
||||
{
|
||||
"children": [
|
||||
{
|
||||
"account_type": "Payable",
|
||||
"name": "Suppliers Account",
|
||||
"report_type": "Balance Sheet"
|
||||
}
|
||||
],
|
||||
"name": "ACCOUNTS PAYABLES"
|
||||
},
|
||||
{
|
||||
"children": [
|
||||
{
|
||||
"account_type": "Payable",
|
||||
"name": "GST to pay",
|
||||
"report_type": "Balance Sheet"
|
||||
},
|
||||
{
|
||||
"children": [
|
||||
{
|
||||
"account_type": "Payable",
|
||||
"name": "HST to pay - 14%",
|
||||
"report_type": "Balance Sheet"
|
||||
},
|
||||
{
|
||||
"account_type": "Payable",
|
||||
"name": "HST to pay - 13%",
|
||||
"report_type": "Balance Sheet"
|
||||
},
|
||||
{
|
||||
"account_type": "Payable",
|
||||
"name": "HST to pay - 15%",
|
||||
"report_type": "Balance Sheet"
|
||||
}
|
||||
],
|
||||
"name": "HST to pay"
|
||||
},
|
||||
{
|
||||
"name": "GST to pay"
|
||||
},
|
||||
{
|
||||
"name": "PST/QST to pay"
|
||||
"account_type": "Payable",
|
||||
"name": "PST/QST to pay",
|
||||
"report_type": "Balance Sheet"
|
||||
}
|
||||
],
|
||||
"name": "TAXES PAYABLES"
|
||||
},
|
||||
{
|
||||
"name": "STOCK LIABILITIES"
|
||||
"name": "CURRENT FINANCIAL DEBTS"
|
||||
},
|
||||
{
|
||||
"name": "OTHER ACCOUNTS PAYABLES"
|
||||
"children": [
|
||||
{
|
||||
"name": "Stock Received But Not Billed",
|
||||
"report_type": "Balance Sheet"
|
||||
}
|
||||
],
|
||||
"name": "LIABILITIES ASSETS HELD FOR TRANSFER"
|
||||
}
|
||||
],
|
||||
"name": "CURRENT LIABILITIES"
|
||||
},
|
||||
{
|
||||
"children": [
|
||||
{
|
||||
"name": "NON-CURRENT FINANCIAL DEBTS"
|
||||
},
|
||||
{
|
||||
"name": "OTHER NON-CURRENT LIABILITIES"
|
||||
},
|
||||
{
|
||||
"name": "PROVISIONS FOR PENSIONS AND OTHER POST-EMPLOYMENT ADVANTAGES"
|
||||
},
|
||||
{
|
||||
"name": "DEFERRED TAXES"
|
||||
}
|
||||
],
|
||||
"name": "NON-CURRENT LIABILITIES"
|
||||
}
|
||||
],
|
||||
"name": "LIABILITIES"
|
||||
@ -296,104 +418,27 @@
|
||||
{
|
||||
"children": [
|
||||
{
|
||||
"children": [
|
||||
{
|
||||
"name": "OTHER NON-OPERATING EXPENSES"
|
||||
},
|
||||
{
|
||||
"name": "INTERESTS EXPENSES"
|
||||
}
|
||||
],
|
||||
"name": "NON-OPERATING EXPENSES"
|
||||
"name": "DIVIDENDS"
|
||||
},
|
||||
{
|
||||
"children": [
|
||||
{
|
||||
"name": "RESEARCH AND DEVELOPMENT EXPENSES"
|
||||
},
|
||||
{
|
||||
"children": [
|
||||
{
|
||||
"name": "Salaries, wages and commissions",
|
||||
"root_type": "Expense"
|
||||
},
|
||||
{
|
||||
"name": "Labour Health and Safety",
|
||||
"root_type": "Expense"
|
||||
},
|
||||
{
|
||||
"name": "Annuities",
|
||||
"root_type": "Expense"
|
||||
},
|
||||
{
|
||||
"name": "Labour Standards",
|
||||
"root_type": "Expense"
|
||||
},
|
||||
{
|
||||
"name": "Provincial Income Tax",
|
||||
"root_type": "Expense"
|
||||
},
|
||||
{
|
||||
"name": "Parental Insurance",
|
||||
"root_type": "Expense"
|
||||
},
|
||||
{
|
||||
"name": "Holidays",
|
||||
"root_type": "Expense"
|
||||
},
|
||||
{
|
||||
"name": "Federal Income Tax",
|
||||
"root_type": "Expense"
|
||||
},
|
||||
{
|
||||
"name": "Employment Insurance",
|
||||
"root_type": "Expense"
|
||||
},
|
||||
{
|
||||
"name": "Health Services Fund",
|
||||
"root_type": "Expense"
|
||||
}
|
||||
],
|
||||
"name": "LABOUR EXPENSES"
|
||||
},
|
||||
{
|
||||
"name": "SALES EXPENSES"
|
||||
},
|
||||
{
|
||||
"children": [
|
||||
{
|
||||
"name": "Purchases in non-harmonized provinces",
|
||||
"root_type": "Expense"
|
||||
},
|
||||
{
|
||||
"name": "International Purchases",
|
||||
"root_type": "Expense"
|
||||
},
|
||||
{
|
||||
"name": "Inside Purchases",
|
||||
"root_type": "Expense"
|
||||
},
|
||||
{
|
||||
"name": "Purchases in harmonized provinces",
|
||||
"root_type": "Expense"
|
||||
}
|
||||
],
|
||||
"name": "COST OF GOODS SOLD"
|
||||
},
|
||||
{
|
||||
"name": "OTHER OPERATING EXPENSES"
|
||||
},
|
||||
{
|
||||
"name": "GENERAL EXPENSES"
|
||||
}
|
||||
],
|
||||
"name": "OPERATING EXPENSES"
|
||||
"name": "TRANSLATION ADJUSTMENTS"
|
||||
},
|
||||
{
|
||||
"name": "RETAINED EARNINGS"
|
||||
},
|
||||
{
|
||||
"name": "SHARE CAPITAL"
|
||||
},
|
||||
{
|
||||
"name": "PREMIUMS"
|
||||
},
|
||||
{
|
||||
"name": "CONTRIBUTED SURPLUS"
|
||||
}
|
||||
],
|
||||
"name": "EXPENSES"
|
||||
"name": "EQUITY"
|
||||
}
|
||||
],
|
||||
"name": "Account Chart CA EN",
|
||||
"parent_id": null
|
||||
"name": "Account Chart CA EN"
|
||||
}
|
||||
}
|
@ -7,10 +7,10 @@
|
||||
{
|
||||
"children": [
|
||||
{
|
||||
"name": "INT\u00c9R\u00caTS"
|
||||
"name": "AUTRES PRODUITS NON LI\u00c9S \u00c0 L'EXPLOITATION"
|
||||
},
|
||||
{
|
||||
"name": "AUTRES PRODUITS NON LI\u00c9S \u00c0 L'EXPLOITATION"
|
||||
"name": "INT\u00c9R\u00caTS"
|
||||
}
|
||||
],
|
||||
"name": "PRODUITS NON LI\u00c9S \u00c0 L'EXPLOITATION"
|
||||
@ -18,23 +18,23 @@
|
||||
{
|
||||
"children": [
|
||||
{
|
||||
"name": "AUTRES PRODUITS D'EXPLOITATION"
|
||||
"name": "Ventes avec des provinces harmonis\u00e9es",
|
||||
"report_type": "Profit and Loss"
|
||||
},
|
||||
{
|
||||
"name": "Ventes avec des provinces non-harmonis\u00e9es",
|
||||
"root_type": "Income"
|
||||
"report_type": "Profit and Loss"
|
||||
},
|
||||
{
|
||||
"name": "AUTRES PRODUITS D'EXPLOITATION"
|
||||
},
|
||||
{
|
||||
"name": "Ventes",
|
||||
"root_type": "Income"
|
||||
},
|
||||
{
|
||||
"name": "Ventes avec des provinces harmonis\u00e9es",
|
||||
"root_type": "Income"
|
||||
"report_type": "Profit and Loss"
|
||||
},
|
||||
{
|
||||
"name": "Ventes \u00e0 l'\u00e9tranger",
|
||||
"root_type": "Income"
|
||||
"report_type": "Profit and Loss"
|
||||
}
|
||||
],
|
||||
"name": "PRODUITS D'EXPLOITATION"
|
||||
@ -42,39 +42,248 @@
|
||||
],
|
||||
"name": "PRODUITS"
|
||||
},
|
||||
{
|
||||
"children": [
|
||||
{
|
||||
"name": "AUTRES \u00c9L\u00c9MENTS DU R\u00c9SULTAT GLOBAL"
|
||||
},
|
||||
{
|
||||
"name": "\u00c9CARTS DE CONVERSION"
|
||||
},
|
||||
{
|
||||
"name": "SURPLUS D'APPORT"
|
||||
},
|
||||
{
|
||||
"name": "PRIMES"
|
||||
},
|
||||
{
|
||||
"name": "CAPITAL-ACTIONS"
|
||||
},
|
||||
{
|
||||
"name": "B\u00c9N\u00c9FICES NON R\u00c9PARTIS"
|
||||
},
|
||||
{
|
||||
"name": "DIVIDENDES"
|
||||
}
|
||||
],
|
||||
"name": "CAPITAUX PROPRES"
|
||||
},
|
||||
{
|
||||
"children": [
|
||||
{
|
||||
"children": [
|
||||
{
|
||||
"name": "FRAIS SUR VENTE"
|
||||
"name": "PROVISIONS POUR RETRAITES ET AUTRES AVANTAGES POST\u00c9RIEURS \u00c0 L'EMPLOI"
|
||||
},
|
||||
{
|
||||
"name": "IMP\u00d4TS DIFF\u00c9R\u00c9S"
|
||||
},
|
||||
{
|
||||
"name": "AUTRES PASSIFS NON-COURANTS"
|
||||
},
|
||||
{
|
||||
"name": "DETTES FINANCI\u00c8RES NON-COURANTES"
|
||||
}
|
||||
],
|
||||
"name": "PASSIFS NON-COURANTS"
|
||||
},
|
||||
{
|
||||
"children": [
|
||||
{
|
||||
"name": "AUTRES COMPTES CR\u00c9DITEURS"
|
||||
},
|
||||
{
|
||||
"children": [
|
||||
{
|
||||
"name": "Achats dans des provinces harmonis\u00e9es",
|
||||
"root_type": "Income"
|
||||
},
|
||||
{
|
||||
"name": "Achats dans des provinces non-harmonis\u00e9es",
|
||||
"root_type": "Income"
|
||||
},
|
||||
{
|
||||
"name": "Achats \u00e0 l'\u00e9tranger",
|
||||
"root_type": "Income"
|
||||
},
|
||||
{
|
||||
"name": "Achats",
|
||||
"root_type": "Expense"
|
||||
"account_type": "Payable",
|
||||
"name": "Comptes fournisseurs",
|
||||
"report_type": "Balance Sheet"
|
||||
}
|
||||
],
|
||||
"name": "CO\u00dbT DES PRODUITS VENDUS"
|
||||
"name": "FOURNISSEURS ET COMPTES RATTACH\u00c9S"
|
||||
},
|
||||
{
|
||||
"children": [
|
||||
{
|
||||
"children": [
|
||||
{
|
||||
"name": "TVH \u00e0 payer - 14%",
|
||||
"report_type": "Balance Sheet"
|
||||
},
|
||||
{
|
||||
"name": "TVH \u00e0 payer - 15%",
|
||||
"report_type": "Balance Sheet"
|
||||
},
|
||||
{
|
||||
"name": "TVH \u00e0 payer - 13%",
|
||||
"report_type": "Balance Sheet"
|
||||
}
|
||||
],
|
||||
"name": "TVH \u00e0 payer"
|
||||
},
|
||||
{
|
||||
"name": "TVP/TVQ \u00e0 payer",
|
||||
"report_type": "Balance Sheet"
|
||||
},
|
||||
{
|
||||
"name": "TPS \u00e0 payer",
|
||||
"report_type": "Balance Sheet"
|
||||
}
|
||||
],
|
||||
"name": "IMP\u00d4TS \u00c0 PAYER"
|
||||
},
|
||||
{
|
||||
"name": "DETTES FINANCI\u00c8RES COURANTES"
|
||||
},
|
||||
{
|
||||
"children": [
|
||||
{
|
||||
"children": [
|
||||
{
|
||||
"name": "Fond des Services de Sant\u00e9 \u00e0 payer",
|
||||
"report_type": "Balance Sheet"
|
||||
},
|
||||
{
|
||||
"children": [
|
||||
{
|
||||
"name": "AP - Contribution de l'employeur",
|
||||
"report_type": "Balance Sheet"
|
||||
},
|
||||
{
|
||||
"name": "AP - Contribution des employ\u00e9s",
|
||||
"report_type": "Balance Sheet"
|
||||
}
|
||||
],
|
||||
"name": "ASSURANCE PARENTALE \u00c0 PAYER"
|
||||
},
|
||||
{
|
||||
"name": "Imp\u00f4t provincial sur les revenus",
|
||||
"report_type": "Balance Sheet"
|
||||
},
|
||||
{
|
||||
"children": [
|
||||
{
|
||||
"name": "Rentes - Contribution des employ\u00e9s",
|
||||
"report_type": "Balance Sheet"
|
||||
},
|
||||
{
|
||||
"name": "Rentes - Contribution de l'employeur",
|
||||
"report_type": "Balance Sheet"
|
||||
}
|
||||
],
|
||||
"name": "RENTES \u00c0 PAYER"
|
||||
},
|
||||
{
|
||||
"name": "Sant\u00e9 et S\u00e9curit\u00e9 au Travail \u00e0 payer",
|
||||
"report_type": "Balance Sheet"
|
||||
},
|
||||
{
|
||||
"name": "Normes du Travail \u00e0 payer",
|
||||
"report_type": "Balance Sheet"
|
||||
}
|
||||
],
|
||||
"name": "AGENCE DU REVENU PROVINCIAL"
|
||||
},
|
||||
{
|
||||
"children": [
|
||||
{
|
||||
"children": [
|
||||
{
|
||||
"name": "AE - Contribution des employ\u00e9s",
|
||||
"report_type": "Balance Sheet"
|
||||
},
|
||||
{
|
||||
"name": "AE - Contribution de l'employeur",
|
||||
"report_type": "Balance Sheet"
|
||||
}
|
||||
],
|
||||
"name": "ASSURANCE EMPLOI \u00c0 PAYER"
|
||||
},
|
||||
{
|
||||
"name": "Imp\u00f4t f\u00e9d\u00e9ral sur les revenus",
|
||||
"report_type": "Balance Sheet"
|
||||
}
|
||||
],
|
||||
"name": "AGENCE DU REVENU DU CANADA"
|
||||
}
|
||||
],
|
||||
"name": "IMP\u00d4TS LI\u00c9S AUX SALAIRES \u00c0 PAYER"
|
||||
},
|
||||
{
|
||||
"children": [
|
||||
{
|
||||
"name": "Stock re\u00e7u non factur\u00e9",
|
||||
"report_type": "Balance Sheet"
|
||||
}
|
||||
],
|
||||
"name": "PASSIFS DE STOCK"
|
||||
},
|
||||
{
|
||||
"name": "PASSIFS LI\u00c9S AUX ACTIFS D\u00c9TENUS EN VUE DE LEUR CESSION"
|
||||
}
|
||||
],
|
||||
"name": "PASSIFS COURANTS"
|
||||
}
|
||||
],
|
||||
"name": "PASSIF"
|
||||
},
|
||||
{
|
||||
"children": [
|
||||
{
|
||||
"children": [
|
||||
{
|
||||
"name": "FRAIS G\u00c9N\u00c9RAUX"
|
||||
},
|
||||
{
|
||||
"children": [
|
||||
{
|
||||
"name": "Imp\u00f4t f\u00e9d\u00e9ral",
|
||||
"report_type": "Profit and Loss"
|
||||
},
|
||||
{
|
||||
"name": "Assurance parentale",
|
||||
"report_type": "Profit and Loss"
|
||||
},
|
||||
{
|
||||
"name": "Imp\u00f4t provincial",
|
||||
"report_type": "Profit and Loss"
|
||||
},
|
||||
{
|
||||
"name": "Rentes",
|
||||
"report_type": "Profit and Loss"
|
||||
},
|
||||
{
|
||||
"name": "Sant\u00e9 et s\u00e9curit\u00e9 au travail",
|
||||
"report_type": "Profit and Loss"
|
||||
},
|
||||
{
|
||||
"name": "Fonds des services de sant\u00e9",
|
||||
"report_type": "Profit and Loss"
|
||||
},
|
||||
{
|
||||
"name": "Normes du travail",
|
||||
"report_type": "Profit and Loss"
|
||||
},
|
||||
{
|
||||
"name": "Assurance Emploi",
|
||||
"report_type": "Profit and Loss"
|
||||
},
|
||||
{
|
||||
"name": "Salaires",
|
||||
"report_type": "Profit and Loss"
|
||||
},
|
||||
{
|
||||
"name": "Vacances",
|
||||
"report_type": "Profit and Loss"
|
||||
}
|
||||
],
|
||||
"name": "SALAIRES ET CHARGES SOCIALES"
|
||||
},
|
||||
{
|
||||
"name": "AUTRES FRAIS D'EXPLOITATION"
|
||||
},
|
||||
{
|
||||
"name": "FRAIS G\u00c9N\u00c9RAUX"
|
||||
"name": "FRAIS SUR VENTE"
|
||||
},
|
||||
{
|
||||
"name": "FRAIS DE RECHERCHE ET D\u00c9VELOPPEMENT"
|
||||
@ -82,47 +291,23 @@
|
||||
{
|
||||
"children": [
|
||||
{
|
||||
"name": "Vacances",
|
||||
"root_type": "Expense"
|
||||
"name": "Achats",
|
||||
"report_type": "Profit and Loss"
|
||||
},
|
||||
{
|
||||
"name": "Imp\u00f4t f\u00e9d\u00e9ral",
|
||||
"root_type": "Expense"
|
||||
"name": "Achats dans des provinces harmonis\u00e9es",
|
||||
"report_type": "Profit and Loss"
|
||||
},
|
||||
{
|
||||
"name": "Assurance Emploi",
|
||||
"root_type": "Expense"
|
||||
"name": "Achats dans des provinces non-harmonis\u00e9es",
|
||||
"report_type": "Profit and Loss"
|
||||
},
|
||||
{
|
||||
"name": "Fonds des services de sant\u00e9",
|
||||
"root_type": "Expense"
|
||||
},
|
||||
{
|
||||
"name": "Assurance parentale",
|
||||
"root_type": "Expense"
|
||||
},
|
||||
{
|
||||
"name": "Sant\u00e9 et s\u00e9curit\u00e9 au travail",
|
||||
"root_type": "Expense"
|
||||
},
|
||||
{
|
||||
"name": "Salaires",
|
||||
"root_type": "Expense"
|
||||
},
|
||||
{
|
||||
"name": "Rentes",
|
||||
"root_type": "Expense"
|
||||
},
|
||||
{
|
||||
"name": "Imp\u00f4t provincial",
|
||||
"root_type": "Expense"
|
||||
},
|
||||
{
|
||||
"name": "Normes du travail",
|
||||
"root_type": "Expense"
|
||||
"name": "Achats \u00e0 l'\u00e9tranger",
|
||||
"report_type": "Profit and Loss"
|
||||
}
|
||||
],
|
||||
"name": "SALAIRES ET CHARGES SOCIALES"
|
||||
"name": "CO\u00dbT DES PRODUITS VENDUS"
|
||||
}
|
||||
],
|
||||
"name": "CHARGES D'EXPLOITATION"
|
||||
@ -145,14 +330,6 @@
|
||||
"children": [
|
||||
{
|
||||
"children": [
|
||||
{
|
||||
"children": [
|
||||
{
|
||||
"name": "BREVETS, MARQUES DE COMMERCE ET DROITS D'AUTEURS"
|
||||
}
|
||||
],
|
||||
"name": "IMMOBILISATIONS INCORPORELLES"
|
||||
},
|
||||
{
|
||||
"name": "PLACEMENTS DISPONIBLES \u00c0 LA VENTE"
|
||||
},
|
||||
@ -163,56 +340,52 @@
|
||||
}
|
||||
],
|
||||
"name": "IMMOBILISATIONS CORPORELLES"
|
||||
},
|
||||
{
|
||||
"children": [
|
||||
{
|
||||
"name": "BREVETS, MARQUES DE COMMERCE ET DROITS D'AUTEURS"
|
||||
}
|
||||
],
|
||||
"name": "IMMOBILISATIONS INCORPORELLES"
|
||||
}
|
||||
],
|
||||
"name": "ACTIFS NON-COURANTS"
|
||||
},
|
||||
{
|
||||
"children": [
|
||||
{
|
||||
"children": [
|
||||
{
|
||||
"name": "Stock",
|
||||
"root_type": "Asset"
|
||||
},
|
||||
{
|
||||
"name": "Stock exp\u00e9di\u00e9 non-factur\u00e9",
|
||||
"root_type": "Asset"
|
||||
}
|
||||
],
|
||||
"name": "STOCKS"
|
||||
},
|
||||
{
|
||||
"name": "TR\u00c9SORERIE OU \u00c9QUIVALENTS DE TR\u00c9SORERIE"
|
||||
},
|
||||
{
|
||||
"name": "ENCAISSE"
|
||||
},
|
||||
{
|
||||
"name": "CERTIFICATS DE D\u00c9P\u00d4TS"
|
||||
},
|
||||
{
|
||||
"children": [
|
||||
{
|
||||
"name": "TVP/TVQ \u00e0 recevoir",
|
||||
"root_type": "Asset"
|
||||
},
|
||||
{
|
||||
"name": "TVH \u00e0 recevoir",
|
||||
"root_type": "Asset"
|
||||
},
|
||||
{
|
||||
"name": "TPS \u00e0 recevoir",
|
||||
"root_type": "Asset"
|
||||
}
|
||||
],
|
||||
"name": "IMP\u00d4TS \u00c0 RECEVOIR"
|
||||
},
|
||||
{
|
||||
"name": "FRAIS PAY\u00c9S D'AVANCE"
|
||||
},
|
||||
{
|
||||
"name": "PLACEMENTS D\u00c9TENUS \u00c0 DES FINS DE TRANSACTION"
|
||||
"children": [
|
||||
{
|
||||
"name": "TPS \u00e0 recevoir",
|
||||
"report_type": "Balance Sheet"
|
||||
},
|
||||
{
|
||||
"children": [
|
||||
{
|
||||
"name": "TVH \u00e0 recevoir - 13%",
|
||||
"report_type": "Balance Sheet"
|
||||
},
|
||||
{
|
||||
"name": "TVH \u00e0 recevoir - 14%",
|
||||
"report_type": "Balance Sheet"
|
||||
},
|
||||
{
|
||||
"name": "TVH \u00e0 recevoir - 15%",
|
||||
"report_type": "Balance Sheet"
|
||||
}
|
||||
],
|
||||
"name": "TVH \u00e0 recevoir"
|
||||
},
|
||||
{
|
||||
"name": "TVP/TVQ \u00e0 recevoir",
|
||||
"report_type": "Balance Sheet"
|
||||
}
|
||||
],
|
||||
"name": "IMP\u00d4TS \u00c0 RECEVOIR"
|
||||
},
|
||||
{
|
||||
"children": [
|
||||
@ -220,186 +393,43 @@
|
||||
"name": "PROVISION POUR CR\u00c9ANCES DOUTEUSES"
|
||||
},
|
||||
{
|
||||
"name": "Comptes clients"
|
||||
"account_type": "Receivable",
|
||||
"name": "Comptes clients",
|
||||
"report_type": "Balance Sheet"
|
||||
}
|
||||
],
|
||||
"name": "COMPTES CLIENTS"
|
||||
},
|
||||
{
|
||||
"children": [
|
||||
{
|
||||
"name": "Stock exp\u00e9di\u00e9 non-factur\u00e9",
|
||||
"report_type": "Balance Sheet"
|
||||
},
|
||||
{
|
||||
"name": "Stock",
|
||||
"report_type": "Balance Sheet"
|
||||
}
|
||||
],
|
||||
"name": "STOCKS"
|
||||
},
|
||||
{
|
||||
"name": "ENCAISSE"
|
||||
},
|
||||
{
|
||||
"name": "TR\u00c9SORERIE OU \u00c9QUIVALENTS DE TR\u00c9SORERIE"
|
||||
},
|
||||
{
|
||||
"name": "CERTIFICATS DE D\u00c9P\u00d4TS"
|
||||
},
|
||||
{
|
||||
"name": "PLACEMENTS D\u00c9TENUS \u00c0 DES FINS DE TRANSACTION"
|
||||
}
|
||||
],
|
||||
"name": "ACTIFS COURANTS"
|
||||
}
|
||||
],
|
||||
"name": "ACTIF"
|
||||
},
|
||||
{
|
||||
"children": [
|
||||
{
|
||||
"name": "AUTRES \u00c9L\u00c9MENTS DU R\u00c9SULTAT GLOBAL"
|
||||
},
|
||||
{
|
||||
"name": "B\u00c9N\u00c9FICES NON R\u00c9PARTIS"
|
||||
},
|
||||
{
|
||||
"name": "PRIMES"
|
||||
},
|
||||
{
|
||||
"name": "CAPITAL-ACTIONS"
|
||||
},
|
||||
{
|
||||
"name": "\u00c9CARTS DE CONVERSION"
|
||||
},
|
||||
{
|
||||
"name": "SURPLUS D'APPORT"
|
||||
},
|
||||
{
|
||||
"name": "DIVIDENDES"
|
||||
}
|
||||
],
|
||||
"name": "CAPITAUX PROPRES"
|
||||
},
|
||||
{
|
||||
"children": [
|
||||
{
|
||||
"children": [
|
||||
{
|
||||
"children": [
|
||||
{
|
||||
"name": "TPS \u00e0 payer",
|
||||
"root_type": "Liability"
|
||||
},
|
||||
{
|
||||
"name": "TVH \u00e0 payer",
|
||||
"root_type": "Liability"
|
||||
},
|
||||
{
|
||||
"name": "TVP/TVQ \u00e0 payer",
|
||||
"root_type": "Liability"
|
||||
}
|
||||
],
|
||||
"name": "IMP\u00d4TS \u00c0 PAYER"
|
||||
},
|
||||
{
|
||||
"children": [
|
||||
{
|
||||
"name": "Stock re\u00e7u non factur\u00e9",
|
||||
"root_type": "Liability"
|
||||
}
|
||||
],
|
||||
"name": "PASSIFS DE STOCK"
|
||||
},
|
||||
{
|
||||
"name": "AUTRES COMPTES CR\u00c9DITEURS"
|
||||
},
|
||||
{
|
||||
"name": "PASSIFS LI\u00c9S AUX ACTIFS D\u00c9TENUS EN VUE DE LEUR CESSION"
|
||||
},
|
||||
{
|
||||
"name": "DETTES FINANCI\u00c8RES COURANTES"
|
||||
},
|
||||
{
|
||||
"children": [
|
||||
{
|
||||
"name": "Comptes fournisseurs"
|
||||
}
|
||||
],
|
||||
"name": "FOURNISSEURS ET COMPTES RATTACH\u00c9S"
|
||||
},
|
||||
{
|
||||
"children": [
|
||||
{
|
||||
"children": [
|
||||
{
|
||||
"name": "Imp\u00f4t f\u00e9d\u00e9ral sur les revenus",
|
||||
"root_type": "Liability"
|
||||
},
|
||||
{
|
||||
"children": [
|
||||
{
|
||||
"name": "AE - Contribution de l'employeur",
|
||||
"root_type": "Liability"
|
||||
},
|
||||
{
|
||||
"name": "AE - Contribution des employ\u00e9s",
|
||||
"root_type": "Liability"
|
||||
}
|
||||
],
|
||||
"name": "ASSURANCE EMPLOI \u00c0 PAYER"
|
||||
}
|
||||
],
|
||||
"name": "AGENCE DU REVENU DU CANADA"
|
||||
},
|
||||
{
|
||||
"children": [
|
||||
{
|
||||
"children": [
|
||||
{
|
||||
"name": "Rentes - Contribution de l'employeur",
|
||||
"root_type": "Liability"
|
||||
},
|
||||
{
|
||||
"name": "Rentes - Contribution des employ\u00e9s",
|
||||
"root_type": "Liability"
|
||||
}
|
||||
],
|
||||
"name": "RENTES \u00c0 PAYER"
|
||||
},
|
||||
{
|
||||
"name": "Normes du Travail \u00e0 payer",
|
||||
"root_type": "Liability"
|
||||
},
|
||||
{
|
||||
"name": "Imp\u00f4t provincial sur les revenus",
|
||||
"root_type": "Liability"
|
||||
},
|
||||
{
|
||||
"children": [
|
||||
{
|
||||
"name": "AP - Contribution des employ\u00e9s",
|
||||
"root_type": "Liability"
|
||||
},
|
||||
{
|
||||
"name": "AP - Contribution de l'employeur",
|
||||
"root_type": "Liability"
|
||||
}
|
||||
],
|
||||
"name": "ASSURANCE PARENTALE \u00c0 PAYER"
|
||||
},
|
||||
{
|
||||
"name": "Fond des Services de Sant\u00e9 \u00e0 payer",
|
||||
"root_type": "Liability"
|
||||
},
|
||||
{
|
||||
"name": "Sant\u00e9 et S\u00e9curit\u00e9 au Travail \u00e0 payer",
|
||||
"root_type": "Liability"
|
||||
}
|
||||
],
|
||||
"name": "AGENCE DU REVENU PROVINCIAL"
|
||||
}
|
||||
],
|
||||
"name": "IMP\u00d4TS LI\u00c9S AUX SALAIRES \u00c0 PAYER"
|
||||
}
|
||||
],
|
||||
"name": "PASSIFS COURANTS"
|
||||
},
|
||||
{
|
||||
"children": [
|
||||
{
|
||||
"name": "IMP\u00d4TS DIFF\u00c9R\u00c9S"
|
||||
},
|
||||
{
|
||||
"name": "PROVISIONS POUR RETRAITES ET AUTRES AVANTAGES POST\u00c9RIEURS \u00c0 L'EMPLOI"
|
||||
},
|
||||
{
|
||||
"name": "DETTES FINANCI\u00c8RES NON-COURANTES"
|
||||
},
|
||||
{
|
||||
"name": "AUTRES PASSIFS NON-COURANTS"
|
||||
}
|
||||
],
|
||||
"name": "PASSIFS NON-COURANTS"
|
||||
}
|
||||
],
|
||||
"name": "PASSIF"
|
||||
}
|
||||
],
|
||||
"name": "Account Chart CA FR"
|
File diff suppressed because it is too large
Load Diff
@ -0,0 +1,653 @@
|
||||
{
|
||||
"name": "Chile - Plan de Cuentas",
|
||||
"root": {
|
||||
"children": [
|
||||
{
|
||||
"children": [
|
||||
{
|
||||
"children": [
|
||||
{
|
||||
"name": "Acreedor por Garant\u00edas Otorgadas"
|
||||
},
|
||||
{
|
||||
"name": "Acreedor por Documentos Descontados"
|
||||
},
|
||||
{
|
||||
"name": "Comitente por Mercaderias Recibidas en Consignaci\u00f3n"
|
||||
}
|
||||
],
|
||||
"name": "CUENTAS DE ORDEN ACREEDORAS"
|
||||
},
|
||||
{
|
||||
"children": [
|
||||
{
|
||||
"name": "Documentos Endosados"
|
||||
},
|
||||
{
|
||||
"name": "Documentos Descontados"
|
||||
},
|
||||
{
|
||||
"name": "Garantias Otorgadas"
|
||||
},
|
||||
{
|
||||
"name": "Dep\u00f3sito de Valores Recibos en Garant\u00eda"
|
||||
},
|
||||
{
|
||||
"name": "Mercaderias Recibidas en Consignaci\u00f3n"
|
||||
}
|
||||
],
|
||||
"name": "CUENTAS DE ORDEN DEUDORAS"
|
||||
}
|
||||
],
|
||||
"name": "Cuentas de Orden"
|
||||
},
|
||||
{
|
||||
"children": [
|
||||
{
|
||||
"children": [
|
||||
{
|
||||
"children": [
|
||||
{
|
||||
"name": "Recupero de Rezagos",
|
||||
"report_type": "Profit and Loss"
|
||||
},
|
||||
{
|
||||
"name": "Ganancia Venta de Activo Fijo",
|
||||
"report_type": "Profit and Loss"
|
||||
},
|
||||
{
|
||||
"name": "Recupero de Deudores Incobrables",
|
||||
"report_type": "Profit and Loss"
|
||||
},
|
||||
{
|
||||
"name": "Ganancia Venta Inversiones Permanentes",
|
||||
"report_type": "Profit and Loss"
|
||||
},
|
||||
{
|
||||
"name": "Donaciones obtenidas, ganandas, percibidas",
|
||||
"report_type": "Profit and Loss"
|
||||
}
|
||||
],
|
||||
"name": "Ingresos Fuera de Explotaci\u00f3n"
|
||||
},
|
||||
{
|
||||
"children": [
|
||||
{
|
||||
"name": "Comisiones gananados, obtenidos, percibidos",
|
||||
"report_type": "Profit and Loss"
|
||||
},
|
||||
{
|
||||
"name": "Descuentos gananados, obtenidos, percibidos",
|
||||
"report_type": "Profit and Loss"
|
||||
},
|
||||
{
|
||||
"name": "Interese sobre Inversiones",
|
||||
"report_type": "Profit and Loss"
|
||||
},
|
||||
{
|
||||
"name": "Honorarios gananados, obtenidos, percibidos",
|
||||
"report_type": "Profit and Loss"
|
||||
},
|
||||
{
|
||||
"children": [
|
||||
{
|
||||
"name": "Ventas - Categoria de productos 01",
|
||||
"report_type": "Profit and Loss"
|
||||
}
|
||||
],
|
||||
"name": "Ventas"
|
||||
},
|
||||
{
|
||||
"name": "Intereses gananados, obtenidos, percibidos",
|
||||
"report_type": "Profit and Loss"
|
||||
},
|
||||
{
|
||||
"name": "Alquileres gananados, obtenidos, percibidos",
|
||||
"report_type": "Profit and Loss"
|
||||
},
|
||||
{
|
||||
"name": "Ganancia Venta de Acciones",
|
||||
"report_type": "Profit and Loss"
|
||||
}
|
||||
],
|
||||
"name": "Ingresos de Explotaci\u00f3n"
|
||||
}
|
||||
],
|
||||
"name": "RESULTADO GANANCIA"
|
||||
},
|
||||
{
|
||||
"children": [
|
||||
{
|
||||
"children": [
|
||||
{
|
||||
"name": "Gastos de Publicidad y Propaganda",
|
||||
"report_type": "Profit and Loss"
|
||||
},
|
||||
{
|
||||
"name": "Gastos en Servicios P\u00fablicos"
|
||||
},
|
||||
{
|
||||
"children": [
|
||||
{
|
||||
"name": "Costo de Mercader\u00edas Vendidas - Categoria de productos 01",
|
||||
"report_type": "Profit and Loss"
|
||||
}
|
||||
],
|
||||
"name": "Costo de Mercader\u00edas Vendidas"
|
||||
},
|
||||
{
|
||||
"name": "Gastos en Amortizaci\u00f3n",
|
||||
"report_type": "Profit and Loss"
|
||||
},
|
||||
{
|
||||
"name": "Gastos en Cargas Sociales",
|
||||
"report_type": "Profit and Loss"
|
||||
},
|
||||
{
|
||||
"name": "Gastos en Sueldos y Jornales",
|
||||
"report_type": "Profit and Loss"
|
||||
},
|
||||
{
|
||||
"name": "Gastos Bancarios"
|
||||
},
|
||||
{
|
||||
"name": "Gastos en Impuestos"
|
||||
},
|
||||
{
|
||||
"name": "Gastos en Depreciaci\u00f3n de Activo Fijo",
|
||||
"report_type": "Profit and Loss"
|
||||
}
|
||||
],
|
||||
"name": "Egresos de Explotaci\u00f3n"
|
||||
},
|
||||
{
|
||||
"children": [
|
||||
{
|
||||
"name": "Gastos en Siniestros",
|
||||
"report_type": "Profit and Loss"
|
||||
},
|
||||
{
|
||||
"name": "Donaciones Cedidas, Otorgadas",
|
||||
"report_type": "Profit and Loss"
|
||||
},
|
||||
{
|
||||
"name": "P\u00e9rdida Venta Activo Fijo",
|
||||
"report_type": "Profit and Loss"
|
||||
}
|
||||
],
|
||||
"name": "Egresos Fuera de Explotaci\u00f3n"
|
||||
}
|
||||
],
|
||||
"name": "RESULTADO P\u00c9RDIDA"
|
||||
}
|
||||
],
|
||||
"name": "Cuentas de Resultado"
|
||||
},
|
||||
{
|
||||
"children": [
|
||||
{
|
||||
"children": [
|
||||
{
|
||||
"children": [
|
||||
{
|
||||
"name": "Ajustes al Patrimonio / Revaluo T\u00e9cnico de Activo Fijo",
|
||||
"report_type": "Balance Sheet"
|
||||
}
|
||||
],
|
||||
"name": "Ajustes al Patrimonio"
|
||||
},
|
||||
{
|
||||
"children": [
|
||||
{
|
||||
"name": "Aportes No Capitalizados / Aportes Irrevocables Futura Suscripci\u00f3n de Acciones",
|
||||
"report_type": "Balance Sheet"
|
||||
},
|
||||
{
|
||||
"name": "Aportes No Capitalizados / Primas de Emsi\u00f3n",
|
||||
"report_type": "Balance Sheet"
|
||||
}
|
||||
],
|
||||
"name": "Aportes No Capitalizados"
|
||||
},
|
||||
{
|
||||
"children": [
|
||||
{
|
||||
"name": "Capital / Dividendos a Distribuir en Acciones",
|
||||
"report_type": "Balance Sheet"
|
||||
},
|
||||
{
|
||||
"name": "Capital / Acciones en Circulaci\u00f3n",
|
||||
"report_type": "Balance Sheet"
|
||||
},
|
||||
{
|
||||
"name": "Capital / Capital Propio",
|
||||
"report_type": "Balance Sheet"
|
||||
},
|
||||
{
|
||||
"name": "Capital / (-) Descuento de Emisi\u00f3n de Acciones",
|
||||
"report_type": "Balance Sheet"
|
||||
}
|
||||
],
|
||||
"name": "Capital"
|
||||
},
|
||||
{
|
||||
"children": [
|
||||
{
|
||||
"name": "Resultados Acumulados",
|
||||
"report_type": "Balance Sheet"
|
||||
},
|
||||
{
|
||||
"name": "Resultado del Ejercicio",
|
||||
"report_type": "Balance Sheet"
|
||||
},
|
||||
{
|
||||
"name": "Utilidades y P\u00e9rdidas del Ejercicio",
|
||||
"report_type": "Balance Sheet"
|
||||
},
|
||||
{
|
||||
"name": "Resultados Acumulados del Ejercicio Anterior",
|
||||
"report_type": "Balance Sheet"
|
||||
}
|
||||
],
|
||||
"name": "Resultados No Asignados"
|
||||
},
|
||||
{
|
||||
"children": [
|
||||
{
|
||||
"name": "Reserva para Renovaci\u00f3n de Activo Fijo",
|
||||
"report_type": "Balance Sheet"
|
||||
},
|
||||
{
|
||||
"name": "Reserva Estatutaria",
|
||||
"report_type": "Balance Sheet"
|
||||
},
|
||||
{
|
||||
"name": "Reserva Facultativa",
|
||||
"report_type": "Balance Sheet"
|
||||
},
|
||||
{
|
||||
"name": "Reserva Legal",
|
||||
"report_type": "Balance Sheet"
|
||||
}
|
||||
],
|
||||
"name": "Futuras Eventualidades"
|
||||
}
|
||||
],
|
||||
"name": "PATRIMONIO"
|
||||
},
|
||||
{
|
||||
"children": [
|
||||
{
|
||||
"children": [
|
||||
{
|
||||
"name": "Remuneraciones por Pagar / Retenciones a Depositar",
|
||||
"report_type": "Balance Sheet"
|
||||
},
|
||||
{
|
||||
"name": "Remuneraciones por Pagar / Sueldos a Pagar",
|
||||
"report_type": "Balance Sheet"
|
||||
},
|
||||
{
|
||||
"name": "Remuneraciones por Pagar / Provisi\u00f3n para Sueldo Anual Complementario",
|
||||
"report_type": "Balance Sheet"
|
||||
},
|
||||
{
|
||||
"name": "Remuneraciones por Pagar / Cargas Sociales a Pagar",
|
||||
"report_type": "Balance Sheet"
|
||||
}
|
||||
],
|
||||
"name": "Remuneraciones por Pagar"
|
||||
},
|
||||
{
|
||||
"children": [
|
||||
{
|
||||
"name": "Otras Cuentas por Pagar / Acreedores Varios",
|
||||
"report_type": "Balance Sheet"
|
||||
},
|
||||
{
|
||||
"name": "Otras Cuentas por Pagar / Honorarios Directores y S\u00edndicos a Pagar",
|
||||
"report_type": "Balance Sheet"
|
||||
},
|
||||
{
|
||||
"name": "Otras Cuentas por Pagar / Dividendos a Pagar",
|
||||
"report_type": "Balance Sheet"
|
||||
},
|
||||
{
|
||||
"name": "Otras Cuentas por Pagar / Cobros por Adelantado",
|
||||
"report_type": "Balance Sheet"
|
||||
}
|
||||
],
|
||||
"name": "Otras Cuentas por Pagar"
|
||||
},
|
||||
{
|
||||
"children": [
|
||||
{
|
||||
"name": "Provisiones / Previsi\u00f3n para Garant\u00edas por Service",
|
||||
"report_type": "Balance Sheet"
|
||||
},
|
||||
{
|
||||
"name": "Provisiones / Previsi\u00f3n para juicios Pendientes",
|
||||
"report_type": "Balance Sheet"
|
||||
},
|
||||
{
|
||||
"name": "Provisiones / Previsi\u00f3n Indemnizaci\u00f3n por Despidos",
|
||||
"report_type": "Balance Sheet"
|
||||
}
|
||||
],
|
||||
"name": "Provisiones"
|
||||
},
|
||||
{
|
||||
"children": [
|
||||
{
|
||||
"name": "Cuentas por Pagar / Anticipos de Clientes",
|
||||
"report_type": "Balance Sheet"
|
||||
},
|
||||
{
|
||||
"name": "Cuentas por Pagar / (-) Intereses a Devengar por Compras al Cr\u00e9dito",
|
||||
"report_type": "Balance Sheet"
|
||||
},
|
||||
{
|
||||
"name": "Cuentas por Pagar / Proveedores",
|
||||
"report_type": "Balance Sheet"
|
||||
}
|
||||
],
|
||||
"name": "Cuentas por Pagar"
|
||||
},
|
||||
{
|
||||
"children": [
|
||||
{
|
||||
"name": "Pasivo Circulante / Debentures Emitidos",
|
||||
"report_type": "Balance Sheet"
|
||||
},
|
||||
{
|
||||
"name": "Pasivo Circulante / Intereses a Pagar",
|
||||
"report_type": "Balance Sheet"
|
||||
},
|
||||
{
|
||||
"name": "Pasivo Circulante / Obligaciones a Pagar",
|
||||
"report_type": "Balance Sheet"
|
||||
},
|
||||
{
|
||||
"name": "Pasivo Circulante / Prestamos",
|
||||
"report_type": "Balance Sheet"
|
||||
},
|
||||
{
|
||||
"name": "Pasivo Circulante / Adelantos en Cuenta Corriente",
|
||||
"report_type": "Balance Sheet"
|
||||
}
|
||||
],
|
||||
"name": "Pasivo Circulante"
|
||||
},
|
||||
{
|
||||
"children": [
|
||||
{
|
||||
"name": "Impuestos por Pagar / IVA a Pagar",
|
||||
"report_type": "Balance Sheet"
|
||||
},
|
||||
{
|
||||
"name": "Impuestos por Pagar / Impuesto a la Renta a Pagar",
|
||||
"report_type": "Balance Sheet"
|
||||
}
|
||||
],
|
||||
"name": "Impuestos por Pagar"
|
||||
}
|
||||
],
|
||||
"name": "PASIVOS"
|
||||
},
|
||||
{
|
||||
"children": [
|
||||
{
|
||||
"name": "Cuentas por Cobrar / Anticipo de Impuestos",
|
||||
"report_type": "Balance Sheet"
|
||||
},
|
||||
{
|
||||
"name": "Cuentas por Cobrar / Anticipos a Proveedores",
|
||||
"report_type": "Balance Sheet"
|
||||
},
|
||||
{
|
||||
"name": "Cuentas por Cobrar / Pr\u00e9stamos otorgados",
|
||||
"report_type": "Balance Sheet"
|
||||
},
|
||||
{
|
||||
"name": "Cuentas por Cobrar / Accionistas",
|
||||
"report_type": "Balance Sheet"
|
||||
},
|
||||
{
|
||||
"name": "Cuentas por Cobrar / Intereses Pagados por Adelantado",
|
||||
"report_type": "Balance Sheet"
|
||||
},
|
||||
{
|
||||
"name": "Cuentas por Cobrar / Alquileres Pagados por Adelantado",
|
||||
"report_type": "Balance Sheet"
|
||||
},
|
||||
{
|
||||
"name": "Cuentas por Cobrar / Anticipo al Personal",
|
||||
"report_type": "Balance Sheet"
|
||||
},
|
||||
{
|
||||
"name": "Cuentas por Cobrar / (-) Intereses (+) a Devengar",
|
||||
"report_type": "Balance Sheet"
|
||||
},
|
||||
{
|
||||
"name": "Cuentas por Cobrar / (-) Previsi\u00f3n para Descuentos",
|
||||
"report_type": "Balance Sheet"
|
||||
}
|
||||
],
|
||||
"name": "Cuentas por Cobrar"
|
||||
},
|
||||
{
|
||||
"children": [
|
||||
{
|
||||
"name": "Documentos por Cobrar / Deudores por Ventas",
|
||||
"report_type": "Balance Sheet"
|
||||
},
|
||||
{
|
||||
"name": "Documentos por Cobrar / Deudores Morosos",
|
||||
"report_type": "Balance Sheet"
|
||||
},
|
||||
{
|
||||
"name": "Documentos por Cobrar / Deudores en Gesti\u00f3n Judicial",
|
||||
"report_type": "Balance Sheet"
|
||||
},
|
||||
{
|
||||
"name": "Documentos por Cobrar / Deudores Varios",
|
||||
"report_type": "Balance Sheet"
|
||||
},
|
||||
{
|
||||
"name": "Documentos por Cobrar / (-) Previsi\u00f3n para Incobrables",
|
||||
"report_type": "Balance Sheet"
|
||||
}
|
||||
],
|
||||
"name": "Documentos por Cobrar"
|
||||
},
|
||||
{
|
||||
"children": [
|
||||
{
|
||||
"children": [
|
||||
{
|
||||
"name": "Activo Circulante - Valores a Depositar ",
|
||||
"report_type": "Balance Sheet"
|
||||
},
|
||||
{
|
||||
"children": [
|
||||
{
|
||||
"name": "Activo Circulante.../ BCO. CTA CTE CLP",
|
||||
"report_type": "Balance Sheet"
|
||||
}
|
||||
],
|
||||
"name": "Activo Circulante - Bancos"
|
||||
},
|
||||
{
|
||||
"name": "Activo Circulante - Recaudaciones a Depositar ",
|
||||
"report_type": "Balance Sheet"
|
||||
},
|
||||
{
|
||||
"children": [
|
||||
{
|
||||
"name": "Activo Circulante - Caja / efectivo CLP",
|
||||
"report_type": "Balance Sheet"
|
||||
}
|
||||
],
|
||||
"name": "Activo Circulante - Caja"
|
||||
},
|
||||
{
|
||||
"children": [
|
||||
{
|
||||
"name": "Activo Circulante - Fondos fijos / caja chica 01 CLP",
|
||||
"report_type": "Balance Sheet"
|
||||
}
|
||||
],
|
||||
"name": "Activo Circulante - Fondos fijos"
|
||||
},
|
||||
{
|
||||
"children": [
|
||||
{
|
||||
"name": "Activo Circulante - Caja / efectivo USD",
|
||||
"report_type": "Balance Sheet"
|
||||
}
|
||||
],
|
||||
"name": "Activo Circulante - Moneda Extranjera"
|
||||
}
|
||||
],
|
||||
"name": "Activo Circulante"
|
||||
},
|
||||
{
|
||||
"children": [
|
||||
{
|
||||
"children": [
|
||||
{
|
||||
"name": "Existencias - Mercader\u00edas / Categoria de productos 01",
|
||||
"report_type": "Balance Sheet"
|
||||
}
|
||||
],
|
||||
"name": "Existencias - Mercader\u00edas"
|
||||
},
|
||||
{
|
||||
"name": "Materias primas",
|
||||
"report_type": "Balance Sheet"
|
||||
},
|
||||
{
|
||||
"name": "Existencias - Mercader\u00edas en Tr\u00e1nsito",
|
||||
"report_type": "Balance Sheet"
|
||||
},
|
||||
{
|
||||
"name": "Productos Elaborados",
|
||||
"report_type": "Balance Sheet"
|
||||
},
|
||||
{
|
||||
"name": "Productos en Curso de Elaboraci\u00f3n",
|
||||
"report_type": "Balance Sheet"
|
||||
},
|
||||
{
|
||||
"name": "(-) Previsi\u00f3n para Desvalorizaci\u00f3n de Existencias",
|
||||
"report_type": "Balance Sheet"
|
||||
},
|
||||
{
|
||||
"name": "Materiales Varios ",
|
||||
"report_type": "Balance Sheet"
|
||||
}
|
||||
],
|
||||
"name": "Existencias"
|
||||
},
|
||||
{
|
||||
"children": [
|
||||
{
|
||||
"name": "Inversiones / (-) Previsi\u00f3n para Devalorizaci\u00f3n de Acciones",
|
||||
"report_type": "Balance Sheet"
|
||||
},
|
||||
{
|
||||
"name": "Inversiones / Acciones Permanentes",
|
||||
"report_type": "Balance Sheet"
|
||||
},
|
||||
{
|
||||
"name": "Inversiones / T\u00edtulos P\u00fablicos",
|
||||
"report_type": "Balance Sheet"
|
||||
},
|
||||
{
|
||||
"name": "Inversiones / Acciones Transitorias",
|
||||
"report_type": "Balance Sheet"
|
||||
}
|
||||
],
|
||||
"name": "Inversiones Financieras"
|
||||
},
|
||||
{
|
||||
"children": [
|
||||
{
|
||||
"name": "Activo Intangible / (-) Amortizaci\u00f3n Acumulada",
|
||||
"report_type": "Balance Sheet"
|
||||
},
|
||||
{
|
||||
"name": "Activo Intangible / Marcas y Patentes de Invenci\u00f3n",
|
||||
"report_type": "Balance Sheet"
|
||||
},
|
||||
{
|
||||
"name": "Activo Intangible / Concesiones y Franquicias",
|
||||
"report_type": "Balance Sheet"
|
||||
},
|
||||
{
|
||||
"name": "Activo Intangible / Derecho de Llaves",
|
||||
"report_type": "Balance Sheet"
|
||||
}
|
||||
],
|
||||
"name": "Activo Intangible"
|
||||
},
|
||||
{
|
||||
"children": [
|
||||
{
|
||||
"name": "Activo Fijo / Inmuebles",
|
||||
"report_type": "Balance Sheet"
|
||||
},
|
||||
{
|
||||
"name": "Activo Fijo / Maquinaria",
|
||||
"report_type": "Balance Sheet"
|
||||
},
|
||||
{
|
||||
"name": "Activo Fijo / Material Rodante Motorizado",
|
||||
"report_type": "Balance Sheet"
|
||||
},
|
||||
{
|
||||
"name": "Activo Fijo / (-) Depreciaci\u00f3n Acumulada",
|
||||
"report_type": "Balance Sheet"
|
||||
},
|
||||
{
|
||||
"name": "Activo Fijo / Equipos",
|
||||
"report_type": "Balance Sheet"
|
||||
}
|
||||
],
|
||||
"name": "Activo Fijo"
|
||||
}
|
||||
],
|
||||
"name": "ACTIVOS"
|
||||
}
|
||||
],
|
||||
"name": "inventario del Balance General"
|
||||
},
|
||||
{
|
||||
"children": [
|
||||
{
|
||||
"children": [
|
||||
{
|
||||
"name": "Compras - Categoria de productos 01"
|
||||
}
|
||||
],
|
||||
"name": "Compras"
|
||||
},
|
||||
{
|
||||
"name": "Costos de Producci\u00f3n",
|
||||
"report_type": "Profit and Loss"
|
||||
},
|
||||
{
|
||||
"name": "Gastos de Administraci\u00f3n",
|
||||
"report_type": "Profit and Loss"
|
||||
},
|
||||
{
|
||||
"name": "Gastos de Comercializaci\u00f3n",
|
||||
"report_type": "Profit and Loss"
|
||||
}
|
||||
],
|
||||
"name": "Cuentas de Movimiento"
|
||||
}
|
||||
],
|
||||
"name": "Chile"
|
||||
}
|
||||
}
|
@ -3,452 +3,452 @@
|
||||
"root": {
|
||||
"children": [
|
||||
{
|
||||
"name": "\u957f\u671f\u5e94\u6536\u6b3e",
|
||||
"root_type": "Asset"
|
||||
},
|
||||
{
|
||||
"name": "\u94f6\u884c\u5b58\u6b3e",
|
||||
"root_type": "Asset"
|
||||
},
|
||||
{
|
||||
"name": "\u73b0\u91d1",
|
||||
"root_type": "Asset"
|
||||
},
|
||||
{
|
||||
"name": "\u8425\u4e1a\u7a0e\u91d1\u53ca\u9644\u52a0",
|
||||
"root_type": "Expense"
|
||||
},
|
||||
{
|
||||
"name": "\u5176\u4ed6\u4e1a\u52a1\u652f\u51fa",
|
||||
"root_type": "Expense"
|
||||
},
|
||||
{
|
||||
"name": "\u4e3b\u8425\u4e1a\u52a1\u6210\u672c",
|
||||
"root_type": "Expense"
|
||||
},
|
||||
{
|
||||
"name": "\u8d44\u672c\u516c\u79ef",
|
||||
"root_type": "Liability"
|
||||
},
|
||||
{
|
||||
"name": "\u9012\u5ef6\u6240\u5f97\u7a0e\u8d1f\u503a",
|
||||
"root_type": "Liability"
|
||||
},
|
||||
{
|
||||
"name": "\u56fa\u5b9a\u8d44\u4ea7",
|
||||
"root_type": "Asset"
|
||||
},
|
||||
{
|
||||
"name": "\u7d2f\u8ba1\u6298\u65e7",
|
||||
"root_type": "Asset"
|
||||
},
|
||||
{
|
||||
"name": "\u5f85\u5904\u7406\u8d22\u4ea7\u635f\u6ea2",
|
||||
"root_type": "Asset"
|
||||
},
|
||||
{
|
||||
"name": "\u5176\u4ed6\u4e1a\u52a1\u6536\u5165",
|
||||
"root_type": "Income"
|
||||
},
|
||||
{
|
||||
"name": "\u77ed\u671f\u501f\u6b3e",
|
||||
"root_type": "Liability"
|
||||
},
|
||||
{
|
||||
"name": "\u5e94\u4ed8\u804c\u5de5\u85aa\u916c",
|
||||
"root_type": "Liability"
|
||||
},
|
||||
{
|
||||
"name": "\u574f\u8d26\u51c6\u5907",
|
||||
"root_type": "Asset"
|
||||
},
|
||||
{
|
||||
"name": "\u5e94\u4ed8\u80a1\u5229",
|
||||
"root_type": "Liability"
|
||||
},
|
||||
{
|
||||
"name": "\u5e94\u4ed8\u5229\u606f",
|
||||
"root_type": "Liability"
|
||||
},
|
||||
{
|
||||
"name": "\u957f\u671f\u6295\u8d44\u51cf\u503c\u51c6\u5907",
|
||||
"root_type": "Asset"
|
||||
},
|
||||
{
|
||||
"name": "\u957f\u671f\u80a1\u6743\u6295\u8d44",
|
||||
"root_type": "Asset"
|
||||
},
|
||||
{
|
||||
"name": "\u65e0\u5f62\u8d44\u4ea7",
|
||||
"root_type": "Asset"
|
||||
},
|
||||
{
|
||||
"name": "\u65e0\u5f62\u8d44\u4ea7\u51cf\u503c\u51c6\u5907",
|
||||
"root_type": "Asset"
|
||||
},
|
||||
{
|
||||
"name": "\u7d2f\u8ba1\u644a\u9500",
|
||||
"root_type": "Asset"
|
||||
},
|
||||
{
|
||||
"name": "\u5229\u6da6\u5206\u914d",
|
||||
"root_type": "Liability"
|
||||
},
|
||||
{
|
||||
"name": "\u76c8\u4f59\u516c\u79ef",
|
||||
"root_type": "Liability"
|
||||
},
|
||||
{
|
||||
"name": "\u672c\u5e74\u5229\u6da6",
|
||||
"root_type": "Liability"
|
||||
},
|
||||
{
|
||||
"name": "\u9884\u8ba1\u8d1f\u503a",
|
||||
"root_type": "Liability"
|
||||
},
|
||||
{
|
||||
"name": "\u8425\u4e1a\u5916\u652f\u51fa",
|
||||
"root_type": "Expense"
|
||||
},
|
||||
{
|
||||
"name": "\u957f\u671f\u501f\u6b3e",
|
||||
"root_type": "Liability"
|
||||
},
|
||||
{
|
||||
"name": "\u957f\u671f\u503a\u5238",
|
||||
"root_type": "Liability"
|
||||
},
|
||||
{
|
||||
"name": "\u957f\u671f\u5f85\u644a\u8d39\u7528",
|
||||
"root_type": "Asset"
|
||||
},
|
||||
{
|
||||
"name": "\u5e94\u6536\u7968\u636e",
|
||||
"root_type": "Asset"
|
||||
},
|
||||
{
|
||||
"name": "\u9884\u4ed8\u8d26\u6b3e",
|
||||
"root_type": "Asset"
|
||||
},
|
||||
{
|
||||
"name": "\u5e94\u6536\u8d26\u6b3e",
|
||||
"root_type": "Asset"
|
||||
},
|
||||
{
|
||||
"name": "\u516c\u5141\u4ef7\u503c\u53d8\u52a8\u635f\u76ca",
|
||||
"root_type": "Income"
|
||||
"name": "\u4ee5\u524d\u5e74\u5ea6\u635f\u76ca\u8c03\u6574",
|
||||
"report_type": "Profit and Loss"
|
||||
},
|
||||
{
|
||||
"name": "\u5236\u9020\u8d39\u7528",
|
||||
"root_type": "Expense"
|
||||
"report_type": "Profit and Loss"
|
||||
},
|
||||
{
|
||||
"name": "\u4ea4\u6613\u6027\u91d1\u878d\u8d1f\u503a",
|
||||
"root_type": "Liability"
|
||||
},
|
||||
{
|
||||
"name": "\u4ea4\u6613\u6027\u91d1\u878d\u8d44\u4ea7",
|
||||
"root_type": "Asset"
|
||||
},
|
||||
{
|
||||
"name": "\u4ee3\u7406\u4e1a\u52a1\u8d1f\u503a",
|
||||
"root_type": "Liability"
|
||||
},
|
||||
{
|
||||
"name": "\u56fa\u5b9a\u8d44\u4ea7\u6e05\u7406",
|
||||
"root_type": "Asset"
|
||||
},
|
||||
{
|
||||
"name": "\u6240\u5f97\u7a0e",
|
||||
"root_type": "Expense"
|
||||
},
|
||||
{
|
||||
"name": "\u88ab\u5957\u671f\u9879\u76ee",
|
||||
"root_type": "Liability"
|
||||
},
|
||||
{
|
||||
"name": "\u5b9e\u6536\u8d44\u672c",
|
||||
"root_type": "Liability"
|
||||
},
|
||||
{
|
||||
"name": "\u59d4\u6258\u52a0\u5de5\u7269\u8d44",
|
||||
"root_type": "Asset"
|
||||
},
|
||||
{
|
||||
"name": "\u5546\u54c1\u8fdb\u9500\u5dee\u4ef7",
|
||||
"root_type": "Asset"
|
||||
},
|
||||
{
|
||||
"name": "\u5305\u88c5\u7269\u53ca\u4f4e\u503c\u6613\u8017\u54c1",
|
||||
"root_type": "Asset"
|
||||
},
|
||||
{
|
||||
"name": "\u9012\u5ef6\u6536\u76ca",
|
||||
"root_type": "Liability"
|
||||
},
|
||||
{
|
||||
"name": "\u8425\u4e1a\u5916\u6536\u5165",
|
||||
"root_type": "Income"
|
||||
},
|
||||
{
|
||||
"name": "\u7814\u53d1\u652f\u51fa",
|
||||
"root_type": "Expense"
|
||||
"name": "\u9884\u63d0\u8d39\u7528",
|
||||
"report_type": "Balance Sheet"
|
||||
},
|
||||
{
|
||||
"name": "\u5728\u5efa\u5de5\u7a0b",
|
||||
"root_type": "Asset"
|
||||
"report_type": "Balance Sheet"
|
||||
},
|
||||
{
|
||||
"name": "\u5de5\u7a0b\u7269\u8d44",
|
||||
"root_type": "Asset"
|
||||
"report_type": "Balance Sheet"
|
||||
},
|
||||
{
|
||||
"name": "\u56fa\u5b9a\u8d44\u4ea7\u51cf\u503c\u51c6\u5907",
|
||||
"root_type": "Asset"
|
||||
"name": "\u56fa\u5b9a\u8d44\u4ea7\u6e05\u7406",
|
||||
"report_type": "Balance Sheet"
|
||||
},
|
||||
{
|
||||
"name": "\u5176\u4ed6\u8d27\u5e01\u8d44\u91d1",
|
||||
"root_type": "Asset"
|
||||
"name": "\u56fa\u5b9a\u8d44\u4ea7",
|
||||
"report_type": "Balance Sheet"
|
||||
},
|
||||
{
|
||||
"name": "\u5176\u4ed6\u5e94\u6536\u6b3e",
|
||||
"root_type": "Asset"
|
||||
"name": "\u7d2f\u8ba1\u6298\u65e7",
|
||||
"report_type": "Balance Sheet"
|
||||
},
|
||||
{
|
||||
"name": "\u9500\u552e\u8d39\u7528",
|
||||
"root_type": "Expense"
|
||||
"name": "\u4ee3\u7406\u4e1a\u52a1\u8d1f\u503a",
|
||||
"report_type": "Balance Sheet"
|
||||
},
|
||||
{
|
||||
"name": "\u8d22\u52a1\u8d39\u7528",
|
||||
"root_type": "Expense"
|
||||
"name": "\u65e0\u5f62\u8d44\u4ea7",
|
||||
"report_type": "Balance Sheet"
|
||||
},
|
||||
{
|
||||
"name": "\u7ba1\u7406\u8d39\u7528",
|
||||
"root_type": "Expense"
|
||||
"name": "\u65e0\u5f62\u8d44\u4ea7\u51cf\u503c\u51c6\u5907",
|
||||
"report_type": "Balance Sheet"
|
||||
},
|
||||
{
|
||||
"name": "\u751f\u4ea7\u6210\u672c",
|
||||
"root_type": "Expense"
|
||||
"name": "\u7d2f\u8ba1\u644a\u9500",
|
||||
"report_type": "Balance Sheet"
|
||||
},
|
||||
{
|
||||
"name": "\u8425\u4e1a\u7a0e\u91d1\u53ca\u9644\u52a0",
|
||||
"report_type": "Profit and Loss"
|
||||
},
|
||||
{
|
||||
"name": "\u5176\u4ed6\u4e1a\u52a1\u652f\u51fa",
|
||||
"report_type": "Profit and Loss"
|
||||
},
|
||||
{
|
||||
"name": "\u4e3b\u8425\u4e1a\u52a1\u6210\u672c",
|
||||
"report_type": "Profit and Loss"
|
||||
},
|
||||
{
|
||||
"name": "\u7814\u53d1\u652f\u51fa",
|
||||
"report_type": "Profit and Loss"
|
||||
},
|
||||
{
|
||||
"name": "\u9884\u8ba1\u8d1f\u503a",
|
||||
"report_type": "Balance Sheet"
|
||||
},
|
||||
{
|
||||
"name": "\u9884\u6536\u8d26\u6b3e",
|
||||
"root_type": "Liability"
|
||||
"report_type": "Balance Sheet"
|
||||
},
|
||||
{
|
||||
"name": "\u5e94\u4ed8\u7968\u636e",
|
||||
"root_type": "Liability"
|
||||
"report_type": "Balance Sheet"
|
||||
},
|
||||
{
|
||||
"name": "\u5e94\u4ed8\u8d26\u6b3e",
|
||||
"root_type": "Liability"
|
||||
"name": "\u5546\u8a89",
|
||||
"report_type": "Balance Sheet"
|
||||
},
|
||||
{
|
||||
"name": "\u4e3b\u8425\u4e1a\u52a1\u6536\u5165",
|
||||
"root_type": "Income"
|
||||
"name": "\u6240\u5f97\u7a0e",
|
||||
"report_type": "Profit and Loss"
|
||||
},
|
||||
{
|
||||
"name": "\u6301\u6709\u81f3\u5230\u671f\u6295\u8d44",
|
||||
"root_type": "Asset"
|
||||
"name": "\u5176\u4ed6\u8d27\u5e01\u8d44\u91d1",
|
||||
"report_type": "Balance Sheet"
|
||||
},
|
||||
{
|
||||
"name": "\u672a\u5b9e\u73b0\u878d\u8d44\u6536\u76ca",
|
||||
"report_type": "Balance Sheet"
|
||||
},
|
||||
{
|
||||
"name": "\u5b58\u8d27\u8dcc\u4ef7\u51c6\u5907",
|
||||
"report_type": "Balance Sheet"
|
||||
},
|
||||
{
|
||||
"name": "\u8425\u4e1a\u5916\u652f\u51fa",
|
||||
"report_type": "Profit and Loss"
|
||||
},
|
||||
{
|
||||
"name": "\u53ef\u4f9b\u51fa\u552e\u91d1\u878d\u8d44\u4ea7",
|
||||
"root_type": "Asset"
|
||||
"report_type": "Balance Sheet"
|
||||
},
|
||||
{
|
||||
"name": "\u8425\u4e1a\u5916\u6536\u5165",
|
||||
"report_type": "Profit and Loss"
|
||||
},
|
||||
{
|
||||
"name": "\u957f\u671f\u501f\u6b3e",
|
||||
"report_type": "Balance Sheet"
|
||||
},
|
||||
{
|
||||
"name": "\u957f\u671f\u503a\u5238",
|
||||
"report_type": "Balance Sheet"
|
||||
},
|
||||
{
|
||||
"name": "\u5e94\u4ed8\u804c\u5de5\u85aa\u916c",
|
||||
"report_type": "Balance Sheet"
|
||||
},
|
||||
{
|
||||
"name": "\u94f6\u884c\u5b58\u6b3e",
|
||||
"report_type": "Balance Sheet"
|
||||
},
|
||||
{
|
||||
"name": "\u73b0\u91d1",
|
||||
"report_type": "Balance Sheet"
|
||||
},
|
||||
{
|
||||
"name": "\u884d\u751f\u5de5\u5177",
|
||||
"report_type": "Balance Sheet"
|
||||
},
|
||||
{
|
||||
"name": "\u6301\u6709\u81f3\u5230\u671f\u6295\u8d44\u51cf\u503c\u51c6\u5907",
|
||||
"root_type": "Asset"
|
||||
"report_type": "Balance Sheet"
|
||||
},
|
||||
{
|
||||
"name": "\u5957\u671f\u5de5\u5177",
|
||||
"report_type": "Balance Sheet"
|
||||
},
|
||||
{
|
||||
"name": "\u751f\u4ea7\u6210\u672c",
|
||||
"report_type": "Profit and Loss"
|
||||
},
|
||||
{
|
||||
"name": "\u5b9e\u6536\u8d44\u672c",
|
||||
"report_type": "Balance Sheet"
|
||||
},
|
||||
{
|
||||
"name": "\u59d4\u6258\u52a0\u5de5\u7269\u8d44",
|
||||
"report_type": "Balance Sheet"
|
||||
},
|
||||
{
|
||||
"name": "\u5546\u54c1\u8fdb\u9500\u5dee\u4ef7",
|
||||
"report_type": "Balance Sheet"
|
||||
},
|
||||
{
|
||||
"name": "\u5305\u88c5\u7269\u53ca\u4f4e\u503c\u6613\u8017\u54c1",
|
||||
"report_type": "Balance Sheet"
|
||||
},
|
||||
{
|
||||
"name": "\u5229\u6da6\u5206\u914d",
|
||||
"report_type": "Balance Sheet"
|
||||
},
|
||||
{
|
||||
"name": "\u76c8\u4f59\u516c\u79ef",
|
||||
"report_type": "Balance Sheet"
|
||||
},
|
||||
{
|
||||
"name": "\u672c\u5e74\u5229\u6da6",
|
||||
"report_type": "Balance Sheet"
|
||||
},
|
||||
{
|
||||
"name": "\u8d44\u672c\u516c\u79ef",
|
||||
"report_type": "Balance Sheet"
|
||||
},
|
||||
{
|
||||
"name": "\u4ee3\u7406\u4e1a\u52a1\u8d44\u4ea7",
|
||||
"report_type": "Balance Sheet"
|
||||
},
|
||||
{
|
||||
"name": "\u9012\u5ef6\u6536\u76ca",
|
||||
"report_type": "Balance Sheet"
|
||||
},
|
||||
{
|
||||
"name": "\u9012\u5ef6\u6240\u5f97\u7a0e\u8d44\u4ea7",
|
||||
"report_type": "Balance Sheet"
|
||||
},
|
||||
{
|
||||
"name": "\u52b3\u52a1\u6210\u672c",
|
||||
"root_type": "Expense"
|
||||
"report_type": "Profit and Loss"
|
||||
},
|
||||
{
|
||||
"name": "\u6301\u6709\u81f3\u5230\u671f\u6295\u8d44",
|
||||
"report_type": "Balance Sheet"
|
||||
},
|
||||
{
|
||||
"name": "\u5e93\u5b58\u5546\u54c1",
|
||||
"report_type": "Balance Sheet"
|
||||
},
|
||||
{
|
||||
"name": "\u53d1\u51fa\u5546\u54c1",
|
||||
"report_type": "Balance Sheet"
|
||||
},
|
||||
{
|
||||
"name": "\u6750\u6599\u6210\u672c\u5dee\u5f02",
|
||||
"report_type": "Balance Sheet"
|
||||
},
|
||||
{
|
||||
"name": "\u5e94\u4ed8\u8d26\u6b3e",
|
||||
"report_type": "Balance Sheet"
|
||||
},
|
||||
{
|
||||
"name": "\u5728\u9014\u7269\u8d44",
|
||||
"report_type": "Balance Sheet"
|
||||
},
|
||||
{
|
||||
"name": "\u539f\u6750\u6599",
|
||||
"report_type": "Balance Sheet"
|
||||
},
|
||||
{
|
||||
"name": "\u6750\u6599\u91c7\u8d2d",
|
||||
"report_type": "Balance Sheet"
|
||||
},
|
||||
{
|
||||
"name": "\u957f\u671f\u80a1\u6743\u6295\u8d44",
|
||||
"report_type": "Balance Sheet"
|
||||
},
|
||||
{
|
||||
"name": "\u6295\u8d44\u6027\u623f\u5730\u4ea7",
|
||||
"root_type": "Asset"
|
||||
"report_type": "Balance Sheet"
|
||||
},
|
||||
{
|
||||
"name": "\u957f\u671f\u6295\u8d44\u51cf\u503c\u51c6\u5907",
|
||||
"report_type": "Balance Sheet"
|
||||
},
|
||||
{
|
||||
"name": "\u5176\u4ed6\u5e94\u6536\u6b3e",
|
||||
"report_type": "Balance Sheet"
|
||||
},
|
||||
{
|
||||
"name": "\u957f\u671f\u5f85\u644a\u8d39\u7528",
|
||||
"report_type": "Balance Sheet"
|
||||
},
|
||||
{
|
||||
"name": "\u9012\u5ef6\u6240\u5f97\u7a0e\u8d1f\u503a",
|
||||
"report_type": "Balance Sheet"
|
||||
},
|
||||
{
|
||||
"name": "\u88ab\u5957\u671f\u9879\u76ee",
|
||||
"report_type": "Balance Sheet"
|
||||
},
|
||||
{
|
||||
"name": "\u4ea4\u6613\u6027\u91d1\u878d\u8d1f\u503a",
|
||||
"report_type": "Balance Sheet"
|
||||
},
|
||||
{
|
||||
"name": "\u9500\u552e\u8d39\u7528",
|
||||
"report_type": "Profit and Loss"
|
||||
},
|
||||
{
|
||||
"name": "\u574f\u8d26\u51c6\u5907",
|
||||
"report_type": "Balance Sheet"
|
||||
},
|
||||
{
|
||||
"name": "\u8d22\u52a1\u8d39\u7528",
|
||||
"report_type": "Profit and Loss"
|
||||
},
|
||||
{
|
||||
"name": "\u7ba1\u7406\u8d39\u7528",
|
||||
"report_type": "Profit and Loss"
|
||||
},
|
||||
{
|
||||
"children": [
|
||||
{
|
||||
"children": [
|
||||
{
|
||||
"name": "\u8fdb\u9879\u7a0e\u989d\u8f6c\u51fa",
|
||||
"root_type": "Liability"
|
||||
},
|
||||
{
|
||||
"name": "\u51fa\u53e3\u9000\u7a0e",
|
||||
"root_type": "Liability"
|
||||
},
|
||||
{
|
||||
"name": "\u9500\u9879\u7a0e\u989d",
|
||||
"root_type": "Liability"
|
||||
},
|
||||
{
|
||||
"name": "\u51cf\u514d\u7a0e\u6b3e",
|
||||
"root_type": "Liability"
|
||||
},
|
||||
{
|
||||
"name": "\u8f6c\u51fa\u672a\u4ea4\u589e\u503c\u7a0e",
|
||||
"root_type": "Liability"
|
||||
},
|
||||
{
|
||||
"name": "\u5df2\u4ea4\u7a0e\u91d1",
|
||||
"root_type": "Liability"
|
||||
},
|
||||
{
|
||||
"name": "\u8fdb\u9879\u7a0e\u989d",
|
||||
"root_type": "Liability"
|
||||
},
|
||||
{
|
||||
"name": "\u8f6c\u51fa\u591a\u4ea4\u589e\u503c\u7a0e",
|
||||
"root_type": "Liability"
|
||||
},
|
||||
{
|
||||
"name": "\u51fa\u53e3\u62b5\u51cf\u5185\u9500\u4ea7\u54c1\u5e94\u7eb3\u7a0e\u989d",
|
||||
"root_type": "Liability"
|
||||
},
|
||||
{
|
||||
"name": "\u672a\u4ea4\u589e\u503c\u7a0e",
|
||||
"root_type": "Liability"
|
||||
}
|
||||
],
|
||||
"name": "\u5e94\u4ea4\u589e\u503c\u7a0e",
|
||||
"root_type": "Liability"
|
||||
},
|
||||
{
|
||||
"name": "\u5e94\u4ea4\u8425\u4e1a\u7a0e",
|
||||
"root_type": "Liability"
|
||||
},
|
||||
{
|
||||
"name": "\u5e94\u4ea4\u6d88\u8d39\u7a0e",
|
||||
"root_type": "Liability"
|
||||
},
|
||||
{
|
||||
"name": "\u5e94\u4ea4\u8d44\u6e90\u7a0e",
|
||||
"root_type": "Liability"
|
||||
},
|
||||
{
|
||||
"name": "\u5e94\u4ea4\u6240\u5f97\u7a0e",
|
||||
"root_type": "Liability"
|
||||
},
|
||||
{
|
||||
"name": "\u5e94\u4ea4\u571f\u5730\u589e\u503c\u7a0e",
|
||||
"root_type": "Liability"
|
||||
},
|
||||
{
|
||||
"name": "\u5e94\u4ea4\u57ce\u5e02\u7ef4\u62a4\u5efa\u8bbe\u7a0e",
|
||||
"root_type": "Liability"
|
||||
},
|
||||
{
|
||||
"name": "\u5e94\u4ea4\u623f\u4ea7\u7a0e",
|
||||
"root_type": "Liability"
|
||||
},
|
||||
{
|
||||
"name": "\u5e94\u4ea4\u571f\u5730\u4f7f\u7528\u7a0e",
|
||||
"root_type": "Liability"
|
||||
},
|
||||
{
|
||||
"name": "\u5e94\u4ea4\u4e2a\u4eba\u6240\u5f97\u7a0e",
|
||||
"root_type": "Liability"
|
||||
"report_type": "Balance Sheet"
|
||||
},
|
||||
{
|
||||
"name": "\u5e94\u4ea4\u8f66\u8239\u4f7f\u7528\u7a0e",
|
||||
"root_type": "Liability"
|
||||
"report_type": "Balance Sheet"
|
||||
},
|
||||
{
|
||||
"children": [
|
||||
{
|
||||
"name": "\u8fdb\u9879\u7a0e\u989d\u8f6c\u51fa",
|
||||
"report_type": "Balance Sheet"
|
||||
},
|
||||
{
|
||||
"name": "\u51fa\u53e3\u9000\u7a0e",
|
||||
"report_type": "Balance Sheet"
|
||||
},
|
||||
{
|
||||
"name": "\u9500\u9879\u7a0e\u989d",
|
||||
"report_type": "Balance Sheet"
|
||||
},
|
||||
{
|
||||
"name": "\u51cf\u514d\u7a0e\u6b3e",
|
||||
"report_type": "Balance Sheet"
|
||||
},
|
||||
{
|
||||
"name": "\u8f6c\u51fa\u672a\u4ea4\u589e\u503c\u7a0e",
|
||||
"report_type": "Balance Sheet"
|
||||
},
|
||||
{
|
||||
"name": "\u8fdb\u9879\u7a0e\u989d",
|
||||
"report_type": "Balance Sheet"
|
||||
},
|
||||
{
|
||||
"name": "\u8f6c\u51fa\u591a\u4ea4\u589e\u503c\u7a0e",
|
||||
"report_type": "Balance Sheet"
|
||||
},
|
||||
{
|
||||
"name": "\u51fa\u53e3\u62b5\u51cf\u5185\u9500\u4ea7\u54c1\u5e94\u7eb3\u7a0e\u989d",
|
||||
"report_type": "Balance Sheet"
|
||||
},
|
||||
{
|
||||
"name": "\u5df2\u4ea4\u7a0e\u91d1",
|
||||
"report_type": "Balance Sheet"
|
||||
},
|
||||
{
|
||||
"name": "\u672a\u4ea4\u589e\u503c\u7a0e",
|
||||
"report_type": "Balance Sheet"
|
||||
}
|
||||
],
|
||||
"name": "\u5e94\u4ea4\u589e\u503c\u7a0e",
|
||||
"report_type": "Balance Sheet"
|
||||
},
|
||||
{
|
||||
"name": "\u5e94\u4ea4\u8425\u4e1a\u7a0e",
|
||||
"report_type": "Balance Sheet"
|
||||
},
|
||||
{
|
||||
"name": "\u5e94\u4ea4\u6d88\u8d39\u7a0e",
|
||||
"report_type": "Balance Sheet"
|
||||
},
|
||||
{
|
||||
"name": "\u5e94\u4ea4\u8d44\u6e90\u7a0e",
|
||||
"report_type": "Balance Sheet"
|
||||
},
|
||||
{
|
||||
"name": "\u5e94\u4ea4\u6240\u5f97\u7a0e",
|
||||
"report_type": "Balance Sheet"
|
||||
},
|
||||
{
|
||||
"name": "\u5e94\u4ea4\u571f\u5730\u589e\u503c\u7a0e",
|
||||
"report_type": "Balance Sheet"
|
||||
},
|
||||
{
|
||||
"name": "\u5e94\u4ea4\u57ce\u5e02\u7ef4\u62a4\u5efa\u8bbe\u7a0e",
|
||||
"report_type": "Balance Sheet"
|
||||
},
|
||||
{
|
||||
"name": "\u5e94\u4ea4\u623f\u4ea7\u7a0e",
|
||||
"report_type": "Balance Sheet"
|
||||
},
|
||||
{
|
||||
"name": "\u5e94\u4ea4\u571f\u5730\u4f7f\u7528\u7a0e",
|
||||
"report_type": "Balance Sheet"
|
||||
}
|
||||
],
|
||||
"name": "\u5e94\u4ea4\u7a0e\u8d39",
|
||||
"root_type": "Liability"
|
||||
"report_type": "Balance Sheet"
|
||||
},
|
||||
{
|
||||
"name": "\u884d\u751f\u5de5\u5177",
|
||||
"root_type": "Liability"
|
||||
"name": "\u56fa\u5b9a\u8d44\u4ea7\u51cf\u503c\u51c6\u5907",
|
||||
"report_type": "Balance Sheet"
|
||||
},
|
||||
{
|
||||
"name": "\u5957\u671f\u5de5\u5177",
|
||||
"root_type": "Liability"
|
||||
"name": "\u5e94\u6536\u7968\u636e",
|
||||
"report_type": "Balance Sheet"
|
||||
},
|
||||
{
|
||||
"name": "\u5f85\u644a\u8d39\u7528",
|
||||
"root_type": "Asset"
|
||||
"name": "\u9884\u4ed8\u8d26\u6b3e",
|
||||
"report_type": "Balance Sheet"
|
||||
},
|
||||
{
|
||||
"name": "\u9884\u63d0\u8d39\u7528",
|
||||
"root_type": "Liability"
|
||||
},
|
||||
{
|
||||
"name": "\u5546\u8a89",
|
||||
"root_type": "Asset"
|
||||
},
|
||||
{
|
||||
"name": "\u672a\u5b9e\u73b0\u878d\u8d44\u6536\u76ca",
|
||||
"root_type": "Asset"
|
||||
},
|
||||
{
|
||||
"name": "\u9012\u5ef6\u6240\u5f97\u7a0e\u8d44\u4ea7",
|
||||
"root_type": "Asset"
|
||||
"name": "\u5e94\u6536\u8d26\u6b3e",
|
||||
"report_type": "Balance Sheet"
|
||||
},
|
||||
{
|
||||
"name": "\u8d44\u4ea7\u51cf\u503c\u635f\u5931",
|
||||
"root_type": "Expense"
|
||||
"report_type": "Profit and Loss"
|
||||
},
|
||||
{
|
||||
"name": "\u957f\u671f\u5e94\u6536\u6b3e",
|
||||
"report_type": "Balance Sheet"
|
||||
},
|
||||
{
|
||||
"name": "\u5f85\u644a\u8d39\u7528",
|
||||
"report_type": "Balance Sheet"
|
||||
},
|
||||
{
|
||||
"name": "\u6295\u8d44\u6536\u76ca",
|
||||
"root_type": "Income"
|
||||
"report_type": "Profit and Loss"
|
||||
},
|
||||
{
|
||||
"name": "\u5e94\u6536\u5229\u606f",
|
||||
"root_type": "Asset"
|
||||
"report_type": "Balance Sheet"
|
||||
},
|
||||
{
|
||||
"name": "\u5e94\u4ed8\u80a1\u5229",
|
||||
"report_type": "Balance Sheet"
|
||||
},
|
||||
{
|
||||
"name": "\u5e94\u4ed8\u5229\u606f",
|
||||
"report_type": "Balance Sheet"
|
||||
},
|
||||
{
|
||||
"name": "\u5e94\u6536\u80a1\u5229",
|
||||
"root_type": "Asset"
|
||||
"report_type": "Balance Sheet"
|
||||
},
|
||||
{
|
||||
"name": "\u672a\u786e\u8ba4\u878d\u8d44\u8d39\u7528",
|
||||
"root_type": "Liability"
|
||||
},
|
||||
{
|
||||
"name": "\u957f\u671f\u5e94\u4ed8\u6b3e",
|
||||
"root_type": "Liability"
|
||||
},
|
||||
{
|
||||
"name": "\u4ee5\u524d\u5e74\u5ea6\u635f\u76ca\u8c03\u6574",
|
||||
"root_type": "Income"
|
||||
},
|
||||
{
|
||||
"name": "\u5b58\u8d27\u8dcc\u4ef7\u51c6\u5907",
|
||||
"root_type": "Asset"
|
||||
},
|
||||
{
|
||||
"name": "\u4ee3\u7406\u4e1a\u52a1\u8d44\u4ea7",
|
||||
"root_type": "Asset"
|
||||
"name": "\u4e3b\u8425\u4e1a\u52a1\u6536\u5165",
|
||||
"report_type": "Profit and Loss"
|
||||
},
|
||||
{
|
||||
"name": "\u5e93\u5b58\u80a1",
|
||||
"root_type": "Liability"
|
||||
"report_type": "Balance Sheet"
|
||||
},
|
||||
{
|
||||
"name": "\u5e93\u5b58\u5546\u54c1",
|
||||
"root_type": "Asset"
|
||||
"name": "\u5f85\u5904\u7406\u8d22\u4ea7\u635f\u6ea2",
|
||||
"report_type": "Balance Sheet"
|
||||
},
|
||||
{
|
||||
"name": "\u53d1\u51fa\u5546\u54c1",
|
||||
"root_type": "Asset"
|
||||
"name": "\u672a\u786e\u8ba4\u878d\u8d44\u8d39\u7528",
|
||||
"report_type": "Balance Sheet"
|
||||
},
|
||||
{
|
||||
"name": "\u6750\u6599\u6210\u672c\u5dee\u5f02",
|
||||
"root_type": "Asset"
|
||||
"name": "\u957f\u671f\u5e94\u4ed8\u6b3e",
|
||||
"report_type": "Balance Sheet"
|
||||
},
|
||||
{
|
||||
"name": "\u5728\u9014\u7269\u8d44",
|
||||
"root_type": "Asset"
|
||||
"name": "\u5176\u4ed6\u4e1a\u52a1\u6536\u5165",
|
||||
"report_type": "Profit and Loss"
|
||||
},
|
||||
{
|
||||
"name": "\u539f\u6750\u6599",
|
||||
"root_type": "Asset"
|
||||
"name": "\u4ea4\u6613\u6027\u91d1\u878d\u8d44\u4ea7",
|
||||
"report_type": "Balance Sheet"
|
||||
},
|
||||
{
|
||||
"name": "\u6750\u6599\u91c7\u8d2d",
|
||||
"root_type": "Asset"
|
||||
"name": "\u77ed\u671f\u501f\u6b3e",
|
||||
"report_type": "Balance Sheet"
|
||||
},
|
||||
{
|
||||
"name": "\u516c\u5141\u4ef7\u503c\u53d8\u52a8\u635f\u76ca",
|
||||
"report_type": "Profit and Loss"
|
||||
}
|
||||
],
|
||||
"name": "\u4f1a\u8ba1\u79d1\u76ee"
|
File diff suppressed because it is too large
Load Diff
@ -0,0 +1,726 @@
|
||||
{
|
||||
"name": "Costa Rica - Company 0",
|
||||
"root": {
|
||||
"children": [
|
||||
{
|
||||
"children": [
|
||||
{
|
||||
"children": [
|
||||
{
|
||||
"children": [
|
||||
{
|
||||
"children": [
|
||||
{
|
||||
"name": "0-Veh\u00edculos"
|
||||
},
|
||||
{
|
||||
"name": "0-Equipo de c\u00f3mputo"
|
||||
},
|
||||
{
|
||||
"name": "0-Moibliario y equipo de oficina"
|
||||
},
|
||||
{
|
||||
"name": "0-Herramientas mayores"
|
||||
},
|
||||
{
|
||||
"name": "0-Maquinaria y equipo de edificios"
|
||||
}
|
||||
],
|
||||
"name": "0-Activos depreciables m\u00f3viles"
|
||||
},
|
||||
{
|
||||
"children": [
|
||||
{
|
||||
"children": [
|
||||
{
|
||||
"name": "0-Edificio 1"
|
||||
}
|
||||
],
|
||||
"name": "0-Edificios \u2013 Revaluaciones"
|
||||
},
|
||||
{
|
||||
"children": [
|
||||
{
|
||||
"name": "0-Edificio 1"
|
||||
}
|
||||
],
|
||||
"name": "0-Edificios \u2013 Valores originales"
|
||||
}
|
||||
],
|
||||
"name": "0-Edificios"
|
||||
},
|
||||
{
|
||||
"children": [
|
||||
{
|
||||
"children": [
|
||||
{
|
||||
"name": "0-Edificio 1"
|
||||
}
|
||||
],
|
||||
"name": "0-Mejoras a edificios \u2013 Revaluaciones"
|
||||
},
|
||||
{
|
||||
"children": [
|
||||
{
|
||||
"name": "0-Edificio 1"
|
||||
}
|
||||
],
|
||||
"name": "0-Mejoras a edificios \u2013 Valores originales"
|
||||
}
|
||||
],
|
||||
"name": "0-Mejoras a edificios"
|
||||
}
|
||||
],
|
||||
"name": "0-Activo fijo depreciable"
|
||||
},
|
||||
{
|
||||
"children": [
|
||||
{
|
||||
"children": [
|
||||
{
|
||||
"children": [
|
||||
{
|
||||
"name": "0-Terreno 1"
|
||||
}
|
||||
],
|
||||
"name": "0-Valores originales"
|
||||
},
|
||||
{
|
||||
"children": [
|
||||
{
|
||||
"name": "0-Terreno 1"
|
||||
}
|
||||
],
|
||||
"name": "0-Revaluaciones"
|
||||
}
|
||||
],
|
||||
"name": "0-Terrenos"
|
||||
}
|
||||
],
|
||||
"name": "0-Activo fijo no depreciable"
|
||||
}
|
||||
],
|
||||
"name": "0-Activo fijo"
|
||||
},
|
||||
{
|
||||
"children": [
|
||||
{
|
||||
"children": [
|
||||
{
|
||||
"children": [
|
||||
{
|
||||
"name": "0-Cuenta PayPal 1"
|
||||
}
|
||||
],
|
||||
"name": "0-PayPal"
|
||||
},
|
||||
{
|
||||
"children": [
|
||||
{
|
||||
"name": "0-Fondos en tr\u00e1nsito en bancos"
|
||||
},
|
||||
{
|
||||
"name": "0-Fondos en tr\u00e1nsito de PayPal a Bancos"
|
||||
},
|
||||
{
|
||||
"name": "0-Fondos en tr\u00e1nsito en tesorer\u00eda"
|
||||
}
|
||||
],
|
||||
"name": "0-Fondos en tr\u00e1nsito"
|
||||
},
|
||||
{
|
||||
"children": [
|
||||
{
|
||||
"children": [
|
||||
{
|
||||
"name": "0-Fondo de caja oficinas centrales USD"
|
||||
}
|
||||
],
|
||||
"name": "0-Fondos de caja USD"
|
||||
},
|
||||
{
|
||||
"children": [
|
||||
{
|
||||
"name": "0-Fondo de caja oficinas centrales CRC"
|
||||
}
|
||||
],
|
||||
"name": "0-Fondos de caja CRC"
|
||||
}
|
||||
],
|
||||
"name": "0-Fondos de caja"
|
||||
},
|
||||
{
|
||||
"children": [
|
||||
{
|
||||
"name": "0-Inversi\u00f3n 1"
|
||||
}
|
||||
],
|
||||
"name": "0-Inversiones a la vista"
|
||||
},
|
||||
{
|
||||
"children": [
|
||||
{
|
||||
"children": [
|
||||
{
|
||||
"name": "0-Cuenta en USD 1"
|
||||
}
|
||||
],
|
||||
"name": "0-Cuentas corrientes USD"
|
||||
},
|
||||
{
|
||||
"children": [
|
||||
{
|
||||
"name": "0-Cuenta en CRC 1"
|
||||
}
|
||||
],
|
||||
"name": "0-Cuentas corrientes CRC"
|
||||
}
|
||||
],
|
||||
"name": "0-Bancos"
|
||||
}
|
||||
],
|
||||
"name": "0-Activo circulante disponible"
|
||||
},
|
||||
{
|
||||
"children": [
|
||||
{
|
||||
"children": [
|
||||
{
|
||||
"name": "0-Inventario de producto para la venta"
|
||||
},
|
||||
{
|
||||
"name": "0-Inventario de consumibles"
|
||||
}
|
||||
],
|
||||
"name": "0-Inventarios"
|
||||
}
|
||||
],
|
||||
"name": "0-Activo circulante realizable"
|
||||
},
|
||||
{
|
||||
"children": [
|
||||
{
|
||||
"name": "0-Cuentas por cobrar a empleados"
|
||||
},
|
||||
{
|
||||
"name": "0-Cuentas por cobrar a compa\u00f1\u00edas relacionadas"
|
||||
},
|
||||
{
|
||||
"name": "0-Cuentas por cobrar comerciales"
|
||||
},
|
||||
{
|
||||
"name": "0-Inversiones de corto plazo"
|
||||
},
|
||||
{
|
||||
"name": "0-Otras cuentas por cobrar"
|
||||
}
|
||||
],
|
||||
"name": "0-Activo circulante exigible"
|
||||
}
|
||||
],
|
||||
"name": "0-Activo circulante"
|
||||
},
|
||||
{
|
||||
"children": [
|
||||
{
|
||||
"children": [
|
||||
{
|
||||
"name": "0-P\u00f3lizas de seguros prepagadas"
|
||||
}
|
||||
],
|
||||
"name": "0-Gastos pagados por anticipado"
|
||||
},
|
||||
{
|
||||
"children": [
|
||||
{
|
||||
"name": "0-Dep\u00f3sitos sobre conexiones de Internet"
|
||||
},
|
||||
{
|
||||
"name": "0-Dep\u00f3sitos sobre locales en alquiler"
|
||||
},
|
||||
{
|
||||
"name": "0-Dep\u00f3sitos sobre derechos telef\u00f3nicos"
|
||||
}
|
||||
],
|
||||
"name": "0-Dep\u00f3sitos de garant\u00eda"
|
||||
}
|
||||
],
|
||||
"name": "0-Otros activos"
|
||||
},
|
||||
{
|
||||
"children": [
|
||||
{
|
||||
"children": [
|
||||
{
|
||||
"name": "0-Dep. ac. de herramientas mayores"
|
||||
},
|
||||
{
|
||||
"name": "0-Dep. ac. de mobiliario y equipo de oficina"
|
||||
},
|
||||
{
|
||||
"name": "0-Dep. ac. de maquinaria y equipo de edificios"
|
||||
},
|
||||
{
|
||||
"name": "0-Dep. ac. de equipo de c\u00f3mputo"
|
||||
},
|
||||
{
|
||||
"name": "0-Dep. ac. de veh\u00edculos"
|
||||
}
|
||||
],
|
||||
"name": "0-Dep. ac. de activos depreciables m\u00f3viles"
|
||||
},
|
||||
{
|
||||
"children": [
|
||||
{
|
||||
"children": [
|
||||
{
|
||||
"name": "0-Edificio 1"
|
||||
}
|
||||
],
|
||||
"name": "0-Dep. ac. de edificios \u2013 Valores originales"
|
||||
},
|
||||
{
|
||||
"children": [
|
||||
{
|
||||
"name": "0-Edificio 1"
|
||||
}
|
||||
],
|
||||
"name": "0-Dep. ac. de edificios \u2013 Revaluaciones"
|
||||
}
|
||||
],
|
||||
"name": "0-Dep. ac. de edificios"
|
||||
},
|
||||
{
|
||||
"children": [
|
||||
{
|
||||
"children": [
|
||||
{
|
||||
"name": "0-Edificio 1"
|
||||
}
|
||||
],
|
||||
"name": "0-Dep. ac. de mejoras a edificios \u2013 Revaluaciones"
|
||||
},
|
||||
{
|
||||
"children": [
|
||||
{
|
||||
"name": "0-Edificio 1"
|
||||
}
|
||||
],
|
||||
"name": "0-Dep. ac. de mejoras a edificios \u2013 Valores originales"
|
||||
}
|
||||
],
|
||||
"name": "0-Dep. ac. de mejoras a edificios"
|
||||
}
|
||||
],
|
||||
"name": "0-Depreciaciones acumuladas sobre activo fijo depreciable"
|
||||
}
|
||||
],
|
||||
"name": "0-Activo"
|
||||
},
|
||||
{
|
||||
"children": [
|
||||
{
|
||||
"children": [
|
||||
{
|
||||
"name": "0-Gastos Financieros"
|
||||
},
|
||||
{
|
||||
"name": "0-Depreciaci\u00f3n de activo fijo"
|
||||
},
|
||||
{
|
||||
"name": "0-Ajustes"
|
||||
},
|
||||
{
|
||||
"name": "0-Perdida por robo"
|
||||
},
|
||||
{
|
||||
"name": "0-Donaciones deducibles"
|
||||
}
|
||||
],
|
||||
"name": "0-Otros gastos"
|
||||
},
|
||||
{
|
||||
"children": [
|
||||
{
|
||||
"name": "0-Donaciones no deducibles"
|
||||
},
|
||||
{
|
||||
"name": "0-Multas"
|
||||
},
|
||||
{
|
||||
"name": "0-Gastos de presidencia"
|
||||
},
|
||||
{
|
||||
"name": "0-Diferencial cambiario"
|
||||
}
|
||||
],
|
||||
"name": "0-Gastos no deducibles"
|
||||
},
|
||||
{
|
||||
"children": [
|
||||
{
|
||||
"children": [
|
||||
{
|
||||
"children": [
|
||||
{
|
||||
"children": [
|
||||
{
|
||||
"name": "0-Cesant\u00eda"
|
||||
},
|
||||
{
|
||||
"name": "0-Comisiones"
|
||||
},
|
||||
{
|
||||
"name": "0-Cargas patronales"
|
||||
},
|
||||
{
|
||||
"name": "0-Aguinaldo"
|
||||
},
|
||||
{
|
||||
"name": "0-Preaviso"
|
||||
},
|
||||
{
|
||||
"name": "0-Salarios"
|
||||
},
|
||||
{
|
||||
"name": "0-Extras"
|
||||
},
|
||||
{
|
||||
"name": "0-Bonificaciones"
|
||||
}
|
||||
],
|
||||
"name": "0-Salarios y deducciones"
|
||||
},
|
||||
{
|
||||
"children": [
|
||||
{
|
||||
"name": "0-Transporte"
|
||||
},
|
||||
{
|
||||
"name": "0-Hospedaje"
|
||||
},
|
||||
{
|
||||
"name": "0-Alimentaci\u00f3n"
|
||||
}
|
||||
],
|
||||
"name": "0-Vi\u00e1ticos"
|
||||
}
|
||||
],
|
||||
"name": "0-Gastos de personal"
|
||||
},
|
||||
{
|
||||
"children": [
|
||||
{
|
||||
"name": "0-Categor\u00eda 1"
|
||||
}
|
||||
],
|
||||
"name": "0-Servicios profesionales"
|
||||
},
|
||||
{
|
||||
"children": [
|
||||
{
|
||||
"name": "0-Campa\u00f1as publicitarias"
|
||||
},
|
||||
{
|
||||
"name": "0-Dise\u00f1o de imagen"
|
||||
}
|
||||
],
|
||||
"name": "0-Gastos de mercadeo"
|
||||
},
|
||||
{
|
||||
"children": [
|
||||
{
|
||||
"name": "0-Costo de producto"
|
||||
},
|
||||
{
|
||||
"name": "0-Costo de producci\u00f3n"
|
||||
},
|
||||
{
|
||||
"name": "0-Costo de materia prima"
|
||||
},
|
||||
{
|
||||
"name": "0-Costo de distribuci\u00f3n"
|
||||
},
|
||||
{
|
||||
"name": "0-Costo de almacenamiento"
|
||||
}
|
||||
],
|
||||
"name": "0-Costo de venta de producto"
|
||||
}
|
||||
],
|
||||
"name": "0-Gastos operativos"
|
||||
},
|
||||
{
|
||||
"children": [
|
||||
{
|
||||
"children": [
|
||||
{
|
||||
"name": "0-Departamento 1"
|
||||
}
|
||||
],
|
||||
"name": "0-Equipo de c\u00f3mputo y comunicaci\u00f3n"
|
||||
},
|
||||
{
|
||||
"children": [
|
||||
{
|
||||
"name": "0-Departamento 1"
|
||||
}
|
||||
],
|
||||
"name": "0-Suministros de oficina"
|
||||
},
|
||||
{
|
||||
"children": [
|
||||
{
|
||||
"children": [
|
||||
{
|
||||
"name": "0-Medidor 1"
|
||||
}
|
||||
],
|
||||
"name": "0-Luz"
|
||||
},
|
||||
{
|
||||
"children": [
|
||||
{
|
||||
"name": "0-Medidor 1"
|
||||
}
|
||||
],
|
||||
"name": "0-Agua"
|
||||
},
|
||||
{
|
||||
"children": [
|
||||
{
|
||||
"name": "0-Contrato 1"
|
||||
}
|
||||
],
|
||||
"name": "0-Internet"
|
||||
},
|
||||
{
|
||||
"children": [
|
||||
{
|
||||
"name": "0-Tel\u00e9fono 1"
|
||||
}
|
||||
],
|
||||
"name": "0-Tel\u00e9fono"
|
||||
}
|
||||
],
|
||||
"name": "0-Servicios p\u00fablicos"
|
||||
},
|
||||
{
|
||||
"children": [
|
||||
{
|
||||
"name": "0-Compa\u00f1\u00eda administradora 1"
|
||||
}
|
||||
],
|
||||
"name": "0-Cuota por administraci\u00f3n"
|
||||
},
|
||||
{
|
||||
"children": [
|
||||
{
|
||||
"name": "0-Oficina 1"
|
||||
}
|
||||
],
|
||||
"name": "0-Alquiler"
|
||||
}
|
||||
],
|
||||
"name": "0-Gastos administrativos"
|
||||
}
|
||||
],
|
||||
"name": "0-Gastos principales"
|
||||
}
|
||||
],
|
||||
"name": "0-Gastos"
|
||||
},
|
||||
{
|
||||
"children": [
|
||||
{
|
||||
"children": [
|
||||
{
|
||||
"name": "0-Socio 1",
|
||||
"report_type": "Balance Sheet"
|
||||
}
|
||||
],
|
||||
"name": "0-Aportes de capital"
|
||||
},
|
||||
{
|
||||
"children": [
|
||||
{
|
||||
"name": "0-Socio 1",
|
||||
"report_type": "Balance Sheet"
|
||||
}
|
||||
],
|
||||
"name": "0-Capital social"
|
||||
},
|
||||
{
|
||||
"children": [
|
||||
{
|
||||
"name": "0-Balance inicial",
|
||||
"report_type": "Balance Sheet"
|
||||
}
|
||||
],
|
||||
"name": "0-Balance inicial"
|
||||
},
|
||||
{
|
||||
"children": [
|
||||
{
|
||||
"name": "0-Superavit ganado",
|
||||
"report_type": "Balance Sheet"
|
||||
},
|
||||
{
|
||||
"name": "0-Superavit por revaluaci\u00f3n de activos",
|
||||
"report_type": "Balance Sheet"
|
||||
},
|
||||
{
|
||||
"name": "0-Super\u00e1vit de capital",
|
||||
"report_type": "Balance Sheet"
|
||||
}
|
||||
],
|
||||
"name": "0-Cuentas de super\u00e1vit"
|
||||
},
|
||||
{
|
||||
"children": [
|
||||
{
|
||||
"name": "0-Reserva para mejoras",
|
||||
"report_type": "Balance Sheet"
|
||||
},
|
||||
{
|
||||
"name": "0-Reserva para proyectos",
|
||||
"report_type": "Balance Sheet"
|
||||
}
|
||||
],
|
||||
"name": "0-Otras reservas"
|
||||
},
|
||||
{
|
||||
"children": [
|
||||
{
|
||||
"name": "0-Reserva legal",
|
||||
"report_type": "Balance Sheet"
|
||||
}
|
||||
],
|
||||
"name": "0-Reserva legal"
|
||||
},
|
||||
{
|
||||
"children": [
|
||||
{
|
||||
"name": "0-Periodo 1",
|
||||
"report_type": "Balance Sheet"
|
||||
}
|
||||
],
|
||||
"name": "0-Utilidad o p\u00e9rdida acumulada de periodos anteriores"
|
||||
},
|
||||
{
|
||||
"children": [
|
||||
{
|
||||
"name": "0-Utilidad o p\u00e9rdida del per\u00edodo actual",
|
||||
"report_type": "Balance Sheet"
|
||||
}
|
||||
],
|
||||
"name": "0-Utilidad o p\u00e9rdida del per\u00edodo actual"
|
||||
}
|
||||
],
|
||||
"name": "0-Patrimonio"
|
||||
},
|
||||
{
|
||||
"children": [
|
||||
{
|
||||
"children": [
|
||||
{
|
||||
"name": "0-Donaciones"
|
||||
},
|
||||
{
|
||||
"name": "0-Ajustes"
|
||||
}
|
||||
],
|
||||
"name": "0-Otros ingresos"
|
||||
},
|
||||
{
|
||||
"children": [
|
||||
{
|
||||
"name": "0-Intereses ganados sobre cuentas corrientes"
|
||||
}
|
||||
],
|
||||
"name": "0-Ingresos financieros"
|
||||
},
|
||||
{
|
||||
"children": [
|
||||
{
|
||||
"name": "0-Diferencial cambiario"
|
||||
}
|
||||
],
|
||||
"name": "0-Ingresos no gravables"
|
||||
},
|
||||
{
|
||||
"name": "0-Ingresos por ventas"
|
||||
},
|
||||
{
|
||||
"children": [
|
||||
{
|
||||
"name": "0-Cuota por administraci\u00f3n"
|
||||
}
|
||||
],
|
||||
"name": "0-Ingresos por administraci\u00f3n"
|
||||
}
|
||||
],
|
||||
"name": "0-Ingresos"
|
||||
},
|
||||
{
|
||||
"children": [
|
||||
{
|
||||
"children": [
|
||||
{
|
||||
"children": [
|
||||
{
|
||||
"name": "0-Cuentas por pagar de provisiones"
|
||||
},
|
||||
{
|
||||
"name": "0-Cuentas por pagar a empleados"
|
||||
},
|
||||
{
|
||||
"name": "0-Cuentas por pagar a proveedores"
|
||||
},
|
||||
{
|
||||
"name": "0-Cuentas por pagar a compa\u00f1\u00edas relacionadas"
|
||||
}
|
||||
],
|
||||
"name": "0-Cuentas por pagar"
|
||||
},
|
||||
{
|
||||
"children": [
|
||||
{
|
||||
"children": [
|
||||
{
|
||||
"name": "0-Impuesto de ventas pagado"
|
||||
},
|
||||
{
|
||||
"name": "0-Impuesto de ventas por pagar"
|
||||
}
|
||||
],
|
||||
"name": "0-Impuesto de ventas"
|
||||
},
|
||||
{
|
||||
"children": [
|
||||
{
|
||||
"name": "0-Adelantos de impuesto de renta"
|
||||
},
|
||||
{
|
||||
"name": "0-Retenciones de impuesto de renta"
|
||||
},
|
||||
{
|
||||
"name": "0-Impuesto de renta por pagar"
|
||||
}
|
||||
],
|
||||
"name": "0-Impuesto de renta"
|
||||
}
|
||||
],
|
||||
"name": "0-Impuestos"
|
||||
}
|
||||
],
|
||||
"name": "0-Pasivo circulante"
|
||||
}
|
||||
],
|
||||
"name": "0-Pasivo"
|
||||
}
|
||||
],
|
||||
"name": "0-Plan Contable",
|
||||
"parent_id": null
|
||||
}
|
||||
}
|
@ -0,0 +1,708 @@
|
||||
{
|
||||
"name": "Costa Rica - Company 1",
|
||||
"root": {
|
||||
"children": [
|
||||
{
|
||||
"children": [
|
||||
{
|
||||
"children": [
|
||||
{
|
||||
"children": [
|
||||
{
|
||||
"children": [
|
||||
{
|
||||
"name": "xImpuesto de renta por pagar"
|
||||
},
|
||||
{
|
||||
"name": "xAdelantos de impuesto de renta"
|
||||
},
|
||||
{
|
||||
"name": "xRetenciones de impuesto de renta"
|
||||
}
|
||||
],
|
||||
"name": "xImpuesto de renta"
|
||||
},
|
||||
{
|
||||
"children": [
|
||||
{
|
||||
"name": "xImpuesto de ventas pagado"
|
||||
},
|
||||
{
|
||||
"name": "xImpuesto de ventas por pagar"
|
||||
}
|
||||
],
|
||||
"name": "xImpuesto de ventas"
|
||||
}
|
||||
],
|
||||
"name": "xImpuestos"
|
||||
},
|
||||
{
|
||||
"children": [
|
||||
{
|
||||
"name": "xCuentas por pagar a compa\u00f1\u00edas relacionadas"
|
||||
},
|
||||
{
|
||||
"name": "xCuentas por pagar a empleados"
|
||||
},
|
||||
{
|
||||
"name": "xCuentas por pagar a proveedores"
|
||||
},
|
||||
{
|
||||
"name": "xCuentas por pagar de provisiones"
|
||||
}
|
||||
],
|
||||
"name": "xCuentas por pagar"
|
||||
}
|
||||
],
|
||||
"name": "xPasivo circulante"
|
||||
}
|
||||
],
|
||||
"name": "xPasivo"
|
||||
},
|
||||
{
|
||||
"children": [
|
||||
{
|
||||
"children": [
|
||||
{
|
||||
"name": "xReserva para mejoras",
|
||||
"report_type": "Balance Sheet"
|
||||
},
|
||||
{
|
||||
"name": "xReserva para proyectos",
|
||||
"report_type": "Balance Sheet"
|
||||
}
|
||||
],
|
||||
"name": "xOtras reservas"
|
||||
},
|
||||
{
|
||||
"children": [
|
||||
{
|
||||
"name": "xSocio 1",
|
||||
"report_type": "Balance Sheet"
|
||||
}
|
||||
],
|
||||
"name": "xAportes de capital"
|
||||
},
|
||||
{
|
||||
"children": [
|
||||
{
|
||||
"name": "xUtilidad o p\u00e9rdida del per\u00edodo actual",
|
||||
"report_type": "Balance Sheet"
|
||||
}
|
||||
],
|
||||
"name": "xUtilidad o p\u00e9rdida del per\u00edodo actual"
|
||||
},
|
||||
{
|
||||
"children": [
|
||||
{
|
||||
"name": "xBalance inicial",
|
||||
"report_type": "Balance Sheet"
|
||||
}
|
||||
],
|
||||
"name": "xBalance inicial"
|
||||
},
|
||||
{
|
||||
"children": [
|
||||
{
|
||||
"name": "xReserva legal",
|
||||
"report_type": "Balance Sheet"
|
||||
}
|
||||
],
|
||||
"name": "xReserva legal"
|
||||
},
|
||||
{
|
||||
"children": [
|
||||
{
|
||||
"name": "xSuperavit ganado",
|
||||
"report_type": "Balance Sheet"
|
||||
},
|
||||
{
|
||||
"name": "xSuperavit por revaluaci\u00f3n de activos",
|
||||
"report_type": "Balance Sheet"
|
||||
},
|
||||
{
|
||||
"name": "xSuper\u00e1vit de capital",
|
||||
"report_type": "Balance Sheet"
|
||||
}
|
||||
],
|
||||
"name": "xCuentas de super\u00e1vit"
|
||||
},
|
||||
{
|
||||
"children": [
|
||||
{
|
||||
"name": "xSocio 1",
|
||||
"report_type": "Balance Sheet"
|
||||
}
|
||||
],
|
||||
"name": "xCapital social"
|
||||
},
|
||||
{
|
||||
"children": [
|
||||
{
|
||||
"name": "xPeriodo 1",
|
||||
"report_type": "Balance Sheet"
|
||||
}
|
||||
],
|
||||
"name": "xUtilidad o p\u00e9rdida acumulada de periodos anteriores"
|
||||
}
|
||||
],
|
||||
"name": "xPatrimonio"
|
||||
},
|
||||
{
|
||||
"children": [
|
||||
{
|
||||
"children": [
|
||||
{
|
||||
"name": "xDiferencial cambiario"
|
||||
},
|
||||
{
|
||||
"name": "xMultas"
|
||||
},
|
||||
{
|
||||
"name": "xGastos de presidencia"
|
||||
},
|
||||
{
|
||||
"name": "xDonaciones no deducibles"
|
||||
}
|
||||
],
|
||||
"name": "xGastos no deducibles"
|
||||
},
|
||||
{
|
||||
"children": [
|
||||
{
|
||||
"children": [
|
||||
{
|
||||
"children": [
|
||||
{
|
||||
"children": [
|
||||
{
|
||||
"name": "xTransporte"
|
||||
},
|
||||
{
|
||||
"name": "xHospedaje"
|
||||
},
|
||||
{
|
||||
"name": "xAlimentaci\u00f3n"
|
||||
}
|
||||
],
|
||||
"name": "xVi\u00e1ticos"
|
||||
},
|
||||
{
|
||||
"children": [
|
||||
{
|
||||
"name": "xCesant\u00eda"
|
||||
},
|
||||
{
|
||||
"name": "xComisiones"
|
||||
},
|
||||
{
|
||||
"name": "xCargas patronales"
|
||||
},
|
||||
{
|
||||
"name": "xAguinaldo"
|
||||
},
|
||||
{
|
||||
"name": "xPreaviso"
|
||||
},
|
||||
{
|
||||
"name": "xSalarios"
|
||||
},
|
||||
{
|
||||
"name": "xExtras"
|
||||
},
|
||||
{
|
||||
"name": "xBonificaciones"
|
||||
}
|
||||
],
|
||||
"name": "xSalarios y deducciones"
|
||||
}
|
||||
],
|
||||
"name": "xGastos de personal"
|
||||
},
|
||||
{
|
||||
"children": [
|
||||
{
|
||||
"name": "xCampa\u00f1as publicitarias"
|
||||
},
|
||||
{
|
||||
"name": "xDise\u00f1o de imagen"
|
||||
}
|
||||
],
|
||||
"name": "xGastos de mercadeo"
|
||||
},
|
||||
{
|
||||
"children": [
|
||||
{
|
||||
"name": "xCosto de distribuci\u00f3n"
|
||||
},
|
||||
{
|
||||
"name": "xCosto de almacenamiento"
|
||||
},
|
||||
{
|
||||
"name": "xCosto de producto"
|
||||
},
|
||||
{
|
||||
"name": "xCosto de producci\u00f3n"
|
||||
},
|
||||
{
|
||||
"name": "xCosto de materia prima"
|
||||
}
|
||||
],
|
||||
"name": "xCosto de venta de producto"
|
||||
},
|
||||
{
|
||||
"children": [
|
||||
{
|
||||
"name": "xCategor\u00eda 1"
|
||||
}
|
||||
],
|
||||
"name": "xServicios profesionales"
|
||||
}
|
||||
],
|
||||
"name": "xGastos operativos"
|
||||
},
|
||||
{
|
||||
"children": [
|
||||
{
|
||||
"children": [
|
||||
{
|
||||
"name": "xDepartamento 1"
|
||||
}
|
||||
],
|
||||
"name": "xSuministros de oficina"
|
||||
},
|
||||
{
|
||||
"children": [
|
||||
{
|
||||
"name": "xCompa\u00f1\u00eda administradora 1"
|
||||
}
|
||||
],
|
||||
"name": "xCuota por administraci\u00f3n"
|
||||
},
|
||||
{
|
||||
"children": [
|
||||
{
|
||||
"name": "xOficina 1"
|
||||
}
|
||||
],
|
||||
"name": "xAlquiler"
|
||||
},
|
||||
{
|
||||
"children": [
|
||||
{
|
||||
"children": [
|
||||
{
|
||||
"name": "xMedidor 1"
|
||||
}
|
||||
],
|
||||
"name": "xAgua"
|
||||
},
|
||||
{
|
||||
"children": [
|
||||
{
|
||||
"name": "xMedidor 1"
|
||||
}
|
||||
],
|
||||
"name": "xLuz"
|
||||
},
|
||||
{
|
||||
"children": [
|
||||
{
|
||||
"name": "xTel\u00e9fono 1"
|
||||
}
|
||||
],
|
||||
"name": "xTel\u00e9fono"
|
||||
},
|
||||
{
|
||||
"children": [
|
||||
{
|
||||
"name": "xContrato 1"
|
||||
}
|
||||
],
|
||||
"name": "xInternet"
|
||||
}
|
||||
],
|
||||
"name": "xServicios p\u00fablicos"
|
||||
},
|
||||
{
|
||||
"children": [
|
||||
{
|
||||
"name": "xDepartamento 1"
|
||||
}
|
||||
],
|
||||
"name": "xEquipo de c\u00f3mputo y comunicaci\u00f3n"
|
||||
}
|
||||
],
|
||||
"name": "xGastos administrativos"
|
||||
}
|
||||
],
|
||||
"name": "xGastos principales"
|
||||
},
|
||||
{
|
||||
"children": [
|
||||
{
|
||||
"name": "xGastos Financieros"
|
||||
},
|
||||
{
|
||||
"name": "xDepreciaci\u00f3n de activo fijo"
|
||||
},
|
||||
{
|
||||
"name": "xAjustes"
|
||||
},
|
||||
{
|
||||
"name": "xPerdida por robo"
|
||||
},
|
||||
{
|
||||
"name": "xDonaciones deducibles"
|
||||
}
|
||||
],
|
||||
"name": "xOtros gastos"
|
||||
}
|
||||
],
|
||||
"name": "xGastos"
|
||||
},
|
||||
{
|
||||
"children": [
|
||||
{
|
||||
"children": [
|
||||
{
|
||||
"children": [
|
||||
{
|
||||
"name": "xBancos"
|
||||
},
|
||||
{
|
||||
"children": [
|
||||
{
|
||||
"children": [
|
||||
{
|
||||
"name": "xFondo de caja oficinas centrales USD"
|
||||
}
|
||||
],
|
||||
"name": "xFondos de caja USD"
|
||||
},
|
||||
{
|
||||
"children": [
|
||||
{
|
||||
"name": "xFondo de caja oficinas centrales CRC"
|
||||
}
|
||||
],
|
||||
"name": "xFondos de caja CRC"
|
||||
}
|
||||
],
|
||||
"name": "xFondos de caja"
|
||||
},
|
||||
{
|
||||
"children": [
|
||||
{
|
||||
"name": "xFondos en tr\u00e1nsito en bancos"
|
||||
},
|
||||
{
|
||||
"name": "xFondos en tr\u00e1nsito de PayPal a Bancos"
|
||||
},
|
||||
{
|
||||
"name": "xFondos en tr\u00e1nsito en tesorer\u00eda"
|
||||
}
|
||||
],
|
||||
"name": "xFondos en tr\u00e1nsito"
|
||||
},
|
||||
{
|
||||
"children": [
|
||||
{
|
||||
"name": "xInversi\u00f3n 1"
|
||||
}
|
||||
],
|
||||
"name": "xInversiones a la vista"
|
||||
},
|
||||
{
|
||||
"children": [
|
||||
{
|
||||
"name": "xCuenta PayPal 1"
|
||||
}
|
||||
],
|
||||
"name": "xPayPal"
|
||||
}
|
||||
],
|
||||
"name": "xActivo circulante disponible"
|
||||
},
|
||||
{
|
||||
"children": [
|
||||
{
|
||||
"children": [
|
||||
{
|
||||
"name": "xInventario de producto para la venta"
|
||||
},
|
||||
{
|
||||
"name": "xInventario de consumibles"
|
||||
}
|
||||
],
|
||||
"name": "xInventarios"
|
||||
}
|
||||
],
|
||||
"name": "xActivo circulante realizable"
|
||||
},
|
||||
{
|
||||
"children": [
|
||||
{
|
||||
"name": "xInversiones de corto plazo"
|
||||
},
|
||||
{
|
||||
"name": "xOtras cuentas por cobrar"
|
||||
},
|
||||
{
|
||||
"name": "xCuentas por cobrar a empleados"
|
||||
},
|
||||
{
|
||||
"name": "xCuentas por cobrar a compa\u00f1\u00edas relacionadas"
|
||||
},
|
||||
{
|
||||
"name": "xCuentas por cobrar comerciales"
|
||||
}
|
||||
],
|
||||
"name": "xActivo circulante exigible"
|
||||
}
|
||||
],
|
||||
"name": "xActivo circulante"
|
||||
},
|
||||
{
|
||||
"children": [
|
||||
{
|
||||
"children": [
|
||||
{
|
||||
"children": [
|
||||
{
|
||||
"children": [
|
||||
{
|
||||
"name": "xTerreno 1"
|
||||
}
|
||||
],
|
||||
"name": "xValores originales"
|
||||
},
|
||||
{
|
||||
"children": [
|
||||
{
|
||||
"name": "xTerreno 1"
|
||||
}
|
||||
],
|
||||
"name": "xRevaluaciones"
|
||||
}
|
||||
],
|
||||
"name": "xTerrenos"
|
||||
}
|
||||
],
|
||||
"name": "xActivo fijo no depreciable"
|
||||
},
|
||||
{
|
||||
"children": [
|
||||
{
|
||||
"children": [
|
||||
{
|
||||
"children": [
|
||||
{
|
||||
"name": "xEdificio 1"
|
||||
}
|
||||
],
|
||||
"name": "xEdificios \u2013 Revaluaciones"
|
||||
},
|
||||
{
|
||||
"children": [
|
||||
{
|
||||
"name": "xEdificio 1"
|
||||
}
|
||||
],
|
||||
"name": "xEdificios \u2013 Valores originales"
|
||||
}
|
||||
],
|
||||
"name": "xEdificios"
|
||||
},
|
||||
{
|
||||
"children": [
|
||||
{
|
||||
"name": "xMoibliario y equipo de oficina"
|
||||
},
|
||||
{
|
||||
"name": "xHerramientas mayores"
|
||||
},
|
||||
{
|
||||
"name": "xMaquinaria y equipo de edificios"
|
||||
},
|
||||
{
|
||||
"name": "xVeh\u00edculos"
|
||||
},
|
||||
{
|
||||
"name": "xEquipo de c\u00f3mputo"
|
||||
}
|
||||
],
|
||||
"name": "xActivos depreciables m\u00f3viles"
|
||||
},
|
||||
{
|
||||
"children": [
|
||||
{
|
||||
"children": [
|
||||
{
|
||||
"name": "xEdificio 1"
|
||||
}
|
||||
],
|
||||
"name": "xMejoras a edificios \u2013 Valores originales"
|
||||
},
|
||||
{
|
||||
"children": [
|
||||
{
|
||||
"name": "xEdificio 1"
|
||||
}
|
||||
],
|
||||
"name": "xMejoras a edificios \u2013 Revaluaciones"
|
||||
}
|
||||
],
|
||||
"name": "xMejoras a edificios"
|
||||
}
|
||||
],
|
||||
"name": "xActivo fijo depreciable"
|
||||
}
|
||||
],
|
||||
"name": "xActivo fijo"
|
||||
},
|
||||
{
|
||||
"children": [
|
||||
{
|
||||
"children": [
|
||||
{
|
||||
"children": [
|
||||
{
|
||||
"name": "xEdificio 1"
|
||||
}
|
||||
],
|
||||
"name": "xDep. ac. de edificios \u2013 Revaluaciones"
|
||||
},
|
||||
{
|
||||
"children": [
|
||||
{
|
||||
"name": "xEdificio 1"
|
||||
}
|
||||
],
|
||||
"name": "xDep. ac. de edificios \u2013 Valores originales"
|
||||
}
|
||||
],
|
||||
"name": "xDep. ac. de edificios"
|
||||
},
|
||||
{
|
||||
"children": [
|
||||
{
|
||||
"name": "xDep. ac. de herramientas mayores"
|
||||
},
|
||||
{
|
||||
"name": "xDep. ac. de mobiliario y equipo de oficina"
|
||||
},
|
||||
{
|
||||
"name": "xDep. ac. de maquinaria y equipo de edificios"
|
||||
},
|
||||
{
|
||||
"name": "xDep. ac. de equipo de c\u00f3mputo"
|
||||
},
|
||||
{
|
||||
"name": "xDep. ac. de veh\u00edculos"
|
||||
}
|
||||
],
|
||||
"name": "xDep. ac. de activos depreciables m\u00f3viles"
|
||||
},
|
||||
{
|
||||
"children": [
|
||||
{
|
||||
"children": [
|
||||
{
|
||||
"name": "xEdificio 1"
|
||||
}
|
||||
],
|
||||
"name": "xDep. ac. de mejoras a edificios \u2013 Valores originales"
|
||||
},
|
||||
{
|
||||
"children": [
|
||||
{
|
||||
"name": "xEdificio 1"
|
||||
}
|
||||
],
|
||||
"name": "xDep. ac. de mejoras a edificios \u2013 Revaluaciones"
|
||||
}
|
||||
],
|
||||
"name": "xDep. ac. de mejoras a edificios"
|
||||
}
|
||||
],
|
||||
"name": "xDepreciaciones acumuladas sobre activo fijo depreciable"
|
||||
},
|
||||
{
|
||||
"children": [
|
||||
{
|
||||
"children": [
|
||||
{
|
||||
"name": "xDep\u00f3sitos sobre conexiones de Internet"
|
||||
},
|
||||
{
|
||||
"name": "xDep\u00f3sitos sobre locales en alquiler"
|
||||
},
|
||||
{
|
||||
"name": "xDep\u00f3sitos sobre derechos telef\u00f3nicos"
|
||||
}
|
||||
],
|
||||
"name": "xDep\u00f3sitos de garant\u00eda"
|
||||
},
|
||||
{
|
||||
"children": [
|
||||
{
|
||||
"name": "xP\u00f3lizas de seguros prepagadas"
|
||||
}
|
||||
],
|
||||
"name": "xGastos pagados por anticipado"
|
||||
}
|
||||
],
|
||||
"name": "xOtros activos"
|
||||
}
|
||||
],
|
||||
"name": "xActivo"
|
||||
},
|
||||
{
|
||||
"children": [
|
||||
{
|
||||
"children": [
|
||||
{
|
||||
"name": "xDonaciones"
|
||||
},
|
||||
{
|
||||
"name": "xAjustes"
|
||||
}
|
||||
],
|
||||
"name": "xOtros ingresos"
|
||||
},
|
||||
{
|
||||
"children": [
|
||||
{
|
||||
"name": "xIntereses ganados sobre cuentas corrientes"
|
||||
}
|
||||
],
|
||||
"name": "xIngresos financieros"
|
||||
},
|
||||
{
|
||||
"name": "xIngresos por ventas"
|
||||
},
|
||||
{
|
||||
"children": [
|
||||
{
|
||||
"name": "xCuota por administraci\u00f3n"
|
||||
}
|
||||
],
|
||||
"name": "xIngresos por administraci\u00f3n"
|
||||
},
|
||||
{
|
||||
"children": [
|
||||
{
|
||||
"name": "xDiferencial cambiario"
|
||||
}
|
||||
],
|
||||
"name": "xIngresos no gravables"
|
||||
}
|
||||
],
|
||||
"name": "xIngresos"
|
||||
}
|
||||
],
|
||||
"name": "xPlan Contable",
|
||||
"parent_id": null
|
||||
}
|
||||
}
|
File diff suppressed because it is too large
Load Diff
File diff suppressed because it is too large
Load Diff
File diff suppressed because it is too large
Load Diff
File diff suppressed because it is too large
Load Diff
File diff suppressed because it is too large
Load Diff
File diff suppressed because it is too large
Load Diff
@ -0,0 +1,489 @@
|
||||
{
|
||||
"name": "Ethiopia Tax and Account Chart Template",
|
||||
"root": {
|
||||
"children": [
|
||||
{
|
||||
"children": [
|
||||
{
|
||||
"name": "Other"
|
||||
},
|
||||
{
|
||||
"name": "Purchase Returns and Allowances"
|
||||
},
|
||||
{
|
||||
"name": "Cost of Goods and Services"
|
||||
},
|
||||
{
|
||||
"name": "Inventory Adjustments"
|
||||
}
|
||||
],
|
||||
"name": "COST OF GOODS SOLD"
|
||||
},
|
||||
{
|
||||
"children": [
|
||||
{
|
||||
"children": [
|
||||
{
|
||||
"children": [
|
||||
{
|
||||
"name": "Commercial Loan"
|
||||
}
|
||||
],
|
||||
"name": "Foreign Loans"
|
||||
},
|
||||
{
|
||||
"children": [
|
||||
{
|
||||
"name": "Commercial Loan"
|
||||
}
|
||||
],
|
||||
"name": "Local Loans"
|
||||
}
|
||||
],
|
||||
"name": "Long-Term Debt"
|
||||
},
|
||||
{
|
||||
"children": [
|
||||
{
|
||||
"children": [
|
||||
{
|
||||
"name": "Retention on contract"
|
||||
}
|
||||
],
|
||||
"name": "Retentions"
|
||||
},
|
||||
{
|
||||
"children": [
|
||||
{
|
||||
"name": "Pension contribution payable"
|
||||
},
|
||||
{
|
||||
"name": "Trade Creditors"
|
||||
},
|
||||
{
|
||||
"name": "Grace period payables"
|
||||
},
|
||||
{
|
||||
"name": "VAT Payable"
|
||||
},
|
||||
{
|
||||
"name": "Witholding Payable"
|
||||
},
|
||||
{
|
||||
"name": "Salary payable"
|
||||
},
|
||||
{
|
||||
"name": "Federal Income Tax"
|
||||
}
|
||||
],
|
||||
"name": "Accounts Payable"
|
||||
},
|
||||
{
|
||||
"children": [
|
||||
{
|
||||
"name": "Other deposits"
|
||||
}
|
||||
],
|
||||
"name": "Deposits"
|
||||
}
|
||||
],
|
||||
"name": "Payables"
|
||||
}
|
||||
],
|
||||
"name": "LIABILITIES"
|
||||
},
|
||||
{
|
||||
"children": [
|
||||
{
|
||||
"children": [
|
||||
{
|
||||
"children": [
|
||||
{
|
||||
"name": "Allowances to contract staff"
|
||||
},
|
||||
{
|
||||
"name": "Allowances to permanent staff"
|
||||
},
|
||||
{
|
||||
"name": "Allowances to external contract staff"
|
||||
}
|
||||
],
|
||||
"name": "Allowances/benefits"
|
||||
},
|
||||
{
|
||||
"children": [
|
||||
{
|
||||
"name": "Contribution to permanent staff pensions"
|
||||
}
|
||||
],
|
||||
"name": "Pension Contributions"
|
||||
},
|
||||
{
|
||||
"children": [
|
||||
{
|
||||
"name": "Wages to contract staff"
|
||||
},
|
||||
{
|
||||
"name": "Salaries to permanent staff"
|
||||
},
|
||||
{
|
||||
"name": "Miscellaneous payments to staff"
|
||||
},
|
||||
{
|
||||
"name": "Wages to casual staff"
|
||||
},
|
||||
{
|
||||
"name": "Wages to external contract staff"
|
||||
}
|
||||
],
|
||||
"name": "Compensation"
|
||||
}
|
||||
],
|
||||
"name": "PERSONNEL SERVICES"
|
||||
},
|
||||
{
|
||||
"children": [
|
||||
{
|
||||
"children": [
|
||||
{
|
||||
"name": "Official entertainment"
|
||||
},
|
||||
{
|
||||
"name": "Transport fees"
|
||||
},
|
||||
{
|
||||
"name": "Per diem"
|
||||
}
|
||||
],
|
||||
"name": "Travelling and Official Entertainment Services"
|
||||
},
|
||||
{
|
||||
"children": [
|
||||
{
|
||||
"name": "Maintenance and repair of plant, machinery, and equipment"
|
||||
},
|
||||
{
|
||||
"name": "Maintenance and repair of vehicles and other transport"
|
||||
},
|
||||
{
|
||||
"name": "Maintenance and repair of buildings, furnishings and fixtures"
|
||||
},
|
||||
{
|
||||
"name": "Maintenance and repair of infrastructure"
|
||||
}
|
||||
],
|
||||
"name": "Maintenance and Repair Services"
|
||||
},
|
||||
{
|
||||
"children": [
|
||||
{
|
||||
"name": "Agriculture, forestry and marine inputs"
|
||||
},
|
||||
{
|
||||
"name": "Veterinary supplies and drugs"
|
||||
},
|
||||
{
|
||||
"name": "Research and development supplies"
|
||||
},
|
||||
{
|
||||
"name": "Miscellaneous equipment"
|
||||
},
|
||||
{
|
||||
"name": "Other material and supplies"
|
||||
},
|
||||
{
|
||||
"name": "Uniforms, clothing, bedding"
|
||||
},
|
||||
{
|
||||
"name": "Printing"
|
||||
},
|
||||
{
|
||||
"name": "Office supplies"
|
||||
},
|
||||
{
|
||||
"name": "Educational supplies"
|
||||
},
|
||||
{
|
||||
"name": "Medical supplies"
|
||||
},
|
||||
{
|
||||
"name": "Fuel and lubricants"
|
||||
},
|
||||
{
|
||||
"name": "Food"
|
||||
}
|
||||
],
|
||||
"name": "Goods and Supplies"
|
||||
},
|
||||
{
|
||||
"children": [
|
||||
{
|
||||
"name": "Local training"
|
||||
},
|
||||
{
|
||||
"name": "External training"
|
||||
}
|
||||
],
|
||||
"name": "Training Services"
|
||||
},
|
||||
{
|
||||
"children": [
|
||||
{
|
||||
"name": "Water and other utilities"
|
||||
},
|
||||
{
|
||||
"name": "Telecommunication charges"
|
||||
},
|
||||
{
|
||||
"name": "Freight"
|
||||
},
|
||||
{
|
||||
"name": "Insurance"
|
||||
},
|
||||
{
|
||||
"name": "Electricity charges"
|
||||
},
|
||||
{
|
||||
"name": "Fees and charges"
|
||||
},
|
||||
{
|
||||
"name": "Contracted professional services"
|
||||
},
|
||||
{
|
||||
"name": "Advertising"
|
||||
},
|
||||
{
|
||||
"name": "Rent"
|
||||
}
|
||||
],
|
||||
"name": "Contracted Services"
|
||||
}
|
||||
],
|
||||
"name": "GOODS AND SERVICES"
|
||||
},
|
||||
{
|
||||
"children": [
|
||||
{
|
||||
"children": [
|
||||
{
|
||||
"name": "Pre-construction activities"
|
||||
},
|
||||
{
|
||||
"name": "Construction of buildings"
|
||||
},
|
||||
{
|
||||
"name": "Construction of infrastructure"
|
||||
}
|
||||
],
|
||||
"name": "Construction"
|
||||
},
|
||||
{
|
||||
"children": [
|
||||
{
|
||||
"name": "Depreciation of vehicles and other vehicular transport"
|
||||
},
|
||||
{
|
||||
"name": "Depreciation of plant, machinery and equipment"
|
||||
},
|
||||
{
|
||||
"name": "Depreciation of buildings, furnishings and fixtures"
|
||||
},
|
||||
{
|
||||
"name": "Depreciation of livestock and transport animals"
|
||||
}
|
||||
],
|
||||
"name": "Fixed Assets"
|
||||
}
|
||||
],
|
||||
"name": "FIXED ASSETS AND CONSTRUCTION"
|
||||
},
|
||||
{
|
||||
"children": [
|
||||
{
|
||||
"children": [
|
||||
{
|
||||
"name": "Payments of interest and bank charges on local debt"
|
||||
},
|
||||
{
|
||||
"name": "Payments on the principal of foreign debt"
|
||||
},
|
||||
{
|
||||
"name": "Payments on the principal of local debt"
|
||||
},
|
||||
{
|
||||
"name": "Payments of interest and bank charges on foreign debt"
|
||||
}
|
||||
],
|
||||
"name": "Debt Payments"
|
||||
}
|
||||
],
|
||||
"name": "OTHER PAYMENTS"
|
||||
}
|
||||
],
|
||||
"name": "EXPENSES"
|
||||
},
|
||||
{
|
||||
"children": [
|
||||
{
|
||||
"name": "Stock"
|
||||
},
|
||||
{
|
||||
"children": [
|
||||
{
|
||||
"name": "Other Debtors"
|
||||
},
|
||||
{
|
||||
"children": [
|
||||
{
|
||||
"name": "Advance to supplier"
|
||||
},
|
||||
{
|
||||
"name": "Advance to contractors"
|
||||
},
|
||||
{
|
||||
"name": "Advance to consultant"
|
||||
}
|
||||
],
|
||||
"name": "Prepayments"
|
||||
},
|
||||
{
|
||||
"children": [
|
||||
{
|
||||
"name": "VAT Withholding Receivable on Sales"
|
||||
},
|
||||
{
|
||||
"name": "Trade Debtors"
|
||||
},
|
||||
{
|
||||
"name": "Withholding Receivable on Sales"
|
||||
},
|
||||
{
|
||||
"name": "VAT Receivable on Purchases"
|
||||
},
|
||||
{
|
||||
"name": "Cash shortage"
|
||||
},
|
||||
{
|
||||
"name": "Advance to staff"
|
||||
},
|
||||
{
|
||||
"name": "Suspense"
|
||||
},
|
||||
{
|
||||
"name": "Cash Registers"
|
||||
}
|
||||
],
|
||||
"name": "Accounts Receivable"
|
||||
}
|
||||
],
|
||||
"name": "Receivables"
|
||||
},
|
||||
{
|
||||
"name": "Investments"
|
||||
},
|
||||
{
|
||||
"name": "Long Term Loans"
|
||||
},
|
||||
{
|
||||
"children": [
|
||||
{
|
||||
"name": "Finished Goods"
|
||||
},
|
||||
{
|
||||
"name": "Work in Progress"
|
||||
}
|
||||
],
|
||||
"name": "Production Stock"
|
||||
},
|
||||
{
|
||||
"name": "Goods in Transit"
|
||||
},
|
||||
{
|
||||
"children": [
|
||||
{
|
||||
"children": [
|
||||
{
|
||||
"name": "Construction of buildings"
|
||||
},
|
||||
{
|
||||
"name": "Construction of infrastructure"
|
||||
}
|
||||
],
|
||||
"name": "Construction in Progress"
|
||||
},
|
||||
{
|
||||
"children": [
|
||||
{
|
||||
"name": "Plant machinery and equipment"
|
||||
},
|
||||
{
|
||||
"name": "Furnishings and fixtures"
|
||||
},
|
||||
{
|
||||
"name": "Aircraft, boats, etc"
|
||||
},
|
||||
{
|
||||
"name": "Vehicles and other vehicular transport"
|
||||
},
|
||||
{
|
||||
"name": "Infrastructure"
|
||||
},
|
||||
{
|
||||
"name": "Buildings"
|
||||
},
|
||||
{
|
||||
"name": "Livestock and tansport animals"
|
||||
}
|
||||
],
|
||||
"name": "Property and Equipment"
|
||||
}
|
||||
],
|
||||
"name": "Fixed Assets"
|
||||
},
|
||||
{
|
||||
"children": [
|
||||
{
|
||||
"name": "Investments current assets"
|
||||
},
|
||||
{
|
||||
"name": "Cash on hand and at bank"
|
||||
},
|
||||
{
|
||||
"name": "Letter of Credit restricted account"
|
||||
},
|
||||
{
|
||||
"name": "Cash at bank in foreigh currency"
|
||||
}
|
||||
],
|
||||
"name": "Cash and Cash Equivalents"
|
||||
}
|
||||
],
|
||||
"name": "ASSETS"
|
||||
},
|
||||
{
|
||||
"children": [
|
||||
{
|
||||
"name": "Profit and loss account"
|
||||
},
|
||||
{
|
||||
"name": "Reserves"
|
||||
},
|
||||
{
|
||||
"name": "Share capital / equity"
|
||||
}
|
||||
],
|
||||
"name": "NET ASSETS/EQUITY"
|
||||
},
|
||||
{
|
||||
"children": [
|
||||
{
|
||||
"name": "Sales of Goods and Services"
|
||||
}
|
||||
],
|
||||
"name": "REVENUE"
|
||||
}
|
||||
],
|
||||
"name": "Ethiopia",
|
||||
"parent_id": null
|
||||
}
|
||||
}
|
File diff suppressed because it is too large
Load Diff
File diff suppressed because it is too large
Load Diff
@ -0,0 +1,365 @@
|
||||
{
|
||||
"name": "Plantilla de cuentas de Guatemala (sencilla)",
|
||||
"root": {
|
||||
"children": [
|
||||
{
|
||||
"children": [
|
||||
{
|
||||
"children": [
|
||||
{
|
||||
"children": [
|
||||
{
|
||||
"children": [
|
||||
{
|
||||
"name": "Impuestos",
|
||||
"report_type": "Balance Sheet"
|
||||
}
|
||||
],
|
||||
"name": "Impuestos"
|
||||
},
|
||||
{
|
||||
"children": [
|
||||
{
|
||||
"name": "IVA por Pagar",
|
||||
"report_type": "Balance Sheet"
|
||||
}
|
||||
],
|
||||
"name": "IVA por Pagar"
|
||||
},
|
||||
{
|
||||
"children": [
|
||||
{
|
||||
"name": "Cuentas y Documentos por Pagar",
|
||||
"report_type": "Balance Sheet"
|
||||
}
|
||||
],
|
||||
"name": "Cuentas y Documentos por Pagar"
|
||||
}
|
||||
],
|
||||
"name": "Pasivo Corto Plazo"
|
||||
},
|
||||
{
|
||||
"children": [
|
||||
{
|
||||
"children": [
|
||||
{
|
||||
"name": "Anticipos",
|
||||
"report_type": "Balance Sheet"
|
||||
}
|
||||
],
|
||||
"name": "Cr\u00e9ditos Diferidos"
|
||||
}
|
||||
],
|
||||
"name": "Cr\u00e9ditos Diferidos"
|
||||
},
|
||||
{
|
||||
"children": [
|
||||
{
|
||||
"children": [
|
||||
{
|
||||
"name": "Provisi\u00f3n para Indemnizaciones",
|
||||
"report_type": "Balance Sheet"
|
||||
}
|
||||
],
|
||||
"name": "Provisi\u00f3n para Indemnizaciones"
|
||||
}
|
||||
],
|
||||
"name": "Pasivo a Largo Plazo"
|
||||
}
|
||||
],
|
||||
"name": "Pasivo"
|
||||
},
|
||||
{
|
||||
"children": [
|
||||
{
|
||||
"children": [
|
||||
{
|
||||
"children": [
|
||||
{
|
||||
"name": "Capital Autorizado, Suscr\u00edto y Pagado",
|
||||
"report_type": "Balance Sheet"
|
||||
},
|
||||
{
|
||||
"name": "Perdidas y Ganancias",
|
||||
"report_type": "Balance Sheet"
|
||||
},
|
||||
{
|
||||
"name": "Reservas",
|
||||
"report_type": "Balance Sheet"
|
||||
}
|
||||
],
|
||||
"name": "Patrimonio de los Accionistas"
|
||||
}
|
||||
],
|
||||
"name": "Patrimonio de los Accionistas"
|
||||
}
|
||||
],
|
||||
"name": "Patrimonio"
|
||||
},
|
||||
{
|
||||
"children": [
|
||||
{
|
||||
"children": [
|
||||
{
|
||||
"name": "Inventario"
|
||||
},
|
||||
{
|
||||
"children": [
|
||||
{
|
||||
"name": "Retenciones de IVA recibidas",
|
||||
"report_type": "Balance Sheet"
|
||||
},
|
||||
{
|
||||
"name": "IVA por Cobrar",
|
||||
"report_type": "Balance Sheet"
|
||||
}
|
||||
],
|
||||
"name": "IVA por Cobrar"
|
||||
},
|
||||
{
|
||||
"children": [
|
||||
{
|
||||
"name": "Prestamos al Personal",
|
||||
"report_type": "Balance Sheet"
|
||||
},
|
||||
{
|
||||
"name": "Cuentas por Cobrar Empresas Afilidas",
|
||||
"report_type": "Balance Sheet"
|
||||
},
|
||||
{
|
||||
"name": "Cuentas por Cobrar Generales",
|
||||
"report_type": "Balance Sheet"
|
||||
},
|
||||
{
|
||||
"name": "Otras Cuentas por Cobrar",
|
||||
"report_type": "Balance Sheet"
|
||||
}
|
||||
],
|
||||
"name": "Cuentas y Documentos por Cobrar"
|
||||
},
|
||||
{
|
||||
"children": [
|
||||
{
|
||||
"name": "Caja Chica",
|
||||
"report_type": "Balance Sheet"
|
||||
}
|
||||
],
|
||||
"name": "Caja y Bancos"
|
||||
}
|
||||
],
|
||||
"name": "Activo Corriente"
|
||||
},
|
||||
{
|
||||
"children": [
|
||||
{
|
||||
"children": [
|
||||
{
|
||||
"name": "Propiedad, Planta y Equipo",
|
||||
"report_type": "Balance Sheet"
|
||||
}
|
||||
],
|
||||
"name": "Propiedad, Planta y Equipo"
|
||||
},
|
||||
{
|
||||
"children": [
|
||||
{
|
||||
"name": "Depreciaciones Acumuladas",
|
||||
"report_type": "Balance Sheet"
|
||||
}
|
||||
],
|
||||
"name": "Depreciaciones Acumuladas"
|
||||
}
|
||||
],
|
||||
"name": "No Corriente"
|
||||
},
|
||||
{
|
||||
"children": [
|
||||
{
|
||||
"children": [
|
||||
{
|
||||
"name": "Gastos de Organizaci\u00f3n",
|
||||
"report_type": "Balance Sheet"
|
||||
}
|
||||
],
|
||||
"name": "Gastos de Organizaci\u00f3n"
|
||||
},
|
||||
{
|
||||
"children": [
|
||||
{
|
||||
"name": "Gastos por Amortizar",
|
||||
"report_type": "Balance Sheet"
|
||||
}
|
||||
],
|
||||
"name": "Gastos por Amortizar"
|
||||
},
|
||||
{
|
||||
"children": [
|
||||
{
|
||||
"name": "Gastos Anticipados",
|
||||
"report_type": "Balance Sheet"
|
||||
}
|
||||
],
|
||||
"name": "Gastos Anticipados"
|
||||
},
|
||||
{
|
||||
"children": [
|
||||
{
|
||||
"name": "Otros Activos",
|
||||
"report_type": "Balance Sheet"
|
||||
}
|
||||
],
|
||||
"name": "Otros Activos"
|
||||
}
|
||||
],
|
||||
"name": "Diferido"
|
||||
}
|
||||
],
|
||||
"name": "Activo"
|
||||
}
|
||||
],
|
||||
"name": "Balance General"
|
||||
},
|
||||
{
|
||||
"children": [
|
||||
{
|
||||
"children": [
|
||||
{
|
||||
"children": [
|
||||
{
|
||||
"children": [
|
||||
{
|
||||
"name": "Gastos no Deducibles",
|
||||
"report_type": "Profit and Loss"
|
||||
}
|
||||
],
|
||||
"name": "Gastos no Deducibles"
|
||||
}
|
||||
],
|
||||
"name": "Gastos no Deducibles"
|
||||
},
|
||||
{
|
||||
"children": [
|
||||
{
|
||||
"children": [
|
||||
{
|
||||
"name": "Otros Gastos de Operaci\u00f3n",
|
||||
"report_type": "Profit and Loss"
|
||||
}
|
||||
],
|
||||
"name": "Otros Gastos de Operaci\u00f3n"
|
||||
},
|
||||
{
|
||||
"children": [
|
||||
{
|
||||
"name": "Gastos de Administraci\u00f3n",
|
||||
"report_type": "Profit and Loss"
|
||||
}
|
||||
],
|
||||
"name": "Gastos de Administraci\u00f3n"
|
||||
}
|
||||
],
|
||||
"name": "Gastos de Operaci\u00f3n"
|
||||
},
|
||||
{
|
||||
"children": [
|
||||
{
|
||||
"children": [
|
||||
{
|
||||
"name": "Gastos de Ventas",
|
||||
"report_type": "Profit and Loss"
|
||||
}
|
||||
],
|
||||
"name": "Gastos de Ventas"
|
||||
}
|
||||
],
|
||||
"name": "Gastos de Ventas"
|
||||
}
|
||||
],
|
||||
"name": "Gastos"
|
||||
},
|
||||
{
|
||||
"children": [
|
||||
{
|
||||
"children": [
|
||||
{
|
||||
"children": [
|
||||
{
|
||||
"name": "Otros Ingresos",
|
||||
"report_type": "Profit and Loss"
|
||||
}
|
||||
],
|
||||
"name": "Otros Ingresos"
|
||||
}
|
||||
],
|
||||
"name": "Otros Ingresos"
|
||||
},
|
||||
{
|
||||
"children": [
|
||||
{
|
||||
"children": [
|
||||
{
|
||||
"name": "Descuentos Sobre Ventas",
|
||||
"report_type": "Profit and Loss"
|
||||
},
|
||||
{
|
||||
"name": "Ventas",
|
||||
"report_type": "Profit and Loss"
|
||||
}
|
||||
],
|
||||
"name": "Ventas Netas"
|
||||
}
|
||||
],
|
||||
"name": "Ventas"
|
||||
}
|
||||
],
|
||||
"name": "Ingresos"
|
||||
},
|
||||
{
|
||||
"children": [
|
||||
{
|
||||
"children": [
|
||||
{
|
||||
"children": [
|
||||
{
|
||||
"name": "Intereses",
|
||||
"report_type": "Profit and Loss"
|
||||
},
|
||||
{
|
||||
"name": "Otros Gastos Financieros",
|
||||
"report_type": "Profit and Loss"
|
||||
}
|
||||
],
|
||||
"name": "Otros Gastos y Productos Financieros"
|
||||
}
|
||||
],
|
||||
"name": "Otros Gastos y Productos Financieros"
|
||||
}
|
||||
],
|
||||
"name": "Otros Gastos y Productos Financieros"
|
||||
},
|
||||
{
|
||||
"children": [
|
||||
{
|
||||
"children": [
|
||||
{
|
||||
"children": [
|
||||
{
|
||||
"name": "Costos de Ventas",
|
||||
"report_type": "Profit and Loss"
|
||||
}
|
||||
],
|
||||
"name": "Costos de Ventas"
|
||||
}
|
||||
],
|
||||
"name": "Costos"
|
||||
}
|
||||
],
|
||||
"name": "Egresos"
|
||||
}
|
||||
],
|
||||
"name": "Estado de Resultados"
|
||||
}
|
||||
],
|
||||
"name": "Plan contable de Guatemala (sencillo)"
|
||||
}
|
||||
}
|
@ -11,148 +11,17 @@
|
||||
{
|
||||
"children": [
|
||||
{
|
||||
"name": "Gastos de Ventas",
|
||||
"root_type": "Expense"
|
||||
"name": "Impuestos",
|
||||
"report_type": "Balance Sheet"
|
||||
}
|
||||
],
|
||||
"name": "Gastos de Ventas"
|
||||
}
|
||||
],
|
||||
"name": "Gastos de Ventas"
|
||||
},
|
||||
{
|
||||
"children": [
|
||||
{
|
||||
"children": [
|
||||
{
|
||||
"name": "Gastos no Deducibles",
|
||||
"root_type": "Expense"
|
||||
}
|
||||
],
|
||||
"name": "Gastos no Deducibles"
|
||||
}
|
||||
],
|
||||
"name": "Gastos no Deducibles"
|
||||
},
|
||||
{
|
||||
"children": [
|
||||
{
|
||||
"children": [
|
||||
{
|
||||
"name": "Gastos de Administraci\u00f3n",
|
||||
"root_type": "Expense"
|
||||
}
|
||||
],
|
||||
"name": "Gastos de Administraci\u00f3n"
|
||||
"name": "Impuestos"
|
||||
},
|
||||
{
|
||||
"children": [
|
||||
{
|
||||
"name": "Otros Gastos de Operaci\u00f3n",
|
||||
"root_type": "Expense"
|
||||
}
|
||||
],
|
||||
"name": "Otros Gastos de Operaci\u00f3n"
|
||||
}
|
||||
],
|
||||
"name": "Gastos de Operaci\u00f3n"
|
||||
}
|
||||
],
|
||||
"name": "Gastos"
|
||||
},
|
||||
{
|
||||
"children": [
|
||||
{
|
||||
"children": [
|
||||
{
|
||||
"children": [
|
||||
{
|
||||
"name": "Costos de Ventas",
|
||||
"root_type": "Expense"
|
||||
}
|
||||
],
|
||||
"name": "Costos de Ventas"
|
||||
}
|
||||
],
|
||||
"name": "Costos"
|
||||
}
|
||||
],
|
||||
"name": "Egresos"
|
||||
},
|
||||
{
|
||||
"children": [
|
||||
{
|
||||
"children": [
|
||||
{
|
||||
"children": [
|
||||
{
|
||||
"name": "Intereses",
|
||||
"root_type": "Expense"
|
||||
},
|
||||
{
|
||||
"name": "Otros Gastos Financieros",
|
||||
"root_type": "Expense"
|
||||
}
|
||||
],
|
||||
"name": "Otros Gastos y Productos Financieros"
|
||||
}
|
||||
],
|
||||
"name": "Otros Gastos y Productos Financieros"
|
||||
}
|
||||
],
|
||||
"name": "Otros Gastos y Productos Financieros"
|
||||
},
|
||||
{
|
||||
"children": [
|
||||
{
|
||||
"children": [
|
||||
{
|
||||
"children": [
|
||||
{
|
||||
"name": "Descuentos Sobre Ventas",
|
||||
"root_type": "Income"
|
||||
},
|
||||
{
|
||||
"name": "Ventas",
|
||||
"root_type": "Income"
|
||||
}
|
||||
],
|
||||
"name": "Ventas Netas"
|
||||
}
|
||||
],
|
||||
"name": "Ventas"
|
||||
},
|
||||
{
|
||||
"children": [
|
||||
{
|
||||
"children": [
|
||||
{
|
||||
"name": "Otros Ingresos",
|
||||
"root_type": "Income"
|
||||
}
|
||||
],
|
||||
"name": "Otros Ingresos"
|
||||
}
|
||||
],
|
||||
"name": "Otros Ingresos"
|
||||
}
|
||||
],
|
||||
"name": "Ingresos"
|
||||
}
|
||||
],
|
||||
"name": "Estado de Resultados"
|
||||
},
|
||||
{
|
||||
"children": [
|
||||
{
|
||||
"children": [
|
||||
{
|
||||
"children": [
|
||||
{
|
||||
"children": [
|
||||
{
|
||||
"name": "ISV por Pagar",
|
||||
"root_type": "Liability"
|
||||
"report_type": "Balance Sheet"
|
||||
}
|
||||
],
|
||||
"name": "ISV por Pagar"
|
||||
@ -161,19 +30,10 @@
|
||||
"children": [
|
||||
{
|
||||
"name": "Cuentas y Documentos por Pagar",
|
||||
"root_type": "Liability"
|
||||
"report_type": "Balance Sheet"
|
||||
}
|
||||
],
|
||||
"name": "Cuentas y Documentos por Pagar"
|
||||
},
|
||||
{
|
||||
"children": [
|
||||
{
|
||||
"name": "Impuestos",
|
||||
"root_type": "Liability"
|
||||
}
|
||||
],
|
||||
"name": "Impuestos"
|
||||
}
|
||||
],
|
||||
"name": "Pasivo Corto Plazo"
|
||||
@ -184,7 +44,7 @@
|
||||
"children": [
|
||||
{
|
||||
"name": "Anticipos",
|
||||
"root_type": "Liability"
|
||||
"report_type": "Balance Sheet"
|
||||
}
|
||||
],
|
||||
"name": "Cr\u00e9ditos Diferidos"
|
||||
@ -198,7 +58,7 @@
|
||||
"children": [
|
||||
{
|
||||
"name": "Provisi\u00f3n para Indemnizaciones",
|
||||
"root_type": "Liability"
|
||||
"report_type": "Balance Sheet"
|
||||
}
|
||||
],
|
||||
"name": "Provisi\u00f3n para Indemnizaciones"
|
||||
@ -216,16 +76,16 @@
|
||||
{
|
||||
"children": [
|
||||
{
|
||||
"name": "Reservas",
|
||||
"root_type": "Asset"
|
||||
"name": "Capital Autorizado, Suscr\u00edto y Pagado",
|
||||
"report_type": "Balance Sheet"
|
||||
},
|
||||
{
|
||||
"name": "Perdidas y Ganancias",
|
||||
"root_type": "Asset"
|
||||
"report_type": "Balance Sheet"
|
||||
},
|
||||
{
|
||||
"name": "Capital Autorizado, Suscr\u00edto y Pagado",
|
||||
"root_type": "Asset"
|
||||
"name": "Reservas",
|
||||
"report_type": "Balance Sheet"
|
||||
}
|
||||
],
|
||||
"name": "Patrimonio de los Accionistas"
|
||||
@ -246,12 +106,12 @@
|
||||
{
|
||||
"children": [
|
||||
{
|
||||
"name": "ISV por Cobrar",
|
||||
"root_type": "Asset"
|
||||
"name": "Retenciones de ISV recibidas",
|
||||
"report_type": "Balance Sheet"
|
||||
},
|
||||
{
|
||||
"name": "Retenciones de ISV recibidas",
|
||||
"root_type": "Asset"
|
||||
"name": "ISV por Cobrar",
|
||||
"report_type": "Balance Sheet"
|
||||
}
|
||||
],
|
||||
"name": "ISV por Cobrar"
|
||||
@ -260,19 +120,19 @@
|
||||
"children": [
|
||||
{
|
||||
"name": "Prestamos al Personal",
|
||||
"root_type": "Asset"
|
||||
"report_type": "Balance Sheet"
|
||||
},
|
||||
{
|
||||
"name": "Cuentas por Cobrar Empresas Afilidas",
|
||||
"root_type": "Asset"
|
||||
"report_type": "Balance Sheet"
|
||||
},
|
||||
{
|
||||
"name": "Cuentas por Cobrar Generales",
|
||||
"root_type": "Asset"
|
||||
"report_type": "Balance Sheet"
|
||||
},
|
||||
{
|
||||
"name": "Otras Cuentas por Cobrar",
|
||||
"root_type": "Asset"
|
||||
"report_type": "Balance Sheet"
|
||||
}
|
||||
],
|
||||
"name": "Cuentas y Documentos por Cobrar"
|
||||
@ -281,7 +141,7 @@
|
||||
"children": [
|
||||
{
|
||||
"name": "Caja Chica",
|
||||
"root_type": "Asset"
|
||||
"report_type": "Balance Sheet"
|
||||
}
|
||||
],
|
||||
"name": "Caja y Bancos"
|
||||
@ -295,7 +155,7 @@
|
||||
"children": [
|
||||
{
|
||||
"name": "Propiedad, Planta y Equipo",
|
||||
"root_type": "Asset"
|
||||
"report_type": "Balance Sheet"
|
||||
}
|
||||
],
|
||||
"name": "Propiedad, Planta y Equipo"
|
||||
@ -304,7 +164,7 @@
|
||||
"children": [
|
||||
{
|
||||
"name": "Depreciaciones Acumuladas",
|
||||
"root_type": "Asset"
|
||||
"report_type": "Balance Sheet"
|
||||
}
|
||||
],
|
||||
"name": "Depreciaciones Acumuladas"
|
||||
@ -318,7 +178,7 @@
|
||||
"children": [
|
||||
{
|
||||
"name": "Gastos de Organizaci\u00f3n",
|
||||
"root_type": "Asset"
|
||||
"report_type": "Balance Sheet"
|
||||
}
|
||||
],
|
||||
"name": "Gastos de Organizaci\u00f3n"
|
||||
@ -327,7 +187,7 @@
|
||||
"children": [
|
||||
{
|
||||
"name": "Gastos por Amortizar",
|
||||
"root_type": "Asset"
|
||||
"report_type": "Balance Sheet"
|
||||
}
|
||||
],
|
||||
"name": "Gastos por Amortizar"
|
||||
@ -336,7 +196,7 @@
|
||||
"children": [
|
||||
{
|
||||
"name": "Gastos Anticipados",
|
||||
"root_type": "Asset"
|
||||
"report_type": "Balance Sheet"
|
||||
}
|
||||
],
|
||||
"name": "Gastos Anticipados"
|
||||
@ -345,7 +205,7 @@
|
||||
"children": [
|
||||
{
|
||||
"name": "Otros Activos",
|
||||
"root_type": "Asset"
|
||||
"report_type": "Balance Sheet"
|
||||
}
|
||||
],
|
||||
"name": "Otros Activos"
|
||||
@ -358,6 +218,146 @@
|
||||
}
|
||||
],
|
||||
"name": "Balance General"
|
||||
},
|
||||
{
|
||||
"children": [
|
||||
{
|
||||
"children": [
|
||||
{
|
||||
"children": [
|
||||
{
|
||||
"children": [
|
||||
{
|
||||
"name": "Gastos no Deducibles",
|
||||
"report_type": "Profit and Loss"
|
||||
}
|
||||
],
|
||||
"name": "Gastos no Deducibles"
|
||||
}
|
||||
],
|
||||
"name": "Gastos no Deducibles"
|
||||
},
|
||||
{
|
||||
"children": [
|
||||
{
|
||||
"children": [
|
||||
{
|
||||
"name": "Otros Gastos de Operaci\u00f3n",
|
||||
"report_type": "Profit and Loss"
|
||||
}
|
||||
],
|
||||
"name": "Otros Gastos de Operaci\u00f3n"
|
||||
},
|
||||
{
|
||||
"children": [
|
||||
{
|
||||
"name": "Gastos de Administraci\u00f3n",
|
||||
"report_type": "Profit and Loss"
|
||||
}
|
||||
],
|
||||
"name": "Gastos de Administraci\u00f3n"
|
||||
}
|
||||
],
|
||||
"name": "Gastos de Operaci\u00f3n"
|
||||
},
|
||||
{
|
||||
"children": [
|
||||
{
|
||||
"children": [
|
||||
{
|
||||
"name": "Gastos de Ventas",
|
||||
"report_type": "Profit and Loss"
|
||||
}
|
||||
],
|
||||
"name": "Gastos de Ventas"
|
||||
}
|
||||
],
|
||||
"name": "Gastos de Ventas"
|
||||
}
|
||||
],
|
||||
"name": "Gastos"
|
||||
},
|
||||
{
|
||||
"children": [
|
||||
{
|
||||
"children": [
|
||||
{
|
||||
"children": [
|
||||
{
|
||||
"name": "Otros Ingresos",
|
||||
"report_type": "Profit and Loss"
|
||||
}
|
||||
],
|
||||
"name": "Otros Ingresos"
|
||||
}
|
||||
],
|
||||
"name": "Otros Ingresos"
|
||||
},
|
||||
{
|
||||
"children": [
|
||||
{
|
||||
"children": [
|
||||
{
|
||||
"name": "Descuentos Sobre Ventas",
|
||||
"report_type": "Profit and Loss"
|
||||
},
|
||||
{
|
||||
"name": "Ventas",
|
||||
"report_type": "Profit and Loss"
|
||||
}
|
||||
],
|
||||
"name": "Ventas Netas"
|
||||
}
|
||||
],
|
||||
"name": "Ventas"
|
||||
}
|
||||
],
|
||||
"name": "Ingresos"
|
||||
},
|
||||
{
|
||||
"children": [
|
||||
{
|
||||
"children": [
|
||||
{
|
||||
"children": [
|
||||
{
|
||||
"name": "Intereses",
|
||||
"report_type": "Profit and Loss"
|
||||
},
|
||||
{
|
||||
"name": "Otros Gastos Financieros",
|
||||
"report_type": "Profit and Loss"
|
||||
}
|
||||
],
|
||||
"name": "Otros Gastos y Productos Financieros"
|
||||
}
|
||||
],
|
||||
"name": "Otros Gastos y Productos Financieros"
|
||||
}
|
||||
],
|
||||
"name": "Otros Gastos y Productos Financieros"
|
||||
},
|
||||
{
|
||||
"children": [
|
||||
{
|
||||
"children": [
|
||||
{
|
||||
"children": [
|
||||
{
|
||||
"name": "Costos de Ventas",
|
||||
"report_type": "Profit and Loss"
|
||||
}
|
||||
],
|
||||
"name": "Costos de Ventas"
|
||||
}
|
||||
],
|
||||
"name": "Costos"
|
||||
}
|
||||
],
|
||||
"name": "Egresos"
|
||||
}
|
||||
],
|
||||
"name": "Estado de Resultados"
|
||||
}
|
||||
],
|
||||
"name": "Plan contable de Honduras (sencillo)"
|
File diff suppressed because it is too large
Load Diff
@ -0,0 +1,263 @@
|
||||
# Copyright (c) 2013, Web Notes Technologies Pvt. Ltd. and Contributors
|
||||
# License: GNU General Public License v3. See license.txt
|
||||
|
||||
"""
|
||||
Import chart of accounts from OpenERP sources
|
||||
"""
|
||||
from __future__ import unicode_literals
|
||||
|
||||
import os, json
|
||||
import ast
|
||||
from xml.etree import ElementTree as ET
|
||||
from frappe.utils.datautils import read_csv_content
|
||||
from frappe.utils import cstr
|
||||
import frappe
|
||||
|
||||
|
||||
path = "/Users/nabinhait/Documents/openerp/openerp/addons"
|
||||
|
||||
accounts = {}
|
||||
charts = {}
|
||||
all_account_types = []
|
||||
|
||||
def go():
|
||||
global accounts, charts
|
||||
default_account_types = get_default_account_types()
|
||||
|
||||
country_dirs = []
|
||||
for basepath, folders, files in os.walk(path):
|
||||
basename = os.path.basename(basepath)
|
||||
if basename.startswith("l10n_"):
|
||||
country_dirs.append(basename)
|
||||
|
||||
for country_dir in country_dirs:
|
||||
accounts, charts = {}, {}
|
||||
country_path = os.path.join(path, country_dir)
|
||||
manifest = ast.literal_eval(open(os.path.join(country_path, "__openerp__.py")).read())
|
||||
data_files = manifest.get("data", []) + manifest.get("init_xml", []) + \
|
||||
manifest.get("update_xml", [])
|
||||
files_path = [os.path.join(country_path, d) for d in data_files]
|
||||
xml_roots = get_xml_roots(files_path)
|
||||
csv_content = get_csv_contents(files_path)
|
||||
prefix = country_dir if csv_content else None
|
||||
account_types = get_account_types(xml_roots.get("account.account.type", []),
|
||||
csv_content.get("account.account.type", []), prefix)
|
||||
account_types.update(default_account_types)
|
||||
|
||||
if xml_roots:
|
||||
make_maps_for_xml(xml_roots, account_types, country_dir)
|
||||
|
||||
if csv_content:
|
||||
make_maps_for_csv(csv_content, account_types, country_dir)
|
||||
make_account_trees()
|
||||
make_charts()
|
||||
|
||||
def get_default_account_types():
|
||||
default_types_root = []
|
||||
for file in ["data_account_type.xml"]:
|
||||
default_types_root.append(ET.parse(os.path.join(path, "account", "data",
|
||||
"data_account_type.xml")).getroot())
|
||||
return get_account_types(default_types_root, None, prefix="account")
|
||||
|
||||
def get_xml_roots(files_path):
|
||||
xml_roots = frappe._dict()
|
||||
for filepath in files_path:
|
||||
fname = os.path.basename(filepath)
|
||||
if fname.endswith(".xml"):
|
||||
tree = ET.parse(filepath)
|
||||
root = tree.getroot()
|
||||
for node in root[0].findall("record"):
|
||||
if node.get("model") in ["account.account.template",
|
||||
"account.chart.template", "account.account.type"]:
|
||||
xml_roots.setdefault(node.get("model"), []).append(root)
|
||||
break
|
||||
return xml_roots
|
||||
|
||||
def get_csv_contents(files_path):
|
||||
csv_content = {}
|
||||
for filepath in files_path:
|
||||
fname = os.path.basename(filepath)
|
||||
for file_type in ["account.account.template", "account.account.type",
|
||||
"account.chart.template"]:
|
||||
if fname.startswith(file_type) and fname.endswith(".csv"):
|
||||
with open(filepath, "r") as csvfile:
|
||||
try:
|
||||
csv_content.setdefault(file_type, [])\
|
||||
.append(read_csv_content(csvfile.read()))
|
||||
except Exception, e:
|
||||
continue
|
||||
return csv_content
|
||||
|
||||
def get_account_types(root_list, csv_content, prefix=None):
|
||||
types = {}
|
||||
account_type_map = {
|
||||
'cash': 'Cash',
|
||||
'bank': 'Bank',
|
||||
'tr_cash': 'Cash',
|
||||
'tr_bank': 'Bank',
|
||||
'receivable': 'Receivable',
|
||||
'tr_receivable': 'Receivable',
|
||||
'account rec': 'Receivable',
|
||||
'payable': 'Payable',
|
||||
'tr_payable': 'Payable',
|
||||
'equity': 'Equity',
|
||||
'stocks': 'Stock',
|
||||
'stock': 'Stock',
|
||||
'tax': 'Tax',
|
||||
'tr_tax': 'Tax',
|
||||
'tax-out': 'Tax',
|
||||
'tax-in': 'Tax',
|
||||
'charges_personnel': 'Chargeable',
|
||||
'fixed asset': 'Fixed Asset',
|
||||
'cogs': 'Cost of Goods Sold',
|
||||
|
||||
}
|
||||
for root in root_list:
|
||||
for node in root[0].findall("record"):
|
||||
if node.get("model")=="account.account.type":
|
||||
data = {}
|
||||
for field in node.findall("field"):
|
||||
if field.get("name")=="report_type" and field.text.lower() != "none":
|
||||
data["report_type"] = get_report_type(field.text.title())
|
||||
if field.get("name")=="code" and field.text.lower() != "none" \
|
||||
and account_type_map.get(field.text):
|
||||
data["account_type"] = account_type_map[field.text]
|
||||
|
||||
node_id = prefix + "." + node.get("id") if prefix else node.get("id")
|
||||
types[node_id] = data
|
||||
|
||||
if csv_content and csv_content[0][0]=="id":
|
||||
for row in csv_content[1:]:
|
||||
row_dict = dict(zip(csv_content[0], row))
|
||||
data = {}
|
||||
if row_dict.get("report_type"):
|
||||
data["report_type"] = get_report_type(row_dict.get("report_type"))
|
||||
if row_dict.get("code") and account_type_map.get(row_dict["code"]):
|
||||
data["account_type"] = account_type_map[row_dict["code"]]
|
||||
if data and data.get("id"):
|
||||
node_id = prefix + "." + data.get("id") if prefix else data.get("id")
|
||||
types[node_id] = data
|
||||
return types
|
||||
|
||||
def get_report_type(report_type):
|
||||
report_type_map = {
|
||||
"asset": "Balance Sheet",
|
||||
"liability": "Balance Sheet",
|
||||
"equity": "Balance Sheet",
|
||||
"expense": "Profit and Loss",
|
||||
"income": "Profit and Loss"
|
||||
}
|
||||
|
||||
for d in report_type_map:
|
||||
if d in report_type.lower():
|
||||
return report_type_map[d]
|
||||
|
||||
def make_maps_for_xml(xml_roots, account_types, country_dir):
|
||||
"""make maps for `charts` and `accounts`"""
|
||||
for model, root_list in xml_roots.iteritems():
|
||||
for root in root_list:
|
||||
for node in root[0].findall("record"):
|
||||
if node.get("model")=="account.account.template":
|
||||
data = {}
|
||||
for field in node.findall("field"):
|
||||
if field.get("name")=="name":
|
||||
data["name"] = field.text
|
||||
if field.get("name")=="parent_id":
|
||||
parent_id = field.get("ref") or field.get("eval")
|
||||
data["parent_id"] = parent_id
|
||||
|
||||
if field.get("name")=="user_type":
|
||||
value = field.get("ref")
|
||||
if account_types.get(value, {}).get("report_type"):
|
||||
data["report_type"] = account_types[value]["report_type"]
|
||||
|
||||
if account_types.get(value, {}).get("account_type"):
|
||||
data["account_type"] = account_types[value]["account_type"]
|
||||
if data["account_type"] not in all_account_types:
|
||||
all_account_types.append(data["account_type"])
|
||||
|
||||
data["children"] = []
|
||||
accounts[node.get("id")] = data
|
||||
|
||||
if node.get("model")=="account.chart.template":
|
||||
data = {}
|
||||
for field in node.findall("field"):
|
||||
if field.get("name")=="name":
|
||||
data["name"] = field.text
|
||||
if field.get("name")=="account_root_id":
|
||||
data["account_root_id"] = field.get("ref")
|
||||
data["id"] = country_dir
|
||||
charts.setdefault(node.get("id"), {}).update(data)
|
||||
|
||||
def make_account_trees():
|
||||
"""build tree hierarchy"""
|
||||
for id in accounts.keys():
|
||||
account = accounts[id]
|
||||
if account.get("parent_id"):
|
||||
if accounts.get(account["parent_id"]):
|
||||
accounts[account["parent_id"]]["children"].append(account)
|
||||
del account["parent_id"]
|
||||
|
||||
# remove empty children
|
||||
for id in accounts.keys():
|
||||
if "children" in accounts[id] and not accounts[id].get("children"):
|
||||
del accounts[id]["children"]
|
||||
|
||||
def make_maps_for_csv(csv_content, account_types, country_dir):
|
||||
for content in csv_content.get("account.account.template", []):
|
||||
for row in content[1:]:
|
||||
data = dict(zip(content[0], row))
|
||||
account = {
|
||||
"name": data.get("name"),
|
||||
"parent_id": data.get("parent_id:id") or data.get("parent_id/id"),
|
||||
"children": []
|
||||
}
|
||||
user_type = data.get("user_type/id") or data.get("user_type:id")
|
||||
if account_types.get(user_type, {}).get("report_type"):
|
||||
account["report_type"] = account_types[user_type]["report_type"]
|
||||
|
||||
if account_types.get(user_type, {}).get("account_type"):
|
||||
account["account_type"] = account_types[user_type]["account_type"]
|
||||
if account["account_type"] not in all_account_types:
|
||||
all_account_types.append(account["account_type"])
|
||||
|
||||
accounts[data.get("id")] = account
|
||||
if not account.get("parent_id") and data.get("chart_template_id:id"):
|
||||
chart_id = data.get("chart_template_id:id")
|
||||
charts.setdefault(chart_id, {}).update({"account_root_id": data.get("id")})
|
||||
|
||||
for content in csv_content.get("account.chart.template", []):
|
||||
for row in content[1:]:
|
||||
if row:
|
||||
data = dict(zip(content[0], row))
|
||||
charts.setdefault(data.get("id"), {}).update({
|
||||
"account_root_id": data.get("account_root_id:id") or \
|
||||
data.get("account_root_id/id"),
|
||||
"name": data.get("name"),
|
||||
"id": country_dir
|
||||
})
|
||||
|
||||
|
||||
def make_charts():
|
||||
"""write chart files in app/setup/doctype/company/charts"""
|
||||
for chart_id in charts:
|
||||
src = charts[chart_id]
|
||||
if not src.get("name") or not src.get("account_root_id"):
|
||||
continue
|
||||
|
||||
if not src["account_root_id"] in accounts:
|
||||
continue
|
||||
|
||||
filename = src["id"][5:] + "_" + chart_id
|
||||
|
||||
print "building " + filename
|
||||
chart = {}
|
||||
chart["name"] = src["name"]
|
||||
chart["root"] = accounts[src["account_root_id"]]
|
||||
|
||||
with open(os.path.join("erpnext", "accounts", "doctype", "chart_of_accounts",
|
||||
"charts", filename + ".json"), "w") as chartfile:
|
||||
chartfile.write(json.dumps(chart, indent=1, sort_keys=True))
|
||||
|
||||
if __name__=="__main__":
|
||||
go()
|
@ -0,0 +1,219 @@
|
||||
{
|
||||
"name": "India - Chart of Accounts for Private Ltd/Partnership",
|
||||
"root": {
|
||||
"children": [
|
||||
{
|
||||
"children": [
|
||||
{
|
||||
"children": [
|
||||
{
|
||||
"name": "Mortgage Loan Payable",
|
||||
"report_type": "Balance Sheet"
|
||||
},
|
||||
{
|
||||
"name": "Interest Payable",
|
||||
"report_type": "Balance Sheet"
|
||||
},
|
||||
{
|
||||
"name": "Wages Payable",
|
||||
"report_type": "Balance Sheet"
|
||||
},
|
||||
{
|
||||
"name": "Owner's Equity Accounts",
|
||||
"report_type": "Balance Sheet"
|
||||
},
|
||||
{
|
||||
"name": "Notes Payable",
|
||||
"report_type": "Balance Sheet"
|
||||
},
|
||||
{
|
||||
"children": [
|
||||
{
|
||||
"name": "Exice Duty Payable",
|
||||
"report_type": "Balance Sheet"
|
||||
},
|
||||
{
|
||||
"name": "Sales Tax Payable",
|
||||
"report_type": "Balance Sheet"
|
||||
},
|
||||
{
|
||||
"name": "Service Tax Payable",
|
||||
"report_type": "Balance Sheet"
|
||||
},
|
||||
{
|
||||
"name": "VAT Payable",
|
||||
"report_type": "Balance Sheet"
|
||||
}
|
||||
],
|
||||
"name": "Tax payable",
|
||||
"report_type": "Balance Sheet"
|
||||
},
|
||||
{
|
||||
"account_type": "Payable",
|
||||
"name": "Accounts Payable",
|
||||
"report_type": "Balance Sheet"
|
||||
},
|
||||
{
|
||||
"name": "Unearned Revenues",
|
||||
"report_type": "Balance Sheet"
|
||||
},
|
||||
{
|
||||
"name": "Reserve and Surplus Account",
|
||||
"report_type": "Balance Sheet"
|
||||
}
|
||||
],
|
||||
"name": "Liabilities",
|
||||
"report_type": "Balance Sheet"
|
||||
},
|
||||
{
|
||||
"children": [
|
||||
{
|
||||
"name": "Buildings",
|
||||
"report_type": "Balance Sheet"
|
||||
},
|
||||
{
|
||||
"name": "Supplies",
|
||||
"report_type": "Balance Sheet"
|
||||
},
|
||||
{
|
||||
"name": "Land",
|
||||
"report_type": "Balance Sheet"
|
||||
},
|
||||
{
|
||||
"account_type": "Receivable",
|
||||
"name": "Accounts Receivable",
|
||||
"report_type": "Balance Sheet"
|
||||
},
|
||||
{
|
||||
"name": "Accumulated Depreciation - Equipment",
|
||||
"report_type": "Balance Sheet"
|
||||
},
|
||||
{
|
||||
"name": "Tax Receivable",
|
||||
"report_type": "Balance Sheet"
|
||||
},
|
||||
{
|
||||
"name": "Equipment",
|
||||
"report_type": "Balance Sheet"
|
||||
},
|
||||
{
|
||||
"account_type": "Cash",
|
||||
"name": "Cash",
|
||||
"report_type": "Balance Sheet"
|
||||
},
|
||||
{
|
||||
"name": "Prepaid Insurance",
|
||||
"report_type": "Balance Sheet"
|
||||
},
|
||||
{
|
||||
"name": "Accumulated Depreciation - Buildings",
|
||||
"report_type": "Balance Sheet"
|
||||
},
|
||||
{
|
||||
"name": "Merchandise Inventory",
|
||||
"report_type": "Balance Sheet"
|
||||
}
|
||||
],
|
||||
"name": "Assets",
|
||||
"report_type": "Balance Sheet"
|
||||
}
|
||||
],
|
||||
"name": "Balance Sheet"
|
||||
},
|
||||
{
|
||||
"children": [
|
||||
{
|
||||
"children": [
|
||||
{
|
||||
"children": [
|
||||
{
|
||||
"name": "Salaries Expense",
|
||||
"report_type": "Profit and Loss"
|
||||
},
|
||||
{
|
||||
"name": "Wages Expense",
|
||||
"report_type": "Profit and Loss"
|
||||
},
|
||||
{
|
||||
"name": "Supplies Expense",
|
||||
"report_type": "Profit and Loss"
|
||||
},
|
||||
{
|
||||
"name": "Rent Expense",
|
||||
"report_type": "Profit and Loss"
|
||||
},
|
||||
{
|
||||
"name": "Utilities Expense",
|
||||
"report_type": "Profit and Loss"
|
||||
},
|
||||
{
|
||||
"name": "Telephone Expense",
|
||||
"report_type": "Profit and Loss"
|
||||
},
|
||||
{
|
||||
"name": "Advertising Expense",
|
||||
"report_type": "Profit and Loss"
|
||||
},
|
||||
{
|
||||
"name": "Depreciation Expense",
|
||||
"report_type": "Profit and Loss"
|
||||
}
|
||||
],
|
||||
"name": "Operating Expense Accounts",
|
||||
"report_type": "Profit and Loss"
|
||||
}
|
||||
],
|
||||
"name": "Expense",
|
||||
"report_type": "Profit and Loss"
|
||||
},
|
||||
{
|
||||
"children": [
|
||||
{
|
||||
"children": [
|
||||
{
|
||||
"name": "Interest Revenues",
|
||||
"report_type": "Profit and Loss"
|
||||
},
|
||||
{
|
||||
"name": "Gain on Sale of Assets",
|
||||
"report_type": "Profit and Loss"
|
||||
}
|
||||
],
|
||||
"name": "Non-Operating Revenue and Gains",
|
||||
"report_type": "Profit and Loss"
|
||||
},
|
||||
{
|
||||
"children": [
|
||||
{
|
||||
"name": "Product Sales",
|
||||
"report_type": "Profit and Loss"
|
||||
},
|
||||
{
|
||||
"name": "Service Revenues",
|
||||
"report_type": "Profit and Loss"
|
||||
}
|
||||
],
|
||||
"name": "Operating Revenue Accounts",
|
||||
"report_type": "Profit and Loss"
|
||||
}
|
||||
],
|
||||
"name": "Income",
|
||||
"report_type": "Profit and Loss"
|
||||
},
|
||||
{
|
||||
"children": [
|
||||
{
|
||||
"name": "Loss on Sale of Assets",
|
||||
"report_type": "Profit and Loss"
|
||||
}
|
||||
],
|
||||
"name": "Non-Operating Expenses and Losses",
|
||||
"report_type": "Profit and Loss"
|
||||
}
|
||||
],
|
||||
"name": "Profit And Loss"
|
||||
}
|
||||
],
|
||||
"name": "Partnership/Private Firm Chart of Account"
|
||||
}
|
||||
}
|
@ -9,120 +9,120 @@
|
||||
{
|
||||
"children": [
|
||||
{
|
||||
"name": "Payroll Dept. Telephone",
|
||||
"root_type": "Expense"
|
||||
"name": "Sales - Division #1, Product Line 010",
|
||||
"report_type": "Profit and Loss"
|
||||
},
|
||||
{
|
||||
"name": "Payroll Dept. Supplies",
|
||||
"root_type": "Expense"
|
||||
"name": "Sales - Division #3, Product Line 110",
|
||||
"report_type": "Profit and Loss"
|
||||
},
|
||||
{
|
||||
"name": "Payroll Dept. Payroll Taxes",
|
||||
"root_type": "Expense"
|
||||
"name": "Sales - Division #1, Product Line 022",
|
||||
"report_type": "Profit and Loss"
|
||||
},
|
||||
{
|
||||
"name": "Payroll Dept. Salaries",
|
||||
"root_type": "Expense"
|
||||
"name": "Sales - Division #2, Product Line 015",
|
||||
"report_type": "Profit and Loss"
|
||||
}
|
||||
],
|
||||
"name": "Payroll Dept. Expenses",
|
||||
"root_type": "Expense"
|
||||
"name": "Operating Revenues",
|
||||
"report_type": "Profit and Loss"
|
||||
},
|
||||
{
|
||||
"children": [
|
||||
{
|
||||
"name": "COGS - Division #3, Product Line 110",
|
||||
"root_type": "Expense"
|
||||
},
|
||||
{
|
||||
"name": "COGS - Division #2, Product Line 015",
|
||||
"root_type": "Expense"
|
||||
},
|
||||
{
|
||||
"name": "COGS - Division #1, Product Line 022",
|
||||
"root_type": "Expense"
|
||||
},
|
||||
{
|
||||
"name": "COGS - Division #1, Product Line 010",
|
||||
"root_type": "Expense"
|
||||
"name": "Gain on Sale of Assets",
|
||||
"report_type": "Profit and Loss"
|
||||
}
|
||||
],
|
||||
"name": "Cost of Goods Sold",
|
||||
"root_type": "Expense"
|
||||
},
|
||||
{
|
||||
"children": [
|
||||
{
|
||||
"name": "Loss on Sale of Assets",
|
||||
"root_type": "Expense"
|
||||
}
|
||||
],
|
||||
"name": "Non-Operating Expenses and Losses",
|
||||
"root_type": "Expense"
|
||||
},
|
||||
{
|
||||
"children": [
|
||||
{
|
||||
"name": "Marketing Dept. Supplies",
|
||||
"root_type": "Expense"
|
||||
},
|
||||
{
|
||||
"name": "Marketing Dept. Salaries",
|
||||
"root_type": "Expense"
|
||||
},
|
||||
{
|
||||
"name": "Marketing Dept. Telephone",
|
||||
"root_type": "Expense"
|
||||
},
|
||||
{
|
||||
"name": "Marketing Dept. Payroll Taxes",
|
||||
"root_type": "Expense"
|
||||
}
|
||||
],
|
||||
"name": "Marketing Expenses",
|
||||
"root_type": "Expense"
|
||||
"name": "Non-Operating Revenue and Gains",
|
||||
"report_type": "Profit and Loss"
|
||||
}
|
||||
],
|
||||
"name": "Expense",
|
||||
"root_type": "Expense"
|
||||
"name": "Income",
|
||||
"report_type": "Profit and Loss"
|
||||
},
|
||||
{
|
||||
"children": [
|
||||
{
|
||||
"children": [
|
||||
{
|
||||
"name": "Gain on Sale of Assets",
|
||||
"root_type": "Income"
|
||||
"name": "Payroll Dept. Payroll Taxes",
|
||||
"report_type": "Profit and Loss"
|
||||
},
|
||||
{
|
||||
"name": "Payroll Dept. Supplies",
|
||||
"report_type": "Profit and Loss"
|
||||
},
|
||||
{
|
||||
"name": "Payroll Dept. Telephone",
|
||||
"report_type": "Profit and Loss"
|
||||
},
|
||||
{
|
||||
"name": "Payroll Dept. Salaries",
|
||||
"report_type": "Profit and Loss"
|
||||
}
|
||||
],
|
||||
"name": "Non-Operating Revenue and Gains",
|
||||
"root_type": "Income"
|
||||
"name": "Payroll Dept. Expenses",
|
||||
"report_type": "Profit and Loss"
|
||||
},
|
||||
{
|
||||
"children": [
|
||||
{
|
||||
"name": "Sales - Division #1, Product Line 010",
|
||||
"root_type": "Income"
|
||||
"name": "Marketing Dept. Supplies",
|
||||
"report_type": "Profit and Loss"
|
||||
},
|
||||
{
|
||||
"name": "Sales - Division #1, Product Line 022",
|
||||
"root_type": "Income"
|
||||
"name": "Marketing Dept. Telephone",
|
||||
"report_type": "Profit and Loss"
|
||||
},
|
||||
{
|
||||
"name": "Sales - Division #3, Product Line 110",
|
||||
"root_type": "Income"
|
||||
"name": "Marketing Dept. Payroll Taxes",
|
||||
"report_type": "Profit and Loss"
|
||||
},
|
||||
{
|
||||
"name": "Sales - Division #2, Product Line 015",
|
||||
"root_type": "Income"
|
||||
"name": "Marketing Dept. Salaries",
|
||||
"report_type": "Profit and Loss"
|
||||
}
|
||||
],
|
||||
"name": "Operating Revenues",
|
||||
"root_type": "Income"
|
||||
"name": "Marketing Expenses",
|
||||
"report_type": "Profit and Loss"
|
||||
},
|
||||
{
|
||||
"children": [
|
||||
{
|
||||
"name": "COGS - Division #1, Product Line 022",
|
||||
"report_type": "Profit and Loss"
|
||||
},
|
||||
{
|
||||
"name": "COGS - Division #2, Product Line 015",
|
||||
"report_type": "Profit and Loss"
|
||||
},
|
||||
{
|
||||
"name": "COGS - Division #3, Product Line 110",
|
||||
"report_type": "Profit and Loss"
|
||||
},
|
||||
{
|
||||
"name": "COGS - Division #1, Product Line 010",
|
||||
"report_type": "Profit and Loss"
|
||||
}
|
||||
],
|
||||
"name": "Cost of Goods Sold",
|
||||
"report_type": "Profit and Loss"
|
||||
},
|
||||
{
|
||||
"children": [
|
||||
{
|
||||
"name": "Loss on Sale of Assets",
|
||||
"report_type": "Profit and Loss"
|
||||
}
|
||||
],
|
||||
"name": "Non-Operating Expenses and Losses",
|
||||
"report_type": "Profit and Loss"
|
||||
}
|
||||
],
|
||||
"name": "Income",
|
||||
"root_type": "Income"
|
||||
"name": "Expense",
|
||||
"report_type": "Profit and Loss"
|
||||
}
|
||||
],
|
||||
"name": "Profit And Loss"
|
||||
@ -134,175 +134,185 @@
|
||||
{
|
||||
"children": [
|
||||
{
|
||||
"name": "Equipment",
|
||||
"root_type": "Asset"
|
||||
"account_type": "Cash",
|
||||
"name": "Cash - Payroll Checking",
|
||||
"report_type": "Balance Sheet"
|
||||
},
|
||||
{
|
||||
"name": "Accumulated Depreciation - Equipment",
|
||||
"root_type": "Asset"
|
||||
"account_type": "Cash",
|
||||
"name": "Petty Cash Fund",
|
||||
"report_type": "Balance Sheet"
|
||||
},
|
||||
{
|
||||
"name": "Accumulated Depreciation - Vehicles",
|
||||
"root_type": "Asset"
|
||||
"account_type": "Receivable",
|
||||
"name": "Accounts Receivable",
|
||||
"report_type": "Balance Sheet"
|
||||
},
|
||||
{
|
||||
"name": "Buildings",
|
||||
"root_type": "Asset"
|
||||
"name": "Inventory",
|
||||
"report_type": "Balance Sheet"
|
||||
},
|
||||
{
|
||||
"name": "Accumulated Depreciation - Buildings",
|
||||
"root_type": "Asset"
|
||||
"name": "Tax Receivable",
|
||||
"report_type": "Balance Sheet"
|
||||
},
|
||||
{
|
||||
"name": "Vehicles",
|
||||
"root_type": "Asset"
|
||||
"name": "Supplies",
|
||||
"report_type": "Balance Sheet"
|
||||
},
|
||||
{
|
||||
"name": "Land",
|
||||
"root_type": "Asset"
|
||||
"account_type": "Cash",
|
||||
"name": "Cash - Regular Checking",
|
||||
"report_type": "Balance Sheet"
|
||||
},
|
||||
{
|
||||
"name": "Prepaid Insurance",
|
||||
"report_type": "Balance Sheet"
|
||||
},
|
||||
{
|
||||
"name": "Allowance for Doubtful Accounts",
|
||||
"report_type": "Balance Sheet"
|
||||
}
|
||||
],
|
||||
"name": "Property, Plant, and Equipment",
|
||||
"root_type": "Asset"
|
||||
"name": "Current Assets",
|
||||
"report_type": "Balance Sheet"
|
||||
},
|
||||
{
|
||||
"children": [
|
||||
{
|
||||
"name": "Tax Receivable",
|
||||
"root_type": "Asset"
|
||||
"name": "Accumulated Depreciation - Vehicles",
|
||||
"report_type": "Balance Sheet"
|
||||
},
|
||||
{
|
||||
"name": "Inventory",
|
||||
"root_type": "Asset"
|
||||
"name": "Vehicles",
|
||||
"report_type": "Balance Sheet"
|
||||
},
|
||||
{
|
||||
"name": "Cash - Regular Checking"
|
||||
"name": "Accumulated Depreciation - Buildings",
|
||||
"report_type": "Balance Sheet"
|
||||
},
|
||||
{
|
||||
"name": "Petty Cash Fund"
|
||||
"name": "Equipment",
|
||||
"report_type": "Balance Sheet"
|
||||
},
|
||||
{
|
||||
"name": "Allowance for Doubtful Accounts",
|
||||
"root_type": "Asset"
|
||||
"name": "Land",
|
||||
"report_type": "Balance Sheet"
|
||||
},
|
||||
{
|
||||
"name": "Supplies",
|
||||
"root_type": "Asset"
|
||||
"name": "Buildings",
|
||||
"report_type": "Balance Sheet"
|
||||
},
|
||||
{
|
||||
"name": "Cash - Payroll Checking"
|
||||
},
|
||||
{
|
||||
"name": "Accounts Receivable"
|
||||
},
|
||||
{
|
||||
"name": "Prepaid Insurance",
|
||||
"root_type": "Asset"
|
||||
"name": "Accumulated Depreciation - Equipment",
|
||||
"report_type": "Balance Sheet"
|
||||
}
|
||||
],
|
||||
"name": "Current Assets",
|
||||
"root_type": "Asset"
|
||||
"name": "Property, Plant, and Equipment",
|
||||
"report_type": "Balance Sheet"
|
||||
}
|
||||
],
|
||||
"name": "Assets",
|
||||
"root_type": "Asset"
|
||||
"report_type": "Balance Sheet"
|
||||
},
|
||||
{
|
||||
"children": [
|
||||
{
|
||||
"children": [
|
||||
{
|
||||
"name": "Discount on Bonds Payable",
|
||||
"root_type": "Liability"
|
||||
},
|
||||
{
|
||||
"name": "Mortgage Loan Payable",
|
||||
"root_type": "Liability"
|
||||
},
|
||||
{
|
||||
"name": "Bonds Payable",
|
||||
"root_type": "Liability"
|
||||
}
|
||||
],
|
||||
"name": "Long-term Liabilities",
|
||||
"root_type": "Liability"
|
||||
},
|
||||
{
|
||||
"children": [
|
||||
{
|
||||
"name": "Reserve and Surplus Account",
|
||||
"root_type": "Liability"
|
||||
},
|
||||
{
|
||||
"children": [
|
||||
{
|
||||
"name": "VAT Payable",
|
||||
"root_type": "Liability"
|
||||
"name": "Service Tax Payable",
|
||||
"report_type": "Balance Sheet"
|
||||
},
|
||||
{
|
||||
"name": "Exice Duty Payable",
|
||||
"root_type": "Liability"
|
||||
"report_type": "Balance Sheet"
|
||||
},
|
||||
{
|
||||
"name": "Service Tax Payable",
|
||||
"root_type": "Liability"
|
||||
"name": "VAT Payable",
|
||||
"report_type": "Balance Sheet"
|
||||
},
|
||||
{
|
||||
"name": "Sales Tax Payable",
|
||||
"root_type": "Liability"
|
||||
"report_type": "Balance Sheet"
|
||||
}
|
||||
],
|
||||
"name": "Tax payable",
|
||||
"root_type": "Liability"
|
||||
"report_type": "Balance Sheet"
|
||||
},
|
||||
{
|
||||
"name": "Interest Payable",
|
||||
"root_type": "Liability"
|
||||
},
|
||||
{
|
||||
"name": "Accounts Payable"
|
||||
},
|
||||
{
|
||||
"name": "Notes Payable - Credit Line #2",
|
||||
"root_type": "Liability"
|
||||
},
|
||||
{
|
||||
"name": "Notes Payable - Credit Line #1",
|
||||
"root_type": "Liability"
|
||||
},
|
||||
{
|
||||
"name": "Unearned Revenues",
|
||||
"root_type": "Liability"
|
||||
"report_type": "Balance Sheet"
|
||||
},
|
||||
{
|
||||
"name": "Wages Payable",
|
||||
"root_type": "Liability"
|
||||
"report_type": "Balance Sheet"
|
||||
},
|
||||
{
|
||||
"name": "Reserve and Surplus Account",
|
||||
"report_type": "Balance Sheet"
|
||||
},
|
||||
{
|
||||
"name": "Notes Payable - Credit Line #2",
|
||||
"report_type": "Balance Sheet"
|
||||
},
|
||||
{
|
||||
"name": "Unearned Revenues",
|
||||
"report_type": "Balance Sheet"
|
||||
},
|
||||
{
|
||||
"account_type": "Payable",
|
||||
"name": "Accounts Payable",
|
||||
"report_type": "Balance Sheet"
|
||||
},
|
||||
{
|
||||
"name": "Notes Payable - Credit Line #1",
|
||||
"report_type": "Balance Sheet"
|
||||
}
|
||||
],
|
||||
"name": "Current Liabilities",
|
||||
"root_type": "Liability"
|
||||
"report_type": "Balance Sheet"
|
||||
},
|
||||
{
|
||||
"children": [
|
||||
{
|
||||
"name": "Common Stock, No Par",
|
||||
"root_type": "Liability"
|
||||
"name": "Mortgage Loan Payable",
|
||||
"report_type": "Balance Sheet"
|
||||
},
|
||||
{
|
||||
"name": "Bonds Payable",
|
||||
"report_type": "Balance Sheet"
|
||||
},
|
||||
{
|
||||
"name": "Discount on Bonds Payable",
|
||||
"report_type": "Balance Sheet"
|
||||
}
|
||||
],
|
||||
"name": "Long-term Liabilities",
|
||||
"report_type": "Balance Sheet"
|
||||
},
|
||||
{
|
||||
"children": [
|
||||
{
|
||||
"name": "Treasury Stock",
|
||||
"report_type": "Balance Sheet"
|
||||
},
|
||||
{
|
||||
"name": "Retained Earnings",
|
||||
"root_type": "Liability"
|
||||
"report_type": "Balance Sheet"
|
||||
},
|
||||
{
|
||||
"name": "Treasury Stock",
|
||||
"root_type": "Liability"
|
||||
"name": "Common Stock, No Par",
|
||||
"report_type": "Balance Sheet"
|
||||
}
|
||||
],
|
||||
"name": "Stockholders' Equity",
|
||||
"root_type": "Liability"
|
||||
"report_type": "Balance Sheet"
|
||||
}
|
||||
],
|
||||
"name": "Liabilities",
|
||||
"root_type": "Liability"
|
||||
"report_type": "Balance Sheet"
|
||||
}
|
||||
],
|
||||
"name": "Balance Sheet"
|
@ -0,0 +1,996 @@
|
||||
{
|
||||
"name": "Italy - Generic Chart of Accounts",
|
||||
"root": {
|
||||
"children": [
|
||||
{
|
||||
"children": [
|
||||
{
|
||||
"children": [
|
||||
{
|
||||
"name": "canoni di leasing",
|
||||
"report_type": "Profit and Loss"
|
||||
},
|
||||
{
|
||||
"name": "fitti passivi",
|
||||
"report_type": "Profit and Loss"
|
||||
}
|
||||
],
|
||||
"name": "COSTI PER GODIMENTO BENI DI TERZI"
|
||||
},
|
||||
{
|
||||
"children": [
|
||||
{
|
||||
"name": "merci c/rimanenze finali",
|
||||
"report_type": "Profit and Loss"
|
||||
},
|
||||
{
|
||||
"name": "materie di consumo c/rimanenze finali",
|
||||
"report_type": "Profit and Loss"
|
||||
},
|
||||
{
|
||||
"name": "materie di consumo c/esistenze iniziali",
|
||||
"report_type": "Profit and Loss"
|
||||
},
|
||||
{
|
||||
"name": "merci c/esistenze iniziali",
|
||||
"report_type": "Profit and Loss"
|
||||
},
|
||||
{
|
||||
"name": "premi su acquisti",
|
||||
"report_type": "Profit and Loss"
|
||||
},
|
||||
{
|
||||
"name": "resi su acquisti",
|
||||
"report_type": "Profit and Loss"
|
||||
},
|
||||
{
|
||||
"name": "ribassi e abbuoni attivi",
|
||||
"report_type": "Profit and Loss"
|
||||
},
|
||||
{
|
||||
"name": "merci c/acquisti",
|
||||
"report_type": "Profit and Loss"
|
||||
},
|
||||
{
|
||||
"name": "materie di consumo c/acquisti",
|
||||
"report_type": "Profit and Loss"
|
||||
},
|
||||
{
|
||||
"name": "merci c/apporti",
|
||||
"report_type": "Profit and Loss"
|
||||
}
|
||||
],
|
||||
"name": "COSTO DEL VENDUTO"
|
||||
},
|
||||
{
|
||||
"children": [
|
||||
{
|
||||
"children": [
|
||||
{
|
||||
"name": "accantonamento per spese future",
|
||||
"report_type": "Profit and Loss"
|
||||
},
|
||||
{
|
||||
"name": "accantonamento per manutenzioni programmate",
|
||||
"report_type": "Profit and Loss"
|
||||
}
|
||||
],
|
||||
"name": "ALTRI ACCANTONAMENTI"
|
||||
},
|
||||
{
|
||||
"children": [
|
||||
{
|
||||
"name": "accantonamento per responsabilit\u00e0 civile",
|
||||
"report_type": "Profit and Loss"
|
||||
}
|
||||
],
|
||||
"name": "ACCANTONAMENTI PER RISCHI"
|
||||
}
|
||||
],
|
||||
"name": "ACCANTONAMENTI"
|
||||
},
|
||||
{
|
||||
"children": [
|
||||
{
|
||||
"name": "oneri fiscali diversi",
|
||||
"report_type": "Profit and Loss"
|
||||
},
|
||||
{
|
||||
"name": "oneri vari",
|
||||
"report_type": "Profit and Loss"
|
||||
},
|
||||
{
|
||||
"name": "arrotondamenti passivi",
|
||||
"report_type": "Profit and Loss"
|
||||
},
|
||||
{
|
||||
"name": "sopravvenienze passive ordinarie diverse",
|
||||
"report_type": "Profit and Loss"
|
||||
},
|
||||
{
|
||||
"name": "perdite su crediti",
|
||||
"report_type": "Profit and Loss"
|
||||
},
|
||||
{
|
||||
"name": "minusvalenze ordinarie diverse",
|
||||
"report_type": "Profit and Loss"
|
||||
},
|
||||
{
|
||||
"name": "insussistenze passive ordinarie diverse",
|
||||
"report_type": "Profit and Loss"
|
||||
}
|
||||
],
|
||||
"name": "ONERI DIVERSI"
|
||||
},
|
||||
{
|
||||
"children": [
|
||||
{
|
||||
"name": "ammortamento fabbricati",
|
||||
"report_type": "Profit and Loss"
|
||||
},
|
||||
{
|
||||
"name": "ammortamento imballaggi durevoli",
|
||||
"report_type": "Profit and Loss"
|
||||
},
|
||||
{
|
||||
"name": "ammortamento arredamento",
|
||||
"report_type": "Profit and Loss"
|
||||
},
|
||||
{
|
||||
"name": "ammortamento automezzi",
|
||||
"report_type": "Profit and Loss"
|
||||
},
|
||||
{
|
||||
"name": "ammortamento attrezzature commerciali",
|
||||
"report_type": "Profit and Loss"
|
||||
},
|
||||
{
|
||||
"name": "ammortamento macchine d'ufficio",
|
||||
"report_type": "Profit and Loss"
|
||||
},
|
||||
{
|
||||
"name": "ammortamento impianti e macchinari",
|
||||
"report_type": "Profit and Loss"
|
||||
}
|
||||
],
|
||||
"name": "AMMORTAMENTI IMMOBILIZZAZIONI MATERIALI"
|
||||
},
|
||||
{
|
||||
"children": [
|
||||
{
|
||||
"name": "altri costi per il personale",
|
||||
"report_type": "Profit and Loss"
|
||||
},
|
||||
{
|
||||
"name": "oneri sociali",
|
||||
"report_type": "Profit and Loss"
|
||||
},
|
||||
{
|
||||
"name": "salari e stipendi",
|
||||
"report_type": "Profit and Loss"
|
||||
},
|
||||
{
|
||||
"name": "TFRL",
|
||||
"report_type": "Profit and Loss"
|
||||
}
|
||||
],
|
||||
"name": "COSTI PER IL PERSONALE"
|
||||
},
|
||||
{
|
||||
"children": [
|
||||
{
|
||||
"name": "ammortamento software",
|
||||
"report_type": "Profit and Loss"
|
||||
},
|
||||
{
|
||||
"name": "ammortamento costi di impianto",
|
||||
"report_type": "Profit and Loss"
|
||||
},
|
||||
{
|
||||
"name": "ammortamento avviamento",
|
||||
"report_type": "Profit and Loss"
|
||||
}
|
||||
],
|
||||
"name": "AMMORTAMENTI IMMOBILIZZAZIONI IMMATERIALI"
|
||||
},
|
||||
{
|
||||
"children": [
|
||||
{
|
||||
"name": "costi di vigilanza",
|
||||
"report_type": "Profit and Loss"
|
||||
},
|
||||
{
|
||||
"name": "costi per i locali",
|
||||
"report_type": "Profit and Loss"
|
||||
},
|
||||
{
|
||||
"name": "costi per energia",
|
||||
"report_type": "Profit and Loss"
|
||||
},
|
||||
{
|
||||
"name": "costi di pubblicit\u00e0",
|
||||
"report_type": "Profit and Loss"
|
||||
},
|
||||
{
|
||||
"name": "costi di trasporto",
|
||||
"report_type": "Profit and Loss"
|
||||
},
|
||||
{
|
||||
"name": "costi postali",
|
||||
"report_type": "Profit and Loss"
|
||||
},
|
||||
{
|
||||
"name": "spese di incasso",
|
||||
"report_type": "Profit and Loss"
|
||||
},
|
||||
{
|
||||
"name": "provvigioni passive",
|
||||
"report_type": "Profit and Loss"
|
||||
},
|
||||
{
|
||||
"name": "costi di manutenzione e riparazione",
|
||||
"report_type": "Profit and Loss"
|
||||
},
|
||||
{
|
||||
"name": "costi di assicurazione",
|
||||
"report_type": "Profit and Loss"
|
||||
},
|
||||
{
|
||||
"name": "costi telefonici",
|
||||
"report_type": "Profit and Loss"
|
||||
},
|
||||
{
|
||||
"name": "costi di consulenze",
|
||||
"report_type": "Profit and Loss"
|
||||
},
|
||||
{
|
||||
"name": "costi di esercizio automezzi",
|
||||
"report_type": "Profit and Loss"
|
||||
}
|
||||
],
|
||||
"name": "COSTI PER SERVIZI"
|
||||
},
|
||||
{
|
||||
"children": [
|
||||
{
|
||||
"name": "svalutazioni immobilizzazioni materiali",
|
||||
"report_type": "Profit and Loss"
|
||||
},
|
||||
{
|
||||
"name": "svalutazioni immobilizzazioni immateriali",
|
||||
"report_type": "Profit and Loss"
|
||||
},
|
||||
{
|
||||
"name": "svalutazione crediti",
|
||||
"report_type": "Profit and Loss"
|
||||
}
|
||||
],
|
||||
"name": "SVALUTAZIONI"
|
||||
}
|
||||
],
|
||||
"name": "COSTI DELLA PRODUZIONE"
|
||||
},
|
||||
{
|
||||
"children": [
|
||||
{
|
||||
"name": "imposte dell'esercizio",
|
||||
"report_type": "Profit and Loss"
|
||||
}
|
||||
],
|
||||
"name": "IMPOSTE DELL'ESERCIZIO"
|
||||
},
|
||||
{
|
||||
"children": [
|
||||
{
|
||||
"children": [
|
||||
{
|
||||
"name": "banche c/sovvenzioni",
|
||||
"report_type": "Balance Sheet"
|
||||
},
|
||||
{
|
||||
"name": "mutui passivi",
|
||||
"report_type": "Balance Sheet"
|
||||
},
|
||||
{
|
||||
"name": "debiti v/altri finanziatori",
|
||||
"report_type": "Balance Sheet"
|
||||
},
|
||||
{
|
||||
"name": "banche c/c passivi",
|
||||
"report_type": "Balance Sheet"
|
||||
},
|
||||
{
|
||||
"name": "banche c/RIBA all'incasso",
|
||||
"report_type": "Balance Sheet"
|
||||
},
|
||||
{
|
||||
"name": "banche c/anticipi su fatture",
|
||||
"report_type": "Balance Sheet"
|
||||
},
|
||||
{
|
||||
"name": "banche c/cambiali all'incasso",
|
||||
"report_type": "Balance Sheet"
|
||||
}
|
||||
],
|
||||
"name": "DEBITI FINANZIARI"
|
||||
},
|
||||
{
|
||||
"children": [
|
||||
{
|
||||
"name": "debiti per imposte",
|
||||
"report_type": "Balance Sheet"
|
||||
},
|
||||
{
|
||||
"account_type": "Payable",
|
||||
"name": "erario c/IVA",
|
||||
"report_type": "Balance Sheet"
|
||||
},
|
||||
{
|
||||
"name": "IVA n/debito",
|
||||
"report_type": "Balance Sheet"
|
||||
},
|
||||
{
|
||||
"account_type": "Payable",
|
||||
"name": "debiti per ritenute da versare",
|
||||
"report_type": "Balance Sheet"
|
||||
},
|
||||
{
|
||||
"name": "debiti per cauzioni",
|
||||
"report_type": "Balance Sheet"
|
||||
},
|
||||
{
|
||||
"name": "personale c/retribuzioni",
|
||||
"report_type": "Balance Sheet"
|
||||
},
|
||||
{
|
||||
"name": "clienti c/cessione",
|
||||
"report_type": "Balance Sheet"
|
||||
},
|
||||
{
|
||||
"name": "debiti v/istituti previdenziali",
|
||||
"report_type": "Balance Sheet"
|
||||
},
|
||||
{
|
||||
"name": "personale c/liquidazioni",
|
||||
"report_type": "Balance Sheet"
|
||||
},
|
||||
{
|
||||
"account_type": "Payable",
|
||||
"name": "creditori diversi",
|
||||
"report_type": "Balance Sheet"
|
||||
}
|
||||
],
|
||||
"name": "DEBITI DIVERSI"
|
||||
},
|
||||
{
|
||||
"children": [
|
||||
{
|
||||
"name": "ratei passivi",
|
||||
"report_type": "Balance Sheet"
|
||||
},
|
||||
{
|
||||
"name": "risconti passivi",
|
||||
"report_type": "Balance Sheet"
|
||||
}
|
||||
],
|
||||
"name": "RATEI E RISCONTI PASSIVI"
|
||||
},
|
||||
{
|
||||
"children": [
|
||||
{
|
||||
"name": "perdita d'esercizio",
|
||||
"report_type": "Balance Sheet"
|
||||
},
|
||||
{
|
||||
"name": "utile d'esercizio",
|
||||
"report_type": "Balance Sheet"
|
||||
},
|
||||
{
|
||||
"name": "patrimonio netto",
|
||||
"report_type": "Balance Sheet"
|
||||
},
|
||||
{
|
||||
"name": "titolare c/ritenute subite",
|
||||
"report_type": "Balance Sheet"
|
||||
},
|
||||
{
|
||||
"name": "prelevamenti extra gestione",
|
||||
"report_type": "Balance Sheet"
|
||||
}
|
||||
],
|
||||
"name": "PATRIMONIO NETTO"
|
||||
},
|
||||
{
|
||||
"children": [
|
||||
{
|
||||
"name": "debiti per TFRL",
|
||||
"report_type": "Balance Sheet"
|
||||
}
|
||||
],
|
||||
"name": "TRATTAMENTO FINE RAPPORTO DI LAVORO"
|
||||
},
|
||||
{
|
||||
"children": [
|
||||
{
|
||||
"name": "banca ... c/c",
|
||||
"report_type": "Balance Sheet"
|
||||
},
|
||||
{
|
||||
"name": "banca ... c/c",
|
||||
"report_type": "Balance Sheet"
|
||||
},
|
||||
{
|
||||
"name": "banca ... c/c",
|
||||
"report_type": "Balance Sheet"
|
||||
},
|
||||
{
|
||||
"name": "bilancio di chiusura",
|
||||
"report_type": "Balance Sheet"
|
||||
},
|
||||
{
|
||||
"name": "bilancio di apertura",
|
||||
"report_type": "Balance Sheet"
|
||||
},
|
||||
{
|
||||
"name": "istituti previdenziali",
|
||||
"report_type": "Balance Sheet"
|
||||
},
|
||||
{
|
||||
"name": "IVA c/liquidazioni",
|
||||
"report_type": "Balance Sheet"
|
||||
}
|
||||
],
|
||||
"name": "CONTI TRANSITORI E DIVERSI"
|
||||
},
|
||||
{
|
||||
"children": [
|
||||
{
|
||||
"name": "merci da ricevere",
|
||||
"report_type": "Balance Sheet"
|
||||
},
|
||||
{
|
||||
"name": "fornitori c/impegni",
|
||||
"report_type": "Balance Sheet"
|
||||
},
|
||||
{
|
||||
"name": "impegni per beni in leasing",
|
||||
"report_type": "Balance Sheet"
|
||||
},
|
||||
{
|
||||
"name": "creditori c/leasing",
|
||||
"report_type": "Balance Sheet"
|
||||
},
|
||||
{
|
||||
"name": "clienti c/impegni",
|
||||
"report_type": "Balance Sheet"
|
||||
},
|
||||
{
|
||||
"name": "merci da consegnare",
|
||||
"report_type": "Balance Sheet"
|
||||
},
|
||||
{
|
||||
"name": "creditori per fideiussioni",
|
||||
"report_type": "Balance Sheet"
|
||||
},
|
||||
{
|
||||
"name": "depositanti beni",
|
||||
"report_type": "Balance Sheet"
|
||||
},
|
||||
{
|
||||
"name": "beni di terzi",
|
||||
"report_type": "Balance Sheet"
|
||||
},
|
||||
{
|
||||
"name": "creditori per avalli",
|
||||
"report_type": "Balance Sheet"
|
||||
},
|
||||
{
|
||||
"name": "rischi per avalli",
|
||||
"report_type": "Balance Sheet"
|
||||
},
|
||||
{
|
||||
"name": "rischi per effetti scontati",
|
||||
"report_type": "Balance Sheet"
|
||||
},
|
||||
{
|
||||
"name": "banche c/effetti scontati",
|
||||
"report_type": "Balance Sheet"
|
||||
},
|
||||
{
|
||||
"name": "rischi per fideiussioni",
|
||||
"report_type": "Balance Sheet"
|
||||
}
|
||||
],
|
||||
"name": "CONTI DEI SISTEMI SUPPLEMENTARI"
|
||||
},
|
||||
{
|
||||
"children": [
|
||||
{
|
||||
"name": "fatture da ricevere",
|
||||
"report_type": "Balance Sheet"
|
||||
},
|
||||
{
|
||||
"name": "debiti da liquidare",
|
||||
"report_type": "Balance Sheet"
|
||||
},
|
||||
{
|
||||
"name": "cambiali passive",
|
||||
"report_type": "Balance Sheet"
|
||||
},
|
||||
{
|
||||
"account_type": "Payable",
|
||||
"name": "debiti v/fornitori",
|
||||
"report_type": "Balance Sheet"
|
||||
},
|
||||
{
|
||||
"account_type": "Payable",
|
||||
"name": "clienti c/acconti",
|
||||
"report_type": "Balance Sheet"
|
||||
}
|
||||
],
|
||||
"name": "DEBITI COMMERCIALI"
|
||||
},
|
||||
{
|
||||
"children": [
|
||||
{
|
||||
"name": "fondo per imposte",
|
||||
"report_type": "Balance Sheet"
|
||||
},
|
||||
{
|
||||
"name": "fondo responsabilit\u00e0 civile",
|
||||
"report_type": "Balance Sheet"
|
||||
},
|
||||
{
|
||||
"name": "fondo spese future",
|
||||
"report_type": "Balance Sheet"
|
||||
},
|
||||
{
|
||||
"name": "fondo manutenzioni programmate",
|
||||
"report_type": "Balance Sheet"
|
||||
}
|
||||
],
|
||||
"name": "FONDI PER RISCHI E ONERI"
|
||||
}
|
||||
],
|
||||
"name": "PASSIVO"
|
||||
},
|
||||
{
|
||||
"children": [
|
||||
{
|
||||
"children": [
|
||||
{
|
||||
"name": "arrotondamenti attivi",
|
||||
"report_type": "Profit and Loss"
|
||||
},
|
||||
{
|
||||
"name": "proventi vari",
|
||||
"report_type": "Profit and Loss"
|
||||
},
|
||||
{
|
||||
"name": "insussistenze attive ordinarie diverse",
|
||||
"report_type": "Profit and Loss"
|
||||
},
|
||||
{
|
||||
"name": "plusvalenze ordinarie diverse",
|
||||
"report_type": "Profit and Loss"
|
||||
},
|
||||
{
|
||||
"name": "fitti attivi",
|
||||
"report_type": "Profit and Loss"
|
||||
},
|
||||
{
|
||||
"name": "sopravvenienze attive ordinarie diverse",
|
||||
"report_type": "Profit and Loss"
|
||||
}
|
||||
],
|
||||
"name": "RICAVI E PROVENTI DIVERSI"
|
||||
},
|
||||
{
|
||||
"children": [
|
||||
{
|
||||
"name": "ribassi e abbuoni passivi",
|
||||
"report_type": "Profit and Loss"
|
||||
},
|
||||
{
|
||||
"name": "merci c/vendite",
|
||||
"report_type": "Profit and Loss"
|
||||
},
|
||||
{
|
||||
"name": "rimborsi spese di vendita",
|
||||
"report_type": "Profit and Loss"
|
||||
},
|
||||
{
|
||||
"name": "premi su vendite",
|
||||
"report_type": "Profit and Loss"
|
||||
},
|
||||
{
|
||||
"name": "resi su vendite",
|
||||
"report_type": "Profit and Loss"
|
||||
}
|
||||
],
|
||||
"name": "VENDITE E PRESTAZIONI"
|
||||
}
|
||||
],
|
||||
"name": "VALORE DELLA PRODUZIONE"
|
||||
},
|
||||
{
|
||||
"children": [
|
||||
{
|
||||
"children": [
|
||||
{
|
||||
"name": "sopravvenienze passive straordinarie",
|
||||
"report_type": "Profit and Loss"
|
||||
},
|
||||
{
|
||||
"name": "imposte esercizi precedenti",
|
||||
"report_type": "Profit and Loss"
|
||||
},
|
||||
{
|
||||
"name": "insussistenze passive straordinarie",
|
||||
"report_type": "Profit and Loss"
|
||||
},
|
||||
{
|
||||
"name": "minusvalenze straordinarie",
|
||||
"report_type": "Profit and Loss"
|
||||
}
|
||||
],
|
||||
"name": "ONERI STRAORDINARI"
|
||||
},
|
||||
{
|
||||
"children": [
|
||||
{
|
||||
"name": "insussistenze attive straordinarie",
|
||||
"report_type": "Profit and Loss"
|
||||
},
|
||||
{
|
||||
"name": "sopravvenienze attive straordinarie",
|
||||
"report_type": "Profit and Loss"
|
||||
},
|
||||
{
|
||||
"name": "plusvalenze straordinarie",
|
||||
"report_type": "Profit and Loss"
|
||||
}
|
||||
],
|
||||
"name": "PROVENTI STRAORDINARI"
|
||||
}
|
||||
],
|
||||
"name": "PROVENTI E ONERI STRAORDINARI"
|
||||
},
|
||||
{
|
||||
"children": [
|
||||
{
|
||||
"children": [
|
||||
{
|
||||
"name": "mutui attivi",
|
||||
"report_type": "Balance Sheet"
|
||||
}
|
||||
],
|
||||
"name": "IMMOBILIZZAZIONI FINANZIARIE"
|
||||
},
|
||||
{
|
||||
"children": [
|
||||
{
|
||||
"name": "fornitori immobilizzazioni c/acconti",
|
||||
"report_type": "Balance Sheet"
|
||||
},
|
||||
{
|
||||
"name": "fondo ammortamento impianti e macchinari",
|
||||
"report_type": "Balance Sheet"
|
||||
},
|
||||
{
|
||||
"name": "fondo ammortamento fabbricati",
|
||||
"report_type": "Balance Sheet"
|
||||
},
|
||||
{
|
||||
"name": "fondo ammortamento arredamento",
|
||||
"report_type": "Balance Sheet"
|
||||
},
|
||||
{
|
||||
"name": "fondo ammortamento automezzi",
|
||||
"report_type": "Balance Sheet"
|
||||
},
|
||||
{
|
||||
"name": "fondo ammortamento attrezzature commerciali",
|
||||
"report_type": "Balance Sheet"
|
||||
},
|
||||
{
|
||||
"name": "fondo ammortamento macchine d'ufficio",
|
||||
"report_type": "Balance Sheet"
|
||||
},
|
||||
{
|
||||
"name": "fondo ammortamento imballaggi durevoli",
|
||||
"report_type": "Balance Sheet"
|
||||
},
|
||||
{
|
||||
"name": "imballaggi durevoli",
|
||||
"report_type": "Balance Sheet"
|
||||
},
|
||||
{
|
||||
"name": "macchine d'ufficio",
|
||||
"report_type": "Balance Sheet"
|
||||
},
|
||||
{
|
||||
"name": "attrezzature commerciali",
|
||||
"report_type": "Balance Sheet"
|
||||
},
|
||||
{
|
||||
"name": "automezzi",
|
||||
"report_type": "Balance Sheet"
|
||||
},
|
||||
{
|
||||
"name": "arredamento",
|
||||
"report_type": "Balance Sheet"
|
||||
},
|
||||
{
|
||||
"name": "fabbricati",
|
||||
"report_type": "Balance Sheet"
|
||||
},
|
||||
{
|
||||
"name": "impianti e macchinari",
|
||||
"report_type": "Balance Sheet"
|
||||
}
|
||||
],
|
||||
"name": "IMMOBILIZZAZIONI MATERIALI"
|
||||
},
|
||||
{
|
||||
"children": [
|
||||
{
|
||||
"name": "fondo ammortamento costi di impianto",
|
||||
"report_type": "Balance Sheet"
|
||||
},
|
||||
{
|
||||
"name": "avviamento",
|
||||
"report_type": "Balance Sheet"
|
||||
},
|
||||
{
|
||||
"name": "software",
|
||||
"report_type": "Balance Sheet"
|
||||
},
|
||||
{
|
||||
"name": "costi di impianto",
|
||||
"report_type": "Balance Sheet"
|
||||
},
|
||||
{
|
||||
"name": "fondo ammortamento software",
|
||||
"report_type": "Balance Sheet"
|
||||
},
|
||||
{
|
||||
"name": "fondo ammortamento avviamento",
|
||||
"report_type": "Balance Sheet"
|
||||
}
|
||||
],
|
||||
"name": "IMMOBILIZZAZIONI IMMATERIALI"
|
||||
},
|
||||
{
|
||||
"children": [
|
||||
{
|
||||
"name": "fondo svalutazione crediti",
|
||||
"report_type": "Balance Sheet"
|
||||
},
|
||||
{
|
||||
"name": "fondo rischi su crediti",
|
||||
"report_type": "Balance Sheet"
|
||||
},
|
||||
{
|
||||
"name": "crediti da liquidare",
|
||||
"report_type": "Balance Sheet"
|
||||
},
|
||||
{
|
||||
"name": "crediti commerciali diversi",
|
||||
"report_type": "Balance Sheet"
|
||||
},
|
||||
{
|
||||
"account_type": "Receivable",
|
||||
"name": "clienti c/spese anticipate",
|
||||
"report_type": "Balance Sheet"
|
||||
},
|
||||
{
|
||||
"account_type": "Receivable",
|
||||
"name": "crediti v/clienti",
|
||||
"report_type": "Balance Sheet"
|
||||
},
|
||||
{
|
||||
"name": "cambiali allo sconto",
|
||||
"report_type": "Balance Sheet"
|
||||
},
|
||||
{
|
||||
"name": "cambiali all'incasso",
|
||||
"report_type": "Balance Sheet"
|
||||
},
|
||||
{
|
||||
"name": "cambiali attive",
|
||||
"report_type": "Balance Sheet"
|
||||
},
|
||||
{
|
||||
"name": "fatture da emettere",
|
||||
"report_type": "Balance Sheet"
|
||||
},
|
||||
{
|
||||
"name": "cambiali insolute",
|
||||
"report_type": "Balance Sheet"
|
||||
},
|
||||
{
|
||||
"name": "crediti insoluti",
|
||||
"report_type": "Balance Sheet"
|
||||
}
|
||||
],
|
||||
"name": "CREDITI COMMERCIALI"
|
||||
},
|
||||
{
|
||||
"children": [
|
||||
{
|
||||
"name": "fornitori c/acconti",
|
||||
"report_type": "Balance Sheet"
|
||||
},
|
||||
{
|
||||
"name": "materie di consumo",
|
||||
"report_type": "Balance Sheet"
|
||||
},
|
||||
{
|
||||
"name": "merci",
|
||||
"report_type": "Balance Sheet"
|
||||
}
|
||||
],
|
||||
"name": "RIMANENZE"
|
||||
},
|
||||
{
|
||||
"children": [
|
||||
{
|
||||
"name": "crediti v/istituti previdenziali",
|
||||
"report_type": "Balance Sheet"
|
||||
},
|
||||
{
|
||||
"account_type": "Receivable",
|
||||
"name": "debitori diversi",
|
||||
"report_type": "Balance Sheet"
|
||||
},
|
||||
{
|
||||
"name": "personale c/acconti",
|
||||
"report_type": "Balance Sheet"
|
||||
},
|
||||
{
|
||||
"name": "crediti per cauzioni",
|
||||
"report_type": "Balance Sheet"
|
||||
},
|
||||
{
|
||||
"name": "crediti per ritenute subite",
|
||||
"report_type": "Balance Sheet"
|
||||
},
|
||||
{
|
||||
"name": "crediti per imposte",
|
||||
"report_type": "Balance Sheet"
|
||||
},
|
||||
{
|
||||
"name": "IVA n/credito",
|
||||
"report_type": "Balance Sheet"
|
||||
},
|
||||
{
|
||||
"name": "IVA c/acconto",
|
||||
"report_type": "Balance Sheet"
|
||||
},
|
||||
{
|
||||
"name": "crediti per IVA",
|
||||
"report_type": "Balance Sheet"
|
||||
},
|
||||
{
|
||||
"name": "imposte c/acconto",
|
||||
"report_type": "Balance Sheet"
|
||||
}
|
||||
],
|
||||
"name": "CREDITI DIVERSI"
|
||||
},
|
||||
{
|
||||
"children": [
|
||||
{
|
||||
"name": "risconti attivi",
|
||||
"report_type": "Balance Sheet"
|
||||
},
|
||||
{
|
||||
"name": "ratei attivi",
|
||||
"report_type": "Balance Sheet"
|
||||
}
|
||||
],
|
||||
"name": "RATEI E RISCONTI ATTIVI"
|
||||
},
|
||||
{
|
||||
"children": [
|
||||
{
|
||||
"account_type": "Cash",
|
||||
"name": "assegni",
|
||||
"report_type": "Balance Sheet"
|
||||
},
|
||||
{
|
||||
"account_type": "Cash",
|
||||
"name": "denaro in cassa",
|
||||
"report_type": "Balance Sheet"
|
||||
},
|
||||
{
|
||||
"account_type": "Cash",
|
||||
"name": "valori bollati",
|
||||
"report_type": "Balance Sheet"
|
||||
},
|
||||
{
|
||||
"account_type": "Bank",
|
||||
"name": "c/c postali",
|
||||
"report_type": "Balance Sheet"
|
||||
},
|
||||
{
|
||||
"account_type": "Bank",
|
||||
"name": "banche c/c",
|
||||
"report_type": "Balance Sheet"
|
||||
}
|
||||
],
|
||||
"name": "DISPONIBILIT\u00c0 LIQUIDE"
|
||||
}
|
||||
],
|
||||
"name": "ATTIVO"
|
||||
},
|
||||
{
|
||||
"children": [
|
||||
{
|
||||
"children": [
|
||||
{
|
||||
"name": "proventi finanziari diversi",
|
||||
"report_type": "Profit and Loss"
|
||||
},
|
||||
{
|
||||
"name": "interessi attivi v/clienti",
|
||||
"report_type": "Profit and Loss"
|
||||
},
|
||||
{
|
||||
"name": "interessi attivi bancari",
|
||||
"report_type": "Profit and Loss"
|
||||
},
|
||||
{
|
||||
"name": "interessi attivi postali",
|
||||
"report_type": "Profit and Loss"
|
||||
}
|
||||
],
|
||||
"name": "PROVENTI FINANZIARI"
|
||||
},
|
||||
{
|
||||
"children": [
|
||||
{
|
||||
"name": "oneri finanziari diversi",
|
||||
"report_type": "Profit and Loss"
|
||||
},
|
||||
{
|
||||
"name": "interessi passivi bancari",
|
||||
"report_type": "Profit and Loss"
|
||||
},
|
||||
{
|
||||
"name": "interessi passivi su mutui",
|
||||
"report_type": "Profit and Loss"
|
||||
},
|
||||
{
|
||||
"name": "interessi passivi v/fornitori",
|
||||
"report_type": "Profit and Loss"
|
||||
},
|
||||
{
|
||||
"name": "sconti passivi bancari",
|
||||
"report_type": "Profit and Loss"
|
||||
}
|
||||
],
|
||||
"name": "ONERI FINANZIARI"
|
||||
}
|
||||
],
|
||||
"name": "PROVENTI E ONERI FINANZIARI"
|
||||
},
|
||||
{
|
||||
"children": [
|
||||
{
|
||||
"name": "stato patrimoniale",
|
||||
"report_type": "Profit and Loss"
|
||||
},
|
||||
{
|
||||
"name": "conto di risultato economico",
|
||||
"report_type": "Profit and Loss"
|
||||
}
|
||||
],
|
||||
"name": "CONTI DI RISULTATO"
|
||||
}
|
||||
],
|
||||
"name": "Azienda",
|
||||
"parent_id": null
|
||||
}
|
||||
}
|
File diff suppressed because it is too large
Load Diff
File diff suppressed because it is too large
Load Diff
File diff suppressed because it is too large
Load Diff
File diff suppressed because it is too large
Load Diff
@ -0,0 +1,667 @@
|
||||
{
|
||||
"name": "Panam\u00e1 - Plan de Cuentas",
|
||||
"root": {
|
||||
"children": [
|
||||
{
|
||||
"children": [
|
||||
{
|
||||
"children": [
|
||||
{
|
||||
"name": "Acreedor por Garant\u00edas Otorgadas"
|
||||
},
|
||||
{
|
||||
"name": "Acreedor por Documentos Descontados"
|
||||
},
|
||||
{
|
||||
"name": "Comitente por Mercaderias Recibidas en Consignaci\u00f3n"
|
||||
}
|
||||
],
|
||||
"name": "CUENTAS DE ORDEN ACREEDORAS"
|
||||
},
|
||||
{
|
||||
"children": [
|
||||
{
|
||||
"name": "Documentos Endosados"
|
||||
},
|
||||
{
|
||||
"name": "Documentos Descontados"
|
||||
},
|
||||
{
|
||||
"name": "Garantias Otorgadas"
|
||||
},
|
||||
{
|
||||
"name": "Dep\u00f3sito de Valores Recibos en Garant\u00eda"
|
||||
},
|
||||
{
|
||||
"name": "Mercaderias Recibidas en Consignaci\u00f3n"
|
||||
}
|
||||
],
|
||||
"name": "CUENTAS DE ORDEN DEUDORAS"
|
||||
}
|
||||
],
|
||||
"name": "Cuentas de Orden"
|
||||
},
|
||||
{
|
||||
"children": [
|
||||
{
|
||||
"children": [
|
||||
{
|
||||
"children": [
|
||||
{
|
||||
"name": "Recupero de Rezagos",
|
||||
"report_type": "Profit and Loss"
|
||||
},
|
||||
{
|
||||
"name": "Ganancia Venta de Activo Fijo",
|
||||
"report_type": "Profit and Loss"
|
||||
},
|
||||
{
|
||||
"name": "Recupero de Deudores Incobrables",
|
||||
"report_type": "Profit and Loss"
|
||||
},
|
||||
{
|
||||
"name": "Ganancia Venta Inversiones Permanentes",
|
||||
"report_type": "Profit and Loss"
|
||||
},
|
||||
{
|
||||
"name": "Donaciones obtenidas, ganandas, percibidas",
|
||||
"report_type": "Profit and Loss"
|
||||
}
|
||||
],
|
||||
"name": "Ingresos No Operativos"
|
||||
},
|
||||
{
|
||||
"children": [
|
||||
{
|
||||
"name": "Comisiones gananados, obtenidos, percibidos",
|
||||
"report_type": "Profit and Loss"
|
||||
},
|
||||
{
|
||||
"name": "Descuentos gananados, obtenidos, percibidos",
|
||||
"report_type": "Profit and Loss"
|
||||
},
|
||||
{
|
||||
"name": "Interese sobre Inversiones",
|
||||
"report_type": "Profit and Loss"
|
||||
},
|
||||
{
|
||||
"name": "Honorarios gananados, obtenidos, percibidos",
|
||||
"report_type": "Profit and Loss"
|
||||
},
|
||||
{
|
||||
"children": [
|
||||
{
|
||||
"name": "Ventas - Categoria de productos 01",
|
||||
"report_type": "Profit and Loss"
|
||||
}
|
||||
],
|
||||
"name": "Ventas"
|
||||
},
|
||||
{
|
||||
"name": "Intereses gananados, obtenidos, percibidos",
|
||||
"report_type": "Profit and Loss"
|
||||
},
|
||||
{
|
||||
"name": "Alquileres gananados, obtenidos, percibidos",
|
||||
"report_type": "Profit and Loss"
|
||||
},
|
||||
{
|
||||
"name": "Ganancia Venta de Acciones",
|
||||
"report_type": "Profit and Loss"
|
||||
}
|
||||
],
|
||||
"name": "Ingresos Operativos"
|
||||
}
|
||||
],
|
||||
"name": "INGRESOS"
|
||||
},
|
||||
{
|
||||
"children": [
|
||||
{
|
||||
"children": [
|
||||
{
|
||||
"name": "Costo de Venta - Categoria de productos 01",
|
||||
"report_type": "Profit and Loss"
|
||||
}
|
||||
],
|
||||
"name": "Costo de Venta"
|
||||
},
|
||||
{
|
||||
"children": [
|
||||
{
|
||||
"name": "Compras - Categoria de productos 01"
|
||||
}
|
||||
],
|
||||
"name": "Compras"
|
||||
},
|
||||
{
|
||||
"name": "Costos de Producci\u00f3n",
|
||||
"report_type": "Profit and Loss"
|
||||
},
|
||||
{
|
||||
"name": "Gastos de Administraci\u00f3n",
|
||||
"report_type": "Profit and Loss"
|
||||
},
|
||||
{
|
||||
"name": "Gastos de Comercializaci\u00f3n",
|
||||
"report_type": "Profit and Loss"
|
||||
}
|
||||
],
|
||||
"name": "COSTOS"
|
||||
},
|
||||
{
|
||||
"children": [
|
||||
{
|
||||
"children": [
|
||||
{
|
||||
"name": "Gastos de Publicidad y Propaganda",
|
||||
"report_type": "Profit and Loss"
|
||||
},
|
||||
{
|
||||
"name": "Gastos en Servicios P\u00fablicos"
|
||||
},
|
||||
{
|
||||
"name": "Gastos en Amortizaci\u00f3n",
|
||||
"report_type": "Profit and Loss"
|
||||
},
|
||||
{
|
||||
"name": "Gastos en Cargas Sociales",
|
||||
"report_type": "Profit and Loss"
|
||||
},
|
||||
{
|
||||
"name": "Gastos en Salarios",
|
||||
"report_type": "Profit and Loss"
|
||||
},
|
||||
{
|
||||
"name": "Gastos Bancarios"
|
||||
},
|
||||
{
|
||||
"name": "Gastos en Impuestos"
|
||||
},
|
||||
{
|
||||
"name": "Gastos en Depreciaci\u00f3n de Activo Fijo",
|
||||
"report_type": "Profit and Loss"
|
||||
}
|
||||
],
|
||||
"name": "Gastos Operativos"
|
||||
},
|
||||
{
|
||||
"children": [
|
||||
{
|
||||
"name": "Gastos en Siniestros",
|
||||
"report_type": "Profit and Loss"
|
||||
},
|
||||
{
|
||||
"name": "Donaciones Cedidas, Otorgadas",
|
||||
"report_type": "Profit and Loss"
|
||||
},
|
||||
{
|
||||
"name": "P\u00e9rdida Venta Activo Fijo",
|
||||
"report_type": "Profit and Loss"
|
||||
}
|
||||
],
|
||||
"name": "Gastos No Operativos"
|
||||
}
|
||||
],
|
||||
"name": "GASTOS"
|
||||
}
|
||||
],
|
||||
"name": "Estado de Resultado"
|
||||
},
|
||||
{
|
||||
"children": [
|
||||
{
|
||||
"children": [
|
||||
{
|
||||
"children": [
|
||||
{
|
||||
"name": "Ajustes al Patrimonio / Revaluo T\u00e9cnico de Activo Fijo",
|
||||
"report_type": "Balance Sheet"
|
||||
}
|
||||
],
|
||||
"name": "Ajustes al Patrimonio"
|
||||
},
|
||||
{
|
||||
"children": [
|
||||
{
|
||||
"name": "Aportes No Capitalizados / Aportes Irrevocables Futura Suscripci\u00f3n de Acciones",
|
||||
"report_type": "Balance Sheet"
|
||||
},
|
||||
{
|
||||
"name": "Aportes No Capitalizados / Primas de Emsi\u00f3n",
|
||||
"report_type": "Balance Sheet"
|
||||
}
|
||||
],
|
||||
"name": "Aportes No Capitalizados"
|
||||
},
|
||||
{
|
||||
"children": [
|
||||
{
|
||||
"name": "Capital / Dividendos a Distribuir en Acciones",
|
||||
"report_type": "Balance Sheet"
|
||||
},
|
||||
{
|
||||
"name": "Capital / Acciones en Circulaci\u00f3n",
|
||||
"report_type": "Balance Sheet"
|
||||
},
|
||||
{
|
||||
"name": "Capital / Capital Propio",
|
||||
"report_type": "Balance Sheet"
|
||||
},
|
||||
{
|
||||
"name": "Capital / (-) Descuento de Emisi\u00f3n de Acciones",
|
||||
"report_type": "Balance Sheet"
|
||||
}
|
||||
],
|
||||
"name": "Capital"
|
||||
},
|
||||
{
|
||||
"children": [
|
||||
{
|
||||
"name": "Resultados Acumulados",
|
||||
"report_type": "Balance Sheet"
|
||||
},
|
||||
{
|
||||
"name": "Resultado del Ejercicio",
|
||||
"report_type": "Balance Sheet"
|
||||
},
|
||||
{
|
||||
"name": "Utilidades y P\u00e9rdidas del Ejercicio",
|
||||
"report_type": "Balance Sheet"
|
||||
},
|
||||
{
|
||||
"name": "Resultados Acumulados del Ejercicio Anterior",
|
||||
"report_type": "Balance Sheet"
|
||||
}
|
||||
],
|
||||
"name": "Resultados No Asignados"
|
||||
},
|
||||
{
|
||||
"children": [
|
||||
{
|
||||
"name": "Reserva para Renovaci\u00f3n de Activo Fijo",
|
||||
"report_type": "Balance Sheet"
|
||||
},
|
||||
{
|
||||
"name": "Reserva Estatutaria",
|
||||
"report_type": "Balance Sheet"
|
||||
},
|
||||
{
|
||||
"name": "Reserva Facultativa",
|
||||
"report_type": "Balance Sheet"
|
||||
},
|
||||
{
|
||||
"name": "Reserva Legal",
|
||||
"report_type": "Balance Sheet"
|
||||
}
|
||||
],
|
||||
"name": "Futuras Eventualidades"
|
||||
}
|
||||
],
|
||||
"name": "PATRIMONIO"
|
||||
},
|
||||
{
|
||||
"children": [
|
||||
{
|
||||
"children": [
|
||||
{
|
||||
"name": "Salarios por Pagar / Retenciones a Depositar",
|
||||
"report_type": "Balance Sheet"
|
||||
},
|
||||
{
|
||||
"name": "Salarios por Pagar / Sueldos a Pagar",
|
||||
"report_type": "Balance Sheet"
|
||||
},
|
||||
{
|
||||
"name": "Salarios por Pagar / Provisi\u00f3n para Sueldo Anual Complementario",
|
||||
"report_type": "Balance Sheet"
|
||||
},
|
||||
{
|
||||
"name": "Salarios por Pagar / Cargas Sociales a Pagar",
|
||||
"report_type": "Balance Sheet"
|
||||
}
|
||||
],
|
||||
"name": "Salarios por Pagar"
|
||||
},
|
||||
{
|
||||
"children": [
|
||||
{
|
||||
"name": "Otras Cuentas por Pagar / Acreedores Varios",
|
||||
"report_type": "Balance Sheet"
|
||||
},
|
||||
{
|
||||
"name": "Otras Cuentas por Pagar / Honorarios Directores y S\u00edndicos a Pagar",
|
||||
"report_type": "Balance Sheet"
|
||||
},
|
||||
{
|
||||
"name": "Otras Cuentas por Pagar / Dividendos a Pagar",
|
||||
"report_type": "Balance Sheet"
|
||||
},
|
||||
{
|
||||
"name": "Otras Cuentas por Pagar / Cobros por Adelantado",
|
||||
"report_type": "Balance Sheet"
|
||||
}
|
||||
],
|
||||
"name": "Otras Cuentas por Pagar"
|
||||
},
|
||||
{
|
||||
"children": [
|
||||
{
|
||||
"name": "Provisiones / Previsi\u00f3n para Garant\u00edas por Service",
|
||||
"report_type": "Balance Sheet"
|
||||
},
|
||||
{
|
||||
"name": "Provisiones / Previsi\u00f3n para juicios Pendientes",
|
||||
"report_type": "Balance Sheet"
|
||||
},
|
||||
{
|
||||
"name": "Provisiones / Previsi\u00f3n Indemnizaci\u00f3n por Despidos",
|
||||
"report_type": "Balance Sheet"
|
||||
}
|
||||
],
|
||||
"name": "Provisiones"
|
||||
},
|
||||
{
|
||||
"children": [
|
||||
{
|
||||
"account_type": "Payable",
|
||||
"name": "Cuentas por Pagar / Anticipos de Clientes",
|
||||
"report_type": "Balance Sheet"
|
||||
},
|
||||
{
|
||||
"account_type": "Payable",
|
||||
"name": "Cuentas por Pagar / (-) Intereses a Devengar por Compras al Cr\u00e9dito",
|
||||
"report_type": "Balance Sheet"
|
||||
},
|
||||
{
|
||||
"account_type": "Payable",
|
||||
"name": "Cuentas por Pagar / Proveedores",
|
||||
"report_type": "Balance Sheet"
|
||||
}
|
||||
],
|
||||
"name": "Cuentas por Pagar"
|
||||
},
|
||||
{
|
||||
"children": [
|
||||
{
|
||||
"name": "Pasivo Circulante / Debentures Emitidos",
|
||||
"report_type": "Balance Sheet"
|
||||
},
|
||||
{
|
||||
"name": "Pasivo Circulante / Intereses a Pagar",
|
||||
"report_type": "Balance Sheet"
|
||||
},
|
||||
{
|
||||
"name": "Pasivo Circulante / Obligaciones a Pagar",
|
||||
"report_type": "Balance Sheet"
|
||||
},
|
||||
{
|
||||
"name": "Pasivo Circulante / Prestamos",
|
||||
"report_type": "Balance Sheet"
|
||||
},
|
||||
{
|
||||
"name": "Pasivo Circulante / Adelantos en Cuenta Corriente",
|
||||
"report_type": "Balance Sheet"
|
||||
}
|
||||
],
|
||||
"name": "Pasivo Circulante"
|
||||
},
|
||||
{
|
||||
"children": [
|
||||
{
|
||||
"name": "Impuestos por Pagar / ITBMS a Pagar",
|
||||
"report_type": "Balance Sheet"
|
||||
},
|
||||
{
|
||||
"name": "Impuestos por Pagar / Impuesto sobre la Renta a Pagar",
|
||||
"report_type": "Balance Sheet"
|
||||
}
|
||||
],
|
||||
"name": "Impuestos por Pagar"
|
||||
}
|
||||
],
|
||||
"name": "PASIVOS"
|
||||
},
|
||||
{
|
||||
"children": [
|
||||
{
|
||||
"children": [
|
||||
{
|
||||
"account_type": "Bank",
|
||||
"name": "Caja y Bancos - Valores a Depositar ",
|
||||
"report_type": "Balance Sheet"
|
||||
},
|
||||
{
|
||||
"children": [
|
||||
{
|
||||
"account_type": "Bank",
|
||||
"name": "Caja y Bancos.../ BCO. CTA CTE PAB",
|
||||
"report_type": "Balance Sheet"
|
||||
}
|
||||
],
|
||||
"name": "Caja y Bancos - Bancos"
|
||||
},
|
||||
{
|
||||
"account_type": "Bank",
|
||||
"name": "Caja y Bancos - Recaudaciones a Depositar ",
|
||||
"report_type": "Balance Sheet"
|
||||
},
|
||||
{
|
||||
"children": [
|
||||
{
|
||||
"account_type": "Cash",
|
||||
"name": "Caja y Bancos - Caja / efectivo PAB",
|
||||
"report_type": "Balance Sheet"
|
||||
}
|
||||
],
|
||||
"name": "Caja y Bancos - Caja"
|
||||
},
|
||||
{
|
||||
"children": [
|
||||
{
|
||||
"account_type": "Cash",
|
||||
"name": "Caja y Bancos - Fondos fijos / caja menuda 01 PAB",
|
||||
"report_type": "Balance Sheet"
|
||||
}
|
||||
],
|
||||
"name": "Caja y Bancos - Fondos fijos"
|
||||
},
|
||||
{
|
||||
"children": [
|
||||
{
|
||||
"account_type": "Cash",
|
||||
"name": "Caja y Bancos - Caja / efectivo USD",
|
||||
"report_type": "Balance Sheet"
|
||||
}
|
||||
],
|
||||
"name": "Caja y Bancos - Moneda Extranjera"
|
||||
}
|
||||
],
|
||||
"name": "Caja y Bancos"
|
||||
},
|
||||
{
|
||||
"children": [
|
||||
{
|
||||
"name": "Otras Cuentas por Cobrar / Anticipo de Impuestos",
|
||||
"report_type": "Balance Sheet"
|
||||
},
|
||||
{
|
||||
"name": "Otras Cuentas por Cobrar / Anticipos a Proveedores",
|
||||
"report_type": "Balance Sheet"
|
||||
},
|
||||
{
|
||||
"name": "Otras Cuentas por Cobrar / Pr\u00e9stamos otorgados",
|
||||
"report_type": "Balance Sheet"
|
||||
},
|
||||
{
|
||||
"name": "Otras Cuentas por Cobrar / Accionistas",
|
||||
"report_type": "Balance Sheet"
|
||||
},
|
||||
{
|
||||
"name": "Otras Cuentas por Cobrar / Intereses Pagados por Adelantado",
|
||||
"report_type": "Balance Sheet"
|
||||
},
|
||||
{
|
||||
"name": "Otras Cuentas por Cobrar / Alquileres Pagados por Adelantado",
|
||||
"report_type": "Balance Sheet"
|
||||
},
|
||||
{
|
||||
"name": "Otras Cuentas por Cobrar / Anticipo al Personal",
|
||||
"report_type": "Balance Sheet"
|
||||
},
|
||||
{
|
||||
"name": "Otras Cuentas por Cobrar / (-) Intereses (+) a Devengar",
|
||||
"report_type": "Balance Sheet"
|
||||
},
|
||||
{
|
||||
"name": "Otras Cuentas por Cobrar / (-) Previsi\u00f3n para Descuentos",
|
||||
"report_type": "Balance Sheet"
|
||||
}
|
||||
],
|
||||
"name": "Otras Cuentas por Cobrar"
|
||||
},
|
||||
{
|
||||
"children": [
|
||||
{
|
||||
"account_type": "Receivable",
|
||||
"name": "Cuentas por Cobrar / Deudores por Ventas",
|
||||
"report_type": "Balance Sheet"
|
||||
},
|
||||
{
|
||||
"account_type": "Receivable",
|
||||
"name": "Cuentas por Cobrar / Deudores Morosos",
|
||||
"report_type": "Balance Sheet"
|
||||
},
|
||||
{
|
||||
"account_type": "Receivable",
|
||||
"name": "Cuentas por Cobrar / Deudores en Gesti\u00f3n Judicial",
|
||||
"report_type": "Balance Sheet"
|
||||
},
|
||||
{
|
||||
"account_type": "Receivable",
|
||||
"name": "Cuentas por Cobrar / Deudores Varios",
|
||||
"report_type": "Balance Sheet"
|
||||
},
|
||||
{
|
||||
"account_type": "Receivable",
|
||||
"name": "Cuentas por Cobrar / (-) Previsi\u00f3n para Incobrables",
|
||||
"report_type": "Balance Sheet"
|
||||
}
|
||||
],
|
||||
"name": "Cuentas por Cobrar"
|
||||
},
|
||||
{
|
||||
"children": [
|
||||
{
|
||||
"children": [
|
||||
{
|
||||
"name": "Inventarios - Mercancias / Categoria de productos 01",
|
||||
"report_type": "Balance Sheet"
|
||||
}
|
||||
],
|
||||
"name": "Inventarios - Mercancias"
|
||||
},
|
||||
{
|
||||
"name": "Materias primas",
|
||||
"report_type": "Balance Sheet"
|
||||
},
|
||||
{
|
||||
"name": "Inventarios - Mercancias en Tr\u00e1nsito",
|
||||
"report_type": "Balance Sheet"
|
||||
},
|
||||
{
|
||||
"name": "Productos Elaborados",
|
||||
"report_type": "Balance Sheet"
|
||||
},
|
||||
{
|
||||
"name": "Productos en Curso de Elaboraci\u00f3n",
|
||||
"report_type": "Balance Sheet"
|
||||
},
|
||||
{
|
||||
"name": "(-) Previsi\u00f3n para Desvalorizaci\u00f3n de Inventarios",
|
||||
"report_type": "Balance Sheet"
|
||||
},
|
||||
{
|
||||
"name": "Materiales Varios ",
|
||||
"report_type": "Balance Sheet"
|
||||
}
|
||||
],
|
||||
"name": "Inventarios"
|
||||
},
|
||||
{
|
||||
"children": [
|
||||
{
|
||||
"name": "Inversiones / (-) Previsi\u00f3n para Devalorizaci\u00f3n de Acciones",
|
||||
"report_type": "Balance Sheet"
|
||||
},
|
||||
{
|
||||
"name": "Inversiones / Acciones Permanentes",
|
||||
"report_type": "Balance Sheet"
|
||||
},
|
||||
{
|
||||
"name": "Inversiones / T\u00edtulos P\u00fablicos",
|
||||
"report_type": "Balance Sheet"
|
||||
},
|
||||
{
|
||||
"name": "Inversiones / Acciones Transitorias",
|
||||
"report_type": "Balance Sheet"
|
||||
}
|
||||
],
|
||||
"name": "Inversiones Financieras"
|
||||
},
|
||||
{
|
||||
"children": [
|
||||
{
|
||||
"name": "Activo Intangible / (-) Amortizaci\u00f3n Acumulada",
|
||||
"report_type": "Balance Sheet"
|
||||
},
|
||||
{
|
||||
"name": "Activo Intangible / Marcas y Patentes de Invenci\u00f3n",
|
||||
"report_type": "Balance Sheet"
|
||||
},
|
||||
{
|
||||
"name": "Activo Intangible / Concesiones y Franquicias",
|
||||
"report_type": "Balance Sheet"
|
||||
},
|
||||
{
|
||||
"name": "Activo Intangible / Derecho de Llaves",
|
||||
"report_type": "Balance Sheet"
|
||||
}
|
||||
],
|
||||
"name": "Activo Intangible"
|
||||
},
|
||||
{
|
||||
"children": [
|
||||
{
|
||||
"name": "Activo Fijo / Inmuebles",
|
||||
"report_type": "Balance Sheet"
|
||||
},
|
||||
{
|
||||
"name": "Activo Fijo / Maquinaria",
|
||||
"report_type": "Balance Sheet"
|
||||
},
|
||||
{
|
||||
"name": "Activo Fijo / Material Rodante Motorizado",
|
||||
"report_type": "Balance Sheet"
|
||||
},
|
||||
{
|
||||
"name": "Activo Fijo / (-) Depreciaci\u00f3n Acumulada",
|
||||
"report_type": "Balance Sheet"
|
||||
},
|
||||
{
|
||||
"name": "Activo Fijo / Equipos",
|
||||
"report_type": "Balance Sheet"
|
||||
}
|
||||
],
|
||||
"name": "Activo Fijo"
|
||||
}
|
||||
],
|
||||
"name": "ACTIVOS"
|
||||
}
|
||||
],
|
||||
"name": "Balance General"
|
||||
}
|
||||
],
|
||||
"name": "Panam\u00e1"
|
||||
}
|
||||
}
|
File diff suppressed because it is too large
Load Diff
File diff suppressed because it is too large
Load Diff
File diff suppressed because it is too large
Load Diff
File diff suppressed because it is too large
Load Diff
4232
erpnext/accounts/doctype/chart_of_accounts/charts/si_gd_chart.json
Normal file
4232
erpnext/accounts/doctype/chart_of_accounts/charts/si_gd_chart.json
Normal file
File diff suppressed because it is too large
Load Diff
File diff suppressed because it is too large
Load Diff
126
erpnext/accounts/doctype/chart_of_accounts/charts/th_chart.json
Normal file
126
erpnext/accounts/doctype/chart_of_accounts/charts/th_chart.json
Normal file
@ -0,0 +1,126 @@
|
||||
{
|
||||
"name": "Thailand - Chart of Accounts",
|
||||
"root": {
|
||||
"children": [
|
||||
{
|
||||
"children": [
|
||||
{
|
||||
"children": [
|
||||
{
|
||||
"name": "Accumulated Depreciation - Equipment"
|
||||
}
|
||||
],
|
||||
"name": "Equipment"
|
||||
},
|
||||
{
|
||||
"name": "Outstanding Cheques"
|
||||
},
|
||||
{
|
||||
"children": [
|
||||
{
|
||||
"name": "Accumulated Depreciation - Building"
|
||||
}
|
||||
],
|
||||
"name": "Building"
|
||||
},
|
||||
{
|
||||
"name": "Inventory"
|
||||
},
|
||||
{
|
||||
"name": "Input VAT"
|
||||
},
|
||||
{
|
||||
"name": "Account Receivable"
|
||||
},
|
||||
{
|
||||
"children": [
|
||||
{
|
||||
"name": "Petty Cash"
|
||||
},
|
||||
{
|
||||
"name": "Cash at Bank"
|
||||
}
|
||||
],
|
||||
"name": "Cash"
|
||||
},
|
||||
{
|
||||
"name": "Withholding Income Tax"
|
||||
}
|
||||
],
|
||||
"name": "Assets"
|
||||
},
|
||||
{
|
||||
"children": [
|
||||
{
|
||||
"name": "Income"
|
||||
}
|
||||
],
|
||||
"name": "Income"
|
||||
},
|
||||
{
|
||||
"children": [
|
||||
{
|
||||
"name": "Accrued Expenses"
|
||||
},
|
||||
{
|
||||
"name": "Withholding Tax"
|
||||
},
|
||||
{
|
||||
"name": "Uninvoiced Receipts"
|
||||
},
|
||||
{
|
||||
"name": "Output VAT"
|
||||
},
|
||||
{
|
||||
"name": "Account Payable"
|
||||
},
|
||||
{
|
||||
"name": "Loans"
|
||||
}
|
||||
],
|
||||
"name": "Liabilities"
|
||||
},
|
||||
{
|
||||
"children": [
|
||||
{
|
||||
"name": "Retained Earnings"
|
||||
},
|
||||
{
|
||||
"name": "Capital Stock"
|
||||
},
|
||||
{
|
||||
"name": "Dividends"
|
||||
},
|
||||
{
|
||||
"name": "Income Summary"
|
||||
}
|
||||
],
|
||||
"name": "Equity"
|
||||
},
|
||||
{
|
||||
"children": [
|
||||
{
|
||||
"name": "Cost of goods sold"
|
||||
},
|
||||
{
|
||||
"name": "Income tax expenses"
|
||||
},
|
||||
{
|
||||
"name": "Office Expenses"
|
||||
},
|
||||
{
|
||||
"name": "Rent"
|
||||
},
|
||||
{
|
||||
"name": "Interest expenses"
|
||||
},
|
||||
{
|
||||
"name": "Salary"
|
||||
}
|
||||
],
|
||||
"name": "Expenses"
|
||||
}
|
||||
],
|
||||
"name": "Simple chart of accounts"
|
||||
}
|
||||
}
|
File diff suppressed because it is too large
Load Diff
@ -0,0 +1,488 @@
|
||||
{
|
||||
"name": "UK Tax and Account Chart Template (by SmartMode)",
|
||||
"root": {
|
||||
"children": [
|
||||
{
|
||||
"children": [
|
||||
{
|
||||
"children": [
|
||||
{
|
||||
"children": [
|
||||
{
|
||||
"name": "Sales Tax Control Account"
|
||||
},
|
||||
{
|
||||
"name": "Purchase Tax Control Account"
|
||||
},
|
||||
{
|
||||
"name": "HMRC - VAT Account"
|
||||
},
|
||||
{
|
||||
"name": "Manual Adjustments \uff96 VAT"
|
||||
},
|
||||
{
|
||||
"name": "P.A.Y.E. & NI"
|
||||
},
|
||||
{
|
||||
"name": "Other Creditors"
|
||||
},
|
||||
{
|
||||
"name": "Sundry Creditors"
|
||||
},
|
||||
{
|
||||
"name": "Creditors Control Account"
|
||||
},
|
||||
{
|
||||
"name": "Net Wages"
|
||||
},
|
||||
{
|
||||
"name": "Pension Fund"
|
||||
}
|
||||
],
|
||||
"name": "Creditors due within one year"
|
||||
},
|
||||
{
|
||||
"children": [
|
||||
{
|
||||
"name": "Corporation Tax"
|
||||
},
|
||||
{
|
||||
"name": "Accruals"
|
||||
}
|
||||
],
|
||||
"name": "Accruals and deferred income"
|
||||
},
|
||||
{
|
||||
"children": [
|
||||
{
|
||||
"name": "Bad debt provision"
|
||||
}
|
||||
],
|
||||
"name": "Provisions for liabilities and charges"
|
||||
}
|
||||
],
|
||||
"name": "Current Liabilities"
|
||||
},
|
||||
{
|
||||
"children": [
|
||||
{
|
||||
"children": [
|
||||
{
|
||||
"name": "Company Credit Card"
|
||||
},
|
||||
{
|
||||
"name": "Bank Accounts"
|
||||
}
|
||||
],
|
||||
"name": "Cash at bank and in hand"
|
||||
},
|
||||
{
|
||||
"children": [
|
||||
{
|
||||
"name": "Debtors Control Account"
|
||||
},
|
||||
{
|
||||
"name": "Other Debtors"
|
||||
},
|
||||
{
|
||||
"name": "Sundry Debtors"
|
||||
}
|
||||
],
|
||||
"name": "Trade Debtors"
|
||||
},
|
||||
{
|
||||
"children": [
|
||||
{
|
||||
"name": "Prepayments"
|
||||
}
|
||||
],
|
||||
"name": "Prepayments and accrued income"
|
||||
},
|
||||
{
|
||||
"name": "Investment current assets"
|
||||
},
|
||||
{
|
||||
"children": [
|
||||
{
|
||||
"name": "Finished Goods"
|
||||
},
|
||||
{
|
||||
"name": "Work in Progress"
|
||||
},
|
||||
{
|
||||
"name": "Stock"
|
||||
}
|
||||
],
|
||||
"name": "Stocks & WIP"
|
||||
}
|
||||
],
|
||||
"name": "Current assets"
|
||||
},
|
||||
{
|
||||
"children": [
|
||||
{
|
||||
"name": "Other reserves"
|
||||
},
|
||||
{
|
||||
"name": "Revaluation reserve"
|
||||
},
|
||||
{
|
||||
"name": "Share premium account"
|
||||
},
|
||||
{
|
||||
"name": "Called up share capital"
|
||||
},
|
||||
{
|
||||
"name": "Profit and loss account"
|
||||
}
|
||||
],
|
||||
"name": "Capital & Reserves"
|
||||
},
|
||||
{
|
||||
"children": [
|
||||
{
|
||||
"children": [
|
||||
{
|
||||
"name": "Hire Purchase"
|
||||
},
|
||||
{
|
||||
"name": "Loans"
|
||||
},
|
||||
{
|
||||
"name": "Mortgages"
|
||||
}
|
||||
],
|
||||
"name": "Creditors due after one year"
|
||||
}
|
||||
],
|
||||
"name": "Non Current Liabilities"
|
||||
},
|
||||
{
|
||||
"children": [
|
||||
{
|
||||
"name": "Investments"
|
||||
},
|
||||
{
|
||||
"children": [
|
||||
{
|
||||
"name": "Fixtures and fittings Depreciation"
|
||||
},
|
||||
{
|
||||
"name": "Fixtures and fittings"
|
||||
},
|
||||
{
|
||||
"name": "Land and buildings"
|
||||
},
|
||||
{
|
||||
"name": "Land and buildings Depreciation"
|
||||
},
|
||||
{
|
||||
"name": "Motor vehicles Depreciation"
|
||||
},
|
||||
{
|
||||
"name": "Motor vehicles"
|
||||
},
|
||||
{
|
||||
"name": "Office equipment (inc computer equipment)"
|
||||
},
|
||||
{
|
||||
"name": "Office equipment (inc computer equipment) Depreciation"
|
||||
},
|
||||
{
|
||||
"name": "Plant and machinery Depreciation"
|
||||
},
|
||||
{
|
||||
"name": "Plant and machinery"
|
||||
}
|
||||
],
|
||||
"name": "Tangible assets"
|
||||
},
|
||||
{
|
||||
"children": [
|
||||
{
|
||||
"name": "Software Depreciation"
|
||||
},
|
||||
{
|
||||
"name": "Software"
|
||||
},
|
||||
{
|
||||
"name": "Patents & Trademarks"
|
||||
},
|
||||
{
|
||||
"name": "Patents & Trademarks Depreciation"
|
||||
}
|
||||
],
|
||||
"name": "Intangible assets"
|
||||
}
|
||||
],
|
||||
"name": "Fixed assets"
|
||||
}
|
||||
],
|
||||
"name": "Balance Sheet"
|
||||
},
|
||||
{
|
||||
"children": [
|
||||
{
|
||||
"children": [
|
||||
{
|
||||
"children": [
|
||||
{
|
||||
"name": "Light, heat and power"
|
||||
},
|
||||
{
|
||||
"name": "Repairs, renewals and maintenance"
|
||||
},
|
||||
{
|
||||
"name": "Rent and rates"
|
||||
}
|
||||
],
|
||||
"name": "Property costs"
|
||||
},
|
||||
{
|
||||
"children": [
|
||||
{
|
||||
"name": "Auditing"
|
||||
},
|
||||
{
|
||||
"name": "Accounting"
|
||||
}
|
||||
],
|
||||
"name": "Accountancy and audit"
|
||||
},
|
||||
{
|
||||
"children": [
|
||||
{
|
||||
"name": "Consultancy"
|
||||
},
|
||||
{
|
||||
"name": "Legal and professional charges"
|
||||
}
|
||||
],
|
||||
"name": "Legal and professional costs"
|
||||
},
|
||||
{
|
||||
"children": [
|
||||
{
|
||||
"name": "Recruitment fees"
|
||||
},
|
||||
{
|
||||
"name": "Software expenses"
|
||||
},
|
||||
{
|
||||
"name": "Travel and subsistence"
|
||||
},
|
||||
{
|
||||
"name": "Other admin expenses"
|
||||
},
|
||||
{
|
||||
"name": "Other computer costs"
|
||||
},
|
||||
{
|
||||
"name": "Internet & hosting"
|
||||
},
|
||||
{
|
||||
"name": "Mobiles"
|
||||
},
|
||||
{
|
||||
"name": "Stationery"
|
||||
},
|
||||
{
|
||||
"name": "Office consumables"
|
||||
},
|
||||
{
|
||||
"name": "Postage and Carriage"
|
||||
},
|
||||
{
|
||||
"name": "Telephone"
|
||||
},
|
||||
{
|
||||
"name": "Books"
|
||||
},
|
||||
{
|
||||
"name": "Network costs"
|
||||
}
|
||||
],
|
||||
"name": "Administration and office expenses"
|
||||
},
|
||||
{
|
||||
"children": [
|
||||
{
|
||||
"name": "Car maintenance"
|
||||
},
|
||||
{
|
||||
"name": "Car hire"
|
||||
},
|
||||
{
|
||||
"name": "Car fuel"
|
||||
}
|
||||
],
|
||||
"name": "Vehicle expenses"
|
||||
},
|
||||
{
|
||||
"children": [
|
||||
{
|
||||
"name": "Intangible assets depn"
|
||||
},
|
||||
{
|
||||
"name": "Tangible assets depn"
|
||||
}
|
||||
],
|
||||
"name": "Depreciation expense"
|
||||
},
|
||||
{
|
||||
"children": [
|
||||
{
|
||||
"name": "Entertaining"
|
||||
},
|
||||
{
|
||||
"name": "Other sundry expenses"
|
||||
},
|
||||
{
|
||||
"name": "Donations"
|
||||
},
|
||||
{
|
||||
"name": "Exchange gains/losses"
|
||||
},
|
||||
{
|
||||
"name": "Bad debts"
|
||||
},
|
||||
{
|
||||
"name": "Bank, credit card and other financial charges"
|
||||
},
|
||||
{
|
||||
"name": "Insurance"
|
||||
}
|
||||
],
|
||||
"name": "Sundry expenses"
|
||||
},
|
||||
{
|
||||
"children": [
|
||||
{
|
||||
"name": "Subcontractors payments"
|
||||
},
|
||||
{
|
||||
"name": "Employers NIC"
|
||||
},
|
||||
{
|
||||
"name": "Admin gross salaries"
|
||||
},
|
||||
{
|
||||
"name": "Management gross salaries"
|
||||
},
|
||||
{
|
||||
"name": "Directors remuneration"
|
||||
},
|
||||
{
|
||||
"name": "Directors pension"
|
||||
}
|
||||
],
|
||||
"name": "Salaries & wages"
|
||||
}
|
||||
],
|
||||
"name": "Administrative expenses"
|
||||
},
|
||||
{
|
||||
"children": [
|
||||
{
|
||||
"name": "Corporation tax expense"
|
||||
}
|
||||
],
|
||||
"name": "Tax on profit or loss on ordinary activities"
|
||||
},
|
||||
{
|
||||
"children": [
|
||||
{
|
||||
"name": "Interest paid"
|
||||
}
|
||||
],
|
||||
"name": "Interest payable and similar charges"
|
||||
},
|
||||
{
|
||||
"children": [
|
||||
{
|
||||
"name": "Bank Interest received"
|
||||
},
|
||||
{
|
||||
"name": "Investment Interest received"
|
||||
}
|
||||
],
|
||||
"name": "Interest receivable and similar income:"
|
||||
},
|
||||
{
|
||||
"children": [
|
||||
{
|
||||
"name": "Profits/Losses on disposals of assets"
|
||||
}
|
||||
],
|
||||
"name": "Other operating income"
|
||||
},
|
||||
{
|
||||
"children": [
|
||||
{
|
||||
"name": "Sales category 1"
|
||||
},
|
||||
{
|
||||
"name": "Sales category 2"
|
||||
},
|
||||
{
|
||||
"name": "Sales category 3"
|
||||
},
|
||||
{
|
||||
"name": "Sales category 4"
|
||||
}
|
||||
],
|
||||
"name": "Turnover"
|
||||
},
|
||||
{
|
||||
"children": [
|
||||
{
|
||||
"name": "Distribution vehicles"
|
||||
},
|
||||
{
|
||||
"name": "Distribution salaries and wages"
|
||||
},
|
||||
{
|
||||
"children": [
|
||||
{
|
||||
"name": "PR"
|
||||
},
|
||||
{
|
||||
"name": "Marketing, POS"
|
||||
},
|
||||
{
|
||||
"name": "Exhibitions and events"
|
||||
}
|
||||
],
|
||||
"name": "Advertising and promotions"
|
||||
},
|
||||
{
|
||||
"name": "Shipping"
|
||||
}
|
||||
],
|
||||
"name": "Distribution costs"
|
||||
},
|
||||
{
|
||||
"children": [
|
||||
{
|
||||
"name": "Cost of sales 4"
|
||||
},
|
||||
{
|
||||
"name": "Cost of sales 3"
|
||||
},
|
||||
{
|
||||
"name": "Cost of sales 2"
|
||||
},
|
||||
{
|
||||
"name": "Cost of sales 1"
|
||||
}
|
||||
],
|
||||
"name": "Cost of sales"
|
||||
}
|
||||
],
|
||||
"name": "Profit and Loss"
|
||||
}
|
||||
],
|
||||
"name": "Company",
|
||||
"parent_id": null
|
||||
}
|
||||
}
|
@ -0,0 +1,543 @@
|
||||
{
|
||||
"name": "Basic Chart of Account",
|
||||
"root": {
|
||||
"children": [
|
||||
{
|
||||
"children": [
|
||||
{
|
||||
"name": "Automobile Expense",
|
||||
"report_type": "Profit and Loss"
|
||||
},
|
||||
{
|
||||
"name": "Payroll Expenses",
|
||||
"report_type": "Profit and Loss"
|
||||
},
|
||||
{
|
||||
"name": "Interest Expense",
|
||||
"report_type": "Profit and Loss"
|
||||
},
|
||||
{
|
||||
"name": "Continuing Education",
|
||||
"report_type": "Profit and Loss"
|
||||
},
|
||||
{
|
||||
"name": "Meals and Entertainment",
|
||||
"report_type": "Profit and Loss"
|
||||
},
|
||||
{
|
||||
"name": "Custom Hire and Contract Labor",
|
||||
"report_type": "Profit and Loss"
|
||||
},
|
||||
{
|
||||
"name": "Repairs and Maintenance",
|
||||
"report_type": "Profit and Loss"
|
||||
},
|
||||
{
|
||||
"name": "Postage and Delivery",
|
||||
"report_type": "Profit and Loss"
|
||||
},
|
||||
{
|
||||
"name": "Small Tools and Equipment",
|
||||
"report_type": "Profit and Loss"
|
||||
},
|
||||
{
|
||||
"name": "Chemicals Purchased",
|
||||
"report_type": "Profit and Loss"
|
||||
},
|
||||
{
|
||||
"name": "Gasoline, Fuel and Oil",
|
||||
"report_type": "Profit and Loss"
|
||||
},
|
||||
{
|
||||
"name": "Equipment Rental",
|
||||
"report_type": "Profit and Loss"
|
||||
},
|
||||
{
|
||||
"name": "Taxes - Property",
|
||||
"report_type": "Profit and Loss"
|
||||
},
|
||||
{
|
||||
"name": "Miscellaneous Expense",
|
||||
"report_type": "Profit and Loss"
|
||||
},
|
||||
{
|
||||
"name": "Uniforms",
|
||||
"report_type": "Profit and Loss"
|
||||
},
|
||||
{
|
||||
"name": "Veterinary, Breeding, Medicine",
|
||||
"report_type": "Profit and Loss"
|
||||
},
|
||||
{
|
||||
"name": "Professional Fees",
|
||||
"report_type": "Profit and Loss"
|
||||
},
|
||||
{
|
||||
"name": "Janitorial Expense",
|
||||
"report_type": "Profit and Loss"
|
||||
},
|
||||
{
|
||||
"children": [
|
||||
{
|
||||
"name": "General Liability Insurance",
|
||||
"report_type": "Profit and Loss"
|
||||
},
|
||||
{
|
||||
"name": "Life and Disability Insurance",
|
||||
"report_type": "Profit and Loss"
|
||||
},
|
||||
{
|
||||
"name": "Health Insurance",
|
||||
"report_type": "Profit and Loss"
|
||||
},
|
||||
{
|
||||
"name": "Professional Liability",
|
||||
"report_type": "Profit and Loss"
|
||||
},
|
||||
{
|
||||
"name": "Worker's Compensation",
|
||||
"report_type": "Profit and Loss"
|
||||
}
|
||||
],
|
||||
"name": "Insurance Expense",
|
||||
"report_type": "Profit and Loss"
|
||||
},
|
||||
{
|
||||
"name": "Travel Expense",
|
||||
"report_type": "Profit and Loss"
|
||||
},
|
||||
{
|
||||
"name": "Advertising and Promotion",
|
||||
"report_type": "Profit and Loss"
|
||||
},
|
||||
{
|
||||
"name": "Office Supplies",
|
||||
"report_type": "Profit and Loss"
|
||||
},
|
||||
{
|
||||
"name": "Dues and Subscriptions",
|
||||
"report_type": "Profit and Loss"
|
||||
},
|
||||
{
|
||||
"name": "Feed Purchased",
|
||||
"report_type": "Profit and Loss"
|
||||
},
|
||||
{
|
||||
"name": "Bank Service Charges",
|
||||
"report_type": "Profit and Loss"
|
||||
},
|
||||
{
|
||||
"name": "Marketing Expense",
|
||||
"report_type": "Profit and Loss"
|
||||
},
|
||||
{
|
||||
"name": "Storage and Warehousing",
|
||||
"report_type": "Profit and Loss"
|
||||
},
|
||||
{
|
||||
"name": "Computer and Internet Expenses",
|
||||
"report_type": "Profit and Loss"
|
||||
},
|
||||
{
|
||||
"name": "Fertilizers and Lime",
|
||||
"report_type": "Profit and Loss"
|
||||
},
|
||||
{
|
||||
"name": "Seeds and Plants Purchased",
|
||||
"report_type": "Profit and Loss"
|
||||
},
|
||||
{
|
||||
"name": "Conservation Expenses",
|
||||
"report_type": "Profit and Loss"
|
||||
},
|
||||
{
|
||||
"name": "Freight and Trucking",
|
||||
"report_type": "Profit and Loss"
|
||||
},
|
||||
{
|
||||
"name": "Depreciation Expense",
|
||||
"report_type": "Profit and Loss"
|
||||
},
|
||||
{
|
||||
"name": "Printing and Reproduction",
|
||||
"report_type": "Profit and Loss"
|
||||
},
|
||||
{
|
||||
"name": "Car and Truck Expenses",
|
||||
"report_type": "Profit and Loss"
|
||||
},
|
||||
{
|
||||
"name": "Charitable Contributions",
|
||||
"report_type": "Profit and Loss"
|
||||
},
|
||||
{
|
||||
"name": "Rent Expense",
|
||||
"report_type": "Profit and Loss"
|
||||
},
|
||||
{
|
||||
"name": "Utilities",
|
||||
"report_type": "Profit and Loss"
|
||||
},
|
||||
{
|
||||
"name": "Telephone Expense",
|
||||
"report_type": "Profit and Loss"
|
||||
},
|
||||
{
|
||||
"name": "Business Licenses and Permits",
|
||||
"report_type": "Profit and Loss"
|
||||
}
|
||||
],
|
||||
"name": "Expenses",
|
||||
"report_type": "Profit and Loss"
|
||||
},
|
||||
{
|
||||
"children": [
|
||||
{
|
||||
"children": [
|
||||
{
|
||||
"name": "Client Trust Account",
|
||||
"report_type": "Balance Sheet"
|
||||
},
|
||||
{
|
||||
"children": [
|
||||
{
|
||||
"account_type": "Receivable",
|
||||
"name": "Account Receivable",
|
||||
"report_type": "Balance Sheet"
|
||||
}
|
||||
],
|
||||
"name": "Receivable",
|
||||
"report_type": "Balance Sheet"
|
||||
},
|
||||
{
|
||||
"account_type": "Cash",
|
||||
"name": "Cash or Cash Equivalents",
|
||||
"report_type": "Balance Sheet"
|
||||
}
|
||||
],
|
||||
"name": "Current Assets",
|
||||
"report_type": "Balance Sheet"
|
||||
},
|
||||
{
|
||||
"children": [
|
||||
{
|
||||
"name": "Security Deposits Asset",
|
||||
"report_type": "Balance Sheet"
|
||||
}
|
||||
],
|
||||
"name": "Other Assets",
|
||||
"report_type": "Balance Sheet"
|
||||
},
|
||||
{
|
||||
"children": [
|
||||
{
|
||||
"name": "Court Costs",
|
||||
"report_type": "Balance Sheet"
|
||||
},
|
||||
{
|
||||
"name": "Advanced Client Costs",
|
||||
"report_type": "Balance Sheet"
|
||||
},
|
||||
{
|
||||
"name": "Filing Fees",
|
||||
"report_type": "Balance Sheet"
|
||||
},
|
||||
{
|
||||
"name": "Expert Witness Fees",
|
||||
"report_type": "Balance Sheet"
|
||||
}
|
||||
],
|
||||
"name": "Other Current Assets",
|
||||
"report_type": "Balance Sheet"
|
||||
},
|
||||
{
|
||||
"account_type": "Fixed Asset",
|
||||
"children": [
|
||||
{
|
||||
"account_type": "Fixed Asset",
|
||||
"name": "Furniture and Equipment",
|
||||
"report_type": "Balance Sheet"
|
||||
},
|
||||
{
|
||||
"name": "Accumulated Depreciation",
|
||||
"report_type": "Balance Sheet"
|
||||
}
|
||||
],
|
||||
"name": "Fixed Assets",
|
||||
"report_type": "Balance Sheet"
|
||||
}
|
||||
],
|
||||
"name": "Assets",
|
||||
"report_type": "Balance Sheet"
|
||||
},
|
||||
{
|
||||
"children": [
|
||||
{
|
||||
"account_type": "Equity",
|
||||
"children": [
|
||||
{
|
||||
"account_type": "Equity",
|
||||
"name": "Capital Stock",
|
||||
"report_type": "Balance Sheet"
|
||||
},
|
||||
{
|
||||
"account_type": "Equity",
|
||||
"name": "Retained Earnings",
|
||||
"report_type": "Balance Sheet"
|
||||
},
|
||||
{
|
||||
"account_type": "Equity",
|
||||
"name": "Dividends Paid",
|
||||
"report_type": "Balance Sheet"
|
||||
},
|
||||
{
|
||||
"account_type": "Equity",
|
||||
"name": "Opening Balance Equity",
|
||||
"report_type": "Balance Sheet"
|
||||
}
|
||||
],
|
||||
"name": "Equity",
|
||||
"report_type": "Balance Sheet"
|
||||
},
|
||||
{
|
||||
"children": [
|
||||
{
|
||||
"children": [
|
||||
{
|
||||
"children": [
|
||||
{
|
||||
"name": "Account Payable",
|
||||
"report_type": "Balance Sheet"
|
||||
}
|
||||
],
|
||||
"name": "Payable",
|
||||
"report_type": "Balance Sheet"
|
||||
}
|
||||
],
|
||||
"name": "Current Liabilities",
|
||||
"report_type": "Balance Sheet"
|
||||
},
|
||||
{
|
||||
"children": [
|
||||
{
|
||||
"name": "Sales Tax Payable",
|
||||
"report_type": "Balance Sheet"
|
||||
},
|
||||
{
|
||||
"name": "Customer Deposits Received",
|
||||
"report_type": "Balance Sheet"
|
||||
},
|
||||
{
|
||||
"name": "Payroll Liabilities",
|
||||
"report_type": "Balance Sheet"
|
||||
},
|
||||
{
|
||||
"name": "Use Tax Payable",
|
||||
"report_type": "Balance Sheet"
|
||||
}
|
||||
],
|
||||
"name": "Other Current Liabilities",
|
||||
"report_type": "Balance Sheet"
|
||||
}
|
||||
],
|
||||
"name": "Liabilities",
|
||||
"report_type": "Balance Sheet"
|
||||
}
|
||||
],
|
||||
"name": "Liabilities and Equity",
|
||||
"report_type": "Balance Sheet"
|
||||
},
|
||||
{
|
||||
"children": [
|
||||
{
|
||||
"name": "Settlement Income",
|
||||
"report_type": "Profit and Loss"
|
||||
},
|
||||
{
|
||||
"name": "Commodity Credit Loans",
|
||||
"report_type": "Profit and Loss"
|
||||
},
|
||||
{
|
||||
"name": "Administrative Fees",
|
||||
"report_type": "Profit and Loss"
|
||||
},
|
||||
{
|
||||
"name": "Shipping and Delivery Income",
|
||||
"report_type": "Profit and Loss"
|
||||
},
|
||||
{
|
||||
"name": "Sales",
|
||||
"report_type": "Profit and Loss"
|
||||
},
|
||||
{
|
||||
"name": "Commission income",
|
||||
"report_type": "Profit and Loss"
|
||||
},
|
||||
{
|
||||
"name": "Fuel Tax Credits and Other Inc.",
|
||||
"report_type": "Profit and Loss"
|
||||
},
|
||||
{
|
||||
"name": "Livestock Sales",
|
||||
"report_type": "Profit and Loss"
|
||||
},
|
||||
{
|
||||
"name": "Custom Hire Income",
|
||||
"report_type": "Profit and Loss"
|
||||
},
|
||||
{
|
||||
"name": "Crop Insurance Proceeds",
|
||||
"report_type": "Profit and Loss"
|
||||
},
|
||||
{
|
||||
"name": "Legal Fee Income",
|
||||
"report_type": "Profit and Loss"
|
||||
},
|
||||
{
|
||||
"name": "Cooperative Distributions",
|
||||
"report_type": "Profit and Loss"
|
||||
},
|
||||
{
|
||||
"name": "Job Income",
|
||||
"report_type": "Profit and Loss"
|
||||
},
|
||||
{
|
||||
"name": "Crop Sales",
|
||||
"report_type": "Profit and Loss"
|
||||
},
|
||||
{
|
||||
"name": "Sales Discounts",
|
||||
"report_type": "Profit and Loss"
|
||||
},
|
||||
{
|
||||
"name": "Rental Income",
|
||||
"report_type": "Profit and Loss"
|
||||
},
|
||||
{
|
||||
"name": "Farmers Market Sales",
|
||||
"report_type": "Profit and Loss"
|
||||
},
|
||||
{
|
||||
"name": "Sales",
|
||||
"report_type": "Profit and Loss"
|
||||
},
|
||||
{
|
||||
"name": "Sales Discounts",
|
||||
"report_type": "Profit and Loss"
|
||||
},
|
||||
{
|
||||
"name": "Service Income",
|
||||
"report_type": "Profit and Loss"
|
||||
},
|
||||
{
|
||||
"name": "Agricultural Program Payments",
|
||||
"report_type": "Profit and Loss"
|
||||
}
|
||||
],
|
||||
"name": "Income",
|
||||
"report_type": "Profit and Loss"
|
||||
},
|
||||
{
|
||||
"children": [
|
||||
{
|
||||
"name": "Proceeds from Sale of Assets",
|
||||
"report_type": "Profit and Loss"
|
||||
},
|
||||
{
|
||||
"name": "Finance Charge Income",
|
||||
"report_type": "Profit and Loss"
|
||||
},
|
||||
{
|
||||
"name": "Interest Income",
|
||||
"report_type": "Profit and Loss"
|
||||
},
|
||||
{
|
||||
"name": "Insurance Proceeds Received",
|
||||
"report_type": "Profit and Loss"
|
||||
}
|
||||
],
|
||||
"name": "Other Income",
|
||||
"report_type": "Profit and Loss"
|
||||
},
|
||||
{
|
||||
"account_type": "Cost of Goods Sold",
|
||||
"children": [
|
||||
{
|
||||
"account_type": "Cost of Goods Sold",
|
||||
"name": "Other Job Related Costs",
|
||||
"report_type": "Profit and Loss"
|
||||
},
|
||||
{
|
||||
"account_type": "Cost of Goods Sold",
|
||||
"name": "Commissions Paid",
|
||||
"report_type": "Profit and Loss"
|
||||
},
|
||||
{
|
||||
"account_type": "Cost of Goods Sold",
|
||||
"name": "Tools and Small Equipment",
|
||||
"report_type": "Profit and Loss"
|
||||
},
|
||||
{
|
||||
"account_type": "Cost of Goods Sold",
|
||||
"name": "Merchant Account Fees",
|
||||
"report_type": "Profit and Loss"
|
||||
},
|
||||
{
|
||||
"account_type": "Cost of Goods Sold",
|
||||
"name": "Job Materials Purchased",
|
||||
"report_type": "Profit and Loss"
|
||||
},
|
||||
{
|
||||
"account_type": "Cost of Goods Sold",
|
||||
"name": "Subcontracted Services",
|
||||
"report_type": "Profit and Loss"
|
||||
},
|
||||
{
|
||||
"account_type": "Cost of Goods Sold",
|
||||
"name": "Equipment Rental for Jobs",
|
||||
"report_type": "Profit and Loss"
|
||||
},
|
||||
{
|
||||
"account_type": "Cost of Goods Sold",
|
||||
"name": "Purchases - Resale Items",
|
||||
"report_type": "Profit and Loss"
|
||||
},
|
||||
{
|
||||
"account_type": "Cost of Goods Sold",
|
||||
"name": "Commissions Paid",
|
||||
"report_type": "Profit and Loss"
|
||||
},
|
||||
{
|
||||
"account_type": "Cost of Goods Sold",
|
||||
"name": "Freight and Shipping Costs",
|
||||
"report_type": "Profit and Loss"
|
||||
},
|
||||
{
|
||||
"account_type": "Cost of Goods Sold",
|
||||
"name": "Merchant Account Fees",
|
||||
"report_type": "Profit and Loss"
|
||||
},
|
||||
{
|
||||
"account_type": "Cost of Goods Sold",
|
||||
"name": "Media Purchased for Clients",
|
||||
"report_type": "Profit and Loss"
|
||||
},
|
||||
{
|
||||
"account_type": "Cost of Goods Sold",
|
||||
"name": "Purchase Discounts",
|
||||
"report_type": "Profit and Loss"
|
||||
},
|
||||
{
|
||||
"account_type": "Cost of Goods Sold",
|
||||
"name": "Subcontractors Expense",
|
||||
"report_type": "Profit and Loss"
|
||||
}
|
||||
],
|
||||
"name": "Cost of Goods Sold",
|
||||
"report_type": "Profit and Loss"
|
||||
}
|
||||
],
|
||||
"name": "Basic",
|
||||
"parent_id": null
|
||||
}
|
||||
}
|
File diff suppressed because it is too large
Load Diff
File diff suppressed because it is too large
Load Diff
26
erpnext/accounts/doctype/chart_of_accounts/import_charts.py
Normal file
26
erpnext/accounts/doctype/chart_of_accounts/import_charts.py
Normal file
@ -0,0 +1,26 @@
|
||||
# Copyright (c) 2013, Web Notes Technologies Pvt. Ltd. and Contributors
|
||||
# License: GNU General Public License v3. See license.txt
|
||||
|
||||
from __future__ import unicode_literals
|
||||
import frappe, os, json
|
||||
|
||||
def import_charts():
|
||||
frappe.db.sql("""delete from `tabChart of Accounts`""")
|
||||
charts_dir = os.path.join(os.path.dirname(__file__), "charts")
|
||||
for fname in os.listdir(charts_dir):
|
||||
if fname.endswith(".json"):
|
||||
with open(os.path.join(charts_dir, fname), "r") as f:
|
||||
chart = json.loads(f.read())
|
||||
country = frappe.db.get_value("Country", {"code": fname.split("_", 1)[0]})
|
||||
if country:
|
||||
bean = frappe.bean({
|
||||
"doctype":"Chart of Accounts",
|
||||
"chart_name": chart.get("name"),
|
||||
"source_file": fname,
|
||||
"country": country
|
||||
}).insert()
|
||||
print bean.doc.name
|
||||
else:
|
||||
print "No chart for: " + chart.get("name")
|
||||
|
||||
frappe.db.commit()
|
@ -14,9 +14,8 @@ erpnext.accounts.CostCenterController = frappe.ui.form.Controller.extend({
|
||||
return {
|
||||
filters:[
|
||||
['Account', 'company', '=', me.frm.doc.company],
|
||||
['Account', 'is_pl_account', '=', 'Yes'],
|
||||
['Account', 'debit_or_credit', '=', 'Debit'],
|
||||
['Account', 'group_or_ledger', '!=', 'Group'],
|
||||
['Account', 'report_type', '=', 'Profit and Loss'],
|
||||
['Account', 'group_or_ledger', '=', 'Ledger'],
|
||||
]
|
||||
}
|
||||
});
|
||||
|
@ -22,7 +22,7 @@ class DocType:
|
||||
self.validate_account_details(adv_adj)
|
||||
validate_frozen_account(self.doc.account, adv_adj)
|
||||
check_freezing_date(self.doc.posting_date, adv_adj)
|
||||
check_negative_balance(self.doc.account, adv_adj)
|
||||
validate_balance_type(self.doc.account, adv_adj)
|
||||
|
||||
# Update outstanding amt on against voucher
|
||||
if self.doc.against_voucher and self.doc.against_voucher_type != "POS" \
|
||||
@ -42,10 +42,10 @@ class DocType:
|
||||
self.doc.account)
|
||||
|
||||
def pl_must_have_cost_center(self):
|
||||
if frappe.db.get_value("Account", self.doc.account, "is_pl_account") == "Yes":
|
||||
if frappe.db.get_value("Account", self.doc.account, "report_type") == "Profit and Loss":
|
||||
if not self.doc.cost_center and self.doc.voucher_type != 'Period Closing Voucher':
|
||||
frappe.throw(_("Cost Center must be specified for PL Account: ") +
|
||||
self.doc.account)
|
||||
frappe.throw(_("Cost Center must be specified for Profit and Loss type account: ")
|
||||
+ self.doc.account)
|
||||
elif self.doc.cost_center:
|
||||
self.doc.cost_center = None
|
||||
|
||||
@ -55,8 +55,9 @@ class DocType:
|
||||
|
||||
def check_pl_account(self):
|
||||
if self.doc.is_opening=='Yes' and \
|
||||
frappe.db.get_value("Account", self.doc.account, "is_pl_account") == "Yes":
|
||||
frappe.throw(_("For opening balance entry account can not be a PL account"))
|
||||
frappe.db.get_value("Account", self.doc.account, "report_type")=="Profit and Loss":
|
||||
frappe.throw(_("For opening balance entry, account can not be \
|
||||
a Profit and Loss type account"))
|
||||
|
||||
def validate_account_details(self, adv_adj):
|
||||
"""Account must be ledger, active and not freezed"""
|
||||
@ -89,19 +90,18 @@ class DocType:
|
||||
frappe.throw(_("Cost Center") + ": " + self.doc.cost_center +
|
||||
_(" does not belong to the company") + ": " + self.doc.company)
|
||||
|
||||
def check_negative_balance(account, adv_adj=False):
|
||||
def validate_balance_type(account, adv_adj=False):
|
||||
if not adv_adj and account:
|
||||
account_details = frappe.db.get_value("Account", account,
|
||||
["allow_negative_balance", "debit_or_credit"], as_dict=True)
|
||||
if not account_details["allow_negative_balance"]:
|
||||
balance = frappe.db.sql("""select sum(debit) - sum(credit) from `tabGL Entry`
|
||||
where account = %s""", account)
|
||||
balance = account_details["debit_or_credit"] == "Debit" and \
|
||||
flt(balance[0][0]) or -1*flt(balance[0][0])
|
||||
|
||||
if flt(balance) < 0:
|
||||
frappe.throw(_("Negative balance is not allowed for account ") + account)
|
||||
|
||||
balance_must_be = frappe.db.get_value("Account", account, "balance_must_be")
|
||||
if balance_must_be:
|
||||
balance = frappe.db.sql("""select sum(ifnull(debit, 0)) - sum(ifnull(credit, 0))
|
||||
from `tabGL Entry` where account = %s""", account)[0][0]
|
||||
|
||||
if (balance_must_be=="Debit" and flt(balance) < 0) or \
|
||||
(balance_must_be=="Credit" and flt(balance) > 0):
|
||||
frappe.throw("Credit" if balance_must_be=="Debit" else "Credit"
|
||||
+ _(" balance is not allowed for account ") + account)
|
||||
|
||||
def check_freezing_date(posting_date, adv_adj=False):
|
||||
"""
|
||||
Nobody can do GL Entries where posting date is before freezing date
|
||||
@ -143,7 +143,7 @@ def update_outstanding_amt(account, against_voucher_type, against_voucher, on_ca
|
||||
|
||||
# Update outstanding amt on against voucher
|
||||
if against_voucher_type in ["Sales Invoice", "Purchase Invoice"]:
|
||||
frappe.db.sql("update `tab%s` set outstanding_amount=%s where name='%s'" %
|
||||
frappe.db.sql("update `tab%s` set outstanding_amount=%s where name=%s",
|
||||
(against_voucher_type, bal, against_voucher))
|
||||
|
||||
def validate_frozen_account(account, adv_adj=None):
|
||||
|
@ -88,7 +88,7 @@ class DocType(AccountsController):
|
||||
msgprint("You can not enter current voucher in 'Against JV' column",
|
||||
raise_exception=1)
|
||||
elif not frappe.db.sql("""select name from `tabJournal Voucher Detail`
|
||||
where account = '%s' and docstatus = 1 and parent = '%s'""" %
|
||||
where account = %s and docstatus = 1 and parent = %s""",
|
||||
(d.account, d.against_jv)):
|
||||
msgprint("Against JV: %s is not valid." % d.against_jv, raise_exception=1)
|
||||
|
||||
@ -175,7 +175,7 @@ class DocType(AccountsController):
|
||||
' - '.join(d.account.split(' - ')[:-1]),
|
||||
master_type == 'Customer' and 'customer_name' or 'supplier_name')
|
||||
|
||||
if account_type == 'Bank or Cash':
|
||||
if account_type in ['Bank', 'Cash']:
|
||||
company_currency = get_company_currency(self.doc.company)
|
||||
amt = flt(d.debit) and d.debit or d.credit
|
||||
self.doc.total_amount = company_currency + ' ' + cstr(amt)
|
||||
@ -413,7 +413,7 @@ def get_opening_accounts(company):
|
||||
"""get all balance sheet accounts for opening entry"""
|
||||
from erpnext.accounts.utils import get_balance_on
|
||||
accounts = frappe.db.sql_list("""select name from tabAccount
|
||||
where group_or_ledger='Ledger' and is_pl_account='No' and company=%s""", company)
|
||||
where group_or_ledger='Ledger' and report_type='Profit and Loss' and company=%s""", company)
|
||||
|
||||
return [{"account": a, "balance": get_balance_on(a)} for a in accounts]
|
||||
|
||||
|
@ -1 +0,0 @@
|
||||
Backend scripts for Financial Statements (to be deprecated)
|
@ -1 +0,0 @@
|
||||
from __future__ import unicode_literals
|
@ -1,166 +0,0 @@
|
||||
# Copyright (c) 2013, Web Notes Technologies Pvt. Ltd. and Contributors
|
||||
# License: GNU General Public License v3. See license.txt
|
||||
|
||||
from __future__ import unicode_literals
|
||||
import frappe
|
||||
from frappe.utils import flt, get_first_day, get_last_day, has_common
|
||||
import frappe.defaults
|
||||
from erpnext.accounts.utils import get_balance_on
|
||||
|
||||
class DocType:
|
||||
def __init__(self, doc, doclist):
|
||||
self.doc = doc
|
||||
self.doclist = doclist
|
||||
self.account_list = []
|
||||
self.ac_details = {} # key: account id, values: debit_or_credit, lft, rgt
|
||||
|
||||
self.period_list = []
|
||||
self.period_start_date = {}
|
||||
self.period_end_date = {}
|
||||
|
||||
self.fs_list = []
|
||||
self.root_bal = []
|
||||
self.flag = 0
|
||||
|
||||
# Get defaults on load of MIS, MIS - Comparison Report and Financial statements
|
||||
def get_comp(self):
|
||||
ret = {}
|
||||
type = []
|
||||
|
||||
ret['period'] = ['Annual','Half Yearly','Quarterly','Monthly']
|
||||
|
||||
from erpnext.accounts.page.accounts_browser.accounts_browser import get_companies
|
||||
ret['company'] = get_companies()
|
||||
|
||||
#--- to get fiscal year and start_date of that fiscal year -----
|
||||
res = frappe.db.sql("select name, year_start_date from `tabFiscal Year`")
|
||||
ret['fiscal_year'] = [r[0] for r in res]
|
||||
ret['start_dates'] = {}
|
||||
for r in res:
|
||||
ret['start_dates'][r[0]] = str(r[1])
|
||||
|
||||
#--- from month and to month (for MIS - Comparison Report) -------
|
||||
month_list = ['Jan','Feb','Mar','Apr','May','Jun','Jul','Aug','Sep','Oct','Nov','Dec']
|
||||
fiscal_start_month = frappe.db.sql("select MONTH(year_start_date) from `tabFiscal Year` where name = %s",(frappe.defaults.get_global_default("fiscal_year")))
|
||||
fiscal_start_month = fiscal_start_month and fiscal_start_month[0][0] or 1
|
||||
mon = ['']
|
||||
for i in range(fiscal_start_month,13): mon.append(month_list[i-1])
|
||||
for i in range(0,fiscal_start_month-1): mon.append(month_list[i])
|
||||
ret['month'] = mon
|
||||
|
||||
# get MIS Type on basis of roles of session user
|
||||
self.roles = frappe.user.get_roles()
|
||||
if has_common(self.roles, ['Sales Manager']):
|
||||
type.append('Sales')
|
||||
if has_common(self.roles, ['Purchase Manager']):
|
||||
type.append('Purchase')
|
||||
ret['type'] = type
|
||||
return ret
|
||||
|
||||
|
||||
def get_statement(self, arg):
|
||||
self.return_data = []
|
||||
|
||||
# define periods
|
||||
arg = eval(arg)
|
||||
pl = ''
|
||||
|
||||
self.define_periods(arg['year'], arg['period'])
|
||||
self.return_data.append([4,'']+self.period_list)
|
||||
|
||||
|
||||
if arg['statement'] == 'Balance Sheet': pl = 'No'
|
||||
if arg['statement'] == 'Profit & Loss': pl = 'Yes'
|
||||
self.get_children('',0,pl,arg['company'], arg['year'])
|
||||
|
||||
return self.return_data
|
||||
|
||||
def get_children(self, parent_account, level, pl, company, fy):
|
||||
cl = frappe.db.sql("select distinct account_name, name, debit_or_credit, lft, rgt from `tabAccount` where ifnull(parent_account, '') = %s and ifnull(is_pl_account, 'No')=%s and company=%s and docstatus != 2 order by name asc", (parent_account, pl, company))
|
||||
level0_diff = [0 for p in self.period_list]
|
||||
if pl=='Yes' and level==0: # switch for income & expenses
|
||||
cl = [c for c in cl]
|
||||
cl.reverse()
|
||||
if cl:
|
||||
for c in cl:
|
||||
self.ac_details[c[1]] = [c[2], c[3], c[4]]
|
||||
bal_list = self.get_period_balance(c[1], pl)
|
||||
if level==0: # top level - put balances as totals
|
||||
self.return_data.append([level, c[0]] + ['' for b in bal_list])
|
||||
totals = bal_list
|
||||
for i in range(len(totals)): # make totals
|
||||
if c[2]=='Credit':
|
||||
level0_diff[i] += flt(totals[i])
|
||||
else:
|
||||
level0_diff[i] -= flt(totals[i])
|
||||
else:
|
||||
self.return_data.append([level, c[0]]+bal_list)
|
||||
|
||||
if level < 2:
|
||||
self.get_children(c[1], level+1, pl, company, fy)
|
||||
|
||||
# make totals - for top level
|
||||
if level==0:
|
||||
# add rows for profit / loss in B/S
|
||||
if pl=='No':
|
||||
if c[2]=='Credit':
|
||||
self.return_data.append([1, 'Total Liabilities'] + totals)
|
||||
level0_diff = [-i for i in level0_diff] # convert to debit
|
||||
self.return_data.append([5, 'Profit/Loss (Provisional)'] + level0_diff)
|
||||
for i in range(len(totals)): # make totals
|
||||
level0_diff[i] = flt(totals[i]) + level0_diff[i]
|
||||
else:
|
||||
self.return_data.append([4, 'Total '+c[0]] + totals)
|
||||
|
||||
# add rows for profit / loss in P/L
|
||||
else:
|
||||
if c[2]=='Debit':
|
||||
self.return_data.append([1, 'Total Expenses'] + totals)
|
||||
self.return_data.append([5, 'Profit/Loss (Provisional)'] + level0_diff)
|
||||
for i in range(len(totals)): # make totals
|
||||
level0_diff[i] = flt(totals[i]) + level0_diff[i]
|
||||
else:
|
||||
self.return_data.append([4, 'Total '+c[0]] + totals)
|
||||
|
||||
def define_periods(self, year, period):
|
||||
ysd = frappe.db.sql("select year_start_date from `tabFiscal Year` where name=%s", year)
|
||||
ysd = ysd and ysd[0][0] or ''
|
||||
|
||||
self.ysd = ysd
|
||||
|
||||
# year
|
||||
if period == 'Annual':
|
||||
pn = 'FY'+year
|
||||
self.period_list.append(pn)
|
||||
self.period_start_date[pn] = ysd
|
||||
self.period_end_date[pn] = get_last_day(get_first_day(ysd,0,11))
|
||||
|
||||
# quarter
|
||||
if period == 'Quarterly':
|
||||
for i in range(4):
|
||||
pn = 'Q'+str(i+1)
|
||||
self.period_list.append(pn)
|
||||
self.period_start_date[pn] = get_first_day(ysd,0,i*3)
|
||||
self.period_end_date[pn] = get_last_day(get_first_day(ysd,0,((i+1)*3)-1))
|
||||
|
||||
# month
|
||||
if period == 'Monthly':
|
||||
mlist = ['Jan','Feb','Mar','Apr','May','Jun','Jul','Aug','Sep','Oct','Nov','Dec']
|
||||
for i in range(12):
|
||||
fd = get_first_day(ysd,0,i)
|
||||
pn = mlist[fd.month-1]
|
||||
self.period_list.append(pn)
|
||||
|
||||
self.period_start_date[pn] = fd
|
||||
self.period_end_date[pn] = get_last_day(fd)
|
||||
|
||||
def get_period_balance(self, acc, pl):
|
||||
ret, i = [], 0
|
||||
for p in self.period_list:
|
||||
period_end_date = self.period_end_date[p].strftime('%Y-%m-%d')
|
||||
bal = get_balance_on(acc, period_end_date)
|
||||
if pl=='Yes':
|
||||
bal = bal - sum(ret)
|
||||
|
||||
ret.append(bal)
|
||||
return ret
|
@ -1,19 +0,0 @@
|
||||
[
|
||||
{
|
||||
"creation": "2012-03-27 14:35:49",
|
||||
"docstatus": 0,
|
||||
"modified": "2013-12-20 19:23:21",
|
||||
"modified_by": "Administrator",
|
||||
"owner": "Administrator"
|
||||
},
|
||||
{
|
||||
"doctype": "DocType",
|
||||
"issingle": 1,
|
||||
"module": "Accounts",
|
||||
"name": "__common__"
|
||||
},
|
||||
{
|
||||
"doctype": "DocType",
|
||||
"name": "MIS Control"
|
||||
}
|
||||
]
|
@ -3,10 +3,10 @@
|
||||
|
||||
cur_frm.set_query("default_account", function(doc) {
|
||||
return{
|
||||
filters: {
|
||||
'account_type': "Bank or Cash",
|
||||
"group_or_ledger": "Ledger",
|
||||
'company': doc.company
|
||||
}
|
||||
filters: [
|
||||
['Account', 'account_type', 'in', 'Bank, Cash'],
|
||||
['Account', 'group_or_ledger', '=', 'Ledger'],
|
||||
['Account', 'company', '=', doc.company]
|
||||
]
|
||||
}
|
||||
});
|
@ -15,8 +15,10 @@ class DocType:
|
||||
self.doclist = doclist
|
||||
|
||||
def set_account_type(self):
|
||||
self.doc.account_type = self.doc.account and \
|
||||
frappe.db.get_value("Account", self.doc.account, "debit_or_credit").lower() or ""
|
||||
self.doc.account_type = ""
|
||||
if self.doc.account:
|
||||
root_type = frappe.db.get_value("Account", self.doc.account, "root_type")
|
||||
self.doc.account_type = "debit" if root_type in ["Asset", "Income"] else "credit"
|
||||
|
||||
def get_voucher_details(self):
|
||||
total_amount = frappe.db.sql("""select sum(%s) from `tabGL Entry`
|
||||
|
@ -12,9 +12,8 @@ cur_frm.cscript.onload = function(doc, cdt, cdn) {
|
||||
cur_frm.fields_dict['closing_account_head'].get_query = function(doc, cdt, cdn) {
|
||||
return{
|
||||
filters:{
|
||||
'is_pl_account': "No",
|
||||
"debit_or_credit": "Credit",
|
||||
"company": doc.company,
|
||||
"report_type": "Balance Sheet",
|
||||
"freeze_account": "No",
|
||||
"group_or_ledger": "Ledger"
|
||||
}
|
||||
|
@ -3,8 +3,8 @@
|
||||
|
||||
from __future__ import unicode_literals
|
||||
import frappe
|
||||
from frappe.utils import cstr, flt, getdate
|
||||
from frappe import msgprint, _
|
||||
from frappe.utils import cstr, flt
|
||||
from frappe import _
|
||||
from erpnext.controllers.accounts_controller import AccountsController
|
||||
|
||||
class DocType(AccountsController):
|
||||
@ -25,10 +25,8 @@ class DocType(AccountsController):
|
||||
where voucher_type = 'Period Closing Voucher' and voucher_no=%s""", self.doc.name)
|
||||
|
||||
def validate_account_head(self):
|
||||
debit_or_credit, is_pl_account = frappe.db.get_value("Account",
|
||||
self.doc.closing_account_head, ["debit_or_credit", "is_pl_account"])
|
||||
|
||||
if debit_or_credit != 'Credit' or is_pl_account != 'No':
|
||||
if frappe.db.get_value("Account", self.doc.closing_account_head, "report_type") \
|
||||
!= "Balance Sheet":
|
||||
frappe.throw(_("Account") + ": " + self.doc.closing_account_head +
|
||||
_("must be a Liability account"))
|
||||
|
||||
@ -48,16 +46,14 @@ class DocType(AccountsController):
|
||||
select sum(ifnull(t1.debit,0))-sum(ifnull(t1.credit,0))
|
||||
from `tabGL Entry` t1, tabAccount t2
|
||||
where t1.account = t2.name and t1.posting_date between %s and %s
|
||||
and t2.debit_or_credit = 'Credit' and t2.is_pl_account = 'Yes'
|
||||
and t2.docstatus < 2 and t2.company = %s""",
|
||||
and t2.root_type = 'Income' and t2.docstatus < 2 and t2.company = %s""",
|
||||
(self.year_start_date, self.doc.posting_date, self.doc.company))
|
||||
|
||||
expense_bal = frappe.db.sql("""
|
||||
select sum(ifnull(t1.debit,0))-sum(ifnull(t1.credit,0))
|
||||
from `tabGL Entry` t1, tabAccount t2
|
||||
where t1.account = t2.name and t1.posting_date between %s and %s
|
||||
and t2.debit_or_credit = 'Debit' and t2.is_pl_account = 'Yes'
|
||||
and t2.docstatus < 2 and t2.company=%s""",
|
||||
and t2.root_type = 'Expense' and t2.docstatus < 2 and t2.company=%s""",
|
||||
(self.year_start_date, self.doc.posting_date, self.doc.company))
|
||||
|
||||
income_bal = income_bal and income_bal[0][0] or 0
|
||||
@ -71,7 +67,7 @@ class DocType(AccountsController):
|
||||
return frappe.db.sql("""
|
||||
select t1.account, sum(ifnull(t1.debit,0))-sum(ifnull(t1.credit,0)) as balance
|
||||
from `tabGL Entry` t1, `tabAccount` t2
|
||||
where t1.account = t2.name and ifnull(t2.is_pl_account, 'No') = 'Yes'
|
||||
where t1.account = t2.name and ifnull(t2.report_type, '') = 'Profit and Loss'
|
||||
and t2.docstatus < 2 and t2.company = %s
|
||||
and t1.posting_date between %s and %s
|
||||
group by t1.account
|
||||
|
@ -16,8 +16,7 @@ cur_frm.cscript.onload = function(doc,cdt,cdn){
|
||||
cur_frm.fields_dict['cash_bank_account'].get_query = function(doc,cdt,cdn) {
|
||||
return{
|
||||
filters:{
|
||||
'debit_or_credit': "Debit",
|
||||
'is_pl_account': "No",
|
||||
'report_type': "Balance Sheet",
|
||||
'group_or_ledger': "Ledger",
|
||||
'company': doc.company
|
||||
}
|
||||
@ -29,7 +28,6 @@ cur_frm.fields_dict['cash_bank_account'].get_query = function(doc,cdt,cdn) {
|
||||
cur_frm.fields_dict['income_account'].get_query = function(doc,cdt,cdn) {
|
||||
return{
|
||||
filters:{
|
||||
'debit_or_credit': "Credit",
|
||||
'group_or_ledger': "Ledger",
|
||||
'company': doc.company,
|
||||
'account_type': "Income Account"
|
||||
@ -55,8 +53,7 @@ cur_frm.fields_dict['cost_center'].get_query = function(doc,cdt,cdn) {
|
||||
cur_frm.fields_dict["expense_account"].get_query = function(doc) {
|
||||
return {
|
||||
filters: {
|
||||
"is_pl_account": "Yes",
|
||||
"debit_or_credit": "Debit",
|
||||
"report_type": "Profit and Loss",
|
||||
"company": doc.company,
|
||||
"group_or_ledger": "Ledger"
|
||||
}
|
||||
|
@ -51,14 +51,24 @@ class DocType:
|
||||
frappe.throw(link_dn +_(" does not belong to ") + self.doc.company)
|
||||
|
||||
def on_update(self):
|
||||
frappe.defaults.clear_default("is_pos")
|
||||
self.set_defaults()
|
||||
|
||||
pos_view_users = frappe.db.sql_list("""select user from `tabPOS Setting`""")
|
||||
def on_trash(self):
|
||||
self.set_defaults(include_current_pos=False)
|
||||
|
||||
def set_defaults(self, include_current_pos=True):
|
||||
frappe.defaults.clear_default("is_pos")
|
||||
|
||||
if not include_current_pos:
|
||||
condition = " where name != '%s'" % self.doc.name.replace("'", "\'")
|
||||
else:
|
||||
condition = ""
|
||||
|
||||
pos_view_users = frappe.db.sql_list("""select user
|
||||
from `tabPOS Setting` {0}""".format(condition))
|
||||
|
||||
for user in pos_view_users:
|
||||
if user:
|
||||
frappe.defaults.set_user_default("is_pos", 1, user)
|
||||
else:
|
||||
frappe.defaults.set_global_default("is_pos", 1)
|
||||
|
||||
def on_trash(self):
|
||||
self.on_update()
|
||||
frappe.defaults.set_global_default("is_pos", 1)
|
@ -158,8 +158,7 @@ cur_frm.fields_dict['entries'].grid.get_field("item_code").get_query = function(
|
||||
cur_frm.fields_dict['credit_to'].get_query = function(doc) {
|
||||
return{
|
||||
filters:{
|
||||
'debit_or_credit': 'Credit',
|
||||
'is_pl_account': 'No',
|
||||
'report_type': 'Balance Sheet',
|
||||
'group_or_ledger': 'Ledger',
|
||||
'company': doc.company
|
||||
}
|
||||
|
@ -4,7 +4,7 @@
|
||||
from __future__ import unicode_literals
|
||||
import frappe
|
||||
|
||||
from frappe.utils import add_days, cint, cstr, flt, formatdate
|
||||
from frappe.utils import cint, cstr, flt, formatdate
|
||||
from frappe.model.bean import getlist
|
||||
from frappe.model.code import get_obj
|
||||
from frappe import msgprint, _
|
||||
@ -109,17 +109,8 @@ class DocType(BuyingController):
|
||||
self.doc.remarks = "No Remarks"
|
||||
|
||||
def validate_credit_acc(self):
|
||||
acc = frappe.db.sql("select debit_or_credit, is_pl_account from tabAccount where name = %s",
|
||||
self.doc.credit_to)
|
||||
if not acc:
|
||||
msgprint("Account: "+ self.doc.credit_to + "does not exist")
|
||||
raise Exception
|
||||
elif acc[0][0] and acc[0][0] != 'Credit':
|
||||
msgprint("Account: "+ self.doc.credit_to + "is not a credit account")
|
||||
raise Exception
|
||||
elif acc[0][1] and acc[0][1] != 'No':
|
||||
msgprint("Account: "+ self.doc.credit_to + "is a pl account")
|
||||
raise Exception
|
||||
if frappe.db.get_value("Account", self.doc.debit_to, "report_type") != "Balance Sheet":
|
||||
frappe.throw(_("Account must be a balance sheet account"))
|
||||
|
||||
# Validate Acc Head of Supplier and Credit To Account entered
|
||||
# ------------------------------------------------------------
|
||||
@ -137,7 +128,7 @@ class DocType(BuyingController):
|
||||
for d in getlist(self.doclist,'entries'):
|
||||
if d.purchase_order and not d.purchase_order in check_list and not d.purchase_receipt:
|
||||
check_list.append(d.purhcase_order)
|
||||
stopped = frappe.db.sql("select name from `tabPurchase Order` where status = 'Stopped' and name = '%s'" % d.purchase_order)
|
||||
stopped = frappe.db.sql("select name from `tabPurchase Order` where status = 'Stopped' and name = %s", d.purchase_order)
|
||||
if stopped:
|
||||
msgprint("One cannot do any transaction against 'Purchase Order' : %s, it's status is 'Stopped'" % (d.purhcase_order))
|
||||
raise Exception
|
||||
@ -238,11 +229,11 @@ class DocType(BuyingController):
|
||||
def check_prev_docstatus(self):
|
||||
for d in getlist(self.doclist,'entries'):
|
||||
if d.purchase_order:
|
||||
submitted = frappe.db.sql("select name from `tabPurchase Order` where docstatus = 1 and name = '%s'" % d.purchase_order)
|
||||
submitted = frappe.db.sql("select name from `tabPurchase Order` where docstatus = 1 and name = %s", d.purchase_order)
|
||||
if not submitted:
|
||||
frappe.throw("Purchase Order : "+ cstr(d.purchase_order) +" is not submitted")
|
||||
if d.purchase_receipt:
|
||||
submitted = frappe.db.sql("select name from `tabPurchase Receipt` where docstatus = 1 and name = '%s'" % d.purchase_receipt)
|
||||
submitted = frappe.db.sql("select name from `tabPurchase Receipt` where docstatus = 1 and name = %s", d.purchase_receipt)
|
||||
if not submitted:
|
||||
frappe.throw("Purchase Receipt : "+ cstr(d.purchase_receipt) +" is not submitted")
|
||||
|
||||
@ -433,7 +424,7 @@ def get_expense_account(doctype, txt, searchfield, start, page_len, filters):
|
||||
# but can also be a Liability account with account_type='Expense Account' in special circumstances.
|
||||
# Hence the first condition is an "OR"
|
||||
return frappe.db.sql("""select tabAccount.name from `tabAccount`
|
||||
where (tabAccount.debit_or_credit="Debit"
|
||||
where (tabAccount.report_type = "Profit and Loss"
|
||||
or tabAccount.account_type = "Expense Account")
|
||||
and tabAccount.group_or_ledger="Ledger"
|
||||
and tabAccount.docstatus!=2
|
||||
|
@ -138,7 +138,6 @@ cur_frm.set_query("account_head", "other_charges", function(doc) {
|
||||
query: "erpnext.controllers.queries.tax_account_query",
|
||||
filters: {
|
||||
"account_type": ["Tax", "Chargeable", "Expense Account"],
|
||||
"debit_or_credit": "Debit",
|
||||
"company": doc.company
|
||||
}
|
||||
}
|
||||
|
@ -15,7 +15,7 @@ def get_items(price_list, sales_or_purchase, item=None, item_group=None):
|
||||
condition = "i.is_purchase_item='Yes'"
|
||||
|
||||
if item_group and item_group != "All Item Groups":
|
||||
condition += " and i.item_group='%s'" % item_group
|
||||
condition += " and i.item_group='%s'" % item_group.replace("'", "\'")
|
||||
|
||||
if item:
|
||||
condition += " and CONCAT(i.name, i.item_name) like %(name)s"
|
||||
|
@ -182,13 +182,16 @@ erpnext.accounts.SalesInvoiceController = erpnext.selling.SellingController.exte
|
||||
frappe.model.round_floats_in(this.frm.doc, ["grand_total", "paid_amount"]);
|
||||
// this will make outstanding amount 0
|
||||
this.frm.set_value("write_off_amount",
|
||||
flt(this.frm.doc.grand_total - this.frm.doc.paid_amount), precision("write_off_amount"));
|
||||
flt(this.frm.doc.grand_total - this.frm.doc.paid_amount),
|
||||
precision("write_off_amount"));
|
||||
}
|
||||
|
||||
this.calculate_outstanding_amount();
|
||||
this.frm.refresh_fields();
|
||||
},
|
||||
|
||||
write_off_amount: function() {
|
||||
this.calculate_outstanding_amount();
|
||||
this.frm.refresh_fields();
|
||||
this.write_off_outstanding_amount_automatically();
|
||||
},
|
||||
|
||||
paid_amount: function() {
|
||||
@ -289,8 +292,7 @@ cur_frm.cscript.make_bank_voucher = function() {
|
||||
cur_frm.fields_dict.debit_to.get_query = function(doc) {
|
||||
return{
|
||||
filters: {
|
||||
'debit_or_credit': 'Debit',
|
||||
'is_pl_account': 'No',
|
||||
'report_type': 'Balance Sheet',
|
||||
'group_or_ledger': 'Ledger',
|
||||
'company': doc.company
|
||||
}
|
||||
@ -300,8 +302,7 @@ cur_frm.fields_dict.debit_to.get_query = function(doc) {
|
||||
cur_frm.fields_dict.cash_bank_account.get_query = function(doc) {
|
||||
return{
|
||||
filters: {
|
||||
'debit_or_credit': 'Debit',
|
||||
'is_pl_account': 'No',
|
||||
'report_type': 'Balance Sheet',
|
||||
'group_or_ledger': 'Ledger',
|
||||
'company': doc.company
|
||||
}
|
||||
@ -311,8 +312,7 @@ cur_frm.fields_dict.cash_bank_account.get_query = function(doc) {
|
||||
cur_frm.fields_dict.write_off_account.get_query = function(doc) {
|
||||
return{
|
||||
filters:{
|
||||
'debit_or_credit': 'Debit',
|
||||
'is_pl_account': 'Yes',
|
||||
'report_type': 'Profit and Loss',
|
||||
'group_or_ledger': 'Ledger',
|
||||
'company': doc.company
|
||||
}
|
||||
@ -353,8 +353,7 @@ if (sys_defaults.auto_accounting_for_stock) {
|
||||
cur_frm.fields_dict['entries'].grid.get_field('expense_account').get_query = function(doc) {
|
||||
return {
|
||||
filters: {
|
||||
'is_pl_account': 'Yes',
|
||||
'debit_or_credit': 'Debit',
|
||||
'report_type': 'Profit and Loss',
|
||||
'company': doc.company,
|
||||
'group_or_ledger': 'Ledger'
|
||||
}
|
||||
@ -362,17 +361,6 @@ if (sys_defaults.auto_accounting_for_stock) {
|
||||
}
|
||||
}
|
||||
|
||||
// warehouse in detail table
|
||||
//----------------------------
|
||||
cur_frm.fields_dict['entries'].grid.get_field('warehouse').get_query = function(doc, cdt, cdn) {
|
||||
var d = locals[cdt][cdn];
|
||||
return{
|
||||
filters:[
|
||||
['Bin', 'item_code', '=', d.item_code],
|
||||
['Bin', 'actual_qty', '>', 0]
|
||||
]
|
||||
}
|
||||
}
|
||||
|
||||
// Cost Center in Details Table
|
||||
// -----------------------------
|
||||
|
@ -257,27 +257,21 @@ class DocType(SellingController):
|
||||
|
||||
|
||||
def validate_debit_acc(self):
|
||||
acc = frappe.db.sql("select debit_or_credit, is_pl_account from tabAccount where name = '%s' and docstatus != 2" % self.doc.debit_to)
|
||||
if not acc:
|
||||
msgprint("Account: "+ self.doc.debit_to + " does not exist")
|
||||
raise Exception
|
||||
elif acc[0][0] and acc[0][0] != 'Debit':
|
||||
msgprint("Account: "+ self.doc.debit_to + " is not a debit account")
|
||||
raise Exception
|
||||
elif acc[0][1] and acc[0][1] != 'No':
|
||||
msgprint("Account: "+ self.doc.debit_to + " is a pl account")
|
||||
raise Exception
|
||||
|
||||
|
||||
if frappe.db.get_value("Account", self.doc.debit_to, "report_type") != "Balance Sheet":
|
||||
frappe.throw(_("Account must be a balance sheet account"))
|
||||
|
||||
def validate_fixed_asset_account(self):
|
||||
"""Validate Fixed Asset Account and whether Income Account Entered Exists"""
|
||||
"""Validate Fixed Asset and whether Income Account Entered Exists"""
|
||||
for d in getlist(self.doclist,'entries'):
|
||||
item = frappe.db.sql("select name,is_asset_item,is_sales_item from `tabItem` where name = '%s' and (ifnull(end_of_life,'')='' or end_of_life = '0000-00-00' or end_of_life > now())"% d.item_code)
|
||||
acc = frappe.db.sql("select account_type from `tabAccount` where name = '%s' and docstatus != 2" % d.income_account)
|
||||
item = frappe.db.sql("""select name,is_asset_item,is_sales_item from `tabItem`
|
||||
where name = %s and (ifnull(end_of_life,'')='' or end_of_life = '0000-00-00'
|
||||
or end_of_life > now())""", d.item_code)
|
||||
acc = frappe.db.sql("""select account_type from `tabAccount`
|
||||
where name = %s and docstatus != 2""", d.income_account)
|
||||
if not acc:
|
||||
msgprint("Account: "+d.income_account+" does not exist in the system", raise_exception=True)
|
||||
elif item and item[0][1] == 'Yes' and not acc[0][0] == 'Fixed Asset Account':
|
||||
msgprint("Please select income head with account type 'Fixed Asset Account' as Item %s is an asset item" % d.item_code, raise_exception=True)
|
||||
elif item and item[0][1] == 'Yes' and not acc[0][0] == 'Fixed Asset':
|
||||
msgprint("Please select income head with account type 'Fixed Asset' as Item %s is an asset item" % d.item_code, raise_exception=True)
|
||||
|
||||
def validate_with_previous_doc(self):
|
||||
super(DocType, self).validate_with_previous_doc(self.tname, {
|
||||
@ -344,7 +338,9 @@ class DocType(SellingController):
|
||||
def validate_proj_cust(self):
|
||||
"""check for does customer belong to same project as entered.."""
|
||||
if self.doc.project_name and self.doc.customer:
|
||||
res = frappe.db.sql("select name from `tabProject` where name = '%s' and (customer = '%s' or ifnull(customer,'')='')"%(self.doc.project_name, self.doc.customer))
|
||||
res = frappe.db.sql("""select name from `tabProject`
|
||||
where name = %s and (customer = %s or
|
||||
ifnull(customer,'')='')""", (self.doc.project_name, self.doc.customer))
|
||||
if not res:
|
||||
msgprint("Customer - %s does not belong to project - %s. \n\nIf you want to use project for multiple customers then please make customer details blank in that project."%(self.doc.customer,self.doc.project_name))
|
||||
raise Exception
|
||||
@ -397,10 +393,13 @@ class DocType(SellingController):
|
||||
|
||||
|
||||
def get_warehouse(self):
|
||||
w = frappe.db.sql("select warehouse from `tabPOS Setting` where ifnull(user,'') = '%s' and company = '%s'" % (frappe.session['user'], self.doc.company))
|
||||
w = frappe.db.sql("""select warehouse from `tabPOS Setting`
|
||||
where ifnull(user,'') = %s and company = %s""",
|
||||
(frappe.session['user'], self.doc.company))
|
||||
w = w and w[0][0] or ''
|
||||
if not w:
|
||||
ps = frappe.db.sql("select name, warehouse from `tabPOS Setting` where ifnull(user,'') = '' and company = '%s'" % self.doc.company)
|
||||
ps = frappe.db.sql("""select name, warehouse from `tabPOS Setting`
|
||||
where ifnull(user,'') = '' and company = %s""", self.doc.company)
|
||||
if not ps:
|
||||
msgprint("To make POS entry, please create POS Setting from Accounts --> POS Setting page and refresh the system.", raise_exception=True)
|
||||
elif not ps[0][1]:
|
||||
@ -439,13 +438,15 @@ class DocType(SellingController):
|
||||
def check_prev_docstatus(self):
|
||||
for d in getlist(self.doclist,'entries'):
|
||||
if d.sales_order:
|
||||
submitted = frappe.db.sql("select name from `tabSales Order` where docstatus = 1 and name = '%s'" % d.sales_order)
|
||||
submitted = frappe.db.sql("""select name from `tabSales Order`
|
||||
where docstatus = 1 and name = %s""", d.sales_order)
|
||||
if not submitted:
|
||||
msgprint("Sales Order : "+ cstr(d.sales_order) +" is not submitted")
|
||||
raise Exception , "Validation Error."
|
||||
|
||||
if d.delivery_note:
|
||||
submitted = frappe.db.sql("select name from `tabDelivery Note` where docstatus = 1 and name = '%s'" % d.delivery_note)
|
||||
submitted = frappe.db.sql("""select name from `tabDelivery Note`
|
||||
where docstatus = 1 and name = %s""", d.delivery_note)
|
||||
if not submitted:
|
||||
msgprint("Delivery Note : "+ cstr(d.delivery_note) +" is not submitted")
|
||||
raise Exception , "Validation Error."
|
||||
@ -786,7 +787,7 @@ def get_income_account(doctype, txt, searchfield, start, page_len, filters):
|
||||
# but can also be a Asset account with account_type='Income Account' in special circumstances.
|
||||
# Hence the first condition is an "OR"
|
||||
return frappe.db.sql("""select tabAccount.name from `tabAccount`
|
||||
where (tabAccount.debit_or_credit="Credit"
|
||||
where (tabAccount.report_type = "Profit and Loss"
|
||||
or tabAccount.account_type = "Income Account")
|
||||
and tabAccount.group_or_ledger="Ledger"
|
||||
and tabAccount.docstatus!=2
|
||||
|
@ -137,7 +137,6 @@ cur_frm.fields_dict['other_charges'].grid.get_field("account_head").get_query =
|
||||
query: "erpnext.controllers.queries.tax_account_query",
|
||||
filters: {
|
||||
"account_type": ["Tax", "Chargeable", "Income Account"],
|
||||
"debit_or_credit": "Credit",
|
||||
"company": doc.company
|
||||
}
|
||||
}
|
||||
|
@ -103,7 +103,7 @@ def validate_account_for_auto_accounting_for_stock(gl_map):
|
||||
def delete_gl_entries(gl_entries=None, voucher_type=None, voucher_no=None,
|
||||
adv_adj=False, update_outstanding="Yes"):
|
||||
|
||||
from erpnext.accounts.doctype.gl_entry.gl_entry import check_negative_balance, \
|
||||
from erpnext.accounts.doctype.gl_entry.gl_entry import validate_balance_type, \
|
||||
check_freezing_date, update_outstanding_amt, validate_frozen_account
|
||||
|
||||
if not gl_entries:
|
||||
@ -117,7 +117,7 @@ def delete_gl_entries(gl_entries=None, voucher_type=None, voucher_no=None,
|
||||
|
||||
for entry in gl_entries:
|
||||
validate_frozen_account(entry["account"], adv_adj)
|
||||
check_negative_balance(entry["account"], adv_adj)
|
||||
validate_balance_type(entry["account"], adv_adj)
|
||||
validate_expense_against_budget(entry)
|
||||
|
||||
if entry.get("against_voucher") and entry.get("against_voucher_type") != "POS" \
|
||||
|
@ -32,7 +32,7 @@ pscript['onload_Accounts Browser'] = function(wrapper){
|
||||
'<li>'+
|
||||
'<b>'+frappe._('To create a Bank Account:')+'</b>'+
|
||||
frappe._('Go to the appropriate group (usually Application of Funds > Current Assets > Bank Accounts)')+
|
||||
frappe._('and create a new Account Ledger (by clicking on Add Child) of type "Bank or Cash"')+
|
||||
frappe._('and create a new Account Ledger (by clicking on Add Child) of type "Bank"')+
|
||||
'</li>'+
|
||||
'<li>'+
|
||||
'<b>'+frappe._('To create a Tax Account:')+'</b>'+
|
||||
@ -68,7 +68,7 @@ pscript['onload_Accounts Browser'] = function(wrapper){
|
||||
$.each(r.message, function(i, v) {
|
||||
$('<option>').html(v).attr('value', v).appendTo(wrapper.$company_select);
|
||||
});
|
||||
wrapper.$company_select.val(frappe.defaults.get_default("company") || r[0]).change();
|
||||
wrapper.$company_select.val(frappe.defaults.get_user_default("company") || r[0]).change();
|
||||
}
|
||||
});
|
||||
}
|
||||
@ -193,8 +193,9 @@ erpnext.AccountsChart = Class.extend({
|
||||
options:'Group\nLedger', description: frappe._('Further accounts can be made under Groups,')+
|
||||
frappe._('but entries can be made against Ledger')},
|
||||
{fieldtype:'Select', fieldname:'account_type', label:frappe._('Account Type'),
|
||||
options: ['', 'Fixed Asset Account', 'Bank or Cash', 'Expense Account', 'Tax',
|
||||
'Income Account', 'Chargeable'].join('\n'),
|
||||
options: ['', 'Bank', 'Cash', 'Warehouse', 'Receivable', 'Payable',
|
||||
'Equity', 'Cost of Goods Sold', 'Fixed Asset', 'Expense Account',
|
||||
'Income Account', 'Tax', 'Chargeable'].join('\n'),
|
||||
description: frappe._("Optional. This setting will be used to filter in various transactions.") },
|
||||
{fieldtype:'Float', fieldname:'tax_rate', label:frappe._('Tax Rate')},
|
||||
{fieldtype:'Button', fieldname:'create_new', label:frappe._('Create New') }
|
||||
|
@ -16,20 +16,27 @@ frappe.pages['financial-analytics'].onload = function(wrapper) {
|
||||
|
||||
erpnext.FinancialAnalytics = erpnext.AccountTreeGrid.extend({
|
||||
filters: [
|
||||
{fieldtype:"Select", label: frappe._("PL or BS"), options:["Profit and Loss", "Balance Sheet"],
|
||||
{
|
||||
fieldtype:"Select", label: frappe._("PL or BS"),
|
||||
options:["Profit and Loss", "Balance Sheet"],
|
||||
filter: function(val, item, opts, me) {
|
||||
if(item._show) return true;
|
||||
|
||||
// pl or bs
|
||||
var out = (val!='Balance Sheet') ? item.is_pl_account=='Yes' : item.is_pl_account!='Yes';
|
||||
var out = (val=='Balance Sheet') ?
|
||||
item.report_type=='Balance Sheet' : item.report_type=='Profit and Loss';
|
||||
if(!out) return false;
|
||||
|
||||
return me.apply_zero_filter(val, item, opts, me);
|
||||
}},
|
||||
{fieldtype:"Select", label: frappe._("Company"), link:"Company", default_value: "Select Company...",
|
||||
}
|
||||
},
|
||||
{
|
||||
fieldtype:"Select", label: frappe._("Company"),
|
||||
link:"Company", default_value: "Select Company...",
|
||||
filter: function(val, item, opts) {
|
||||
return item.company == val || val == opts.default_value || item._show;
|
||||
}},
|
||||
}
|
||||
},
|
||||
{fieldtype:"Select", label: frappe._("Fiscal Year"), link:"Fiscal Year",
|
||||
default_value: "Select Fiscal Year..."},
|
||||
{fieldtype:"Date", label: frappe._("From Date")},
|
||||
@ -46,13 +53,93 @@ erpnext.FinancialAnalytics = erpnext.AccountTreeGrid.extend({
|
||||
formatter: this.check_formatter},
|
||||
{id: "name", name: frappe._("Account"), field: "name", width: 300,
|
||||
formatter: this.tree_formatter},
|
||||
{id: "opening", name: frappe._("Opening"), field: "opening", hidden: true,
|
||||
formatter: this.currency_formatter}
|
||||
{id: "opening_dr", name: frappe._("Opening (Dr)"), field: "opening_dr",
|
||||
hidden: true, formatter: this.currency_formatter, balance_type: "Dr"},
|
||||
{id: "opening_cr", name: frappe._("Opening (Cr)"), field: "opening_cr",
|
||||
hidden: true, formatter: this.currency_formatter, balance_type: "Cr"},
|
||||
];
|
||||
|
||||
this.make_date_range_columns();
|
||||
this.make_date_range_columns(true);
|
||||
this.columns = std_columns.concat(this.columns);
|
||||
},
|
||||
make_date_range_columns: function() {
|
||||
this.columns = [];
|
||||
|
||||
var me = this;
|
||||
var range = this.filter_inputs.range.val();
|
||||
this.from_date = dateutil.user_to_str(this.filter_inputs.from_date.val());
|
||||
this.to_date = dateutil.user_to_str(this.filter_inputs.to_date.val());
|
||||
var date_diff = dateutil.get_diff(this.to_date, this.from_date);
|
||||
|
||||
me.column_map = {};
|
||||
me.last_date = null;
|
||||
|
||||
var add_column = function(date, balance_type) {
|
||||
me.columns.push({
|
||||
id: date + "_" + balance_type.toLowerCase(),
|
||||
name: dateutil.str_to_user(date),
|
||||
field: date + "_" + balance_type.toLowerCase(),
|
||||
date: date,
|
||||
balance_type: balance_type,
|
||||
formatter: me.currency_formatter,
|
||||
width: 100
|
||||
});
|
||||
}
|
||||
|
||||
var build_columns = function(condition) {
|
||||
// add column for each date range
|
||||
for(var i=0; i <= date_diff; i++) {
|
||||
var date = dateutil.add_days(me.from_date, i);
|
||||
if(!condition) condition = function() { return true; }
|
||||
|
||||
if(condition(date)) {
|
||||
$.each(["Dr", "Cr"], function(i, v) {
|
||||
add_column(date, v)
|
||||
});
|
||||
}
|
||||
me.last_date = date;
|
||||
|
||||
if(me.columns.length) {
|
||||
me.column_map[date] = me.columns[me.columns.length-1];
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
// make columns for all date ranges
|
||||
if(range=='Daily') {
|
||||
build_columns();
|
||||
} else if(range=='Weekly') {
|
||||
build_columns(function(date) {
|
||||
if(!me.last_date) return true;
|
||||
return !(dateutil.get_diff(date, me.from_date) % 7)
|
||||
});
|
||||
} else if(range=='Monthly') {
|
||||
build_columns(function(date) {
|
||||
if(!me.last_date) return true;
|
||||
return dateutil.str_to_obj(me.last_date).getMonth() != dateutil.str_to_obj(date).getMonth()
|
||||
});
|
||||
} else if(range=='Quarterly') {
|
||||
build_columns(function(date) {
|
||||
if(!me.last_date) return true;
|
||||
return dateutil.str_to_obj(date).getDate()==1 && in_list([0,3,6,9], dateutil.str_to_obj(date).getMonth())
|
||||
});
|
||||
} else if(range=='Yearly') {
|
||||
build_columns(function(date) {
|
||||
if(!me.last_date) return true;
|
||||
return $.map(frappe.report_dump.data['Fiscal Year'], function(v) {
|
||||
return date==v.year_start_date ? true : null;
|
||||
}).length;
|
||||
});
|
||||
|
||||
}
|
||||
|
||||
// set label as last date of period
|
||||
$.each(this.columns, function(i, col) {
|
||||
col.name = me.columns[i+2]
|
||||
? dateutil.str_to_user(dateutil.add_days(me.columns[i+2].date, -1)) + " (" + me.columns[i].balance_type + ")"
|
||||
: dateutil.str_to_user(me.to_date) + " (" + me.columns[i].balance_type + ")";
|
||||
});
|
||||
},
|
||||
setup_filters: function() {
|
||||
var me = this;
|
||||
this._super();
|
||||
@ -69,7 +156,6 @@ erpnext.FinancialAnalytics = erpnext.AccountTreeGrid.extend({
|
||||
},
|
||||
prepare_balances: function() {
|
||||
var me = this;
|
||||
|
||||
// setup cost center map
|
||||
if(!this.cost_center_by_name) {
|
||||
this.cost_center_by_name = this.make_name_map(frappe.report_dump.data["Cost Center"]);
|
||||
@ -100,29 +186,32 @@ erpnext.FinancialAnalytics = erpnext.AccountTreeGrid.extend({
|
||||
if(gl.voucher_type=='Period Closing Voucher') {
|
||||
// period closing voucher not to be added
|
||||
// to profit and loss accounts (else will become zero!!)
|
||||
if(account.is_pl_account!='Yes')
|
||||
me.add_balance(col.field, account, gl);
|
||||
if(account.report_type=='Balance Sheet')
|
||||
me.add_balance(col.date, account, gl);
|
||||
} else {
|
||||
me.add_balance(col.field, account, gl);
|
||||
me.add_balance(col.date, account, gl);
|
||||
}
|
||||
|
||||
} else if(account.is_pl_account!='Yes'
|
||||
} else if(account.report_type=='Balance Sheet'
|
||||
&& (posting_date < dateutil.str_to_obj(me.from_date))) {
|
||||
me.add_balance('opening', account, gl);
|
||||
me.add_balance('opening', account, gl);
|
||||
}
|
||||
}
|
||||
});
|
||||
|
||||
|
||||
// make balances as cumulative
|
||||
if(me.pl_or_bs=='Balance Sheet') {
|
||||
$.each(me.data, function(i, ac) {
|
||||
if((ac.rgt - ac.lft)==1 && ac.is_pl_account!='Yes') {
|
||||
if((ac.rgt - ac.lft)==1 && ac.report_type=='Balance Sheet') {
|
||||
var opening = 0;
|
||||
//if(opening) throw opening;
|
||||
$.each(me.columns, function(i, col) {
|
||||
if(col.formatter==me.currency_formatter) {
|
||||
ac[col.field] = opening + flt(ac[col.field]);
|
||||
opening = ac[col.field];
|
||||
if(col.balance_type=="Dr") {
|
||||
opening = opening + flt(ac[col.date + "_dr"]) -
|
||||
flt(ac[col.date + "_cr"]);
|
||||
me.set_debit_or_credit(ac, col.date, opening);
|
||||
}
|
||||
}
|
||||
});
|
||||
}
|
||||
@ -140,40 +229,62 @@ erpnext.FinancialAnalytics = erpnext.AccountTreeGrid.extend({
|
||||
indent: 0,
|
||||
opening: 0,
|
||||
checked: false,
|
||||
is_pl_account: me.pl_or_bs=="Balance Sheet" ? "No" : "Yes",
|
||||
report_type: me.pl_or_bs,
|
||||
};
|
||||
me.item_by_name[net_profit.name] = net_profit;
|
||||
|
||||
$.each(me.data, function(i, ac) {
|
||||
if(!ac.parent_account && me.apply_filter(ac, "company")) {
|
||||
if(me.pl_or_bs == "Balance Sheet") {
|
||||
var valid_account = ac.is_pl_account!="Yes";
|
||||
var do_addition_for = "Debit";
|
||||
} else {
|
||||
var valid_account = ac.is_pl_account=="Yes";
|
||||
var do_addition_for = "Credit";
|
||||
}
|
||||
if(valid_account) {
|
||||
$.each(me.columns, function(i, col) {
|
||||
if(col.formatter==me.currency_formatter) {
|
||||
if(!net_profit[col.field]) net_profit[col.field] = 0;
|
||||
if(ac.debit_or_credit==do_addition_for) {
|
||||
net_profit[col.field] += ac[col.field];
|
||||
} else {
|
||||
net_profit[col.field] -= ac[col.field];
|
||||
}
|
||||
}
|
||||
});
|
||||
}
|
||||
|
||||
$.each(me.columns, function(i, col) {
|
||||
if(col.formatter==me.currency_formatter) {
|
||||
if(!net_profit[col.id]) net_profit[col.id] = 0;
|
||||
}
|
||||
});
|
||||
|
||||
$.each(me.data, function(i, ac) {
|
||||
if(!ac.parent_account && me.apply_filter(ac, "company") &&
|
||||
ac.report_type==me.pl_or_bs) {
|
||||
$.each(me.columns, function(i, col) {
|
||||
if(col.formatter==me.currency_formatter && col.balance_type=="Dr") {
|
||||
var bal = net_profit[col.date+"_dr"] -
|
||||
net_profit[col.date+"_cr"] +
|
||||
ac[col.date+"_dr"] - ac[col.date+"_cr"];
|
||||
me.set_debit_or_credit(net_profit, col.date, bal);
|
||||
}
|
||||
});
|
||||
}
|
||||
});
|
||||
this.data.push(net_profit);
|
||||
// $.each(me.data, function(i, v) {
|
||||
// if(v.report_type=="Profit and Loss") console.log(v)
|
||||
// })
|
||||
}
|
||||
},
|
||||
add_balance: function(field, account, gl) {
|
||||
account[field] = flt(account[field]) +
|
||||
((account.debit_or_credit == "Debit" ? 1 : -1) * (flt(gl.debit) - flt(gl.credit)))
|
||||
var bal = flt(account[field+"_dr"]) - flt(account[field+"_cr"]) +
|
||||
flt(gl.debit) - flt(gl.credit);
|
||||
this.set_debit_or_credit(account, field, bal);
|
||||
},
|
||||
update_groups: function() {
|
||||
// update groups
|
||||
var me= this;
|
||||
$.each(this.data, function(i, account) {
|
||||
// update groups
|
||||
if((account.group_or_ledger == "Ledger") || (account.rgt - account.lft == 1)) {
|
||||
var parent = me.parent_map[account.name];
|
||||
while(parent) {
|
||||
var parent_account = me.item_by_name[parent];
|
||||
$.each(me.columns, function(c, col) {
|
||||
if (col.formatter == me.currency_formatter && col.balance_type=="Dr") {
|
||||
var bal = flt(parent_account[col.date+"_dr"]) -
|
||||
flt(parent_account[col.date+"_cr"]) +
|
||||
flt(account[col.date+"_dr"]) -
|
||||
flt(account[col.date+"_cr"]);
|
||||
me.set_debit_or_credit(parent_account, col.date, bal);
|
||||
}
|
||||
});
|
||||
parent = me.parent_map[parent];
|
||||
}
|
||||
}
|
||||
});
|
||||
},
|
||||
init_account: function(d) {
|
||||
// set 0 values for all columns
|
||||
@ -191,18 +302,21 @@ erpnext.FinancialAnalytics = erpnext.AccountTreeGrid.extend({
|
||||
var pl_or_bs = this.pl_or_bs;
|
||||
$.each(this.data, function(i, account) {
|
||||
|
||||
var show = pl_or_bs != "Balance Sheet" ? account.is_pl_account=="Yes" : account.is_pl_account!="Yes";
|
||||
var show = pl_or_bs == "Balance Sheet" ?
|
||||
account.report_type=="Balance Sheet" : account.report_type=="Profit and Loss";
|
||||
if (show && account.checked && me.apply_filter(account, "company")) {
|
||||
data.push({
|
||||
label: account.name,
|
||||
data: $.map(me.columns, function(col, idx) {
|
||||
if(col.formatter==me.currency_formatter && !col.hidden) {
|
||||
if (pl_or_bs != "Balance Sheet") {
|
||||
return [[dateutil.str_to_obj(col.id).getTime(), account[col.field]],
|
||||
[dateutil.user_to_obj(col.name).getTime(), account[col.field]]];
|
||||
} else {
|
||||
return [[dateutil.user_to_obj(col.name).getTime(), account[col.field]]];
|
||||
}
|
||||
if(col.formatter==me.currency_formatter && !col.hidden &&
|
||||
col.balance_type=="Dr") {
|
||||
var bal = account[col.date+"_dr"]||account[col.date+"_cr"];
|
||||
if (pl_or_bs != "Balance Sheet") {
|
||||
return [[dateutil.str_to_obj(col.date).getTime(), bal],
|
||||
[dateutil.user_to_obj(col.date).getTime(), bal]];
|
||||
} else {
|
||||
return [[dateutil.user_to_obj(col.date).getTime(), bal]];
|
||||
}
|
||||
}
|
||||
}),
|
||||
points: {show: true},
|
||||
|
@ -1 +0,0 @@
|
||||
Generate provisional Balance Sheet and Profit and Loss statements.
|
@ -1 +0,0 @@
|
||||
from __future__ import unicode_literals
|
@ -1,148 +0,0 @@
|
||||
// Copyright (c) 2013, Web Notes Technologies Pvt. Ltd. and Contributors
|
||||
// License: GNU General Public License v3. See license.txt
|
||||
|
||||
erpnext.fs = {}
|
||||
|
||||
pscript['onload_Financial Statements'] = function(wrapper) {
|
||||
frappe.ui.make_app_page({
|
||||
parent: wrapper,
|
||||
"title": frappe._("Financial Statements"),
|
||||
"single_column": true,
|
||||
});
|
||||
|
||||
erpnext.fs.stmt_type = wrapper.appframe.add_field({
|
||||
fieldtype:"Select",
|
||||
fieldname:"stmt_type",
|
||||
options: ['Select Statement...','Balance Sheet','Profit & Loss']
|
||||
})
|
||||
|
||||
erpnext.fs.stmt_company = wrapper.appframe.add_field({
|
||||
fieldtype:"Select",
|
||||
fieldname:"stmt_company",
|
||||
options: ['Loading Companies...']
|
||||
})
|
||||
|
||||
erpnext.fs.stmt_period = wrapper.appframe.add_field({
|
||||
fieldtype:"Select",
|
||||
fieldname:"stmt_period",
|
||||
options: ['Select Period...', 'Annual', 'Quarterly', 'Monthly']
|
||||
})
|
||||
|
||||
erpnext.fs.stmt_fiscal_year = wrapper.appframe.add_field({
|
||||
fieldtype:"Select",
|
||||
fieldname:"stmt_fiscal_year",
|
||||
options: ['Loading...']
|
||||
})
|
||||
|
||||
wrapper.appframe.add_button(frappe._("Create"), function() {
|
||||
pscript.stmt_new();
|
||||
}, "icon-refresh")
|
||||
|
||||
wrapper.appframe.add_button(frappe._("Print"), function() {
|
||||
_p.go($i('print_html').innerHTML);
|
||||
}, "icon-print")
|
||||
|
||||
$(wrapper).find(".layout-main").html('<div id="print_html">\
|
||||
<div id="stmt_title1" style="margin:16px 0px 4px 0px; font-size: 16px; font-weight: bold; color: #888;"></div>\
|
||||
<div id="stmt_title2" style="margin:0px 0px 8px 0px; font-size: 16px; font-weight: bold;"></div>\
|
||||
<div id="stmt_tree" style="margin: 0px 0px 16px; overflow: auto;">'+frappe._('Please select options and click on Create')+'</div>\
|
||||
</div>').css({"min-height": "400px"});
|
||||
|
||||
// load companies
|
||||
return $c_obj('MIS Control','get_comp','', function(r,rt) {
|
||||
// company
|
||||
erpnext.fs.stmt_company.$input.empty()
|
||||
.add_options(['Select Company...'].concat(r.message.company));
|
||||
erpnext.fs.stmt_fiscal_year.$input.empty()
|
||||
.add_options(['Select Year...'].concat(r.message.fiscal_year));
|
||||
});
|
||||
|
||||
}
|
||||
|
||||
pscript.stmt_new = function(stmt,company_name,level,period,year) {
|
||||
|
||||
$i('stmt_tree').innerHTML = frappe._('Refreshing....');
|
||||
$i('stmt_tree').style.display = 'block';
|
||||
|
||||
var company =erpnext.fs.stmt_company.get_value();
|
||||
|
||||
var arg = {
|
||||
statement: erpnext.fs.stmt_type.get_value(),
|
||||
company: company,
|
||||
period: erpnext.fs.stmt_period.get_value(),
|
||||
year: erpnext.fs.stmt_fiscal_year.get_value()
|
||||
}
|
||||
|
||||
return $c_obj('MIS Control', 'get_statement', docstring(arg), function(r,rt) {
|
||||
var nl = r.message;
|
||||
var t = $i('stmt_tree');
|
||||
var stmt_type = erpnext.fs.stmt_type.get_value();
|
||||
t.innerHTML = '';
|
||||
var tab = $a($a(t, 'div'),'table','stmt_table');
|
||||
tab.style.tableLayout = 'fixed';
|
||||
tab.style.width = '100%';
|
||||
|
||||
$i('stmt_title1').innerHTML = erpnext.fs.stmt_company.get_value()
|
||||
$i('stmt_title2').innerHTML = erpnext.fs.stmt_type.get_value()
|
||||
+ ' - ' + erpnext.fs.stmt_fiscal_year.get_value();
|
||||
for(i=0;i<nl.length;i++) {
|
||||
tab.insertRow(i);
|
||||
|
||||
tab.rows[i].style.height = '20px';
|
||||
|
||||
// heads
|
||||
var per = tab.rows[i].insertCell(0);
|
||||
per.style.width = '150px';
|
||||
per.innerHTML = pscript.space_reqd(nl[i][0])+cstr(nl[i][1]);
|
||||
per.className = 'stmt_level' + nl[i][0];
|
||||
|
||||
// Make Title Bold
|
||||
if(nl[i][0] == 0 || nl[i][0] == 1 || nl[i][0] == 4){
|
||||
per.innerHTML = (pscript.space_reqd(nl[i][0])+cstr(nl[i][1])+'').bold();
|
||||
per.style.fontSize = '12px';
|
||||
}
|
||||
|
||||
for(j=2;j<nl[i].length;j++){
|
||||
var per = tab.rows[i].insertCell(j-1);
|
||||
// per.style.width = (100-acc_width)/(nl[i].length-2) +'%';
|
||||
per.style.width = '150px';
|
||||
per.style.textAlign = "right";
|
||||
per.className = 'stmt_level' + nl[i][0];
|
||||
if (i==0) {
|
||||
per.style.fontSize = '14px';
|
||||
per.style.textAlign = "right";
|
||||
}
|
||||
if (nl[i][0]==5) {
|
||||
if(flt(nl[i][j])<0.0) per.style.color = "RED";
|
||||
else per.style.color = "GREEN";
|
||||
}
|
||||
if(nl[i][0] != 0){
|
||||
if(nl[i][j]) {
|
||||
if (i==0)
|
||||
per.innerHTML = (nl[i][j]+'').bold();
|
||||
else if(nl[i][0] == 1 || nl[i][0] == 4)
|
||||
per.innerHTML = format_currency(nl[i][j], erpnext.get_currency(company)).bold();
|
||||
else
|
||||
per.innerHTML = format_currency(nl[i][j], erpnext.get_currency(company))
|
||||
} else
|
||||
per.innerHTML = '-';
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
});
|
||||
$i('stmt_tree').style.display = 'block';
|
||||
}
|
||||
|
||||
//printing statement
|
||||
pscript.print_statement = function(){
|
||||
print_go($i('print_html').innerHTML);
|
||||
}
|
||||
|
||||
//determine space to be given
|
||||
pscript.space_reqd = function(val){
|
||||
if(val == 1) return ' ';
|
||||
else if(val == 2) return ' ';
|
||||
else if(val == 3) return ' ';
|
||||
else return '';
|
||||
}
|
@ -1,36 +0,0 @@
|
||||
[
|
||||
{
|
||||
"creation": "2013-01-27 16:30:52",
|
||||
"docstatus": 0,
|
||||
"modified": "2013-08-14 12:47:45",
|
||||
"modified_by": "Administrator",
|
||||
"owner": "Administrator"
|
||||
},
|
||||
{
|
||||
"doctype": "Page",
|
||||
"icon": "icon-money",
|
||||
"module": "Accounts",
|
||||
"name": "__common__",
|
||||
"page_name": "Financial Statements",
|
||||
"standard": "Yes"
|
||||
},
|
||||
{
|
||||
"doctype": "Page Role",
|
||||
"name": "__common__",
|
||||
"parent": "Financial Statements",
|
||||
"parentfield": "roles",
|
||||
"parenttype": "Page"
|
||||
},
|
||||
{
|
||||
"doctype": "Page",
|
||||
"name": "Financial Statements"
|
||||
},
|
||||
{
|
||||
"doctype": "Page Role",
|
||||
"role": "Accounts Manager"
|
||||
},
|
||||
{
|
||||
"doctype": "Page Role",
|
||||
"role": "Analytics"
|
||||
}
|
||||
]
|
@ -8,7 +8,7 @@ frappe.query_reports["Accounts Payable"] = {
|
||||
"label": frappe._("Company"),
|
||||
"fieldtype": "Link",
|
||||
"options": "Company",
|
||||
"default": frappe.defaults.get_default("company")
|
||||
"default": frappe.defaults.get_user_default("company")
|
||||
},
|
||||
{
|
||||
"fieldname":"account",
|
||||
@ -20,8 +20,7 @@ frappe.query_reports["Accounts Payable"] = {
|
||||
return {
|
||||
"query": "accounts.utils.get_account_list",
|
||||
"filters": {
|
||||
"is_pl_account": "No",
|
||||
"debit_or_credit": "Credit",
|
||||
"report_type": "Balance Sheet",
|
||||
"company": company,
|
||||
"master_type": "Supplier"
|
||||
}
|
||||
|
@ -93,7 +93,7 @@ def get_gl_entries(filters, before_report_date=True):
|
||||
def get_conditions(filters, before_report_date=True):
|
||||
conditions = ""
|
||||
if filters.get("company"):
|
||||
conditions += " and company='%s'" % filters["company"]
|
||||
conditions += " and company='%s'" % filters["company"].replace("'", "\'")
|
||||
|
||||
supplier_accounts = []
|
||||
if filters.get("account"):
|
||||
|
@ -8,7 +8,7 @@ frappe.query_reports["Accounts Receivable"] = {
|
||||
"label": frappe._("Company"),
|
||||
"fieldtype": "Link",
|
||||
"options": "Company",
|
||||
"default": frappe.defaults.get_default("company")
|
||||
"default": frappe.defaults.get_user_default("company")
|
||||
},
|
||||
{
|
||||
"fieldname":"account",
|
||||
@ -20,8 +20,7 @@ frappe.query_reports["Accounts Receivable"] = {
|
||||
return {
|
||||
"query": "accounts.utils.get_account_list",
|
||||
"filters": {
|
||||
"is_pl_account": "No",
|
||||
"debit_or_credit": "Debit",
|
||||
"report_type": "Balance Sheet",
|
||||
"company": company,
|
||||
"master_type": "Customer"
|
||||
}
|
||||
|
@ -24,10 +24,10 @@ frappe.query_reports["Bank Clearance Summary"] = {
|
||||
"get_query": function() {
|
||||
return {
|
||||
"query": "accounts.utils.get_account_list",
|
||||
"filters": {
|
||||
"is_pl_account": "No",
|
||||
"account_type": "Bank or Cash"
|
||||
}
|
||||
"filters": [
|
||||
['Account', 'account_type', 'in', 'Bank, Cash'],
|
||||
['Account', 'group_or_ledger', '=', 'Ledger'],
|
||||
]
|
||||
}
|
||||
}
|
||||
},
|
||||
|
@ -12,10 +12,10 @@ frappe.query_reports["Bank Reconciliation Statement"] = {
|
||||
"get_query": function() {
|
||||
return {
|
||||
"query": "accounts.utils.get_account_list",
|
||||
"filters": {
|
||||
"is_pl_account": "No",
|
||||
"account_type": "Bank or Cash"
|
||||
}
|
||||
"filters": [
|
||||
['Account', 'account_type', 'in', 'Bank, Cash'],
|
||||
['Account', 'group_or_ledger', '=', 'Ledger'],
|
||||
]
|
||||
}
|
||||
}
|
||||
},
|
||||
|
@ -7,9 +7,7 @@ from frappe.utils import flt
|
||||
|
||||
def execute(filters=None):
|
||||
if not filters: filters = {}
|
||||
|
||||
debit_or_credit = frappe.db.get_value("Account", filters["account"], "debit_or_credit")
|
||||
|
||||
|
||||
columns = get_columns()
|
||||
data = get_entries(filters)
|
||||
|
||||
@ -21,15 +19,12 @@ def execute(filters=None):
|
||||
total_debit += flt(d[4])
|
||||
total_credit += flt(d[5])
|
||||
|
||||
if debit_or_credit == 'Debit':
|
||||
bank_bal = flt(balance_as_per_company) - flt(total_debit) + flt(total_credit)
|
||||
else:
|
||||
bank_bal = flt(balance_as_per_company) + flt(total_debit) - flt(total_credit)
|
||||
bank_bal = flt(balance_as_per_company) + flt(total_debit) - flt(total_credit)
|
||||
|
||||
data += [
|
||||
get_balance_row("Balance as per company books", balance_as_per_company, debit_or_credit),
|
||||
get_balance_row("Balance as per company books", balance_as_per_company),
|
||||
["", "", "", "Amounts not reflected in bank", total_debit, total_credit],
|
||||
get_balance_row("Balance as per bank", bank_bal, debit_or_credit)
|
||||
get_balance_row("Balance as per bank", bank_bal)
|
||||
]
|
||||
|
||||
return columns, data
|
||||
@ -45,15 +40,15 @@ def get_entries(filters):
|
||||
jv.name, jv.posting_date, jv.clearance_date, jvd.against_account, jvd.debit, jvd.credit
|
||||
from
|
||||
`tabJournal Voucher Detail` jvd, `tabJournal Voucher` jv
|
||||
where jvd.parent = jv.name and jv.docstatus=1 and ifnull(jv.cheque_no, '')!= ''
|
||||
where jvd.parent = jv.name and jv.docstatus=1
|
||||
and jvd.account = %(account)s and jv.posting_date <= %(report_date)s
|
||||
and ifnull(jv.clearance_date, '4000-01-01') > %(report_date)s
|
||||
order by jv.name DESC""", filters, as_list=1)
|
||||
|
||||
return entries
|
||||
|
||||
def get_balance_row(label, amount, debit_or_credit):
|
||||
if debit_or_credit == "Debit":
|
||||
def get_balance_row(label, amount):
|
||||
if amount > 0:
|
||||
return ["", "", "", label, amount, 0]
|
||||
else:
|
||||
return ["", "", "", label, 0, amount]
|
||||
|
@ -22,7 +22,7 @@ frappe.query_reports["Budget Variance Report"] = {
|
||||
label: frappe._("Company"),
|
||||
fieldtype: "Link",
|
||||
options: "Company",
|
||||
default: frappe.defaults.get_default("company")
|
||||
default: frappe.defaults.get_user_default("company")
|
||||
},
|
||||
]
|
||||
}
|
@ -8,8 +8,7 @@ from frappe import _
|
||||
|
||||
def execute(filters=None):
|
||||
account_details = {}
|
||||
for acc in frappe.db.sql("""select name, debit_or_credit, group_or_ledger
|
||||
from tabAccount""", as_dict=1):
|
||||
for acc in frappe.db.sql("""select name, group_or_ledger from tabAccount""", as_dict=1):
|
||||
account_details.setdefault(acc.name, acc)
|
||||
|
||||
validate_filters(filters, account_details)
|
||||
@ -88,15 +87,13 @@ def get_data_with_opening_closing(filters, account_details, gl_entries):
|
||||
|
||||
# Opening for filtered account
|
||||
if filters.get("account"):
|
||||
data += [get_balance_row("Opening", account_details[filters.account].debit_or_credit,
|
||||
opening), {}]
|
||||
data += [get_balance_row("Opening", opening), {}]
|
||||
|
||||
for acc, acc_dict in gle_map.items():
|
||||
if acc_dict.entries:
|
||||
# Opening for individual ledger, if grouped by account
|
||||
if filters.get("group_by_account"):
|
||||
data.append(get_balance_row("Opening", account_details[acc].debit_or_credit,
|
||||
acc_dict.opening))
|
||||
data.append(get_balance_row("Opening", acc_dict.opening))
|
||||
|
||||
data += acc_dict.entries
|
||||
|
||||
@ -105,8 +102,7 @@ def get_data_with_opening_closing(filters, account_details, gl_entries):
|
||||
data += [{"account": "Totals", "debit": acc_dict.total_debit,
|
||||
"credit": acc_dict.total_credit},
|
||||
get_balance_row("Closing (Opening + Totals)",
|
||||
account_details[acc].debit_or_credit, (acc_dict.opening
|
||||
+ acc_dict.total_debit - acc_dict.total_credit)), {}]
|
||||
(acc_dict.opening + acc_dict.total_debit - acc_dict.total_credit)), {}]
|
||||
|
||||
# Total debit and credit between from and to date
|
||||
if total_debit or total_credit:
|
||||
@ -115,7 +111,6 @@ def get_data_with_opening_closing(filters, account_details, gl_entries):
|
||||
# Closing for filtered account
|
||||
if filters.get("account"):
|
||||
data.append(get_balance_row("Closing (Opening + Totals)",
|
||||
account_details[filters.account].debit_or_credit,
|
||||
(opening + total_debit - total_credit)))
|
||||
|
||||
return data
|
||||
@ -151,11 +146,11 @@ def get_accountwise_gle(filters, gl_entries, gle_map):
|
||||
|
||||
return opening, total_debit, total_credit, gle_map
|
||||
|
||||
def get_balance_row(label, debit_or_credit, balance):
|
||||
def get_balance_row(label, balance):
|
||||
return {
|
||||
"account": label,
|
||||
"debit": balance if debit_or_credit=="Debit" else 0,
|
||||
"credit": -1*balance if debit_or_credit=="Credit" else 0,
|
||||
"debit": balance if balance > 0 else 0,
|
||||
"credit": -1*balance if balance < 0 else 0,
|
||||
}
|
||||
|
||||
def get_result_as_list(data):
|
||||
|
@ -32,8 +32,7 @@ frappe.query_reports["Item-wise Purchase Register"] = {
|
||||
return {
|
||||
"query": "accounts.utils.get_account_list",
|
||||
"filters": {
|
||||
"is_pl_account": "No",
|
||||
"debit_or_credit": "Credit",
|
||||
"report_type": "Balance Sheet",
|
||||
"company": company,
|
||||
"master_type": "Supplier"
|
||||
}
|
||||
@ -45,7 +44,7 @@ frappe.query_reports["Item-wise Purchase Register"] = {
|
||||
"label": frappe._("Company"),
|
||||
"fieldtype": "Link",
|
||||
"options": "Company",
|
||||
"default": frappe.defaults.get_default("company")
|
||||
"default": frappe.defaults.get_user_default("company")
|
||||
}
|
||||
]
|
||||
}
|
@ -26,8 +26,7 @@ frappe.query_reports["Item-wise Sales Register"] = frappe.query_reports["Sales R
|
||||
return {
|
||||
"query": "accounts.utils.get_account_list",
|
||||
"filters": {
|
||||
"is_pl_account": "No",
|
||||
"debit_or_credit": "Debit",
|
||||
"report_type": "Balance Sheet",
|
||||
"company": company,
|
||||
"master_type": "Customer"
|
||||
}
|
||||
@ -39,7 +38,7 @@ frappe.query_reports["Item-wise Sales Register"] = frappe.query_reports["Sales R
|
||||
"label": frappe._("Company"),
|
||||
"fieldtype": "Link",
|
||||
"options": "Company",
|
||||
"default": frappe.defaults.get_default("company")
|
||||
"default": frappe.defaults.get_user_default("company")
|
||||
}
|
||||
]
|
||||
}
|
@ -31,7 +31,7 @@ frappe.query_reports["Payment Period Based On Invoice Date"] = {
|
||||
return {
|
||||
query: "accounts.utils.get_account_list",
|
||||
filters: {
|
||||
is_pl_account: "No",
|
||||
"report_type": "Balance Sheet",
|
||||
company: frappe.query_report.filters_by_name.company.get_value()
|
||||
}
|
||||
}
|
||||
@ -42,7 +42,7 @@ frappe.query_reports["Payment Period Based On Invoice Date"] = {
|
||||
label: frappe._("Company"),
|
||||
fieldtype: "Link",
|
||||
options: "Company",
|
||||
default: frappe.defaults.get_default("company")
|
||||
default: frappe.defaults.get_user_default("company")
|
||||
},
|
||||
]
|
||||
}
|
@ -51,7 +51,8 @@ def get_conditions(filters):
|
||||
if filters.get("account"):
|
||||
party_accounts = [filters["account"]]
|
||||
else:
|
||||
cond = filters.get("company") and (" and company = '%s'" % filters["company"]) or ""
|
||||
cond = filters.get("company") and (" and company = '%s'" %
|
||||
filters["company"].replace("'", "\'")) or ""
|
||||
|
||||
if filters.get("payment_type") == "Incoming":
|
||||
cond += " and master_type = 'Customer'"
|
||||
|
@ -26,8 +26,7 @@ frappe.query_reports["Purchase Register"] = {
|
||||
return {
|
||||
"query": "accounts.utils.get_account_list",
|
||||
"filters": {
|
||||
"is_pl_account": "No",
|
||||
"debit_or_credit": "Credit",
|
||||
"report_type": "Balance Sheet",
|
||||
"company": company,
|
||||
"master_type": "Supplier"
|
||||
}
|
||||
@ -39,7 +38,7 @@ frappe.query_reports["Purchase Register"] = {
|
||||
"label": frappe._("Company"),
|
||||
"fieldtype": "Link",
|
||||
"options": "Company",
|
||||
"default": frappe.defaults.get_default("company")
|
||||
"default": frappe.defaults.get_user_default("company")
|
||||
}
|
||||
]
|
||||
}
|
@ -26,8 +26,7 @@ frappe.query_reports["Sales Register"] = {
|
||||
return {
|
||||
"query": "accounts.utils.get_account_list",
|
||||
"filters": {
|
||||
"is_pl_account": "No",
|
||||
"debit_or_credit": "Debit",
|
||||
"report_type": "Balance Sheet",
|
||||
"company": company,
|
||||
"master_type": "Customer"
|
||||
}
|
||||
@ -39,7 +38,7 @@ frappe.query_reports["Sales Register"] = {
|
||||
"label": frappe._("Company"),
|
||||
"fieldtype": "Link",
|
||||
"options": "Company",
|
||||
"default": frappe.defaults.get_default("company")
|
||||
"default": frappe.defaults.get_user_default("company")
|
||||
}
|
||||
]
|
||||
}
|
@ -22,7 +22,7 @@ def get_fiscal_years(date=None, fiscal_year=None, label="Date", verbose=1):
|
||||
# if year start date is 2012-04-01, year end date should be 2013-03-31 (hence subdate)
|
||||
cond = ""
|
||||
if fiscal_year:
|
||||
cond = "name = '%s'" % fiscal_year
|
||||
cond = "name = '%s'" % fiscal_year.replace("'", "\'")
|
||||
else:
|
||||
cond = "'%s' >= year_start_date and '%s' <= year_end_date" % \
|
||||
(date, date)
|
||||
@ -74,7 +74,7 @@ def get_balance_on(account=None, date=None):
|
||||
return 0.0
|
||||
|
||||
acc = frappe.db.get_value('Account', account, \
|
||||
['lft', 'rgt', 'debit_or_credit', 'is_pl_account', 'group_or_ledger'], as_dict=1)
|
||||
['lft', 'rgt', 'is_pl_account', 'group_or_ledger'], as_dict=1)
|
||||
|
||||
# for pl accounts, get balance within a fiscal year
|
||||
if acc.is_pl_account == 'Yes':
|
||||
@ -88,17 +88,13 @@ def get_balance_on(account=None, date=None):
|
||||
and ac.lft >= %s and ac.rgt <= %s
|
||||
)""" % (acc.lft, acc.rgt))
|
||||
else:
|
||||
cond.append("""gle.account = "%s" """ % (account, ))
|
||||
cond.append("""gle.account = "%s" """ % (account.replace('"', '\"'), ))
|
||||
|
||||
bal = frappe.db.sql("""
|
||||
SELECT sum(ifnull(debit, 0)) - sum(ifnull(credit, 0))
|
||||
FROM `tabGL Entry` gle
|
||||
WHERE %s""" % " and ".join(cond))[0][0]
|
||||
|
||||
# if credit account, it should calculate credit - debit
|
||||
if bal and acc.debit_or_credit == 'Credit':
|
||||
bal = -bal
|
||||
|
||||
# if bal is None, return 0
|
||||
return flt(bal)
|
||||
|
||||
@ -289,8 +285,7 @@ def get_stock_and_account_difference(account_list=None, posting_date=None):
|
||||
|
||||
def validate_expense_against_budget(args):
|
||||
args = frappe._dict(args)
|
||||
if frappe.db.get_value("Account", {"name": args.account, "is_pl_account": "Yes",
|
||||
"debit_or_credit": "Debit"}):
|
||||
if frappe.db.get_value("Account", {"name": args.account, "report_type": "Profit and Loss"}):
|
||||
budget = frappe.db.sql("""
|
||||
select bd.budget_allocated, cc.distribution_id
|
||||
from `tabCost Center` cc, `tabBudget Detail` bd
|
||||
|
@ -127,7 +127,8 @@ class DocType(BuyingController):
|
||||
update_bin(args)
|
||||
|
||||
def check_modified_date(self):
|
||||
mod_db = frappe.db.sql("select modified from `tabPurchase Order` where name = '%s'" % self.doc.name)
|
||||
mod_db = frappe.db.sql("select modified from `tabPurchase Order` where name = %s",
|
||||
self.doc.name)
|
||||
date_diff = frappe.db.sql("select TIMEDIFF('%s', '%s')" % ( mod_db[0][0],cstr(self.doc.modified)))
|
||||
|
||||
if date_diff and date_diff[0][0]:
|
||||
@ -166,7 +167,10 @@ class DocType(BuyingController):
|
||||
pc_obj.check_docstatus(check = 'Next', doctype = 'Purchase Receipt', docname = self.doc.name, detail_doctype = 'Purchase Receipt Item')
|
||||
|
||||
# Check if Purchase Invoice has been submitted against current Purchase Order
|
||||
submitted = frappe.db.sql("select t1.name from `tabPurchase Invoice` t1,`tabPurchase Invoice Item` t2 where t1.name = t2.parent and t2.purchase_order = '%s' and t1.docstatus = 1" % self.doc.name)
|
||||
submitted = frappe.db.sql("""select t1.name
|
||||
from `tabPurchase Invoice` t1,`tabPurchase Invoice Item` t2
|
||||
where t1.name = t2.parent and t2.purchase_order = %s and t1.docstatus = 1""",
|
||||
self.doc.name)
|
||||
if submitted:
|
||||
msgprint("Purchase Invoice : " + cstr(submitted[0][0]) + " has already been submitted !")
|
||||
raise Exception
|
||||
|
@ -23,16 +23,19 @@ class DocType:
|
||||
|
||||
def on_submit(self):
|
||||
if self.doc.purchase_receipt_no:
|
||||
frappe.db.sql("update `tabPurchase Receipt Item` t1, `tabPurchase Receipt` t2 set t1.qa_no = '%s', t2.modified = '%s' \
|
||||
where t1.parent = '%s' and t1.item_code = '%s' and t1.parent = t2.name" \
|
||||
% (self.doc.name, self.doc.modified, self.doc.purchase_receipt_no, self.doc.item_code))
|
||||
frappe.db.sql("""update `tabPurchase Receipt Item` t1, `tabPurchase Receipt` t2
|
||||
set t1.qa_no = %s, t2.modified = %s
|
||||
where t1.parent = %s and t1.item_code = %s and t1.parent = t2.name""",
|
||||
(self.doc.name, self.doc.modified, self.doc.purchase_receipt_no,
|
||||
self.doc.item_code))
|
||||
|
||||
|
||||
def on_cancel(self):
|
||||
if self.doc.purchase_receipt_no:
|
||||
frappe.db.sql("update `tabPurchase Receipt Item` t1, `tabPurchase Receipt` t2 set t1.qa_no = '', t2.modified = '%s' \
|
||||
where t1.parent = '%s' and t1.item_code = '%s' and t1.parent = t2.name" \
|
||||
% (self.doc.modified, self.doc.purchase_receipt_no, self.doc.item_code))
|
||||
frappe.db.sql("""update `tabPurchase Receipt Item` t1, `tabPurchase Receipt` t2
|
||||
set t1.qa_no = '', t2.modified = %s
|
||||
where t1.parent = %s and t1.item_code = %s and t1.parent = t2.name""",
|
||||
(self.doc.modified, self.doc.purchase_receipt_no, self.doc.item_code))
|
||||
|
||||
|
||||
def item_query(doctype, txt, searchfield, start, page_len, filters):
|
||||
|
@ -63,7 +63,7 @@ class DocType(TransactionBase):
|
||||
|
||||
def get_contacts(self,nm):
|
||||
if nm:
|
||||
contact_details =frappe.db.convert_to_lists(frappe.db.sql("select name, CONCAT(IFNULL(first_name,''),' ',IFNULL(last_name,'')),contact_no,email_id from `tabContact` where supplier = '%s'"%nm))
|
||||
contact_details =frappe.db.convert_to_lists(frappe.db.sql("select name, CONCAT(IFNULL(first_name,''),' ',IFNULL(last_name,'')),contact_no,email_id from `tabContact` where supplier = %s", nm))
|
||||
|
||||
return contact_details
|
||||
else:
|
||||
|
Some files were not shown because too many files have changed in this diff Show More
Loading…
x
Reference in New Issue
Block a user