Este módulo contém toda a estrutura dos registros da ECD do SPED. Ou seja se vocẽ preencher todos registros do SPED, o arquivo digital vai sair certinho. Porem o mapeamento dos dados a partir das transações do Odoo é um trabalho parcial e em andamento. Foi colocado o módulo no repo da localização para facilitar as contribuições mas é importante vocẽ homologar bem até que ponto os mapeamentos atuais atendem você.
A ideia é começar pelos mapeamentos das transações mais intensivas e mais comum para facilitar a geração dos blocos relevantes do SPED e completar o arquivo do SPED manualmente (dentro do Odoo, dentro do validador gratuito ou dentro de um software especializado) ou deixar um escritório de contabilidade fazê-lo. É possível também importar arquivos de SPED para completar o que o ainda não teria sido possível mapear a partir do Odoo.
Vocẽ pode se referir a documentação do módulo l10n_br_sped_base para ver como o sistema de mapeamento funciona.
auto_awesome What this module does
AI-generated from the code · Odoo 16.0This module adds the full structure of the Brazilian SPED ECD accounting file inside Odoo, letting users create, fill and export the digital accounting book (ECD) from their accounting entries.
The module creates a complete set of screens and records that mirror the official SPED ECD file layout, organised in blocks (0, I, J, K and 9). Users can create an ECD declaration, fill in the company identification data, the chart of accounts, cost centres, accounting periods, balances, journal entries and their lines, financial statements, closing terms, signatories and consolidated statements.
Some data is filled automatically from Odoo:
- The opening record (0000) is filled from the company: legal name, CNPJ, state, city code, state and municipal registrations.
- The participant table (0150) is built from partners that appear on posted journal entries in the period.
- Journal entries (I200) come from posted account.move records, and their lines (I250) from account.move.line records, including account code, debit/credit indicator and amounts.
- The accounting book identification (I010) uses the layout version and the book form chosen on the declaration.
Users can also import existing SPED files to complete what is not mapped, and the module writes the final text file with the correct register codes and line counts. The module depends on the Brazilian localisation and accounting modules and requires the external Python library erpbrasil-base.
Depends on
Menus it adds
Models and fields (30)
- l10n_br_sped.ecd.0000 · new modelind_esc (Forma de escritura contábil), IND_FIN_ESC (Indicador de finalidade da escrituração), IND_SIT_ESP (Indicador de situação especial), IND_SIT_INI_PER (Indicador de situação do inicio do período)
- l10n_br_sped.ecd.0007 · new model
- l10n_br_sped.ecd.0020 · new model
- l10n_br_sped.ecd.0035 · new model
- l10n_br_sped.ecd.0150 · new model
- l10n_br_sped.ecd.0180 · new model
- l10n_br_sped.ecd.i010 · new modelIND_ESC
- l10n_br_sped.ecd.i012 · new model
- l10n_br_sped.ecd.i015 · new model
- l10n_br_sped.ecd.i020 · new model
- l10n_br_sped.ecd.i030 · new model
- l10n_br_sped.ecd.i050 · new model
- l10n_br_sped.ecd.i051 · new model
- l10n_br_sped.ecd.i052 · new model
- l10n_br_sped.ecd.i053 · new model
- l10n_br_sped.ecd.i075 · new model
- l10n_br_sped.ecd.i100 · new model
- l10n_br_sped.ecd.i150 · new model
- l10n_br_sped.ecd.i155 · new model
- l10n_br_sped.ecd.i157 · new model
- l10n_br_sped.ecd.i200 · new model
- l10n_br_sped.ecd.i250 · new model
- l10n_br_sped.ecd.i300 · new model
- l10n_br_sped.ecd.i310 · new model
- l10n_br_sped.ecd.i350 · new model
- l10n_br_sped.ecd.i355 · new model
- l10n_br_sped.ecd.i500 · new model
- l10n_br_sped.ecd.i510 · new model
- l10n_br_sped.ecd.i550 · new modelRZ_CONT
- l10n_br_sped.ecd.i555 · new modelRZ_CONT_TOT
Text generated by AI (DeepSeek) from reading the Odoo 16.0 code on GitHub; it may contain mistakes, so check the code before deciding. The module is very large and only part of the code was read. View the code on GitHub
Availability by version
Reviewed: 2026-11-03Confirmation status: 1 confirmed, 8 with no information of 9 versions.
Sources · Odoo 16.0
Confirmed on 2026-11-03 in branch 16.0 of OCA/l10n-brazil.
terminal Installation and usage
OCA documentation · Odoo 16.0Usage
Source · Odoo 16.0- Entre no menu SPED>ECD e crie uma Declaração do SPED para a empresa e o período desejado. Preenche os dados (se trata dos dados do registro 0000 na verdade)
- clique no botão "Puxar os registros do Odoo" para popular os registros do SPED. Os novos registros aparecem no chatter e você pode clicar em cima deles para abri-los.
- Finalmente, clique no botão "Gerar arquivo do SPED" e baixe o arquivo que foi adicionado no chatter. Você pode transmitir o arquivo com o validador gratuito da receita por exemplo. Você pode também usar a opção de separar o arquivo por bloco se você quiser.
No verified information in OCA: Installation, Configuration.
Installation instructions, the distribution package, dependencies and configuration steps are not shown because they have not yet been verified in the module documentation for any version.
Data imported from GitHub: this sheet reflects the latest catalog review, not a live lookup. Always check the module documentation and staging before installing in production.