contato@taxup.com.br   São Paulo · Rio de Janeiro · Brasília
PT EN
ANCILLARY OBLIGATION · ANNUAL · IN RFB 2.003/2021 (ECD) · IN RFB 2.004/2021 (ECF) · SPED Accounting

ECD + ECF.
Digital accounting bookkeeping and IRPJ/CSLL assessment under Actual Profit.

ECD (Digital Accounting Bookkeeping) and ECF (Tax Accounting Bookkeeping) are the two central annual filings of the SPED Accounting-Tax system. ECD replaced the physical Journal and Ledger books (IN RFB 2.003/2021); ECF replaced the DIPJ and centralized the assessment of IRPJ/CSLL with additions, exclusions and offsets (IN RFB 2.004/2021). Mandatory for every legal entity taxed under Actual Profit and for Presumed Profit entities that distributed exempt profits above the booked amount. Deadline: ECD by the last business day of June; ECF by the last business day of July. The base-year compliance pillar for Actual Profit.

Published maio 22, 2026 · Updated maio 29, 2026 · 11 min read

The ECD — Digital Accounting Bookkeeping and the ECF — Tax Accounting Bookkeeping are the two central annual filings of the SPED Accounting-Tax system. Governed by IN RFB 2.003/2021 (ECD) and IN RFB 2.004/2021 (ECF). The ECD replaced the physical Journal and Ledger books — all accounting bookkeeping is transmitted digitally. The ECF replaced the DIPJ and centralized the assessment of IRPJ/CSLL with additions, exclusions, offset of tax loss and CSLL negative base (digital LALUR). Mandatory for every legal entity taxed under Actual Profit; also for Presumed Profit entities that distributed exempt profits in an amount higher than the booked figure. Deadline: ECD by the last business day of June of the following year; ECF by the last business day of July. Penalties under Law 9.430/96 and Law 8.218/91. The pillar of annual Actual Profit compliance.

01

ECD and ECF — definitions and contrast

ECD — Digital Accounting Bookkeeping

The ECD is the mandatory digital form of the Journal, Ledger and Daily Trial Balances. It replaced the physical accounting bookkeeping and the registration with the commercial bodies.

  • Content: accounting entries for the year, chart of accounts, trial balances, financial statements
  • Legal basis: Decree 8.683/2016 + IN RFB 2.003/2021
  • Obligated: Actual Profit entities, Presumed Profit entities in specific cases, immune and exempt entities with revenue above BRL 4.8M
  • Deadline: last business day of June of the year following the financial year
  • Validation: through the RFB Validator program (PVA) + digital signature

ECF — Tax Accounting Bookkeeping

The ECF is the filing that assesses IRPJ and CSLL under Actual Profit and under Presumed Profit (specific form). It replaced the former DIPJ.

  • Content: full accounting-tax assessment, LALUR (Actual Profit Assessment Book) and LACS (Social Contribution Assessment Book), additions, exclusions, loss offsets
  • Legal basis: Decree 8.683/2016 + IN RFB 2.004/2021
  • Obligated: every legal entity, except Simples Nacional and MEI
  • Deadline: last business day of July of the following year
  • Imports data from the ECD via the referential chart of accounts

Relationship between the two

ECD and ECF are complementary and sequential: the ECD must be filed before the ECF, because the ECF imports the booked balance of each account via the referential chart of accounts. Errors in the referential chart lock the ECF — the validator rejects the transmission.

02

Referential chart of accounts — the key to integration

What it is

The referential chart of accounts is a structure standardized by the RFB that classifies each accounting account into a tax category. Every account in the company’s internal chart must be mapped to a referential account.

Why it matters

The ECF is built from the referential chart of accounts. Each referential account feeds a specific line of the balance sheet, income statement and LALUR. A wrong mapping means a wrong IRPJ/CSLL assessment — it can result in overpayment or in a tax fine for underreporting.

