contato@taxup.com.br   São Paulo · Rio de Janeiro · Brasília
PT EN
METHODOLOGY · SPED · EFD · NF-e · Payroll · 60 months

Digital tax audit.
60 months, every thesis.

Analysis of SPED-Fiscal, EFD-Contribuições, NF-e and payroll files of the last 5 years to identify unused tax credits — every consolidated legal thesis, in a systematic methodology.

Published maio 4, 2026 · Updated maio 29, 2026 · 9 min read

The digital tax audit is the firm’s standard methodology for identifying tax-recovery opportunities. It cross-checks SPED-Fiscal, EFD-Contribuições, NF-e and payroll files of the last 60 months against every consolidated legal thesis (Theme 69, Theme 779, Theme 163, Theme 201, etc.). Instead of applying an isolated thesis, it maps everything that can be recovered at once — producing a consolidated report of opportunities by estimated value.

01

Files analyzed

SPED-Fiscal (EFD ICMS-IPI)

Monthly bookkeeping of ICMS and IPI operations of the last 60 months. It allows identifying:

  • Unused energy/communication credits (Complementary Law 87/96)
  • Fixed-asset credits in installments
  • Overpaid ICMS-ST (Theme 201)
  • Overpaid DIFAL
  • Retroactive credits

EFD-Contribuições

Monthly bookkeeping of PIS, COFINS and CPRB. It allows identifying:

  • Exclusion of ICMS from the PIS/COFINS base (Theme 69)
  • Essential inputs not credited (Theme 779)
  • Single-phase amounts paid in error
  • Exclusion of ISS from the PIS/COFINS base (Theme 118, on trial)

NF-e

Invoices issued and received. Validation of tax classification (NCM), CFOP, rates, special regimes. Identifies systemic taxation errors.

Payroll + eSocial

To identify employer-INSS credits on indemnity amounts (STF Theme 163 — vacation bonus, prior notice, cash transport allowance, the first 15 days of sick leave).

02

Methodology in 4 phases

Phase 1 — Collection (1-2 weeks)

The client provides SPED, EFD, NF-e and payroll files of the last 60 months. Generally these are XML/TXT files extracted from the ERP. For companies with SAP, access to the tax-reporting environment is needed.

Phase 2 — Processing and cross-checking (2-3 weeks)

Specialized software processes the files, identifies patterns and cross-checks data between subsystems. For example: it cross-checks SPED-Contribuições (PIS/COFINS paid) with SPED-Fiscal (ICMS shown on invoices) to identify Theme 69 differences.

Phase 3 — Technical modeling of the theses (1-2 weeks)

A senior consultant analyzes the identified opportunities and models each thesis legally — checks applicable case law, limitation periods, the appropriate modality (administrative vs judicial). Produces a reasoned technical opinion.

Phase 4 — Consolidated report and action plan (1 week)

Delivery of a report with:

  • Total estimated recoverable value
  • Detail by thesis (Theme X, Y, Z)
  • Recommended modality (PER/DCOMP, writ of mandamus, ordinary action)
  • Estimated timeline
  • Billing model (success fee, fixed or mixed)
03

Why a systematic audit beats an isolated thesis

The “isolated thesis” model — attacking only Theme 69, for example — captures a fraction of the recoverable potential. A systematic audit:

  • Captures 100% of the opportunities — all theses applicable to the company’s profile
  • Optimizes fees — a single audit, not several isolated projects
  • Identifies operational problems — systemic errors that affect current taxation, not just past
  • Cross-checks data between subsystems — divergences between SPED-Fiscal and EFD-Contribuições become a thesis
  • Produces rigorous documentation — useful both for recovery and for defense in an audit
04

References and official sources

Digital tax audit — free initial assessment

A quick analysis of the company to estimate the recoverable volume and applicable theses in 30 minutes. A full audit (60 months) is a separate project, on a success-fee model.

Book a diagnostic
05

Frequently asked questions

How long does the digital tax audit take?
For mid-market companies (BRL 50M-BRL 500M revenue), the full cycle takes 6-8 weeks: file collection (1-2 weeks), processing (2-3 weeks), technical modeling (1-2 weeks), final report (1 week). Large companies with customized SAP may take up to 12 weeks due to extraction complexity.
Which files do I need to provide?
SPED-Fiscal, EFD-Contribuições, ECF, ECD, NF-e (XML issued and received) and eSocial/payroll files of the last 60 months. Generally, modern ERPs (SAP, Senior, Totvs, Sankhya) export these files easily. Proprietary or customized ERPs may require technical access for extraction.
How much does the audit cost?
We generally work on a success-fee model — no upfront cost, a percentage of the recovered credit (20-40%). For large companies with a complex project (a long-term audit), a mixed model (reduced fixed + smaller success fee) may be more advantageous. The model is proposed after a free initial analysis of the profile.
Does the audit identify current operational problems?
Yes. In addition to retroactive recovery opportunities, the audit frequently reveals systemic ERP errors — incorrect tax classification (wrong NCM), special regimes not applied, credits not used in the regular assessment. These adjustments improve the company’s current taxation going forward, generating recurring savings beyond the retroactive recovery.
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 →