# Prepare the chart of accounts, the periods and the analytic accounting

> Understand how the Brazilian chart of accounts is organized in groups, create a new account that already falls in its group. In Odoo 18, by KMEE.

Fonte: https://docs.kmee.com.br/en/odoo/18.0/funcional/contabilidade/plano-de-contas-periodos-e-analitica/

Understand how the Brazilian chart of accounts is organized in groups, create a new account that already falls in its group, generate the periods of the year, set the product category that drives the inventory accounts and turn on the analytic accounting with a plan of its own.

## Before you start

The generic chart of accounts of the localization is loaded in the company, with the movement of the 1st quarter of 2026 posted and the period 1Q2026 registered. The period types Accounting month, Assessment quarter and Fiscal year exist, with the duration and the name of each one (01/2026, 1T2026, 2026). The user is an accountant or administrator of Invoicing, with the access Show Full Accounting Features and, for the stock accounts, Automatic Accounting of inventory: the administrator gives the user the group Show Full Accounting Features and, for the stock accounts, the group Automatic Accounting of inventory on the user screen. This applies in Brazil with configuration: the chart of accounts, the groups and the DRE and DVA tags come with the Brazilian localization; the periods, the product category with its inventory accounts, and the analytic plans and accounts are registered by the company, and the perpetual inventory at average cost is the criterion of NBC TG 16.

## Step by step

### 1. Understand the groups of the chart

In Invoicing, open Configuration > Chart of Accounts and search for 5.1.1.3. Click View on the account 5.1.1.3.02 Aluguel de Imóveis: the type Expenses tells how Odoo treats the account, and the tags take it to the administrative expenses line of the DRE and to the DVA, as capital remuneration of third parties. The code defines the group: 5.1.1.3.02 falls in 5.1.1.3 DESPESAS ADMINISTRATIVAS, inside 5.1.1 DESPESAS OPERACIONAIS, 5.1 DESPESAS DIVERSAS and 5 DESPESAS. Open Reporting > Trial Balance, choose the period 1Q2026 and check Show hierarchy and click View: the groups go from 1 ATIVO to the ones of 4 levels, each with the sum of those below. In the quarter, the group 5.1.1.3 adds up to 10,050.00: 9,000.00 of rent, 50.00 of bank fees and 1,000.00 of consulting.

### 2. Create an account

Example: the store hired the maintenance of the windows and the air conditioning and the accountant wants this expense in its own account. In Configuration > Chart of Accounts, click New, enter the code 5.1.1.3.14 and the name Manutenção e Conservação: the type Expenses comes from the previous account of the chart. Click Save and, on the new line, View: by the code, Odoo put the account in the group 5.1.1.3 DESPESAS ADMINISTRATIVAS. The tags come from the account of the previous code, 5.1.1.3.11 Serviços de Consultoria: Resultado / (-) Despesas Administrativas and Resultado / Contas de Resultado (todas), which take the account to the administrative expenses line of the DRE. Add the tag Valor Adicionado / Insumos Adquiridos de Terceiros, as in the accounts of the group, and save.

### 3. Generate the periods of the year

In Invoicing, open Configuration > Period Types and check the three types: accounting month, assessment quarter and fiscal year. Open Configuration > Generate Date Ranges, choose Accounting month, the start date 01/01/2028 and 12 periods, and click Generate: the months 01/2028 to 12/2028 enter the list (02/2028 goes to 02/29, because 2028 is a leap year). Generate also the quarters: Assessment quarter, from 01/01/2028, 4 periods. The 1T2028 goes from 01/01 to 03/31/2028 and the 4T2028 from 10/01 to 12/31/2028. The duration and the name come from the type. Then, in Reporting > Trial Balance, choose the period 1T2026: the dates from 01/01/2026 to 03/31/2026 are filled in. Click View.

### 4. Set the product category and the inventory accounts

In Invoicing, open Configuration > Product Categories and the category Móveis para revenda, with the income account 6.1.1.1.01 and the expense account 1.1.3.1.02 Compras Mercadorias. Choose average cost and close the notice about the change of costing: with the Automated valuation, the inventory is perpetual. Enter the account 1.1.3.1.21 Mercadorias em Estoque, the journal Inventory Valuation, the input in Compras and the output in the CMV, and save. Validate the receipt in Inventory > Receipts and the delivery in Delivery Orders. Example: the steel shelf costs 400.00. The receipt of 10 shelves from Atacado Horizonte posts 10 x 400.00 = 4,000.00, debit in Mercadorias em Estoque and credit in Compras Mercadorias. The delivery of 2 shelves to Escola Corruíra posts 2 x 400.00 = 800.00, debit in 5.1.1.1.01 Custo das Mercadorias Vendidas and credit in Mercadorias em Estoque. The stock is 8 shelves, 4,000.00 - 800.00 = 3,200.00. Check in Accounting > Journal Items.

### 5. Turn on the analytic accounting

In Invoicing, open Configuration > Settings. In the search of the Settings, type Analytic Accounting and check the option, in the Analysis block. Click Save. Open the Configuration menu: the distribution models, the analytic accounts and the analytic plans appear in the Analytic Accounting block. From then on, invoice, journal entry, sales order and purchase order lines have the Analytic field. Example: Guatambu Móveis e Utilidades Ltda wants to see the result of each cost center, each furniture project and each branch.

### 6. Create an analytic plan and its accounts

Open Configuration > Analytic Plans and see the plans of the company: Centro de custo, Filial and Projetos e contratos. Click New and name it Linha de produto. Click the Analytic Accounts button of the plan, click New, name it Cadeiras and save; click New, name it Mesas and save. The button records the new plan and opens the list of its accounts, and the account created there already comes with the plan filled in. Back to the list, the plan Linha de produto has the accounts Cadeiras and Mesas. Each plan is a way of cutting the result, and the distribution of each plan adds up to 100% on its own.

## Expected result

The chart of accounts is ready for the work: the account 5.1.1.3.14 Manutenção e Conservação in its group, with the DRE and DVA tags; the periods of 2028 (12 months and 4 quarters) and the trial balance of the 1st quarter of 2026 issued by period; the category with the inventory accounts and average cost; and the analytic accounting on, with the plan Linha de produto and the accounts Cadeiras and Mesas.

## If something goes wrong

If an account does not appear in the Balance Sheet or in the DRE, open the account and enter the tag of its group (for example, Resultado / (-) Despesas Administrativas). If the trial balance comes without the lines of the groups, check Show hierarchy and click View again. If Odoo says that the code already exists, use the next free number of the group. If the new account comes with another type or other tags, the account of the previous code is from another group: choose the type and the tags in the account form. If Odoo does not let you generate the periods, there are already periods of the same type on those dates: search the year in the list and generate from the first free date; if they come with another duration or name, choose the right type in the window. If the validation of a receipt or delivery leaves no journal entry, choose Automated in the category and check Track Inventory in the product. If the menu does not show the analytic plans, open the Settings, check Analytic Accounting again and click Save.

## Odoo 18 manual

Standard Odoo 18 features used in this task, from the official manual.

- [Chart of accounts](https://docs.kmee.com.br/en/odoo/18.0/modules/financeiro/plano-de-contas/)
- [Analytic accounting](https://docs.kmee.com.br/en/odoo/18.0/modules/financeiro/contabilidade-analitica/)

## Continue the process

- [Post manual entries, by template and by spreadsheet](https://docs.kmee.com.br/en/odoo/18.0/funcional/contabilidade/lancamentos-manuais-por-modelo-e-planilha/)