Types of referential chart

  • L100 — Actual Profit (full balance sheet + income statement)
  • L200 — Presumed Profit
  • L300 — Immune and exempt entities

Practical operation

Companies with a complex chart of accounts (many branches, segments, cost centers) need:

  1. A complete inventory of the internal chart
  2. Account-by-account mapping to the referential (J050 of the ECD)
  3. Review of the mapping whenever a new account is created
  4. Annual reconciliation before the ECD — a divergence locks the transmission
03

Blocks K (LALUR) and M — IRPJ/CSLL assessment

Structure of the ECF

The ECF is structured in blocks, each covering a section of the assessment:

  • Block 0 — Opening, identification, ECD reference
  • Block C — Information recovered from the ECD (automatic import)
  • Block E — Information recovered from the previous ECF (LALUR balances)
  • Block J — Chart of accounts and referential mapping
  • Block KLALUR and LACS (Actual Profit Assessment Book and Social Contribution Assessment Book) — additions, exclusions, offsets
  • Block L — Net income
  • Block MAssessment of IRPJ and CSLL payable
  • Block N — Calculation of IRPJ and CSLL in the case of Annual Actual Profit
  • Block P — Assessment under Presumed Profit
  • Block T — Assessment under Arbitrated Profit
  • Block U — Immune and exempt entities
  • Block X — Economic information (detailed income statement, exports, etc.)
  • Block Y — General and additional information
  • Block 9 — Closing

Block K — LALUR and LACS

This is the core of the assessment under Actual Profit:

  • Part A: additions and exclusions to Net Income to reach Actual Profit (the IRPJ base) and the CSLL Calculation Base
  • Part B: controls of amounts to be added or excluded in future years — tax loss to be offset, CSLL negative base, subsidy credits (affected by Law 14.789/2024), accelerated depreciation, control of taxes with suspended enforceability, etc.

Block M — Final assessment

  • Calculation of IRPJ (15% on Actual Profit + 10% surtax on the portion above BRL 20,000.00/month)
  • Calculation of CSLL (9% on the Calculation Base)
  • Offset of tax loss and CSLL negative base (limited to 30% of the year’s profit — the “cap”)
  • Assessment of the balance payable or credit to be offset

Errors in Block K (especially poorly grounded exclusions) and Block M (offsets beyond the 30% limit) are the most common sources of assessment in the ECF.

04

Deadlines, amendments and penalties

Annual deadlines

  • ECD: by the last business day of June of the year following the financial year (e.g.: ECD 2025 → filed by 30/Jun/2026)
  • ECF: by the last business day of July of the following year (e.g.: ECF 2025 → filed by 31/Jul/2026)

In years with a special situation (spin-off, merger, incorporation, winding-up), the deadlines are shorter and specific — apply IN RFB 2.003 art. 5 and IN RFB 2.004 art. 5.

Amendments

Both ECD and ECF accept free amendment for up to 5 years counted from the original filing. The procedure is simple: transmit a new complete version of the file with an amendment indicator. The last transmitted version prevails.

Attention: an amendment that increases the tax payable or reduces the loss to be offset must be accompanied by payment of the differences with interest (Selic) + late-payment fine of 0.33% per day (capped at 20%), unless there is voluntary disclosure (CTN art. 138 — which removes the fine).

Penalties — Law 8.218/91 art. 12

  • Late filing of the ECD: BRL 500.00 (Presumed Profit) or BRL 1,500.00 per month (Actual Profit), with a 50% reduction if filed before an ex officio procedure
  • Filing with incorrect information: 3% on the value of the transactions or BRL 100.00 per piece of incorrect information (whichever is higher)

ECF penalties — Law 9.430/96 art. 8-A

  • Late filing of the ECF: 0.25% on net income per month of delay (min. BRL 500.00 / max. 10% of net income)
  • Inaccuracy or omission: 3% on the value of the transactions, with a minimum of BRL 500.00

Regime cancellation

