Regulatory Map · Brazil

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.

Timeline

Key dates.

  1. 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.

  2. Decree No. 6,022 created SPED. Its first projects were the ECD, the EFD and the national NF-e.

  3. 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.

  4. Decree No. 8,373 created eSocial for labour, social security and tax information on hired individuals.

  5. 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.

  6. 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.

  7. 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.

  8. Last day to record the opening inventory (record F150) in the EFD-Contribuições, according to Technical Note No. 013/2026.

At a glance

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.

Summary of SPED in Brazil: ECD, ECF, EFD ICMS/IPI, EFD-Contribuições, EFD-Reinf and eSocial
ImplementationSPED 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 AuthorityReceita 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.
ECDDigital 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).
ECFCorporate 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/IPIDigital 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çõesPIS/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-ReinfIncome 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).
eSocialLabour, 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.
FormatText 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 programThe 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 SignatureICP-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.
PenaltiesECD, 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).
Questions that matter

Frequently asked questions.

Which SPED bookkeepings does a company in Brazil have to submit?

It depends on its taxes and activity. Legal entities that keep commercial accounting file the ECD, and almost all legal entities file the ECF, except Simples Nacional companies, public bodies and inactive companies. ICMS or IPI taxpayers file the EFD ICMS/IPI for each establishment, companies with PIS/Pasep and Cofins taxable events file the EFD-Contribuições, those that withhold or pay income not related to employment file the EFD-Reinf, and anyone who hires individuals reports through eSocial.

When are the ECD and the ECF due?

The ECD is due by the last business day of June and the ECF by the last business day of July of the year after the calendar year they cover (IN RFB No. 2,003/2021 and No. 2,004/2021). In cases of extinction, merger, split or incorporation the deadlines depend on the date of the event. The ECF recovers the ECD data, and for lucro real taxpayers that recovery is mandatory.

Who sets the deadline for the EFD ICMS/IPI?

Each state. The EFD ICMS/IPI is a monthly file per establishment, but the RFB practical guide says that transmission deadlines are defined by state legislation, and some states exempt certain taxpayers. Under Ajuste SINIEF No. 11/2012, a file can be corrected without authorisation until the last day of the third month after the end of the period; later corrections need authorisation, unless the state waives it for ICMS (Ajuste SINIEF No. 27/2020).

What certificate do I need to sign SPED files?

An ICP-Brasil digital certificate. For the EFD ICMS/IPI it must be type A1 or A3 and can be the company's e-CNPJ, the legal representative's e-CPF or that of a holder of an electronic power of attorney. The ECD is always signed by an accountant with e-CPF and also by the person responsible. Sending eSocial events by webservice always requires an ICP-Brasil certificate.

What are the fines for filing the ECD or the ECF late?

For the ECD, and for the ECF of companies not taxed under lucro real, 0.02% of gross revenue per day of delay, capped at 1% (Article 12 of Law No. 8,218/1991). For the ECF of lucro real taxpayers, 0.25% of pre-tax net income per month or fraction, capped at 10%, reduced by 90% if filed within 30 days of the deadline (Article 8-A of Decree-Law No. 1,598/1977). The ECF fine is calculated on transmission and is not changed by a later correction.

What happens to the EFD-Contribuições with the tax reform?

According to Technical Note No. 013/2026, the regular calculation of PIS/Pasep and Cofins ends on 31 December 2026. In 2027 the EFD-Contribuições stays active for specific purposes, such as revenue taxed on a cash basis and the new records for CBS presumed credits, and the opening inventory (record F150) must be recorded by the last day of June 2027. The CBS and the IBS themselves have their own guide for Brazil.

How we help

Our approach to SAP integration and SPED

SPED asks a SAP or ERP system to produce several files from the same data, each with its own layout, frequency and deadline: accounting books for the ECD and ECF, monthly tax books per establishment for the EFD ICMS/IPI, PIS/Pasep and Cofins records for the EFD-Contribuições, and XML events for the EFD-Reinf and eSocial. The data has to be consistent across modules and with the electronic invoices already reported, pass the PVA validation of the current layout and be signed with an ICP-Brasil certificate; with the transition to the CBS, the EFD-Contribuições records also change from 2027.

We start with the SAP localisation for Brazil and SAP Document and Reporting Compliance wherever the standard covers the scenario, and complement them with our Code10 eCompliance Hub and integration services where data from other systems, state-specific rules or layout changes go beyond it, so that each file can be checked before it reaches the PVA.

SAP standard first: see how we implement SAP DRC See how Code10 eCompliance Hub works See all implementation options: SAP DRC, Code10 eCompliance Hub and eCompliance as a Service
Same country

Other regulations in Brazil.

See the Brazil guide

Official sources

Dates and deadlines checked against official sources on 14 November 2026.

Let’s start with your context

Is your SAP system ready to generate and validate every SPED file on time?

Tell us which systems and countries are involved and we will review the scope with the team that implements these obligations.

Request a demo