From 2b36bfc4cc6f73bea64e97c107dd1b5a1765c35f Mon Sep 17 00:00:00 2001 From: "renatonlima@gmail.com" <> Date: Mon, 3 Oct 2011 10:32:03 -0300 Subject: [PATCH] brazilian localization module merge bzr revid: renatonlima@gmail.com-20111003133203-10qix7vprmwifru6 --- addons/l10n_br/__init__.py | 5 +- addons/l10n_br/__openerp__.py | 40 +- addons/l10n_br/account.py | 177 ++++ addons/l10n_br/account_view.xml | 114 ++ .../l10n_br/data/account.account.template.csv | 412 ++++---- addons/l10n_br/data/account.account.type.csv | 4 +- .../data/account.tax.code.template.csv | 23 +- addons/l10n_br/data/account_tax_template.xml | 994 ++++++++++-------- .../data/l10n_br_account_chart_template.xml | 13 +- addons/l10n_br/data/l10n_br_data.xml | 673 ++++++++++++ addons/l10n_br/l10n_br.py | 84 ++ addons/l10n_br/l10n_br_view.xml | 80 ++ addons/l10n_br/security/ir.model.access.csv | 3 + 13 files changed, 1970 insertions(+), 652 deletions(-) create mode 100644 addons/l10n_br/account.py create mode 100644 addons/l10n_br/account_view.xml create mode 100644 addons/l10n_br/data/l10n_br_data.xml create mode 100644 addons/l10n_br/l10n_br.py create mode 100644 addons/l10n_br/l10n_br_view.xml create mode 100644 addons/l10n_br/security/ir.model.access.csv diff --git a/addons/l10n_br/__init__.py b/addons/l10n_br/__init__.py index efb54d8e4c1..ad29d242d37 100644 --- a/addons/l10n_br/__init__.py +++ b/addons/l10n_br/__init__.py @@ -4,7 +4,7 @@ # Copyright (C) 2009 Renato Lima - Akretion # # # #This program is free software: you can redistribute it and/or modify # -#it under the terms of the GNU General Public License as published by # +#it under the terms of the GNU Affero General Public License as published by # #the Free Software Foundation, either version 3 of the License, or # #(at your option) any later version. # # # @@ -17,5 +17,8 @@ #along with this program. If not, see . # ################################################################################# +import account +import l10n_br + # vim:expandtab:smartindent:tabstop=4:softtabstop=4:shiftwidth=4: diff --git a/addons/l10n_br/__openerp__.py b/addons/l10n_br/__openerp__.py index 578978599a0..be7fddc15db 100644 --- a/addons/l10n_br/__openerp__.py +++ b/addons/l10n_br/__openerp__.py @@ -4,7 +4,7 @@ # Copyright (C) 2009 Renato Lima - Akretion # # This program is free software: you can redistribute it and/or modify -# it under the terms of the GNU General Public License as published by +# it under the terms of the GNU Affero General Public License as published by # the Free Software Foundation, either version 3 of the License, or # (at your option) any later version. # @@ -20,29 +20,43 @@ { 'name': 'Brazilian Localization', - 'description': 'Brazilian Localization', - 'category': 'Finance', - 'description': """ -This is the base module to manage the accounting chart for Brazil in OpenERP. -============================================================================= + 'description': """Brazilian Localization. This module consists in: +- Generic Brazilian chart of accounts +- Brazilian taxes such as: + - IPI + - ICMS + - PIS + - COFINS + - ISS + - IR + - IRPJ + - CSLL +- Tax Situation Code (CST) required for the electronic fiscal invoicing (NFe) -Brazilian accounting chart and localization. - """, - 'author': 'OpenERP Brasil', +The field tax_discount has also been added in the account.tax.template and account.tax objects to allow the proper computation of some Brazilian VATs such as ICMS. The chart of account creation wizard has been extended to propagate those new data properly. + +It's important to note however that this module lack many implementations to use OpenERP properly in Brazil. Those implementations (such as the electronic fiscal Invoicing which is already operational) are brought by more than 15 additional modules of the Brazilian Launchpad localization project https://launchpad.net/openerp.pt-br-localiz and their dependencies in the extra addons branch. Those modules aim at not breaking with the remarkable OpenERP modularity, this is why they are numerous but small. One of the reasons for maintaining those modules apart is that Brazilian Localization leaders need commit rights agility to complete the localization as companies fund the remaining legal requirements (such as soon fiscal ledgers, accounting SPED, fiscal SPED and PAF ECF that are still missing as September 2011). Those modules are also strictly licensed under AGPL V3 and today don't come with any additional paid permission for online use of 'private modules'.""", + 'category': 'Localisation/Account Charts', + 'license': 'AGPL-3', + 'author': 'Akretion, OpenERP Brasil', 'website': 'http://openerpbrasil.org', 'version': '0.6', 'depends': ['account','account_chart'], - 'init_xml': [], - 'update_xml': [ + 'init_xml': [ 'data/account.account.type.csv', 'data/account.tax.code.template.csv', 'data/account.account.template.csv', 'data/l10n_br_account_chart_template.xml', - 'data/account_tax_template.xml' + 'data/account_tax_template.xml', + 'data/l10n_br_data.xml', + 'security/ir.model.access.csv', + ], + 'update_xml': [ + 'account_view.xml', + 'l10n_br_view.xml', ], 'installable': True, 'certificate' : '001280994939126801405', - 'images': ['images/1_config_chart_l10n_br.jpeg','images/2_l10n_br_chart.jpeg'], } # vim:expandtab:smartindent:tabstop=4:softtabstop=4:shiftwidth=4: diff --git a/addons/l10n_br/account.py b/addons/l10n_br/account.py new file mode 100644 index 00000000000..965ff500829 --- /dev/null +++ b/addons/l10n_br/account.py @@ -0,0 +1,177 @@ +# -*- encoding: utf-8 -*- +################################################################################# +# # +# Copyright (C) 2009 Renato Lima - Akretion # +# # +#This program is free software: you can redistribute it and/or modify # +#it under the terms of the GNU Affero General Public License as published by # +#the Free Software Foundation, either version 3 of the License, or # +#(at your option) any later version. # +# # +#This program is distributed in the hope that it will be useful, # +#but WITHOUT ANY WARRANTY; without even the implied warranty of # +#MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the # +#GNU General Public License for more details. # +# # +#You should have received a copy of the GNU General Public License # +#along with this program. If not, see . # +################################################################################# + +import time +from datetime import datetime, timedelta +from dateutil.relativedelta import relativedelta +from operator import itemgetter + +import netsvc +import pooler +from osv import fields, osv +import decimal_precision as dp +from tools.misc import currency +from tools.translate import _ +from tools import config + +class account_tax_code_template(osv.osv): + + _inherit = 'account.tax.code.template' + _columns = { + 'domain':fields.char('Domain', size=32, help="This field is only used if you develop your own module allowing developers to create specific taxes in a custom domain."), + 'tax_discount': fields.boolean('Discount this Tax in Prince', help="Mark it for (ICMS, PIS e etc.)."), + } +account_tax_code_template() + +class account_tax_code(osv.osv): + + _inherit = 'account.tax.code' + _columns = { + 'domain':fields.char('Domain', size=32, help="This field is only used if you develop your own module allowing developers to create specific taxes in a custom domain."), + 'tax_discount': fields.boolean('Discount this Tax in Prince', help="Mark it for (ICMS, PIS e etc.)."), + } +account_tax_code() + +class account_tax_template(osv.osv): + _inherit = 'account.tax.template' + + def get_precision_tax(): + def change_digit_tax(cr): + res = pooler.get_pool(cr.dbname).get('decimal.precision').precision_get(cr, 1, 'Account') + return (16, res+2) + return change_digit_tax + + _columns = { + 'tax_discount': fields.boolean('Discount this Tax in Prince', help="Mark it for (ICMS, PIS e etc.)."), + 'base_reduction': fields.float('Redution', required=True, digits_compute=get_precision_tax(), help="For taxes of type percentage, enter % ratio between 0-1."), + 'amount_mva': fields.float('MVA Percent', required=True, digits_compute=get_precision_tax(), help="For taxes of type percentage, enter % ratio between 0-1."), + 'type': fields.selection( [('percent','Percentage'), ('fixed','Fixed Amount'), ('none','None'), ('code','Python Code'), ('balance','Balance'), ('quantity','Quantity')], 'Tax Type', required=True, + help="The computation method for the tax amount."), + } + _defaults = { + 'base_reduction': 0, + 'amount_mva': 0, + } + + def onchange_tax_code_id(self, cr, uid, ids, tax_code_id, context=None): + + result = {'value': {}} + + if not tax_code_id: + return result + + obj_tax_code = self.pool.get('account.tax.code.template').browse(cr, uid, tax_code_id) + + if obj_tax_code: + result['value']['tax_discount'] = obj_tax_code.tax_discount + result['value']['domain'] = obj_tax_code.domain + + return result + +account_tax_template() + +class account_tax(osv.osv): + _inherit = 'account.tax' + + def get_precision_tax(): + def change_digit_tax(cr): + res = pooler.get_pool(cr.dbname).get('decimal.precision').precision_get(cr, 1, 'Account') + return (16, res+2) + return change_digit_tax + + _columns = { + 'tax_discount': fields.boolean('Discount this Tax in Prince', help="Mark it for (ICMS, PIS e etc.)."), + 'base_reduction': fields.float('Redution', required=True, digits_compute=get_precision_tax(), help="Um percentual decimal em % entre 0-1."), + 'amount_mva': fields.float('MVA Percent', required=True, digits_compute=get_precision_tax(), help="Um percentual decimal em % entre 0-1."), + 'type': fields.selection( [('percent','Percentage'), ('fixed','Fixed Amount'), ('none','None'), ('code','Python Code'), ('balance','Balance'), ('quantity','Quantity')], 'Tax Type', required=True, + help="The computation method for the tax amount."), + } + _defaults = { + 'base_reduction': 0, + 'amount_mva': 0, + } + + def onchange_tax_code_id(self, cr, uid, ids, tax_code_id, context=None): + + result = {'value': {}} + + if not tax_code_id: + return result + + obj_tax_code = self.pool.get('account.tax.code').browse(cr, uid, tax_code_id) + + if obj_tax_code: + result['value']['tax_discount'] = obj_tax_code.tax_discount + result['value']['domain'] = obj_tax_code.domain + + return result + +account_tax() + +class account_journal(osv.osv): + _inherit = "account.journal" + + _columns = { + 'internal_sequence': fields.many2one('ir.sequence', 'Internal Sequence'), + } + +account_journal() + +class wizard_multi_charts_accounts(osv.osv_memory): + + _inherit = 'wizard.multi.charts.accounts' + + def execute(self, cr, uid, ids, context=None): + + super(wizard_multi_charts_accounts, self).execute(cr, uid, ids, context) + + obj_multi = self.browse(cr, uid, ids[0]) + obj_acc_tax = self.pool.get('account.tax') + obj_acc_tax_tmp = self.pool.get('account.tax.template') + obj_acc_cst = self.pool.get('l10n_br_account.cst') + obj_acc_cst_tmp = self.pool.get('l10n_br_account.cst.template') + obj_tax_code = self.pool.get('account.tax.code') + obj_tax_code_tmp = self.pool.get('account.tax.code.template') + + # Creating Account + obj_acc_root = obj_multi.chart_template_id.account_root_id + tax_code_root_id = obj_multi.chart_template_id.tax_code_root_id.id + company_id = obj_multi.company_id.id + + children_tax_code_template = self.pool.get('account.tax.code.template').search(cr, uid, [('parent_id','child_of',[tax_code_root_id])], order='id') + children_tax_code_template.sort() + for tax_code_template in self.pool.get('account.tax.code.template').browse(cr, uid, children_tax_code_template, context=context): + tax_code_id = self.pool.get('account.tax.code').search(cr, uid, [('code','=',tax_code_template.code),('company_id','=',company_id)]) + if tax_code_id: + obj_tax_code.write(cr, uid, tax_code_id, {'domain': tax_code_template.domain,'tax_discount': tax_code_template.tax_discount}) + + cst_tmp_ids = self.pool.get('l10n_br_account.cst.template').search(cr, uid, [('tax_code_template_id','=',tax_code_template.id)], order='id') + for cst_tmp in self.pool.get('l10n_br_account.cst.template').browse(cr, uid, cst_tmp_ids, context=context): + obj_acc_cst.create(cr, uid, { + 'code': cst_tmp.code, + 'name': cst_tmp.name, + 'tax_code_id': tax_code_id[0], + }) + + tax_ids = self.pool.get('account.tax').search(cr, uid, [('company_id','=',company_id)]) + for tax in self.pool.get('account.tax').browse(cr, uid, tax_ids, context=context): + if tax.tax_code_id: + obj_acc_tax.write(cr, uid, tax.id, {'domain': tax.tax_code_id.domain,'tax_discount': tax.tax_code_id.tax_discount}) + +wizard_multi_charts_accounts() \ No newline at end of file diff --git a/addons/l10n_br/account_view.xml b/addons/l10n_br/account_view.xml new file mode 100644 index 00000000000..da2ab84d4ab --- /dev/null +++ b/addons/l10n_br/account_view.xml @@ -0,0 +1,114 @@ + + + + + + + l10n_br_account.tax.code.form + account.tax.code + + + + + + + + + + + l10n_br_account.tax.code.template.form + account.tax.code.template + + + + + + + + + + + + l10n_br_account.tax.template.form + account.tax.template + + + + + + + + + + l10n_br_account.tax.form + account.tax + + + + + + + + + + l10n_br_account.tax.template.form1 + account.tax.template + + + + + + + + + + + l10n_br_account.tax.form1 + account.tax + + + + + + + + + + + l10n_br_account.tax.form2 + account.tax + + + + + + + + + + l10n_br_account.tax.template.form2 + account.tax.template + + + + + + + + + + l10n_br.journal.form.inherit + account.journal + form + + + + + + + + + + + + diff --git a/addons/l10n_br/data/account.account.template.csv b/addons/l10n_br/data/account.account.template.csv index d0468c68995..6b466b6e7ab 100644 --- a/addons/l10n_br/data/account.account.template.csv +++ b/addons/l10n_br/data/account.account.template.csv @@ -1,17 +1,17 @@ "id","code","name","parent_id:id","type","user_type:id","reconcile" -"account_template_1","0","Plano de Contas Padrão","","view","ativo","True" +"account_template_1","0","Plano de Contas Padrão",,"view","ativo","True" "account_template_2","1","ATIVO","account_template_1","view","ativo","True" "account_template_3","1.1","CIRCULANTE","account_template_2","view","ativo","True" "account_template_4","1.1.01","DISPONIBILIDADES","account_template_3","view","ativo","True" "account_template_5","1.1.01.01","CAIXA","account_template_4","view","ativo","True" -"account_template_6","1.1.01.01.0001","Caixa Geral","account_template_5","receivable","ativo","True" -"account_template_7","1.1.01.01.0002","Fundo Fixo","account_template_5","receivable","ativo","True" +"account_template_6","1.1.01.01.0001","Caixa Geral","account_template_5","other","ativo","True" +"account_template_7","1.1.01.01.0002","Fundo Fixo","account_template_5","other","ativo","True" "account_template_8","1.1.01.02","BANCOS ","account_template_4","view","ativo","True" -"account_template_9","1.1.01.02.0001","Banco C/ Movimento","account_template_8","receivable","ativo","True" +"account_template_9","1.1.01.02.0001","Banco C/ Movimento","account_template_8","other","ativo","True" "account_template_10","1.1.01.03","VALORES MOBILIÁRIOS-MERC.CAP.INTERNOS","account_template_4","view","ativo","True" -"account_template_11","1.1.01.03.0001","Aplicações Nacionais","account_template_10","receivable","ativo","True" +"account_template_11","1.1.01.03.0001","Aplicações Nacionais","account_template_10","other","ativo","True" "account_template_12","1.1.01.04","TITULOS DE CAPITALIZAÇÃO","account_template_4","view","ativo","True" -"account_template_13","1.1.01.04.0001","Banco Título de Capitalização","account_template_12","receivable","ativo","True" +"account_template_13","1.1.01.04.0001","Banco Título de Capitalização","account_template_12","other","ativo","True" "account_template_14","1.1.02","CRÉDITOS","account_template_3","view","ativo","True" "account_template_15","1.1.02.01","CLIENTES NACIONAIS","account_template_14","view","ativo","True" "account_template_16","1.1.02.01.0001","Clientes Nacionais","account_template_15","receivable","ativo","True" @@ -20,186 +20,186 @@ "account_template_19","1.1.02.03","OUTROS VALORES A RECEBER","account_template_14","view","ativo","True" "account_template_20","1.1.02.03.0001","Outras Contas a Receber","account_template_19","receivable","ativo","True" "account_template_21","1.1.02.04","DUPLICATAS CONTA VINCULADA","account_template_14","view","ativo","True" -"account_template_22","1.1.02.04.0001","Banco Conta Garantida","account_template_21","receivable","ativo","True" +"account_template_22","1.1.02.04.0001","Banco Conta Garantida","account_template_21","other","ativo","True" "account_template_23","1.1.02.05","DUPLICATAS CAUCIONADAS","account_template_14","view","ativo","True" -"account_template_24","1.1.02.05.0001","Banco Conta Caucionada","account_template_23","receivable","ativo","True" +"account_template_24","1.1.02.05.0001","Banco Conta Caucionada","account_template_23","other","ativo","True" "account_template_25","1.1.02.06","CHEQUES DEVOLVIDOS","account_template_14","view","ativo","True" -"account_template_26","1.1.02.06.0001","Cheques Devolvidos","account_template_25","receivable","ativo","True" +"account_template_26","1.1.02.06.0001","Cheques Devolvidos","account_template_25","other","ativo","True" "account_template_27","1.1.02.07","ADIANTAMENTOS","account_template_14","view","ativo","True" -"account_template_28","1.1.02.07.0002","Adiantamento de Salários","account_template_27","receivable","ativo","True" -"account_template_29","1.1.02.07.0003","Adiantamento Despesa de Viagem","account_template_27","receivable","ativo","True" -"account_template_30","1.1.02.07.0004","Adiantamento de Férias","account_template_27","receivable","ativo","True" -"account_template_31","1.1.02.07.0005","Adiantamento 13º Salário","account_template_27","receivable","ativo","True" -"account_template_32","1.1.02.07.0006","Adiantamento de Pro-Labore a Diretores","account_template_27","receivable","ativo","True" -"account_template_33","1.1.02.07.0001","Adiantamento de PIS a Empregados","account_template_27","receivable","ativo","True" +"account_template_28","1.1.02.07.0002","Adiantamento de Salários","account_template_27","other","ativo","True" +"account_template_29","1.1.02.07.0003","Adiantamento Despesa de Viagem","account_template_27","other","ativo","True" +"account_template_30","1.1.02.07.0004","Adiantamento de Férias","account_template_27","other","ativo","True" +"account_template_31","1.1.02.07.0005","Adiantamento 13º Salário","account_template_27","other","ativo","True" +"account_template_32","1.1.02.07.0006","Adiantamento de Pro-Labore a Diretores","account_template_27","other","ativo","True" +"account_template_33","1.1.02.07.0001","Adiantamento de PIS a Empregados","account_template_27","other","ativo","True" "account_template_34","1.1.02.08","ADIANTAMENTO A FORNECEDORES","account_template_14","view","ativo","True" -"account_template_35","1.1.02.08.0001","Adiantamento a Fornecedor","account_template_34","receivable","ativo","True" +"account_template_35","1.1.02.08.0001","Adiantamento a Fornecedor","account_template_34","other","ativo","True" "account_template_36","1.1.02.09","IMPOSTOS E CONTRIBUIÇÕES A RECUPERAR","account_template_14","view","ativo","True" -"account_template_37","1.1.02.09.0001","CSLL a Recuperar/Compensar","account_template_36","receivable","ativo","True" -"account_template_38","1.1.02.09.0002","CSLL a Compensar Lei 10.833/03","account_template_36","receivable","ativo","True" -"account_template_39","1.1.02.09.0003","COFINS a Recuperar/Compensar","account_template_36","receivable","ativo","True" -"account_template_40","1.1.02.09.0004","COFINS a Compensar Lei 10.833/03","account_template_36","receivable","ativo","True" -"account_template_41","1.1.02.09.0008","Crédito COFINS Não-Cumulativo","account_template_36","receivable","ativo","True" -"account_template_42","1.1.02.09.0009","ICMS a Recuperar","account_template_36","receivable","ativo","True" -"account_template_43","1.1.02.09.0010","ICMS a Recup. s/Ativo Imobilizado","account_template_36","receivable","ativo","True" -"account_template_44","1.1.02.09.0012","IPI a Recuperar/Compensar","account_template_36","receivable","ativo","True" -"account_template_45","1.1.02.09.0013","IPI a Compensar Pedido Restituição","account_template_36","receivable","ativo","True" -"account_template_46","1.1.02.09.0015","IRF s/Aplicações Financeiras","account_template_36","receivable","ativo","True" -"account_template_47","1.1.02.09.0016","IRRF a Recuperar/Compensar","account_template_36","receivable","ativo","True" -"account_template_48","1.1.02.09.0017","IRPJ a Recuperar/Compensar","account_template_36","receivable","ativo","True" -"account_template_49","1.1.02.09.0019","PIS a Recuperar/Compensar","account_template_36","receivable","ativo","True" -"account_template_50","1.1.02.09.0020","PIS a Compensar Lei 10.833/03","account_template_36","receivable","ativo","True" -"account_template_51","1.1.02.09.0022","PIS/COFINS/CSLL a Recuperar","account_template_36","receivable","ativo","True" -"account_template_52","1.1.02.09.0007","Crédito de PIS Não-Cumulativo","account_template_36","receivable","ativo","True" +"account_template_37","1.1.02.09.0001","CSLL a Recuperar/Compensar","account_template_36","other","ativo","True" +"account_template_38","1.1.02.09.0002","CSLL a Compensar Lei 10.833/03","account_template_36","other","ativo","True" +"account_template_39","1.1.02.09.0003","COFINS a Recuperar/Compensar","account_template_36","other","ativo","True" +"account_template_40","1.1.02.09.0004","COFINS a Compensar Lei 10.833/03","account_template_36","other","ativo","True" +"account_template_41","1.1.02.09.0008","Crédito COFINS Não-Cumulativo","account_template_36","other","ativo","True" +"account_template_42","1.1.02.09.0009","ICMS a Recuperar","account_template_36","other","ativo","True" +"account_template_43","1.1.02.09.0010","ICMS a Recup. s/Ativo Imobilizado","account_template_36","other","ativo","True" +"account_template_44","1.1.02.09.0012","IPI a Recuperar/Compensar","account_template_36","other","ativo","True" +"account_template_45","1.1.02.09.0013","IPI a Compensar Pedido Restituição","account_template_36","other","ativo","True" +"account_template_46","1.1.02.09.0015","IRF s/Aplicações Financeiras","account_template_36","other","ativo","True" +"account_template_47","1.1.02.09.0016","IRRF a Recuperar/Compensar","account_template_36","other","ativo","True" +"account_template_48","1.1.02.09.0017","IRPJ a Recuperar/Compensar","account_template_36","other","ativo","True" +"account_template_49","1.1.02.09.0019","PIS a Recuperar/Compensar","account_template_36","other","ativo","True" +"account_template_50","1.1.02.09.0020","PIS a Compensar Lei 10.833/03","account_template_36","other","ativo","True" +"account_template_51","1.1.02.09.0022","PIS/COFINS/CSLL a Recuperar","account_template_36","other","ativo","True" +"account_template_52","1.1.02.09.0007","Crédito de PIS Não-Cumulativo","account_template_36","other","ativo","True" "account_template_53","1.1.02.10","CRÉDITOS FISCAIS CSLL BASE CALC.NEGATIVA","account_template_14","view","ativo","True" -"account_template_54","1.1.02.10.0001","Base Negativa CSLL - Exerc. Anteriores","account_template_53","receivable","ativo","True" +"account_template_54","1.1.02.10.0001","Base Negativa CSLL - Exerc. Anteriores","account_template_53","other","ativo","True" "account_template_55","1.1.02.11","CRÉDITOS FISCAIS IRPJ-BASE CALC.NEGATIVA","account_template_14","view","ativo","True" -"account_template_56","1.1.02.11.0001","Base Negativa IRPJ - Exerc. Anteriores","account_template_55","receivable","ativo","True" +"account_template_56","1.1.02.11.0001","Base Negativa IRPJ - Exerc. Anteriores","account_template_55","other","ativo","True" "account_template_57","1.1.03","ESTOQUES","account_template_3","view","ativo","True" "account_template_58","1.1.03.01","ESTOQUE DE MERCADORIAS","account_template_57","view","ativo","True" -"account_template_59","1.1.03.01.0001","Insumos (Materiais Diretos)","account_template_58","receivable","ativo","True" -"account_template_60","1.1.03.01.0002","Material de Consumo-Almoxarifado","account_template_58","receivable","ativo","True" -"account_template_61","1.1.03.01.0003","Mercadorias para Revenda","account_template_58","receivable","ativo","True" -"account_template_62","1.1.03.01.0004","Produtos Acabados","account_template_58","receivable","ativo","True" -"account_template_63","1.1.03.01.0005","Produtos em Elaboração","account_template_58","receivable","ativo","True" +"account_template_59","1.1.03.01.0001","Insumos (Materiais Diretos)","account_template_58","other","ativo","True" +"account_template_60","1.1.03.01.0002","Material de Consumo-Almoxarifado","account_template_58","other","ativo","True" +"account_template_61","1.1.03.01.0003","Mercadorias para Revenda","account_template_58","other","ativo","True" +"account_template_62","1.1.03.01.0004","Produtos Acabados","account_template_58","other","ativo","True" +"account_template_63","1.1.03.01.0005","Produtos em Elaboração","account_template_58","other","ativo","True" "account_template_64","1.1.03.02","(-) DEVOLUÇÕES DE COMPRAS","account_template_57","view","ativo","True" -"account_template_65","1.1.03.02.0001","Devoluções de Compras","account_template_64","receivable","ativo","True" +"account_template_65","1.1.03.02.0001","Devoluções de Compras","account_template_64","other","ativo","True" "account_template_66","1.1.03.03","TRANSFERÊNCIA DE MERCADORIAS","account_template_57","view","ativo","True" -"account_template_67","1.1.03.03.0001","Transferência de Mercadorias","account_template_66","receivable","ativo","True" +"account_template_67","1.1.03.03.0001","Transferência de Mercadorias","account_template_66","other","ativo","True" "account_template_68","1.1.03.04","ESTOQUE DE TERCEIROS EM NOSSO PODER","account_template_57","view","ativo","True" -"account_template_69","1.1.03.04.0001","Estoque de Terceiros em N/Poder","account_template_68","receivable","ativo","True" -"account_template_70","1.1.03.04.0002","Entrada P/Industrialização","account_template_68","receivable","ativo","True" -"account_template_71","1.1.03.04.0003","Entrada P/Conserto","account_template_68","receivable","ativo","True" -"account_template_72","1.1.03.04.0004","Entrada P/Demonstração","account_template_68","receivable","ativo","True" -"account_template_73","1.1.03.04.0005","Entrada P/Empréstimo","account_template_68","receivable","ativo","True" -"account_template_74","1.1.03.04.0006","Entrada em Consignação","account_template_68","receivable","ativo","True" -"account_template_75","1.1.03.04.0007","Entrada p/ Garantia","account_template_68","receivable","ativo","True" -"account_template_76","1.1.03.04.0008","Entrada p/ Locação","account_template_68","receivable","ativo","True" -"account_template_77","1.1.03.04.0009","Entrada em Comodato","account_template_68","receivable","ativo","True" +"account_template_69","1.1.03.04.0001","Estoque de Terceiros em N/Poder","account_template_68","other","ativo","True" +"account_template_70","1.1.03.04.0002","Entrada P/Industrialização","account_template_68","other","ativo","True" +"account_template_71","1.1.03.04.0003","Entrada P/Conserto","account_template_68","other","ativo","True" +"account_template_72","1.1.03.04.0004","Entrada P/Demonstração","account_template_68","other","ativo","True" +"account_template_73","1.1.03.04.0005","Entrada P/Empréstimo","account_template_68","other","ativo","True" +"account_template_74","1.1.03.04.0006","Entrada em Consignação","account_template_68","other","ativo","True" +"account_template_75","1.1.03.04.0007","Entrada p/ Garantia","account_template_68","other","ativo","True" +"account_template_76","1.1.03.04.0008","Entrada p/ Locação","account_template_68","other","ativo","True" +"account_template_77","1.1.03.04.0009","Entrada em Comodato","account_template_68","other","ativo","True" "account_template_78","1.1.03.05","NOSSO ESTOQUE EM PODER DE TERCEIROS","account_template_57","view","ativo","True" -"account_template_79","1.1.03.05.0001","N/Estoque em Poder de Terceiros","account_template_78","receivable","ativo","True" -"account_template_80","1.1.03.05.0002","Remessa P/Industrialização","account_template_78","receivable","ativo","True" -"account_template_81","1.1.03.05.0003","Remessa P/Conserto","account_template_78","receivable","ativo","True" -"account_template_82","1.1.03.05.0004","Remessa P/Demonstração","account_template_78","receivable","ativo","True" -"account_template_83","1.1.03.05.0005","Remessa P/Exposição","account_template_78","receivable","ativo","True" -"account_template_84","1.1.03.05.0006","Remessa P/Empréstimo","account_template_78","receivable","ativo","True" -"account_template_85","1.1.03.05.0007","Remessa em Consignação","account_template_78","receivable","ativo","True" -"account_template_86","1.1.03.05.0008","Remessa P/Locação","account_template_78","receivable","ativo","True" -"account_template_87","1.1.03.05.0009","Remessa em Garantia","account_template_78","receivable","ativo","True" +"account_template_79","1.1.03.05.0001","N/Estoque em Poder de Terceiros","account_template_78","other","ativo","True" +"account_template_80","1.1.03.05.0002","Remessa P/Industrialização","account_template_78","other","ativo","True" +"account_template_81","1.1.03.05.0003","Remessa P/Conserto","account_template_78","other","ativo","True" +"account_template_82","1.1.03.05.0004","Remessa P/Demonstração","account_template_78","other","ativo","True" +"account_template_83","1.1.03.05.0005","Remessa P/Exposição","account_template_78","other","ativo","True" +"account_template_84","1.1.03.05.0006","Remessa P/Empréstimo","account_template_78","other","ativo","True" +"account_template_85","1.1.03.05.0007","Remessa em Consignação","account_template_78","other","ativo","True" +"account_template_86","1.1.03.05.0008","Remessa P/Locação","account_template_78","other","ativo","True" +"account_template_87","1.1.03.05.0009","Remessa em Garantia","account_template_78","other","ativo","True" "account_template_88","1.1.03.06","(-) IMPOSTOS S/ESTOQUE DE TERCEIROS","account_template_57","view","ativo","True" -"account_template_89","1.1.03.06.0001","(-) ICMS s/Estoque de Terceiros","account_template_88","receivable","ativo","True" -"account_template_90","1.1.03.06.0002","(-) IPI s/Estoque de Terceiros","account_template_88","receivable","ativo","True" +"account_template_89","1.1.03.06.0001","(-) ICMS s/Estoque de Terceiros","account_template_88","other","ativo","True" +"account_template_90","1.1.03.06.0002","(-) IPI s/Estoque de Terceiros","account_template_88","other","ativo","True" "account_template_91","1.1.03.07","IMPORTAÇÕES EM ANDAMENTO","account_template_57","view","ativo","True" -"account_template_92","1.1.03.07.0001","D.I. nº 0000000-0 Importação","account_template_91","receivable","ativo","True" +"account_template_92","1.1.03.07.0001","D.I. nº 0000000-0 Importação","account_template_91","other","ativo","True" "account_template_93","1.1.03.08","COMPRAS PARA ENTREGA FUTURA","account_template_57","view","ativo","True" -"account_template_94","1.1.03.08.0001","Compras p/Entrega Futura","account_template_93","receivable","ativo","True" +"account_template_94","1.1.03.08.0001","Compras p/Entrega Futura","account_template_93","other","ativo","True" "account_template_95","1.1.04","DESPESAS DO EXERCÍCIO SEGUINTE","account_template_3","view","ativo","True" "account_template_96","1.1.04.01","SEGUROS A APROPRIAR","account_template_95","view","ativo","True" -"account_template_97","1.1.04.01.0001","Seguros de Veículos","account_template_96","receivable","ativo","True" -"account_template_98","1.1.04.01.0002","Seguros Prédios/Bens/Estoques","account_template_96","receivable","ativo","True" -"account_template_99","1.1.04.01.0003","Seguros s/Lucros Cessantes","account_template_96","receivable","ativo","True" +"account_template_97","1.1.04.01.0001","Seguros de Veículos","account_template_96","other","ativo","True" +"account_template_98","1.1.04.01.0002","Seguros Prédios/Bens/Estoques","account_template_96","other","ativo","True" +"account_template_99","1.1.04.01.0003","Seguros s/Lucros Cessantes","account_template_96","other","ativo","True" "account_template_100","1.1.04.02","ASSINATURAS A APROPRIAR","account_template_95","view","ativo","True" -"account_template_101","1.1.04.02.0001","Assinaturas de Jornais/Boletins/Revistas","account_template_100","receivable","ativo","True" +"account_template_101","1.1.04.02.0001","Assinaturas de Jornais/Boletins/Revistas","account_template_100","other","ativo","True" "account_template_102","1.1.04.03","DESPESAS FINANCEIRAS A APROPRIAR","account_template_95","view","ativo","True" -"account_template_103","1.1.04.03.0001","Juros s/ Financiamentos a Apropriar","account_template_102","receivable","ativo","True" +"account_template_103","1.1.04.03.0001","Juros s/ Financiamentos a Apropriar","account_template_102","other","ativo","True" "account_template_104","1.1.05","CONTAS RETIFICADORAS","account_template_3","view","ativo","True" "account_template_105","1.1.05.01","(-) DUPLICATAS DESCONTADAS","account_template_104","view","ativo","True" -"account_template_106","1.1.05.01.0001","(-) Banco Conta - Duplicata Descontada","account_template_105","receivable","ativo","True" +"account_template_106","1.1.05.01.0001","(-) Banco Conta - Duplicata Descontada","account_template_105","other","ativo","True" "account_template_107","1.2","ATIVO NÃO CIRCULANTE","account_template_2","view","ativo","True" "account_template_108","1.2.01","REALIZÁVEL A LONGO PRAZO","account_template_107","view","ativo","True" "account_template_109","1.2.01.01","VALORES MOBILIÁRIOS-MERC.CAP.INTERNO","account_template_108","view","ativo","True" -"account_template_110","1.2.01.01.0001","Aplicações Nacionais","account_template_109","receivable","ativo","True" +"account_template_110","1.2.01.01.0001","Aplicações Nacionais","account_template_109","other","ativo","True" "account_template_111","1.2.01.02","DÉBITOS DE SÓCIOS","account_template_108","view","ativo","True" -"account_template_112","1.2.01.02.0001","Sócio","account_template_111","receivable","ativo","True" +"account_template_112","1.2.01.02.0001","Sócio","account_template_111","other","ativo","True" "account_template_113","1.2.01.03","EMPRÉSTIMOS A EMPRESAS LIGADAS","account_template_108","view","ativo","True" -"account_template_114","1.2.01.03.0001","Empresa Ligada","account_template_113","receivable","ativo","True" +"account_template_114","1.2.01.03.0001","Empresa Ligada","account_template_113","other","ativo","True" "account_template_115","1.2.01.04","EMPRÉSTIMOS A TERCEIROS","account_template_108","view","ativo","True" -"account_template_116","1.2.01.04.0001","Empréstimo de Terceiros","account_template_115","receivable","ativo","True" +"account_template_116","1.2.01.04.0001","Empréstimo de Terceiros","account_template_115","other","ativo","True" "account_template_117","1.2.01.05","DEPÓSITOS JUDICIAIS","account_template_108","view","ativo","True" -"account_template_118","1.2.01.05.0001","Depósitos Judiciais","account_template_117","receivable","ativo","True" +"account_template_118","1.2.01.05.0001","Depósitos Judiciais","account_template_117","other","ativo","True" "account_template_119","1.2.02","INVESTIMENTOS","account_template_107","view","ativo","True" "account_template_120","1.2.02.01","PARTICIPAÇÕES SOCIETÁRIAS","account_template_119","view","ativo","True" -"account_template_121","1.2.02.01.0001","Participação Societárias","account_template_120","receivable","ativo","True" +"account_template_121","1.2.02.01.0001","Participação Societárias","account_template_120","other","ativo","True" "account_template_122","1.2.03","IMOBILIZADO - MATRIZ","account_template_107","view","ativo","True" "account_template_123","1.2.03.01","IMOBILIZADO","account_template_122","view","ativo","True" -"account_template_124","1.2.03.01.0001","Máquinas e Equipamentos ","account_template_123","receivable","ativo","True" -"account_template_125","1.2.03.01.0002","Terrenos","account_template_123","receivable","ativo","True" -"account_template_126","1.2.03.01.0003","Ferramentas","account_template_123","receivable","ativo","True" -"account_template_127","1.2.03.01.0004","Modelos, Moldes e Matrizes","account_template_123","receivable","ativo","True" -"account_template_128","1.2.03.01.0005","Móveis e Utensílios","account_template_123","receivable","ativo","True" -"account_template_129","1.2.03.01.0006","Veículos","account_template_123","receivable","ativo","True" -"account_template_130","1.2.03.01.0007","Equipamentos de Informática","account_template_123","receivable","ativo","True" -"account_template_131","1.2.03.01.0008","Instalações","account_template_123","receivable","ativo","True" -"account_template_132","1.2.03.01.0009","Benfeitoria em Imóveis de Terceiros","account_template_123","receivable","ativo","True" -"account_template_133","1.2.03.01.0010","Direito de Uso Linhas Telefônicas","account_template_123","receivable","ativo","True" -"account_template_134","1.2.03.01.0011","Edifícios e Construções","account_template_123","receivable","ativo","True" +"account_template_124","1.2.03.01.0001","Máquinas e Equipamentos ","account_template_123","other","ativo","True" +"account_template_125","1.2.03.01.0002","Terrenos","account_template_123","other","ativo","True" +"account_template_126","1.2.03.01.0003","Ferramentas","account_template_123","other","ativo","True" +"account_template_127","1.2.03.01.0004","Modelos, Moldes e Matrizes","account_template_123","other","ativo","True" +"account_template_128","1.2.03.01.0005","Móveis e Utensílios","account_template_123","other","ativo","True" +"account_template_129","1.2.03.01.0006","Veículos","account_template_123","other","ativo","True" +"account_template_130","1.2.03.01.0007","Equipamentos de Informática","account_template_123","other","ativo","True" +"account_template_131","1.2.03.01.0008","Instalações","account_template_123","other","ativo","True" +"account_template_132","1.2.03.01.0009","Benfeitoria em Imóveis de Terceiros","account_template_123","other","ativo","True" +"account_template_133","1.2.03.01.0010","Direito de Uso Linhas Telefônicas","account_template_123","other","ativo","True" +"account_template_134","1.2.03.01.0011","Edifícios e Construções","account_template_123","other","ativo","True" "account_template_135","1.2.03.02","CONSTRUÇÕES EM ANDAMENTO","account_template_122","view","ativo","True" -"account_template_136","1.2.03.02.0001","Imóvel","account_template_135","receivable","ativo","True" +"account_template_136","1.2.03.02.0001","Imóvel","account_template_135","other","ativo","True" "account_template_137","1.2.03.04","PARTICIPAÇÃO EM CONSÓRCIOS","account_template_122","view","ativo","True" -"account_template_138","1.2.03.04.0001","Consórcio","account_template_137","receivable","ativo","True" +"account_template_138","1.2.03.04.0001","Consórcio","account_template_137","other","ativo","True" "account_template_139","1.2.03.05","(-) DEPRECIAÇÃO ACUMULADA","account_template_122","view","ativo","True" -"account_template_140","1.2.03.05.0001","Deprec.de Máquinas e Equipamentos","account_template_139","receivable","ativo","True" -"account_template_141","1.2.03.05.0002","Deprec.de Modelos, Moldes e Matrizes","account_template_139","receivable","ativo","True" -"account_template_142","1.2.03.05.0003","Deprec.de Móveis e Utensílios","account_template_139","receivable","ativo","True" -"account_template_143","1.2.03.05.0004","Deprec.de Veículos","account_template_139","receivable","ativo","True" -"account_template_144","1.2.03.05.0005","Deprec.de Equip.de Informática","account_template_139","receivable","ativo","True" -"account_template_145","1.2.03.05.0006","Deprec.de Instalações","account_template_139","receivable","ativo","True" -"account_template_146","1.2.03.05.0007","Deprec.de Ferramentas","account_template_139","receivable","ativo","True" -"account_template_147","1.2.03.05.0008","Deprec.de Edificações","account_template_139","receivable","ativo","True" +"account_template_140","1.2.03.05.0001","Deprec.de Máquinas e Equipamentos","account_template_139","other","ativo","True" +"account_template_141","1.2.03.05.0002","Deprec.de Modelos, Moldes e Matrizes","account_template_139","other","ativo","True" +"account_template_142","1.2.03.05.0003","Deprec.de Móveis e Utensílios","account_template_139","other","ativo","True" +"account_template_143","1.2.03.05.0004","Deprec.de Veículos","account_template_139","other","ativo","True" +"account_template_144","1.2.03.05.0005","Deprec.de Equip.de Informática","account_template_139","other","ativo","True" +"account_template_145","1.2.03.05.0006","Deprec.de Instalações","account_template_139","other","ativo","True" +"account_template_146","1.2.03.05.0007","Deprec.de Ferramentas","account_template_139","other","ativo","True" +"account_template_147","1.2.03.05.0008","Deprec.de Edificações","account_template_139","other","ativo","True" "account_template_148","1.2.03.06","(-) AMORTIZAÇÃO ACUMULADA","account_template_122","view","ativo","True" -"account_template_149","1.2.03.06.0001","Amortiz.Benfeit.em Imóveis de Terceiros","account_template_148","receivable","ativo","True" -"account_template_150","1.2.03.06.0002","Amortiz.Direito Uso Linhas Telefônica","account_template_148","receivable","ativo","True" +"account_template_149","1.2.03.06.0001","Amortiz.Benfeit.em Imóveis de Terceiros","account_template_148","other","ativo","True" +"account_template_150","1.2.03.06.0002","Amortiz.Direito Uso Linhas Telefônica","account_template_148","other","ativo","True" "account_template_151","1.2.03.07","ICMS S/IMOBILIZADO-PARCELA NÃO CREDITADA","account_template_122","view","ativo","True" -"account_template_152","1.2.03.07.0001","ICMS s/ Imobilizado parc. não creditável","account_template_151","receivable","ativo","True" -"account_template_153","1.2.03.07.0002","(-) Amortização ICMS não creditado","account_template_151","receivable","ativo","True" +"account_template_152","1.2.03.07.0001","ICMS s/ Imobilizado parc. não creditável","account_template_151","other","ativo","True" +"account_template_153","1.2.03.07.0002","(-) Amortização ICMS não creditado","account_template_151","other","ativo","True" "account_template_154","1.2.04","IMOBILIZADO - FILIAL","account_template_107","view","ativo","True" "account_template_155","1.2.04.01","IMOBILIZADO","account_template_154","view","ativo","True" -"account_template_156","1.2.04.01.0001","Máquinas e Equipamentos","account_template_155","receivable","ativo","True" -"account_template_157","1.2.04.01.0002","Terrenos","account_template_155","receivable","ativo","True" -"account_template_158","1.2.04.01.0003","Ferramentas","account_template_155","receivable","ativo","True" -"account_template_159","1.2.04.01.0004","Edifícios","account_template_155","receivable","ativo","True" -"account_template_160","1.2.04.01.0005","Móveis e Utensílios","account_template_155","receivable","ativo","True" -"account_template_161","1.2.04.01.0006","Veículos","account_template_155","receivable","ativo","True" -"account_template_162","1.2.04.01.0007","Equipamentos de Informática","account_template_155","receivable","ativo","True" -"account_template_163","1.2.04.01.0008","Instalações","account_template_155","receivable","ativo","True" +"account_template_156","1.2.04.01.0001","Máquinas e Equipamentos","account_template_155","other","ativo","True" +"account_template_157","1.2.04.01.0002","Terrenos","account_template_155","other","ativo","True" +"account_template_158","1.2.04.01.0003","Ferramentas","account_template_155","other","ativo","True" +"account_template_159","1.2.04.01.0004","Edifícios","account_template_155","other","ativo","True" +"account_template_160","1.2.04.01.0005","Móveis e Utensílios","account_template_155","other","ativo","True" +"account_template_161","1.2.04.01.0006","Veículos","account_template_155","other","ativo","True" +"account_template_162","1.2.04.01.0007","Equipamentos de Informática","account_template_155","other","ativo","True" +"account_template_163","1.2.04.01.0008","Instalações","account_template_155","other","ativo","True" "account_template_164","1.2.04.02","(-) DEPRECIAÇÃO ACUMULADA - FILIAL","account_template_154","view","ativo","True" -"account_template_165","1.2.04.02.0001","Deprec.de Máquinas e Equipamentos","account_template_164","receivable","ativo","True" -"account_template_166","1.2.04.02.0003","Deprec.de Móveis e Utensílios","account_template_164","receivable","ativo","True" -"account_template_167","1.2.04.02.0004","Deprec.de Veículos","account_template_164","receivable","ativo","True" -"account_template_168","1.2.04.02.0005","Deprec.de Equip.de Informática","account_template_164","receivable","ativo","True" -"account_template_169","1.2.04.02.0006","Deprec.de Instalações","account_template_164","receivable","ativo","True" -"account_template_170","1.2.04.02.0007","Deprec.de Ferramentas","account_template_164","receivable","ativo","True" -"account_template_171","1.2.04.02.0008","Deprec.de Edifícios","account_template_164","receivable","ativo","True" +"account_template_165","1.2.04.02.0001","Deprec.de Máquinas e Equipamentos","account_template_164","other","ativo","True" +"account_template_166","1.2.04.02.0003","Deprec.de Móveis e Utensílios","account_template_164","other","ativo","True" +"account_template_167","1.2.04.02.0004","Deprec.de Veículos","account_template_164","other","ativo","True" +"account_template_168","1.2.04.02.0005","Deprec.de Equip.de Informática","account_template_164","other","ativo","True" +"account_template_169","1.2.04.02.0006","Deprec.de Instalações","account_template_164","other","ativo","True" +"account_template_170","1.2.04.02.0007","Deprec.de Ferramentas","account_template_164","other","ativo","True" +"account_template_171","1.2.04.02.0008","Deprec.de Edifícios","account_template_164","other","ativo","True" "account_template_172","1.2.04.03","(-) AMORTIZAÇÃO ACUMULADA - FILIAL","account_template_154","view","ativo","True" -"account_template_173","1.2.04.03.0001","Amortização Acumulada","account_template_172","receivable","ativo","True" +"account_template_173","1.2.04.03.0001","Amortização Acumulada","account_template_172","other","ativo","True" "account_template_174","1.2.05","BENS INTAGÍVEIS - MATRIZ","account_template_107","view","ativo","True" "account_template_175","1.2.05.01","INTANGÍVEL","account_template_174","view","ativo","True" -"account_template_176","1.2.05.01.0001","Marcas e Patentes","account_template_175","receivable","ativo","True" -"account_template_177","1.2.05.01.0002","Softwares","account_template_175","receivable","ativo","True" +"account_template_176","1.2.05.01.0001","Marcas e Patentes","account_template_175","other","ativo","True" +"account_template_177","1.2.05.01.0002","Softwares","account_template_175","other","ativo","True" "account_template_178","1.2.05.02","(-) AMORTIZAÇÃO DO INTANGÍVEL","account_template_174","view","ativo","True" -"account_template_179","1.2.05.02.0001","Amortiz.de Marcas e Patentes","account_template_178","receivable","ativo","True" -"account_template_180","1.2.05.02.0002","Amortização de Softwares","account_template_178","receivable","ativo","True" +"account_template_179","1.2.05.02.0001","Amortiz.de Marcas e Patentes","account_template_178","other","ativo","True" +"account_template_180","1.2.05.02.0002","Amortização de Softwares","account_template_178","other","ativo","True" "account_template_181","1.2.06","BENS INTANGÍVEIS - FILIAL","account_template_107","view","ativo","True" "account_template_182","1.2.06.01","INTANGÍVEL","account_template_181","view","ativo","True" -"account_template_183","1.2.06.01.0001","Softwares","account_template_182","receivable","ativo","True" +"account_template_183","1.2.06.01.0001","Softwares","account_template_182","other","ativo","True" "account_template_184","1.2.06.02","(-) AMORTIZAÇÃO DO INTANGÍVEL","account_template_181","view","ativo","True" -"account_template_185","1.2.06.02.0001","Amortização de Softwares","account_template_184","receivable","ativo","True" +"account_template_185","1.2.06.02.0001","Amortização de Softwares","account_template_184","other","ativo","True" "account_template_186","1.2.07","TRANSFERÊNCIAS DE ATIVO IMOBILIZADO","account_template_107","view","ativo","True" "account_template_187","1.2.07.01","TRANSFERÊNCIA DE ATIVO IMOBILIZADO","account_template_186","view","ativo","True" -"account_template_188","1.2.07.01.0001","Transferência de Ativo Imobilizado","account_template_187","receivable","ativo","True" +"account_template_188","1.2.07.01.0001","Transferência de Ativo Imobilizado","account_template_187","other","ativo","True" "account_template_189","1.2.08","DIFERIDO","account_template_107","view","ativo","True" "account_template_190","1.2.08.01","DESPESAS PRÉ-INDUSTRIAIS","account_template_189","view","ativo","True" -"account_template_191","1.2.08.01.0001","Gastos Gerais de Implantação","account_template_190","receivable","ativo","True" -"account_template_192","1.2.08.01.0002","(-) Amortização Acumulada","account_template_190","receivable","ativo","True" +"account_template_191","1.2.08.01.0001","Gastos Gerais de Implantação","account_template_190","other","ativo","True" +"account_template_192","1.2.08.01.0002","(-) Amortização Acumulada","account_template_190","other","ativo","True" "account_template_193","2","PASSIVO","account_template_1","view","passivo","True" "account_template_194","2.1","CIRCULANTE","account_template_193","view","passivo","True" "account_template_195","2.1.01","OBRIGAÇÕES A CURTO PRAZO","account_template_194","view","passivo","True" "account_template_196","2.1.01.01","FINANCIAMENTOS A CURTO PRAZO - SFN","account_template_195","view","passivo","True" -"account_template_197","2.1.01.01.0001","Banco Conta Empréstimo","account_template_196","payable","passivo","True" +"account_template_197","2.1.01.01.0001","Banco Conta Empréstimo","account_template_196","other","passivo","True" "account_template_198","2.1.01.02","CHEQUES A COMPENSAR","account_template_195","view","passivo","True" -"account_template_199","2.1.01.02.0001","Banco Conta a Compensar","account_template_198","payable","passivo","True" +"account_template_199","2.1.01.02.0001","Banco Conta a Compensar","account_template_198","other","passivo","True" "account_template_200","2.1.01.03","LIMITE DE CRÉDITO CHEQUE ESPECIAL","account_template_195","view","passivo","True" -"account_template_201","2.1.01.03.0001","Banco Conta Limite","account_template_200","payable","passivo","True" +"account_template_201","2.1.01.03.0001","Banco Conta Limite","account_template_200","other","passivo","True" "account_template_202","2.1.02","FORNECEDORES ","account_template_194","view","passivo","True" "account_template_203","2.1.02.01","FORNECEDORES NACIONAIS","account_template_202","view","passivo","True" "account_template_204","2.1.02.01.0001","Fornecedores Nacionais","account_template_203","payable","passivo","True" @@ -207,118 +207,118 @@ "account_template_206","2.1.02.02.0001","Fornecedores Internacionais","account_template_205","payable","passivo","True" "account_template_207","2.1.03","OBRIGAÇÕES TRABALHISTAS","account_template_194","view","passivo","True" "account_template_208","2.1.03.01","FOLHA DE PAGAMENTO - EMPREGADOS","account_template_207","view","passivo","True" -"account_template_209","2.1.03.01.0001","Salários a Pagar","account_template_208","payable","passivo","True" -"account_template_210","2.1.03.01.0002","Férias a Pagar","account_template_208","payable","passivo","True" -"account_template_211","2.1.03.01.0003","Rescisões a Pagar","account_template_208","payable","passivo","True" -"account_template_212","2.1.03.01.0004","13º Salário a Pagar","account_template_208","payable","passivo","True" -"account_template_213","2.1.03.01.0005","Comissões a Pagar","account_template_208","payable","passivo","True" +"account_template_209","2.1.03.01.0001","Salários a Pagar","account_template_208","other","passivo","True" +"account_template_210","2.1.03.01.0002","Férias a Pagar","account_template_208","other","passivo","True" +"account_template_211","2.1.03.01.0003","Rescisões a Pagar","account_template_208","other","passivo","True" +"account_template_212","2.1.03.01.0004","13º Salário a Pagar","account_template_208","other","passivo","True" +"account_template_213","2.1.03.01.0005","Comissões a Pagar","account_template_208","other","passivo","True" "account_template_214","2.1.03.02","PROVISÕES DE FÉRIAS E 13º SALÁRIO","account_template_207","view","passivo","True" -"account_template_215","2.1.03.02.0001","Provisão de Férias","account_template_214","payable","passivo","True" -"account_template_216","2.1.03.02.0002","Provisão de INSS s/Férias","account_template_214","payable","passivo","True" -"account_template_217","2.1.03.02.0003","Provisão de FGTS s/Férias","account_template_214","payable","passivo","True" -"account_template_218","2.1.03.02.0004","Provisão de 13º Salário","account_template_214","payable","passivo","True" -"account_template_219","2.1.03.02.0005","Provisão de INSS s/13º Salário","account_template_214","payable","passivo","True" -"account_template_220","2.1.03.02.0006","Provisão FGTS s/13º Salário","account_template_214","payable","passivo","True" +"account_template_215","2.1.03.02.0001","Provisão de Férias","account_template_214","other","passivo","True" +"account_template_216","2.1.03.02.0002","Provisão de INSS s/Férias","account_template_214","other","passivo","True" +"account_template_217","2.1.03.02.0003","Provisão de FGTS s/Férias","account_template_214","other","passivo","True" +"account_template_218","2.1.03.02.0004","Provisão de 13º Salário","account_template_214","other","passivo","True" +"account_template_219","2.1.03.02.0005","Provisão de INSS s/13º Salário","account_template_214","other","passivo","True" +"account_template_220","2.1.03.02.0006","Provisão FGTS s/13º Salário","account_template_214","other","passivo","True" "account_template_221","2.1.03.03","FOLHA DE PAGAMENTO - AUTÔNOMOS","account_template_207","view","passivo","True" -"account_template_222","2.1.03.03.0001","Rendimentos a Pagar","account_template_221","payable","passivo","True" +"account_template_222","2.1.03.03.0001","Rendimentos a Pagar","account_template_221","other","passivo","True" "account_template_223","2.1.03.04","FOLHA DE PAGAMENTO - DIRIGENTES","account_template_207","view","passivo","True" -"account_template_224","2.1.03.04.0001","Pro-Labore a Pagar","account_template_223","payable","passivo","True" +"account_template_224","2.1.03.04.0001","Pro-Labore a Pagar","account_template_223","other","passivo","True" "account_template_225","2.1.03.05","ENCARGOS SOCIAIS A PAGAR","account_template_207","view","passivo","True" -"account_template_226","2.1.03.05.0001","INSS a Recolher","account_template_225","payable","passivo","True" -"account_template_227","2.1.03.05.0002","FGTS a Recolher","account_template_225","payable","passivo","True" -"account_template_228","2.1.03.05.0003","Contribuição Sindical a Pagar","account_template_225","payable","passivo","True" -"account_template_229","2.1.03.05.0004","Previdência Privada a Recolher","account_template_225","payable","passivo","True" +"account_template_226","2.1.03.05.0001","INSS a Recolher","account_template_225","other","passivo","True" +"account_template_227","2.1.03.05.0002","FGTS a Recolher","account_template_225","other","passivo","True" +"account_template_228","2.1.03.05.0003","Contribuição Sindical a Pagar","account_template_225","other","passivo","True" +"account_template_229","2.1.03.05.0004","Previdência Privada a Recolher","account_template_225","other","passivo","True" "account_template_230","2.1.04","OBRIGAÇÕES TRIBUTÁRIAS","account_template_194","view","passivo","True" "account_template_231","2.1.04.01","IMPOSTOS RETIDOS A RECOLHER","account_template_230","view","passivo","True" -"account_template_232","2.1.04.01.0001","IRRF a Recolher - Pessoa Física","account_template_231","payable","passivo","True" -"account_template_233","2.1.04.01.0002","IRRF a Recolher - Pessoa Jurídica","account_template_231","payable","passivo","True" -"account_template_234","2.1.04.01.0003","ISS Retido a Recolher","account_template_231","payable","passivo","True" -"account_template_235","2.1.04.01.0004","PIS/COFINS/CSLL Retido a Recolher","account_template_231","payable","passivo","True" -"account_template_236","2.1.04.01.0005","INSS Retido a Recolher","account_template_231","payable","passivo","True" +"account_template_232","2.1.04.01.0001","IRRF a Recolher - Pessoa Física","account_template_231","other","passivo","True" +"account_template_233","2.1.04.01.0002","IRRF a Recolher - Pessoa Jurídica","account_template_231","other","passivo","True" +"account_template_234","2.1.04.01.0003","ISS Retido a Recolher","account_template_231","other","passivo","True" +"account_template_235","2.1.04.01.0004","PIS/COFINS/CSLL Retido a Recolher","account_template_231","other","passivo","True" +"account_template_236","2.1.04.01.0005","INSS Retido a Recolher","account_template_231","other","passivo","True" "account_template_237","2.1.04.02","IMPOSTOS E CONTRIBUIÇÃO S/ O LUCRO","account_template_230","view","passivo","True" -"account_template_238","2.1.04.02.0001","Provisão para o Imposto de Renda","account_template_237","payable","passivo","True" -"account_template_239","2.1.04.02.0002","Provisão Contrib.Social s/Lucro Líquido","account_template_237","payable","passivo","True" +"account_template_238","2.1.04.02.0001","Provisão para o Imposto de Renda","account_template_237","other","passivo","True" +"account_template_239","2.1.04.02.0002","Provisão Contrib.Social s/Lucro Líquido","account_template_237","other","passivo","True" "account_template_240","2.1.04.03","IMPOSTOS E CONTRIBUIÇÃO S/ RECEITAS","account_template_230","view","passivo","True" -"account_template_241","2.1.04.03.0001","ICMS a Recolher","account_template_240","payable","passivo","True" -"account_template_242","2.1.04.03.0002","COFINS a Recolher","account_template_240","payable","passivo","True" -"account_template_243","2.1.04.03.0003","PIS a Recolher","account_template_240","payable","passivo","True" -"account_template_244","2.1.04.03.0004","IPI a Recolher","account_template_240","payable","passivo","True" -"account_template_245","2.1.04.03.0005","ISS a Recolher","account_template_240","payable","passivo","True" +"account_template_241","2.1.04.03.0001","ICMS a Recolher","account_template_240","other","passivo","True" +"account_template_242","2.1.04.03.0002","COFINS a Recolher","account_template_240","other","passivo","True" +"account_template_243","2.1.04.03.0003","PIS a Recolher","account_template_240","other","passivo","True" +"account_template_244","2.1.04.03.0004","IPI a Recolher","account_template_240","other","passivo","True" +"account_template_245","2.1.04.03.0005","ISS a Recolher","account_template_240","other","passivo","True" "account_template_246","2.1.05","PARCELAMENTOS CURTO PRAZO","account_template_194","view","passivo","True" "account_template_247","2.1.05.01","PARCELAMENTOS TRIBUTÁRIOS","account_template_246","view","passivo","True" -"account_template_248","2.1.05.01.0001","COFINS Parcelamento","account_template_247","payable","passivo","True" -"account_template_249","2.1.05.01.0002","PIS Parcelamento","account_template_247","payable","passivo","True" -"account_template_250","2.1.05.01.0003","IPI Parcelamento","account_template_247","payable","passivo","True" -"account_template_251","2.1.05.01.0004","ICMS Parcelamento","account_template_247","payable","passivo","True" -"account_template_252","2.1.05.01.0005","IRPJ Parcelamento","account_template_247","payable","passivo","True" -"account_template_253","2.1.05.01.0006","CSLL Parcelamento","account_template_247","payable","passivo","True" -"account_template_254","2.1.05.01.0007","INSS Parcelamento","account_template_247","payable","passivo","True" -"account_template_255","2.1.05.01.0008","FGTS Parcelamento","account_template_247","payable","passivo","True" +"account_template_248","2.1.05.01.0001","COFINS Parcelamento","account_template_247","other","passivo","True" +"account_template_249","2.1.05.01.0002","PIS Parcelamento","account_template_247","other","passivo","True" +"account_template_250","2.1.05.01.0003","IPI Parcelamento","account_template_247","other","passivo","True" +"account_template_251","2.1.05.01.0004","ICMS Parcelamento","account_template_247","other","passivo","True" +"account_template_252","2.1.05.01.0005","IRPJ Parcelamento","account_template_247","other","passivo","True" +"account_template_253","2.1.05.01.0006","CSLL Parcelamento","account_template_247","other","passivo","True" +"account_template_254","2.1.05.01.0007","INSS Parcelamento","account_template_247","other","passivo","True" +"account_template_255","2.1.05.01.0008","FGTS Parcelamento","account_template_247","other","passivo","True" "account_template_256","2.1.06","OUTRAS OBRIGAÇÕES","account_template_194","view","passivo","True" "account_template_257","2.1.06.01","CONTAS DE CONSUMO","account_template_256","view","passivo","True" -"account_template_258","2.1.06.01.0001","Consumo de Água/Esgoto","account_template_257","payable","passivo","True" -"account_template_259","2.1.06.01.0003","Consumo de Energia Elétrica","account_template_257","payable","passivo","True" -"account_template_260","2.1.06.01.0004","Consumo de Telefone","account_template_257","payable","passivo","True" -"account_template_261","2.1.06.01.0005","Consumo de Internet","account_template_257","payable","passivo","True" +"account_template_258","2.1.06.01.0001","Consumo de Água/Esgoto","account_template_257","other","passivo","True" +"account_template_259","2.1.06.01.0003","Consumo de Energia Elétrica","account_template_257","other","passivo","True" +"account_template_260","2.1.06.01.0004","Consumo de Telefone","account_template_257","other","passivo","True" +"account_template_261","2.1.06.01.0005","Consumo de Internet","account_template_257","other","passivo","True" "account_template_262","2.1.06.02","OUTRAS CONTAS A PAGAR","account_template_256","view","passivo","True" -"account_template_263","2.1.06.02.0001","Cheques a Compensar","account_template_262","payable","passivo","True" -"account_template_264","2.1.06.02.0002","Seguros a Pagar","account_template_262","payable","passivo","True" -"account_template_265","2.1.06.02.0003","Assinaturas de Periódicos a Pagar","account_template_262","payable","passivo","True" -"account_template_266","2.1.06.02.0004","Aluguel a Pagar","account_template_262","payable","passivo","True" -"account_template_267","2.1.06.02.0005","Doações a Pagar","account_template_262","payable","passivo","True" -"account_template_268","2.1.06.02.0006","Pensão Alimenticia a Pagar","account_template_262","payable","passivo","True" +"account_template_263","2.1.06.02.0001","Cheques a Compensar","account_template_262","other","passivo","True" +"account_template_264","2.1.06.02.0002","Seguros a Pagar","account_template_262","other","passivo","True" +"account_template_265","2.1.06.02.0003","Assinaturas de Periódicos a Pagar","account_template_262","other","passivo","True" +"account_template_266","2.1.06.02.0004","Aluguel a Pagar","account_template_262","other","passivo","True" +"account_template_267","2.1.06.02.0005","Doações a Pagar","account_template_262","other","passivo","True" +"account_template_268","2.1.06.02.0006","Pensão Alimenticia a Pagar","account_template_262","other","passivo","True" "account_template_269","2.1.06.03","ADIANTAMENTO DE CLIENTES","account_template_256","view","passivo","True" -"account_template_270","2.1.06.03.0001","Adiantamento Clientes","account_template_269","payable","passivo","True" +"account_template_270","2.1.06.03.0001","Adiantamento Clientes","account_template_269","other","passivo","True" "account_template_271","2.2","PASSIVO NÃO CIRCULANTE","account_template_193","view","passivo","True" "account_template_272","2.2.01","EXIGÍVEL A LONGO PRAZO","account_template_271","view","passivo","True" "account_template_273","2.2.01.01","FINANCIAMENTOS A LONGO PRAZO - SFN","account_template_272","view","passivo","True" -"account_template_274","2.2.01.01.0001","Banco Conta Empréstimo","account_template_273","payable","passivo","True" +"account_template_274","2.2.01.01.0001","Banco Conta Empréstimo","account_template_273","other","passivo","True" "account_template_275","2.2.01.02","EMPRÉSTIMO DE SÓCIOS","account_template_272","view","passivo","True" -"account_template_276","2.2.01.02.0001","Sócio","account_template_275","payable","passivo","True" +"account_template_276","2.2.01.02.0001","Sócio","account_template_275","other","passivo","True" "account_template_277","2.2.01.03","EMPRÉSTIMO DE EMPRESAS LIGADAS","account_template_272","view","passivo","True" -"account_template_278","2.2.01.03.0001","Empresas Ligadas","account_template_277","payable","passivo","True" +"account_template_278","2.2.01.03.0001","Empresas Ligadas","account_template_277","other","passivo","True" "account_template_279","2.2.01.04","EMPRÉSTIMOS A TERCEIROS","account_template_272","view","passivo","True" -"account_template_280","2.2.01.04.0001","Terceiro","account_template_279","payable","passivo","True" +"account_template_280","2.2.01.04.0001","Terceiro","account_template_279","other","passivo","True" "account_template_281","2.2.01.05","PARCELAMENTOS TRIBUTÁRIOS","account_template_272","view","passivo","True" -"account_template_282","2.2.01.05.0001","COFINS Parcelamento","account_template_281","payable","passivo","True" -"account_template_283","2.2.01.05.0002","PIS Parcelamento","account_template_281","payable","passivo","True" -"account_template_284","2.2.01.05.0003","IPI Parcelamento","account_template_281","payable","passivo","True" -"account_template_285","2.2.01.05.0004","ICMS Parcelamento","account_template_281","payable","passivo","True" -"account_template_286","2.2.01.05.0005","ISS Parcelamento","account_template_281","payable","passivo","True" -"account_template_287","2.2.01.05.0006","IRPJ Parcelamento","account_template_281","payable","passivo","True" -"account_template_288","2.2.01.05.0007","CSLL Parcelamento","account_template_281","payable","passivo","True" -"account_template_289","2.2.01.05.0008","INSS Parcelamento","account_template_281","payable","passivo","True" -"account_template_290","2.2.01.05.0009","FGTS Parcelamento","account_template_281","payable","passivo","True" +"account_template_282","2.2.01.05.0001","COFINS Parcelamento","account_template_281","other","passivo","True" +"account_template_283","2.2.01.05.0002","PIS Parcelamento","account_template_281","other","passivo","True" +"account_template_284","2.2.01.05.0003","IPI Parcelamento","account_template_281","other","passivo","True" +"account_template_285","2.2.01.05.0004","ICMS Parcelamento","account_template_281","other","passivo","True" +"account_template_286","2.2.01.05.0005","ISS Parcelamento","account_template_281","other","passivo","True" +"account_template_287","2.2.01.05.0006","IRPJ Parcelamento","account_template_281","other","passivo","True" +"account_template_288","2.2.01.05.0007","CSLL Parcelamento","account_template_281","other","passivo","True" +"account_template_289","2.2.01.05.0008","INSS Parcelamento","account_template_281","other","passivo","True" +"account_template_290","2.2.01.05.0009","FGTS Parcelamento","account_template_281","other","passivo","True" "account_template_291","2.2.03","RECEITA DIFERIDA","account_template_271","view","passivo","True" "account_template_292","2.2.03.01","RECEITAS DIFERIDAS","account_template_291","view","passivo","True" -"account_template_293","2.2.03.01.0001","Receitas a Realizar","account_template_292","payable","passivo","True" +"account_template_293","2.2.03.01.0001","Receitas a Realizar","account_template_292","other","passivo","True" "account_template_294","2.2.03.02","CUSTOS DIFERIDOS","account_template_291","view","passivo","True" -"account_template_295","2.2.03.02.0001","Custos Diferidos","account_template_294","payable","passivo","True" +"account_template_295","2.2.03.02.0001","Custos Diferidos","account_template_294","other","passivo","True" "account_template_296","2.2.03.03","DESPESAS DIFERIDAS","account_template_291","view","passivo","True" -"account_template_297","2.2.03.03.0001","Despesas Diferidas","account_template_296","payable","passivo","True" +"account_template_297","2.2.03.03.0001","Despesas Diferidas","account_template_296","other","passivo","True" "account_template_298","2.4","PATRIMÔNIO LÍQUIDO","account_template_193","view","passivo","True" "account_template_299","2.4.01","CAPITAL SOCIAL","account_template_298","view","passivo","True" "account_template_300","2.4.01.01","CAPITAL SOCIAL REALIZADO","account_template_299","view","passivo","True" -"account_template_301","2.4.01.01.0001","Capital Social Realizado","account_template_300","payable","passivo","True" +"account_template_301","2.4.01.01.0001","Capital Social Realizado","account_template_300","other","passivo","True" "account_template_302","2.4.01.02","(-) CAPITAL A REALIZAR","account_template_299","view","passivo","True" -"account_template_303","2.4.01.02.0001","Capital Social a Realizar ","account_template_302","payable","passivo","True" +"account_template_303","2.4.01.02.0001","Capital Social a Realizar ","account_template_302","other","passivo","True" "account_template_304","2.4.02","RESERVAS","account_template_298","view","passivo","True" "account_template_305","2.4.02.01","RESERVAS DE CAPITAL","account_template_304","view","passivo","True" -"account_template_306","2.4.02.01.0001","Reserva de Correção do Capital Realizado","account_template_305","payable","passivo","True" +"account_template_306","2.4.02.01.0001","Reserva de Correção do Capital Realizado","account_template_305","other","passivo","True" "account_template_307","2.4.02.02","AJUSTES DE AVALIAÇÃO PATRIMONIAL","account_template_304","view","passivo","True" -"account_template_308","2.4.02.02.0001","Ajustes de Avaliação Patrimonial","account_template_307","payable","passivo","True" +"account_template_308","2.4.02.02.0001","Ajustes de Avaliação Patrimonial","account_template_307","other","passivo","True" "account_template_309","2.4.02.03","RESERVAS DE LUCROS","account_template_304","view","passivo","True" -"account_template_310","2.4.02.03.0001","Reserva de Lucros","account_template_309","payable","passivo","True" -"account_template_311","2.4.02.03.0002","Reserva para Aumento de Capital","account_template_309","payable","passivo","True" +"account_template_310","2.4.02.03.0001","Reserva de Lucros","account_template_309","other","passivo","True" +"account_template_311","2.4.02.03.0002","Reserva para Aumento de Capital","account_template_309","other","passivo","True" "account_template_312","2.4.02.04","PREJUÍZOS ACUMULADOS","account_template_304","view","passivo","True" -"account_template_313","2.4.02.04.0002","(-) Prejuízos Acumulados","account_template_312","payable","passivo","True" -"account_template_314","2.4.02.04.0003","Ajustes Credores Exercícios Anteriores","account_template_312","payable","passivo","True" -"account_template_315","2.4.02.04.0001","Ajustes Devedores Exercícios Anteriores","account_template_312","payable","passivo","True" +"account_template_313","2.4.02.04.0002","(-) Prejuízos Acumulados","account_template_312","other","passivo","True" +"account_template_314","2.4.02.04.0003","Ajustes Credores Exercícios Anteriores","account_template_312","other","passivo","True" +"account_template_315","2.4.02.04.0001","Ajustes Devedores Exercícios Anteriores","account_template_312","other","passivo","True" "account_template_316","2.4.02.05","RESULTADO DO EXERCÍCIO","account_template_304","view","passivo","True" -"account_template_317","2.4.02.05.0001","Lucro do Exercício","account_template_316","payable","passivo","True" -"account_template_318","2.4.02.05.0002","Prejuízo do Exercício","account_template_316","payable","passivo","True" +"account_template_317","2.4.02.05.0001","Lucro do Exercício","account_template_316","other","passivo","True" +"account_template_318","2.4.02.05.0002","Prejuízo do Exercício","account_template_316","other","passivo","True" "account_template_319","2.4.02.06","(-) LUCROS DISTRIBUÍDOS","account_template_304","view","passivo","True" -"account_template_320","2.4.02.06.0001","Lucros Distribuídos","account_template_319","payable","passivo","True" +"account_template_320","2.4.02.06.0001","Lucros Distribuídos","account_template_319","other","passivo","True" "account_template_321","3","CONTAS DE RESULTADO - CUSTOS E DESPESAS","account_template_1","view","despesa","True" "account_template_322","3.1","CUSTOS","account_template_321","view","despesa","True" "account_template_323","3.1.01","CUSTOS DAS MERCADORIAS E PRODUTOS","account_template_322","view","despesa","True" @@ -337,8 +337,8 @@ "account_template_336","3.1.02.03.0005","13º Salário","account_template_331","other","despesa","True" "account_template_337","3.1.02.03.0006","Aviso Prévio/Indeniz.Trabalhistas","account_template_331","other","despesa","True" "account_template_338","3.1.02.03.0007","Gratificações","account_template_331","other","despesa","True" -"account_template_339","3.1.02.03.0008","INSS Empresa","account_template_331","payable","passivo","True" -"account_template_340","3.1.02.03.0009","FGTS ","account_template_331","payable","passivo","True" +"account_template_339","3.1.02.03.0008","INSS Empresa","account_template_331","other","despesa","True" +"account_template_340","3.1.02.03.0009","FGTS ","account_template_331","other","despesa","True" "account_template_341","3.1.02.03.0010","Adicional Insalubridade","account_template_331","other","despesa","True" "account_template_342","3.1.02.03.0011","Vale Transporte","account_template_331","other","despesa","True" "account_template_343","3.1.02.03.0012","PAT - Programa Alim. Trabalhador","account_template_331","other","despesa","True" diff --git a/addons/l10n_br/data/account.account.type.csv b/addons/l10n_br/data/account.account.type.csv index 9f3844cdd2e..1b1d8cfddac 100644 --- a/addons/l10n_br/data/account.account.type.csv +++ b/addons/l10n_br/data/account.account.type.csv @@ -1,6 +1,6 @@ "id","code","name","close_method" -"ativo","1","Ativo","unreconciled" -"passivo","2","Passivo","unreconciled" +"ativo","1","Ativo","balance" +"passivo","2","Passivo","balance" "despesa","3","Despesas","balance" "receita","4","Receita","balance" "resultado","5","Resultado","balance" diff --git a/addons/l10n_br/data/account.tax.code.template.csv b/addons/l10n_br/data/account.tax.code.template.csv index 4622200982f..5768324cc3d 100644 --- a/addons/l10n_br/data/account.tax.code.template.csv +++ b/addons/l10n_br/data/account.tax.code.template.csv @@ -1,14 +1,13 @@ -"id","code","name","parent_id:id","sign" -"tax_code_chart_root","","Códigos de Impostos Brasileiros","","1" -"tax_code_1","ICMS","ICMS Interno","tax_code_chart_root","1" -"tax_code_2","ICMS","ICMS Externo","tax_code_chart_root","1" -"tax_code_3","ICMS Subist","ICMS Subist","tax_code_chart_root","1" -"tax_code_4","IPI","IPI","tax_code_chart_root","1" -"tax_code_5","PIS","PIS","tax_code_chart_root","1" -"tax_code_6","COFINS","COFINS","tax_code_chart_root","1" -"tax_code_7","IRPJ","IRPJ","tax_code_chart_root","1" -"tax_code_8","IR","IR","tax_code_chart_root","1" -"tax_code_9","ISS","ISS","tax_code_chart_root","1" -"tax_code_10","CSLL","CSLL","tax_code_chart_root","1" +"id","code","name","parent_id:id","sign","domain","tax_discount" +"tax_code_chart_root","","Códigos de Impostos Brasileiros","","1","",0 +"tax_code_1","ICMS","ICMS","tax_code_chart_root","1","icms",1 +"tax_code_2","ICMS Subist","ICMS Subist","tax_code_chart_root","1","icmsst",0 +"tax_code_3","IPI","IPI","tax_code_chart_root","1","ipi",0 +"tax_code_4","PIS","PIS","tax_code_chart_root","1","pis",1 +"tax_code_5","COFINS","COFINS","tax_code_chart_root","1","cofins",1 +"tax_code_6","IRPJ","IRPJ","tax_code_chart_root","1","irpj",1 +"tax_code_7","IR","IR","tax_code_chart_root","1","ir",1 +"tax_code_8","ISS","ISS","tax_code_chart_root","1","iss",1 +"tax_code_9","CSLL","CSLL","tax_code_chart_root","1","csll",1 diff --git a/addons/l10n_br/data/account_tax_template.xml b/addons/l10n_br/data/account_tax_template.xml index 1aa0ab88afa..58f860e0d90 100644 --- a/addons/l10n_br/data/account_tax_template.xml +++ b/addons/l10n_br/data/account_tax_template.xml @@ -5,360 +5,92 @@ IPI IPI - vat + vat 0.00 - + + + + - - - - - + + + + + IPI 2% IPI 2% - vat + vat 0.02 - + + + + - - - - - + + + + + IPI 3% IPI 3% - vat + vat 0.03 - + + + + - - - - - + + + + + IPI 4% IPI 4% - vat + vat 0.04 - + + + + - - - - - + + + + + IPI 5% IPI 5% - vat + vat 0.05 - + + + + - - - - - + + + + + IPI 7% IPI 7% - vat + vat 0.07 - - - - - - - - - - IPI 8% - IPI 8% - vat - 0.08 - False - - - - - - - - - IPI 10% - IPI 10% - vat - 0.10 - - - - - - - - - - IPI 12% - IPI 12% - vat - 0.12 - - - - - - - - - - IPI 13% - IPI 13% - vat - 0.13 - - - - - - - - - - IPI 15% - IPI 15% - vat - 0.15 - - - - - - - - - - IPI 16% - IPI 16% - vat - 0.16 - - - - - - - - - - IPI 18% - IPI 18% - vat - 0.18 - - - - - - - - - - IPI 20% - IPI 20% - vat - 0.20 - - - - - - - - - - IPI 22% - IPI 22% - vat - 0.22 - - - - - - - - - - IPI 25% - IPI 25% - vat - 0.25 - - - - - - - - - - IPI 27% - IPI 27% - vat - 0.27 - - - - - - - - - - IPI 30% - IPI 30% - vat - 0.30 - - - - - - - - - - IPI 35% - IPI 35% - vat - 0.35 - - - - - - - - - - IPI 40% - IPI 40% - vat - 0.40 - - - - - - - - - - IPI 42% - IPI 42% - vat - 0.42 - - - - - - - - - - IPI 45% - IPI 45% - vat - 0.45 - - - - - - - - - - IPI 50% - IPI 50% - vat - 0.50 - - - - - - - - - - IPI 60% - IPI 60% - vat - 0.60 - - - - - - - - - - IPI 330% - IPI 330% - vat - 3.30 - - - - - - - - - - ICMS Interno - ICMS Interno - vat - 0.00 - - - - - - - - - - ICMS Externo - ICMS Externo - vat - 0.00 - - - - - - - - - - ICMS Subist - ICMS Subist - vat - 0.00 - + + + + @@ -366,171 +98,609 @@ + + IPI 8% + IPI 8% + vat + 0.08 + + + + + + + + + + + + + IPI 10% + IPI 10% + vat + 0.10 + + + + + + + + + + + + + IPI 12% + IPI 12% + vat + 0.12 + + + + + + + + + + + + + IPI 13% + IPI 13% + vat + 0.13 + + + + + + + + + + + + + IPI 15% + IPI 15% + vat + 0.15 + + + + + + + + + + + + + IPI 16% + IPI 16% + vat + 0.16 + + + + + + + + + + + + + IPI 18% + IPI 18% + vat + 0.18 + + + + + + + + + + + + + IPI 20% + IPI 20% + vat + 0.20 + + + + + + + + + + + + + IPI 22% + IPI 22% + vat + 0.22 + + + + + + + + + + + + + IPI 25% + IPI 25% + vat + 0.25 + + + + + + + + + + + + + IPI 27% + IPI 27% + vat + 0.27 + + + + + + + + + + + + + IPI 30% + IPI 30% + vat + 0.30 + + + + + + + + + + + + + IPI 35% + IPI 35% + vat + 0.35 + + + + + + + + + + + + + IPI 40% + IPI 40% + vat + 0.40 + + + + + + + + + + + + + IPI 42% + IPI 42% + vat + 0.42 + + + + + + + + + + + + + IPI 45% + IPI 45% + vat + 0.45 + + + + + + + + + + + + + IPI 50% + IPI 50% + vat + 0.50 + + + + + + + + + + + + + IPI 60% + IPI 60% + vat + 0.60 + + + + + + + + + + + + + IPI 330% + IPI 330% + vat + 3.30 + + + + + + + + + + + + + ICMS Interno + ICMS Interno + vat + 0.00 + + + + + + + + + + + + + ICMS Externo + ICMS Externo + vat + 0.00 + + + + + + + + + + + + + ICMS Subist + ICMS Subist + vat + 0.00 + + + + + + + + + - ICMS 7% - ICMS 7% - vat + ICMS Externo 7% + ICMS Externo 7% + vat 0.07 - + + - - - - - - + + + + + - ICMS 12% - ICMS 12% - vat + ICMS Externo 12% + ICMS Externo 12% + vat 0.12 - + + - - - - - + + + + + - ICMS 19% - ICMS 19% - vat + ICMS Interno 19% + ICMS Interno 19% + vat 0.19 - + + - + - ICMS 26% - ICMS 26% - vat + ICMS Interno 26% + ICMS Interno 26% + vat 0.26 - + + - + PIS PIS - vat + vat 0.00 - + + + + - - - - - + + + + + PIS 0,65% PIS 0,65% - vat + vat 0.0065 - + + + + + + + + + + + + + COFINS + COFINS + vat + 0.00 + + + + - - - - - COFINS - COFINS - vat - 0.00 - - - - - - - - + COFINS 3% COFINS 3% - vat + vat 0.03 - + + + + + + + + + + + + + IRPJ + IRPJ + vat + 0.00 + + - + - - IRPJ - IRPJ - vat + + IR + IR + vat 0.00 - + + - + - - IR - IR - vat + + ISS + ISS + vat 0.00 - + + - + + + + ISS 1% + ISS 1% + vat + 0.01 + + + + + + + + + + + ISS 2% + ISS 2% + vat + 0.02 + + + + + + + + + + + ISS 3% + ISS 3% + vat + 0.03 + + + + + + + + + + + ISS 4% + ISS 4% + vat + 0.04 + + + + + + + + + + + ISS 5% + ISS 5% + vat + 0.05 + + + + + + + + - - ISS - ISS - vat + + CSLL + CSLL + vat 0.00 - + + - - - - CSLL - CSLL - vat - 0.00 - - - - - - - + + - + \ No newline at end of file diff --git a/addons/l10n_br/data/l10n_br_account_chart_template.xml b/addons/l10n_br/data/l10n_br_account_chart_template.xml index 79ce5bd0310..9dbcb4d558f 100644 --- a/addons/l10n_br/data/l10n_br_account_chart_template.xml +++ b/addons/l10n_br/data/l10n_br_account_chart_template.xml @@ -1,15 +1,16 @@ + Planilha de Contas Brasileira - + - - - + + + @@ -17,8 +18,8 @@ Generate Chart of Accounts from a Chart Template. You will be asked to pass the name of the company, the chart template to follow, the no. of digits to generate the code for your accounts and Bank account, currency to create Journals. Thus,the pure copy of chart Template is generated. This is the same wizard that runs from Financial Management/Configuration/Financial Accounting/Financial Accounts/Generate Chart of Accounts from a Chart Template. - automatic - + open + onskip diff --git a/addons/l10n_br/data/l10n_br_data.xml b/addons/l10n_br/data/l10n_br_data.xml new file mode 100644 index 00000000000..5a785f0f08f --- /dev/null +++ b/addons/l10n_br/data/l10n_br_data.xml @@ -0,0 +1,673 @@ + + + + + + + 01 + Operação Tributável com Alíquota Básica + + + + + 02 + Operação Tributável com Alíquota Diferenciada + + + + + 03 + Operação Tributável com Alíquota por Unidade de Medida de Produto + + + + + 04 + Operação Tributável Monofásica - Revenda a Alíquota Zero + + + + + 05 + Operação Tributável por Substituição Tributária + + + + + 06 + Operação Tributável a Alíquota zero + + + + + 07 + Operação Isenta da Contribuição + + + + + 08 + Operação sem Incidência da Contribuição + + + + + 09 + Operação com Suspensão da Contribuição + + + + + 49 + Outras Operações de Saída + + + + + 50 + Operação com Direito a Crédito - Vinculada Exclusivamente a Receita Tributada no Mercado Interno + + + + + 51 + Operação com Direito a Crédito - Vinculada Exclusivamente a Receita Não-Tributada no Mercado Interno + + + + + 52 + Operação com Direito a Crédito - Vinculada Exclusivamente a Receita de Exportação + + + + + 53 + Operação com Direito a Crédito - Vinculada a Receitas Tributadas e Não-Tributadas no Mercado Interno + + + + + 54 + Operação com Direito a Crédito - Vinculada a Receitas Tributadas no Mercado Interno e de Exportação + + + + + 55 + Operação com Direito a Crédito - Vinculada a Receitas Não Tributadas no Mercado Interno e de Exportação + + + + + 56 + Operação com Direito a Crédito - Vinculada a Receitas Tributadas e Não-Tributadas no Mercado Interno e de Exportação + + + + + 60 + Crédito Presumido - Operação de Aquisição Vinculada Exclusivamente a Receita Tributada no Mercado Interno + + + + + 61 + Crédito Presumido - Operação de Aquisição Vinculada Exclusivamente a Receita Não-Tributada no Mercado Interno + + + + + 62 + Crédito Presumido - Operação de Aquisição Vinculada Exclusivamente a Receita de Exportação + + + + + 63 + Crédito Presumido - Operação de Aquisição Vinculada a Receitas Tributadas e Não-Tributadas no Mercado Interno + + + + + 64 + Crédito Presumido - Operação de Aquisição Vinculada a Receitas Tributadas no Mercado Interno e de Exportação + + + + + 65 + Crédito Presumido - Operação de Aquisição Vinculada a Receitas Não-Tributadas no Mercado Interno e de Exportação + + + + + 66 + Crédito Presumido - Operação de Aquisição Vinculada a Receitas Tributadas e Não-Tributadas no Mercado Interno e de Exportação + + + + + 67 + Crédito Presumido - Outras Operações + + + + + 70 + Operação de Aquisição sem Direito a Crédito + + + + + 71 + Operação de Aquisição com Isenção + + + + + 72 + Operação de Aquisição com Suspensão + + + + + 73 + Operação de Aquisição a Alíquota Zero + + + + + 74 + Operação de Aquisição sem Incidência da Contribuição + + + + + 75 + Operação de Aquisição por Substituição Tributária + + + + + 98 + Outras Operações de Entrada + + + + + 99 + Outras Operações + + + + + 01 + Operação Tributável com Alíquota Básica + + + + + 02 + Operação Tributável com Alíquota Diferenciada + + + + + 03 + Operação Tributável com Alíquota por Unidade de Medida de Produto + + + + + 04 + Operação Tributável Monofásica - Revenda a Alíquota Zero + + + + + 05 + Operação Tributável por Substituição Tributária + + + + + 06 + Operação Tributável a Alíquota Zero + + + + + 07 + Operação Isenta da Contribuição + + + + + 08 + Operação sem Incidência da Contribuição + + + + + 09 + Operação com Suspensão da Contribuição + + + + + 49 + Outras Operações de Saída + + + + + 50 + Operação com Direito a Crédito - Vinculada Exclusivamente a Receita Tributada no Mercado Interno + + + + + 51 + Operação com Direito a Crédito - Vinculada Exclusivamente a Receita Não Tributada no Mercado Interno + + + + + 52 + Operação com Direito a Crédito - Vinculada Exclusivamente a Receita de Exportação + + + + + 53 + Operação com Direito a Crédito - Vinculada a Receitas Tributadas e Não-Tributadas no Mercado Interno + + + + + 54 + Operação com Direito a Crédito - Vinculada a Receitas Tributadas no Mercado Interno e de Exportação + + + + + 55 + Operação com Direito a Crédito - Vinculada a Receitas Não-Tributadas no Mercado Interno e de Exportação + + + + + 56 + Operação com Direito a Crédito - Vinculada a Receitas Tributadas e Não-Tributadas no Mercado Interno, e de Exportação + + + + + 60 + Crédito Presumido - Operação de Aquisição Vinculada Exclusivamente a Receita Tributada no Mercado Interno + + + + + 61 + Crédito Presumido - Operação de Aquisição Vinculada Exclusivamente a Receita Não-Tributada no Mercado Interno + + + + + 62 + Crédito Presumido - Operação de Aquisição Vinculada Exclusivamente a Receita de Exportação + + + + + 63 + Crédito Presumido - Operação de Aquisição Vinculada a Receitas Tributadas e Não-Tributadas no Mercado Interno + + + + + 64 + Crédito Presumido - Operação de Aquisição Vinculada a Receitas Tributadas no Mercado Interno e de Exportação + + + + + 65 + Crédito Presumido - Operação de Aquisição Vinculada a Receitas Não-Tributadas no Mercado Interno e de Exportação + + + + + 66 + Crédito Presumido - Operação de Aquisição Vinculada a Receitas Tributadas e Não-Tributadas no Mercado Interno, e de Exportação + + + + + 67 + Crédito Presumido - Outras Operações + + + + + 70 + Operação de Aquisição sem Direito a Crédito + + + + + 71 + Operação de Aquisição com Isenção + + + + + 72 + Operação de Aquisição com Suspensão + + + + + 73 + Operação de Aquisição a Alíquota Zero + + + + + 74 + Operação de Aquisição sem Incidência da Contribuição + + + + + 75 + Operação de Aquisição por Substituição Tributária + + + + + 98 + Outras Operações de Entrada + + + + + 99 + Outras Operações + + + + + 00 + Entrada com recuperação de crédito + + + + + 01 + Entrada tributada com alíquota zero + + + + + 02 + Entrada isenta + + + + + 03 + Entrada não-tributada + + + + + 04 + Entrada imune + + + + + 05 + Entrada com suspensão + + + + + 49 + Outras entradas + + + + + 50 + Saída tributada + + + + + 51 + Saída tributada com alíquota zero + + + + + 52 + Saída isenta + + + + + 53 + Saída não-tributada + + + + + 54 + Saída imune + + + + + 55 + Saída com suspensão + + + + + 99 + Outras saídas + + + + + 00 + Tributada integralmente + + + + + 10 + Tributada e com cobrança do ICMS por substituição tributária + + + + + 20 + Com redução de base de cálculo + + + + + 30 + Isenta ou não tributada e com cobrança do ICMS por substituição tributária + + + + + 40 + Isenta + + + + + 41 + Não tributada + + + + + 50 + Suspensão + + + + + 51 + Diferimento + + + + + 60 + ICMS cobrado anteriormente por substituição tributária + + + + + 70 + Com redução de base de cálculo e cobrança do ICMS por substituição tributária + + + + + 90 + Outras + + + + + 101 + Simples Nacional - Tributada pelo Simples Nacional com permissão de crédito + + + + + 102 + Simples Nacional - Tributada pelo Simples Nacional sem permissão de crédito + + + + + 103 + Simples Nacional - Isenção do ICMS no Simples Nacional para faixa de receita bruta + + + + + 201 + Simples Nacional - Tributada pelo Simples Nacional com permissão de crédito e com cobrança do ICMS por substituição tributária + + + + + 202 + Simples Nacional - Tributada pelo Simples Nacional sem permissão de crédito e com cobrança do ICMS por substituição tributária + + + + + 203 + Simples Nacional - Isenção do ICMS no Simples Nacional para faixa de receita bruta e com cobrança do ICMS por substituição tributária + + + + + 300 + Simples Nacional - Imune + + + + + 400 + Simples Nacional - Não tributada pelo Simples Nacional + + + + + 500 + Simples Nacional - ICMS cobrado anteriormente por substituição tributária (substituído) ou por antecipação + + + + + 900 + Simples Nacional - Outros + + + + + 101 + Simples Nacional - Tributada pelo Simples Nacional com permissão de crédito + + + + + 102 + Simples Nacional - Tributada pelo Simples Nacional sem permissão de crédito + + + + + 103 + Simples Nacional - Isenção do ICMS no Simples Nacional para faixa de receita bruta + + + + + 201 + Simples Nacional - Tributada pelo Simples Nacional com permissão de crédito e com cobrança do ICMS por substituição tributária + + + + + 202 + Simples Nacional - Tributada pelo Simples Nacional sem permissão de crédito e com cobrança do ICMS por substituição tributária + + + + + 203 + Simples Nacional - Isenção do ICMS no Simples Nacional para faixa de receita bruta e com cobrança do ICMS por substituição tributária + + + + + 300 + Simples Nacional - Imune + + + + + 400 + Simples Nacional - Não tributada pelo Simples Nacional + + + + + 500 + Simples Nacional - ICMS cobrado anteriormente por substituição tributária (substituído) ou por antecipação + + + + + 900 + Simples Nacional - Outros + + + + + diff --git a/addons/l10n_br/l10n_br.py b/addons/l10n_br/l10n_br.py new file mode 100644 index 00000000000..af387334cd1 --- /dev/null +++ b/addons/l10n_br/l10n_br.py @@ -0,0 +1,84 @@ +# -*- encoding: utf-8 -*- +################################################################################# +# # +# Copyright (C) 2009 Renato Lima - Akretion # +# # +#This program is free software: you can redistribute it and/or modify # +#it under the terms of the GNU Affero General Public License as published by # +#the Free Software Foundation, either version 3 of the License, or # +#(at your option) any later version. # +# # +#This program is distributed in the hope that it will be useful, # +#but WITHOUT ANY WARRANTY; without even the implied warranty of # +#MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the # +#GNU General Public License for more details. # +# # +#You should have received a copy of the GNU General Public License # +#along with this program. If not, see . # +################################################################################# + +from osv import fields, osv + +class l10n_br_account_cst_template(osv.osv): + _name = 'l10n_br_account.cst.template' + _description = 'Tax Situation Code Template' + _columns = { + 'code': fields.char('Code', size=8,required=True), + 'name': fields.char('Description', size=64), + 'tax_code_template_id': fields.many2one('account.tax.code.template', 'Tax Code Template',required=True), + } + + def name_search(self, cr, user, name, args=None, operator='ilike', context=None, limit=80): + if not args: + args = [] + if context is None: + context = {} + ids = self.search(cr, user, ['|',('name',operator,name),('code',operator,name)] + args, limit=limit, context=context) + return self.name_get(cr, user, ids, context) + + def name_get(self, cr, uid, ids, context=None): + if not ids: + return [] + reads = self.read(cr, uid, ids, ['name', 'code'], context=context) + res = [] + for record in reads: + name = record['name'] + if record['code']: + name = record['code'] + ' - '+name + res.append((record['id'], name)) + return res + +l10n_br_account_cst_template() + +class l10n_br_account_cst(osv.osv): + _name = 'l10n_br_account.cst' + _description = 'Tax Situation Code' + _columns = { + 'code': fields.char('Code', size=8,required=True), + 'name': fields.char('Description', size=64), + 'tax_code_id': fields.many2one('account.tax.code', 'Tax Code',required=True), + } + + def name_search(self, cr, user, name, args=None, operator='ilike', context=None, limit=80): + if not args: + args = [] + if context is None: + context = {} + ids = self.search(cr, user, ['|',('name',operator,name),('code',operator,name)] + args, limit=limit, context=context) + return self.name_get(cr, user, ids, context) + + def name_get(self, cr, uid, ids, context=None): + if not ids: + return [] + reads = self.read(cr, uid, ids, ['name', 'code'], context=context) + res = [] + for record in reads: + name = record['name'] + if record['code']: + name = record['code'] + ' - '+name + res.append((record['id'], name)) + return res + +l10n_br_account_cst() + +# vim:expandtab:smartindent:tabstop=4:softtabstop=4:shiftwidth=4: \ No newline at end of file diff --git a/addons/l10n_br/l10n_br_view.xml b/addons/l10n_br/l10n_br_view.xml new file mode 100644 index 00000000000..361f52746ce --- /dev/null +++ b/addons/l10n_br/l10n_br_view.xml @@ -0,0 +1,80 @@ + + + + + + l10n_br.cst.form + l10n_br_account.cst.template + form + +
+ + + + + +
+ + + l10n_br.cst.tree + l10n_br_account.cst.template + tree + + + + + + + + + + + Tax Situation Code Template + ir.actions.act_window + l10n_br_account.cst.template + tree,form + form + + + + + l10n_br.cst.form + l10n_br_account.cst + form + +
+ + + + + +
+ + + l10n_br.cst.tree + l10n_br_account.cst + tree + + + + + + + + + + + Tax Situation Code + ir.actions.act_window + l10n_br_account.cst + tree,form + form + + + + + + + +
+
\ No newline at end of file diff --git a/addons/l10n_br/security/ir.model.access.csv b/addons/l10n_br/security/ir.model.access.csv new file mode 100644 index 00000000000..2a1ecd6910f --- /dev/null +++ b/addons/l10n_br/security/ir.model.access.csv @@ -0,0 +1,3 @@ +"id","name","model_id:id","group_id:id","perm_read","perm_write","perm_create","perm_unlink" +"l10n_br_account_cst","l10n_br_account.cst","model_l10n_br_account_cst","account.group_account_invoice",1,1,1,1 +"l10n_br_account_cst_template","l10n_br_account.cst.template","model_l10n_br_account_cst_template","account.group_account_invoice",1,1,1,1