Repeated delay in the ECF can lead to exclusion from Actual Profit and ex officio classification under Arbitrated Profit — a presumed calculation base (arbitrated profit is typically higher than the actual). It is the most severe penalty, avoided only with preventive compliance.

05

Common challenges and pitfalls

1. Outdated referential mapping

The company creates a new internal account during the year but does not update the mapping to the referential chart. The ECD locks at validation. A common problem in companies with high account creation (dynamic cost centers, projects, contracts).

2. ECD × ECF inconsistency

The ECF imports data from the ECD via the referential chart. If the ECD was amended after the ECF, there is a divergence. Every ECD amendment requires a corresponding amendment of the ECF for the same financial year.

3. Poorly maintained LALUR Part B

Part B of the LALUR is the “inventory” of additions/exclusions to be used in future years — accumulated tax loss, CSLL negative base, accelerated depreciation, pre-Law 14.789 subsidy. Companies that do not keep precise control of Part B lose offset opportunities or end up assessed for offsetting nonexistent amounts.

4. Offset beyond the 30% cap

The offset of tax loss and CSLL negative base is limited to 30% of the year’s profit (Law 9.065/95). Offsetting above the cap is the most common source of the RFB’s automated assessment. The ECF rejects it automatically, but there are cases where a manual adjustment goes unnoticed.

5. Impact of Law 14.789/2024 — investment subsidy

The repeal of art. 30 of Law 12.973/2014 completely changed the treatment of investment subsidies (state ICMS tax incentives). Companies with a history of excluding these subsidies from the IRPJ/CSLL base must review Part B of the LALUR and the ECF for the affected years — a matter in active litigation.

6. Presumed Profit with an ECD/ECF obligation

A Presumed Profit entity normally does not file the ECD, except when: (a) revenue above BRL 78 million in the prior year; (b) it distributed exempt profits above the booked amount; (c) there was an incorporation/merger/spin-off. Common errors: companies that distributed exempt profit above the permitted amount without amending the ECD are exposed to an IRPJ + IRRF assessment on the partners.

7. Cross-checking with SPED Contributions and SPED Fiscal

The ECD must be consistent with the SPED Fiscal (ICMS/IPI) and the SPED Contributions (PIS/COFINS). Divergences between the financial statements (ECD) and the tax bases declared (SPED Fiscal/Contributions) generate a cross-audit.

06

How the firm operates in ECD/ECF

The firm operates in ECD and ECF as a technical line complementary to the accounting work — not replacing the accountant, but validating the tax assessment and operating the LALUR/LACS:

1. Annual implementation and technical review

  • Review of the referential chart of accounts mapping (J050 of the ECD)
  • Validation of LALUR Part A: additions and exclusions with a legal basis
  • Validation of LALUR Part B: controls of future amounts
  • Review of tax loss and CSLL negative base offsets (the 30% cap)
  • Reconciliation of ECD ↔ ECF ↔ SPED Fiscal ↔ SPED Contributions

2. Use of tax-saving theses via the ECF

  • Structuring of exclusions grounded in case law (Thesis of the Century — STF Theme 69 on the IRPJ/CSLL base, exclusion of ICMS-ST from revenue, interest on equity, deductible goodwill, etc.)
  • Retroactive application of consolidated theses via ECF amendment (5-year limit)
  • Coordination with a Writ of Mandamus for theses still under discussion

3. Defense and remediation

  • Response to RFB notices on ECD/ECF divergences
  • Defense in the administrative tax proceeding against assessments for LALUR disallowances (undue exclusions, offsets beyond the cap, post-14.789 subsidy)
  • Amendment of ECD/ECF up to 5 years retroactively when there is an applicable thesis
  • Negotiation via voluntary disclosure (CTN art. 138) to avoid a fine

The model is a fixed annual fee (pre-transmission review) or a success fee in cases of retroactive amendment using a thesis. A senior consultant conducts the technical review and the defense in audits.

07

References and official sources

Tax diagnostic — technical review of ECD and ECF

