SPED in Brazil: ECD, ECF, EFD ICMS/IPI, EFD-Contribuições, EFD-Reinf and eSocial
SPED (Sistema Público de Escrituração Digital, Public Digital Bookkeeping System) is the Brazilian framework, created by Decree No. 6,022 of 22 January 2007, through which companies submit their accounting and tax books to the authorities as digitally signed electronic files instead of paper. Its bookkeeping modules include the ECD (accounting books), the ECF (corporate income tax bookkeeping, which replaced the DIPJ from 2014), the EFD ICMS/IPI (monthly tax books for the state ICMS and the federal IPI), the EFD-Contribuições (PIS/Pasep and Cofins), the EFD-Reinf (withholdings and other tax information) and eSocial (labour, social security and tax information on hired individuals). Each module has its own rule on who files, how often and by when.
This guide covers the SPED bookkeeping modules, the validation and signing program (PVA) and the ICP-Brasil digital certificate. Electronic invoices (NF-e and NFC-e, NFS-e) and the IBS/CBS tax reform have their own guides for Brazil.
Key dates.
-
ICMS Agreement (Convênio ICMS) No. 143/2006 created the EFD, the digital tax books for ICMS and IPI, later governed by SINIEF Adjustment (Ajuste SINIEF) No. 02/2009.
-
Decree No. 6,022 created SPED. Its first projects were the ECD, the EFD and the national NF-e.
-
The ECF replaced the corporate income tax return DIPJ (Declaração de Informações Econômico-Fiscais da Pessoa Jurídica) from calendar year 2014.
-
Decree No. 8,373 created eSocial for labour, social security and tax information on hired individuals.
-
Receita Federal Normative Instructions (IN RFB) No. 2,003 and No. 2,004 set the current rules for the ECD and the ECF, including who files and the deadlines.
-
According to EFD-Contribuições Technical Note No. 013/2026, the regular calculation of PIS/Pasep and Cofins ends on this date with the transition to the CBS.
-
The EFD-Contribuições stays active for specific purposes, with records for CBS presumed credits from January 2027, such as on the opening inventory, and only the records still needed for revenue from events before PIS/Pasep and Cofins were abolished, received on a cash basis.
-
Last day to record the opening inventory (record F150) in the EFD-Contribuições, according to Technical Note No. 013/2026.
The obligation in brief.
Tax and e-invoicing rules change often. This guide is a summary for orientation: check the official source or talk to us before making decisions.
| Implementation | SPED since 2007 (Decree No. 6,022 of 22 January 2007). Each module applies according to its own rules; the ECF since calendar year 2014 and eSocial since Decree No. 8,373 of 2014. |
|---|---|
| Tax Authority | Receita Federal do Brasil (RFB), which runs SPED and publishes the manuals and programs. For the EFD ICMS/IPI, the state tax administrations also set deadlines and exemptions. |
| ECD | Digital accounting books (journal, ledger, trial balances and financial statements). Legal entities, including immune and exempt ones; exempt among others are Simples Nacional companies, public bodies, inactive companies and immune or exempt entities with income below R$ 4.8 million. Annual, by the last business day of June of the following year (IN RFB No. 2,003/2021). |
| ECF | Corporate income tax and CSLL bookkeeping, which replaced the DIPJ. All legal entities, including immune and exempt ones, except Simples Nacional companies, public bodies and companies with no activity in the year. Annual, by the last business day of July of the following year (IN RFB No. 2,004/2021). It recovers the ECD data, mandatory for lucro real taxpayers. |
| EFD ICMS/IPI | Digital tax books for ICMS and IPI. ICMS and/or IPI taxpayers, one file per establishment; some states exempt certain taxpayers. Monthly, with deadlines set by each state. A file can be corrected without authorisation until the last day of the third month after the period (Ajuste SINIEF No. 11/2012). |
| EFD-Contribuições | PIS/Pasep and Cofins, under the cumulative and non-cumulative regimes. Legal entities with taxable events for these contributions, one monthly file centralised by the head office. By the 10th business day of the second month after the period (IN RFB No. 1,252/2012). |
| EFD-Reinf | Income paid and withholdings not related to employment, such as outsourced labour, PIS/Pasep, Cofins and CSLL withholdings, CPRB and IRRF. Events by the 15th of the following month (earlier business day if there are no banking hours), except event R-3010, due within 2 business days. With eSocial, it feeds the DCTFWeb (IN RFB No. 2,043/2021). |
| eSocial | Labour, social security and tax information on hired individuals (Decree No. 8,373/2014). Anyone who hires an individual service provider. Payroll events transmitted and closed by the 15th of the month after the period. |
| Format | Text files with pipe-delimited records and fields for the ECD, ECF and EFD ICMS/IPI, according to each module's layout (Ato COTEPE/ICMS No. 44/2018 for the EFD ICMS/IPI). XML events sent by webservice or web portal for the EFD-Reinf and eSocial. |
| Validation program | The RFB distributes a program for each bookkeeping module (Programa Validador e Assinador, PVA; the generator program PGE for the EFD-Contribuições) to validate the file, sign it and send it. The RFB recommends always using the latest version. |
| Digital Signature | ICP-Brasil digital certificate, a premise of SPED. EFD ICMS/IPI: type A1 or A3, with the company's e-CNPJ, the legal representative's e-CPF or an electronic power of attorney. ECD: always signed by an accountant with e-CPF, plus the person responsible. eSocial webservice: always ICP-Brasil. EFD-Reinf: e-CNPJ or e-CPF; MEIs and Simples Nacional companies with up to one employee can use a gov.br account. |
| Penalties | ECD, and ECF of taxpayers not under lucro real: 0.02% of gross revenue per day of delay, up to 1% (Article 12 of Law No. 8,218/1991). ECF of lucro real taxpayers: 0.25% of pre-tax net income per month or fraction, up to 10%, with reductions for late filing (Article 8-A of Decree-Law No. 1,598/1977). |