In 30 minutes with a senior consultant, we map exposures in the LALUR, the referential mapping, opportunities for retroactive amendment with an applicable thesis and a pre-transmission review schedule. No cost, no commitment.

Book a diagnostic
08

Frequently asked questions

What is the difference between ECD and ECF?
ECD (Digital Accounting Bookkeeping) replaced the physical Journal and Ledger books — it is the accounting transmitted digitally. ECF (Tax Accounting Bookkeeping) replaced the DIPJ — it is the filing that assesses IRPJ and CSLL with additions, exclusions and offsets (LALUR and LACS). The ECD is a “snapshot of the accounting”; the ECF is the “tax assessment built from the accounting”. The ECF imports data from the ECD via the referential chart of accounts — which is why the ECD must be filed before the ECF.
What are the deadlines for the ECD and ECF?
ECD: by the last business day of June of the year following the financial year (ECD 2025 filed by 30/06/2026). ECF: by the last business day of July (ECF 2025 filed by 31/07/2026). In special situations (spin-off, merger, incorporation, winding-up), the deadlines are shorter under IN RFB 2.003 art. 5 and IN RFB 2.004 art. 5.
Does a Presumed Profit company need to file the ECD?
As a rule, no. But there are exceptions: a Presumed Profit entity with revenue above BRL 78 million in the prior year, an entity that distributed exempt profits in an amount higher than the booked figure, or an entity that underwent an incorporation/merger/spin-off. In these cases, the ECD is mandatory. As for the ECF, every legal entity except Simples Nacional and MEI must file it.
Can I amend the ECD or ECF for prior financial years?
Yes. Both ECD and ECF accept free amendment for up to 5 years counted from the original filing. You simply transmit a new complete version with an amendment indicator — the last version prevails. Attention: an amendment that increases the tax payable requires payment of the difference with Selic interest + late-payment fine of 0.33%/day (capped at 20%), unless there is voluntary disclosure (CTN art. 138, which removes the fine).
What is the referential chart of accounts and why does it matter?
It is a structure standardized by the RFB that classifies each accounting account into a tax category. Every account in the company’s internal chart must be mapped to a referential account. The ECF is built from this mapping — a wrong mapping means a wrong IRPJ/CSLL assessment. Companies with a complex chart (branches, segments, cost centers) must keep the mapping updated with every account created.
What happens if I offset a tax loss beyond the 30% cap?
The offset of tax loss and CSLL negative base is limited to 30% of the year’s profit (Law 9.065/95, known as the “30% cap”). Offsetting above the limit is a common source of the RFB’s automated assessment. The ECF rejects an offset above the cap at the validator, but there are cases where manual adjustments go unnoticed. A preventive pre-transmission audit avoids the problem. The cap was confirmed by the STF (Theme 117) with modulation — valid only for closed financial years.
Did Law 14.789/2024 affect the ECD/ECF retroactively?
Not retroactively. Law 14.789/2024 repealed art. 30 of Law 12.973/2014 as of 2024, changing the treatment of investment subsidies (ICMS tax incentives) in the IRPJ/CSLL base. Prior financial years (2014-2023) remain governed by art. 30, but there is intense controversy over the retroactive reach of any audit attempt. Companies with a history of excluding these subsidies should review LALUR Part B and consider a preventive writ of mandamus. A matter in active litigation.
What is the risk of not filing or being late with the ECF?
A fine of 0.25% on net income per month of delay (min. BRL 500 / max. 10% of net income), under Law 9.430/96 art. 8-A. With repeated delay, there is an additional risk of exclusion from Actual Profit and ex officio classification under Arbitrated Profit — a presumed base typically higher than the actual. It is the most severe penalty of the regime. Preventive compliance largely pays off against this exposure.
TECHNICAL AUTHORSHIP

TaxUp Tax Practice

Brazilian Tax Law

Content produced by the TaxUp technical team and reviewed by a senior consultant before publication. Meet the firm →