Pular para o conteúdo
Versão em português Specialty · SAP TDF in Brazil

SAP TDF in Brazil: what the Tax Declaration Framework delivers and how to run it

SAP Tax Declaration Framework for Brazil (TDF) is the SAP solution that turns tax data from the ERP (enterprise resource planning system) into SPED files and into events for eSocial and EFD-Reinf, with a monitor that records every run up to proof of delivery.

This path covers the differences between TDF, ACR and DRC, the fiscal period cycle, rectification, version history and a roadmap to run the topic.

Data path

The path of the data to the tax authority

See the detail in How a SPED report is born in TDF.

  1. 01

    Document and posting in the ERP

    Invoices, accounting, assets and master data feed the report.

  2. 02

    Legal report in TDF

    EFD ICMS IPI, Contribuições, Reinf, ECD and ECF, for example through transaction /TMF/EFD.

  3. 03

    Obligations monitor

    The Tax Obligation Monitor keeps the run, its status and the file (/TMF/TOM02).

  4. 04

    Receita Federal and state tax authorities

    The file is validated and sent; the proof of delivery comes back to the monitor.

The direct answer

What SAP TDF is, on one screen

TDF is an SAP product for the declaration layer: it reads what the ERP has already recorded and produces what the tax authority asks for, in the structure of blocks, records and fields of each obligation.

Definition

Integrated tax management solution

Source: SAP Help Portal, product page

SAP describes TDF as an integrated tax management solution that lets you meet Brazilian tax requirements. The product page on the Help Portal shows version 1.0, Support Package (SP) 20, and the Application Help last updated in October 2025.

What it generates

Five SPED reports and messaging

Source: SAP Help Portal, Reporting

TDF creates EFD ICMS IPI, EFD Contribuições, EFD-Reinf, ECD and ECF. Besides the files, the Messaging Framework receives, validates, stores and sends to the government events such as those of eSocial and EFD-Reinf.

What it is not

It is not the tax calculation on the invoice

TDF deals with declaration. Tax determination in each transaction happens in the SAP calculation layer or in the integrated tax engine, and the legal report depends on that calculation having left the right data. The page on tax setup covers that layer.

Three names appear together in SAP documentation

TDF, ACR (Advanced Compliance Reporting) and DRC (Document and Reporting Compliance) sit side by side on the Help Portal, each with its own pages. The next section shows what SAP says about each one and how to find out which one your environment uses.

Index

Choose your entry point by your role

Four entries, one per role, straight to the block that answers your question.

01Tax and accounting

How the fiscal period opens, closes and is rectified in TDF, and how eSocial and EFD-Reinf fit into the close.

Go to section

02IT and integrator (SAP)

How a SPED report is born in TDF, what exists around it, the layout versions by Support Package and the update routine.

Go to section

03Management and decisions

What to bring to the meeting with the integrator, four scenarios with no real client, the effect of the alphanumeric CNPJ and of the reform, and where DFSpro comes in.

Go to section

04Understand and check

What TDF is on one screen and how it differs from ACR and DRC, with the ten steps, the checklist, common mistakes, official sources and frequently asked questions.

Go to section
Direct links
Differences

TDF, ACR and DRC: three names, three scopes

Confusion between the names is the most common reason a project starts from the wrong assumption. The table shows what the official documentation of each one says.

TDF

Tax Declaration Framework for Brazil

  • What SAP saysBrazilian tax management: creates the five SPED reports and has messaging.
  • Where it appearsIts own product on the Help Portal, version 1.0 SP20.
  • How to recognize itTransactions /TMF/EFD, /TMF/PCO, /TMF/ECD, /TMF/ECF and /TMF/TOM02.

ACR

Advanced Compliance Reporting

  • What SAP saysCompliance reporting framework of S/4HANA; the Brazil option gives access to the SPED reports.
  • Where it appearsS/4HANA and Cloud help, component FI-LOC-FI-BR-ACR.
  • How to recognize itReports BR_SPED_EFD, BR_SPED_ECD and the business function /TMF/BF_SPED.

DRC

Document and Reporting Compliance

  • What SAP saysElectronic documents and statutory reports: NF-e, NFS-e, CT-e, NF3-e and MDF-e.
  • Where it appearsSAP Brazil page and SAP ERP help.
  • How to recognize itNF-e/CT-e Monitor and eDocument Cockpit.

The most useful cross-check for anyone who works with SPED is this: the ACR help lists technical objects of the SPED reports with the /TMF/ prefix (for example /TMF/EFD_REPORT and /TMF/ECD_REPORT), the same namespace as TDF. Source: SAP Help Portal, alphanumeric CNPJ in the SPED reports. In practice, anyone who knows the TDF structure will recognize the logic of the S/4HANA SPED reports, and the question of which path applies to your environment is answered by release and model (own installation or cloud), not by name.

How to find out what your environment uses today

01

Look for the menu and the transactions

If the menu Accounting, Tax Declaration Framework for Brazil exists, along with transactions /TMF/EFD, /TMF/PCO, /TMF/ECD, /TMF/ECF and /TMF/TOM, SPED goes out through TDF.

02

Look for the statutory reports app

If EFD ICMS IPI is generated in the Run Statutory Reports app, with report BR_SPED_EFD, SPED goes out through ACR.

03

Look at how NF-e and CT-e go out and come in

If the NF-e/CT-e Monitor and the eDocument Cockpit talk to the SAP communication service, the electronic document goes through DRC. That is a separate subject from the SPED report, covered in migration from GRC NF-e to DRC and in electronic tax documents.

04

Record the combination

It is common for the same group to have one path for the document and another for the report, or different paths per company. Write down version, model and owner of each one before any migration decision.

Why this difference matters in operation

The trail of each run lives in different places. In TDF, the Tax Obligation Monitor keeps the run, its status and the proof of delivery. In the Run Statutory Reports app of S/4HANA Cloud, after sending the file to the authority the team updates the submission status in the run itself and, if the authority answered, marks the run as accepted or rejected. Sources: Tax Obligation Monitor; EFD ICMS IPI in the Cloud.

Whoever audits the close needs to know where to look for evidence: run parameters, generated file, submission status and the authority's answer. If the group has more than one path, the evidence is scattered, and the first governance gain is an index that says, per company and per obligation, where each trail is kept.

Moving from one name to another is a roadmap decision, not a naming one

SAP maintains TDF with its own documentation and SP20, and documents ACR and DRC on separate pages. ACR, with the five Brazilian SPED reports and the proof of each file, is covered in SAP ACR in S/4HANA. Which one makes sense in your horizon depends on the SAP version, the deployment model and the integrator's plan. If you want to organize that decision from the tax side, describe your scenario to DFSpro.

Scope

What TDF delivers in Brazil

Five SPED files and a messages layer. Each card shows what the SAP help describes and the description from the SPED portal. Deadlines appear as the SAP help describes them: always check the current legislation of your state and of the Receita.

Monthly

EFD ICMS IPI

  • What it isBookkeeping of tax documents and ICMS and IPI assessment, digitally signed.
  • In TDFTransaction /TMF/EFD; Convênio ICMS 143/2006 and Ato Cotepe 02/2009; blocks 0, B, C, D, E, G, H, K, 1 and 9.
  • VersionSP20: Guia Prático 3.1.8 (layout 18) and technical note 2025.001 (layout 20).
Monthly

EFD Contribuições

  • What it isBookkeeping of PIS/Pasep and Cofins, delivered by the 10th business day of the second month (SAP).
  • In TDFTransaction /TMF/PCO; detailed or consolidated view; block M generated when the file is created.
  • VersionSP20: technical note 009/2024.
Monthly

EFD-Reinf

  • What it isIncome paid, withholdings, social contribution and gross revenue, delivered by the 15th (SAP).
  • In TDFMenu Execute EFD-Reinf (/TMF/REINF); preprocessing for R-2010 and R-2020.
  • VersionMessaging: layout 1.3 since SP11.
Annual

ECD

  • What it isDigital Accounting Bookkeeping: journal, ledger and trial balances, due by the last business day of June of the following year (IN RFB 2.003/2021, art. 5, as worded by IN RFB 2.142/2023).
  • In TDFTransaction /TMF/ECD. The accounting and tax content of ECD and ECF: ECD and ECF in SAP.
  • VersionSP15: layout 8.
Annual

ECF

  • What it isDigital Tax Accounting Bookkeeping, which replaced the DIPJ, due by the last business day of July.
  • In TDFTransaction /TMF/ECF; its own checklist and questionnaire.
  • VersionSP20: layout 11 (the Receita publishes layout 12: see Versions).
Events

Messaging Framework

  • What it isA layer that receives, validates, stores and sends to the government events of eSocial, EFD-Reinf and e-Financeira.
  • In TDFEvent and batch monitors; detail in the section messaging.
  • VersionSP15: e-Financeira 1.1.3.

Around the reports there are support tools, such as the Nota Fiscal Viewer, the execution log and the PIS and COFINS credit suite, covered in support tools. The link between each obligation and the document that feeds it, state by state and sphere by sphere, is in SPED and ancillary obligations in SAP.

Inside

How a SPED report is born in TDF

The path is the same in every obligation: configuration, run, official run in the monitor, validation, submission and proof of delivery. What changes is the content of each block.

  • 01ERP dataLoaded invoices, accounting postings, materials, assets and partners. The report only sees what is already in the system.
  • 02ConfigurationOrganizational structure (company, establishment, registration), layout version and TDF Customizing tables.
  • 03Preliminary runRuns the report without recording it as official (draft mode). The execution log shows parameters, time and records read.
  • 04Official runRuns as official and is recorded in the Tax Obligation Monitor. An approved preliminary run can be promoted to official.
  • 05Validation and submissionThe file is downloaded from the monitor, checked in the government validator program and sent to the Receita or to the state tax authority.
  • 06Proof of deliveryThe receipt comes back to the monitor. Without it, the period has no trail.

Sources: SAP Help Portal, ReportingTax Obligation Monitor, promote runRectificationEFD Contribuições, PVA validator

What each step asks of the team

1 and 2. Data and configuration

TDF does not check the content: the SAP help says the system does not validate the file data and that, if the tax authority rejects it, the analysis is manual. The calculation and master data layer guarantees the data. That is why the tax master data (NCM, for example) weighs so much in block 0 of EFD ICMS IPI.

Source: SAP Help Portal, EFD ICMS IPI

3 and 4. Preliminary and official

The execution log filters by use: original, rectified or preliminary (draft). The official run parameter decides whether the run is recorded in the monitor. The safe practice is to finish the preliminary run, check it and only then promote it or run it as official.

Source: Execution logExecution service by legacy system

5 and 6. Submission and proof

From the monitor you download the file and send it to the Receita. The proof of delivery is loaded back into the monitor. Whoever rectifies needs that trail, because rectification starts from an official run that is already completed.

Source: SAP Help Portal, ReportingRectification

Project guidance

Treat each step as a control point with an owner and evidence: parameters used, preliminary run checked, official run, validated file, proof of delivery. This is a recommendation on how to run it, not a legal requirement.

Operation

The fiscal period has a life cycle

TDF controls the fiscal period status by company and establishment. SAP offers an enterprise service that changes this status, with the allowed transitions described below. Anyone who integrates an external system with TDF needs to respect this order.

StatusWhat it representsCan go to
OpenedOpen period.Calculating
CalculatingAssessment in progress.Opened or Reporting
ReportingReport generation and delivery.Calculating or Closed
ClosedClosed period.Recalculating
RecalculatingRedo the assessment of a closed period.Rectifying
RectifyingRectification in progress.Closed

Source: SAP Help Portal, Change Fiscal Period Status. The service requires company, establishment, year, month and status, and returns success or failure to the calling system.

Project guidance

Use the period status as a governance rule for the close: no document adjustment after the period enters Reporting unless someone decides to go back to Calculating and records the reason. This is recommended practice, not a legal requirement, and it works because TDF already offers the control.

Operation

Rectify without losing the trail

TDF rectification only applies to a SPED file that already has status Completed in the Tax Obligation Monitor. The design keeps the original official run and creates a new one with type Rectified.

  1. Identify what is wrongBlock 0 data (master data) or transactional data (documents and postings of the other blocks). The correction path is different for each.
  2. Correct at the sourceBlock 0 records are changed with the report Maintain SPED Reports Master Data for Rectification (transaction /TMF/EDIT_SPED_MD). Data of the other blocks is changed through shadow tables. The correction must never be made only in the text file.
  3. Run again with the same parametersUse the same organizational structure and the same run data as the official run being rectified.
  4. Confirm the rectificationThe system asks whether the file should be rectified. On confirmation, it generates a file whose run type is Rectified.
  5. Send the file to the Receita FederalThe company sends the rectified file, which TDF generates but does not transmit by itself.
  6. Record the proof of deliveryAfter the Receita confirms, load the proof-of-delivery file into the monitor.

Source: SAP Help Portal, Rectification of SPED Reports. The help lists rectification for EFD ICMS IPI, EFD Contribuições, ECD and ECF.

Rectification shows why the preliminary run exists

Whoever always runs as official piles up runs that need to be rectified. Whoever checks a preliminary run and then promotes it to official brings fewer rectifications to the monitor. The monitor also lets you promote the preliminary run to official with the Promote Run button. Source: Tax Obligation Monitor.

Events

eSocial, EFD-Reinf and e-Financeira: the Messaging Framework

EFD-Reinf and eSocial work by events, not by a single file. TDF handles this difference with its own layer, which receives the events, validates them, stores them and sends them to the government.

What the layer does

It receives data from other systems, validates, stores and sends it to the government. It has a processing map, an event monitor (one event per line) and a batch monitor.

Since SP15 it also stores the government's returns, such as R-5001 and R-5011 of EFD-Reinf and S-5001, S-5002, S-5003, S-5011, S-5012 and S-5013 of eSocial.

How the submission reaches the government

Since SP11 messages go out through SAP PI or SOAMANAGER. The configuration guide covers the digital certificate, each path and an asynchronous submission without PI for EFD-Reinf.

EFD-Reinf preprocessing

It scans the electronic invoices and fills in the service type to generate events R-2010 and R-2020. It only supports invoices with one service item and can only be repeated in the period if the events have not been sent yet.

Integration with HCM

The TDF eSocial can receive events generated in SAP ERP HCM. The help asks for the logical system, the RFC destination and the implementation of BAdI PAY_BR_EFD_BADI16.

Project guidance

Treat each event type as a mini-project: owner of the master data, generation rule, certificate, test environment and return monitoring. The question that avoids the most rework is where each piece of data is born (payroll, purchasing, accounts payable) before it reaches the framework. For eSocial, see how eSocial is generated and reconciled.

Tools

What exists around the report

Besides the files, TDF has tools that support operation and audit. Many teams only find out they exist when they need them.

ToolWhat it is forDocumented technical detailSource
Tax Obligation Monitor (TOM)Tracks runs, statuses, downloaded files and proofs of delivery.Transaction /TMF/TOM02, UI5 version in /TMF/TOM03; Promote Run button to promote the preliminary run to official.TOM, Roles
Execution logShows parameters, time, user, generated file, reported records and lines read.Transaction /TMF/TRACE_LOG; it only records if the log level is set in Maintain Master Data of Legal Reports.Execution log
Nota Fiscal ViewerShows the invoices already loaded in TDF, flagging audited and corrected invoices.Up to 5,000 invoices per date range; by default, the last 100; transaction /TMF/NFV01.Nota Fiscal Viewer
Register template spreadsheetGenerates an Excel file with the tables and fields to fill in SPED records by upload.Report abbreviations EFD, ECD, ECF, PCO and REI.Generate Template File for SPED Registers
Execution by legacy systemLets an external system trigger EFD ICMS IPI or ECF in TDF.Requires a parameter in table /TMF/D_TOM_JOB_S; the official-run field decides whether the run is recorded in the monitor.Execute SPED EFD ICMS/IPI, Execute SPED ECF
Invoice audit recordRecords in TDF the invoices audited by an external application.Takes company, branch, document number, timestamp and user.Record Nota Fiscal Auditing
PIS/COFINS Control Credits SuiteShows, calculates and plans PIS and COFINS credits from fixed assets and invoices.Apps to configure asset classes, import invoices and credit amounts, and migrate recovered credit.PIS/COFINS Control Credits
One-time partnerAllows a one-time partner on the invoices that feed the EFD ICMS IPI and EFD Contribuições reports.Supported in EFD ICMS IPI and EFD Contribuições since SP10.One Time Partner

For those coming from SAP ERP, the ERP documentation describes what was added for integration with TDF: Customizing, tax incentives, authorization checks and CIAP (the ICMS credit control for fixed assets). Source: SAP Help Portal, SAP ERP.

Maintenance

Versions and layouts by Support Package

TDF evolves through Support Packages (SP). The list shows what the official documentation records. SP07 brought the standard roles and SP08 the installation guide for a new version (RolesInstallation).

SP04

EFD Contribuições and eSocial

The EFD Contribuições report and eSocial arrive.

SP10

EFD-Reinf and rectification

EFD-Reinf, SPED rectification, promotion of a preliminary run to official, one-time partner; eSocial 2.2.02 and 2.3, Reinf 1.1.

SP11

Route through PI or SOAMANAGER

eSocial 2.4.01, Reinf 1.3 and submission to the government through SAP PI or SOAMANAGER.

SP15

Layout Builder

Fewer manual steps in the update; ECD layout 8, ECF layout 6, e-Financeira 1.1.3 (September 2020).

SP16

EFD ICMS IPI layout 15

TDF starts to support layout 15, with general fixes.

SP20

Recent layouts

EFD ICMS IPI: Guia Prático 3.1.8 (layout 18) and technical note 2025.001 (layout 20); Contribuições: technical note 009/2024; ECF: layout 11.

Cross-check the SAP help with what the Receita publishes

EFD ICMS IPI

Since 10/09/2026, Ato COTEPE/ICMS 86/26 indicates version 3.2.4 (Ato COTEPE/ICMS 44/18, art. 1, sole paragraph). Before generating the file, check the current guide on the SPED Portal. In record C100, do not post documents that carry only the new taxes of the consumption reform; for ICMS and IPI, post the documents issued under Ajuste SINIEF 49/25 that combine new taxes with ICMS or IPI.

ECF

The SPED portal has the ECF Layout 12 Manual (Ato Declaratório Executivo Cofis 02/2026), while the TDF SP20 help cites layout 11. Both sources are official and they differ: check the layout supported by the release before the annual cycle.

Maintenance

Layout update routine

Every Receita publication gets an owner, an effective date and a test in the quality environment before the real period.

  1. Monitor the Receita publicationsGuias Práticos, technical notes and manuals each have their own effective date. Record the date of each one.
  2. Compare with your Support PackageThe TDF What's New section says which layout each SP supports. If the release is behind, the update goes into the plan.
  3. Check the SAP Notes cited by the helpSAP delivers legal changes through SAP Notes before a new SP. They require a login to SAP for Me and should be read by whoever has access.
  4. Test with a real periodRun the preliminary run of a closed period and compare it with the official file delivered, record by record.
  5. Update the standard configurationWith the Layout Builder there are fewer manual steps, but the company's own extensions remain its responsibility.
  6. Keep the evidenceFile the comparison, the SP version and the notes applied for the next audit.

Layout UpdatesAlphanumeric CNPJ

Where practice drifts

If the team maintains TDF or the S/4HANA SPED with its own extensions, the layout-versus-release cross-check is worth doing with tax support. Talk to us about your update cycle.

New scenario

Alphanumeric CNPJ and tax reform in SPED

Two changes cut across all SPED reports right now: the new CNPJ format and the arrival of the new consumption-reform taxes in the documents that feed the bookkeeping.

Alphanumeric CNPJ: what SAP delivered

Reports and objects

  • ReportsECD, ECF, EFD Contribuições, EFD ICMS IPI and EFD-Reinf.
  • Organizational structureThe view cluster /TMF/ORGSTR_VC accepts the new format in the CNPJ root, the responsible federal entity, the software house and the establishment.

Limit of the delivery

SAP notes that the delivery covers only the listed reports and objects. Using the alphanumeric CNPJ in other solutions depends on other deliveries.

In S/4HANA on-premise, the delivery is available in the versions below; in Cloud Public Edition, from 2602.

S/4HANA versions with the delivery

  • S/4HANA 2025
  • S/4HANA 2023 FPS03
  • S/4HANA 2022 SPS05
  • S/4HANA 2021 SPS07
  • S/4HANA 2020 SPS09
  • S/4HANA 1909 SPS11
  • S/4HANA 1809 SPS13
  • Cloud Public Edition 2602

Consumption reform: what the Receita advised

Record C100

The EFD ICMS IPI Guia Prático 3.2.2 covers documents that carry only the new taxes and those that combine new taxes with ICMS or IPI.

Release check

Check EFD ICMS IPI against the current Guia Prático, not against the version the release had at installation. SAP points to a leading note for the tax reform; its content requires a login. CBS and IBS: tax reform in SAP.

The useful question is not whether the new format has arrived, but which interfaces still assume that the CNPJ is numeric: partner master data, invoice import, in-house validations and management reports.

Project guidance

Include the new format in every interface that feeds TDF and in any extension that validates the CNPJ by length or numeric type.

Run it

Ten steps to run TDF

The roadmap works both for someone who inherited a TDF in operation and for someone taking over a fiscal period for the first time. Each step has a result you can check.

StepWhat to doExpected result
01. Take inventory of what existsTDF version and Support Package, deployment type, reports in use, in-house extensions and who operates each one.One page with a picture of the environment.
02. Map the organizational structureCompanies, establishments, state registrations, CNPJ roots and software house in the TDF master data. Every new establishment enters here and in the other layers, a topic of fiscal rollout.List checked against the official register.
03. Confirm roles and authorizationsThe standard roles cover the report transactions, the ECF checklist and questionnaire, the Nota Fiscal Viewer and the monitor.Who runs, who approves and who sends, with no improper overlap.
04. Build the obligations calendarCross the calendar of the Receita and the states with the fiscal period status in TDF.A calendar with an internal date earlier than the legal date.
05. Check the layout versionCompare the effective date published by the Receita with what your SP supports.List of covered and uncovered layouts.
06. Run the preliminary run of the periodRun as preliminary (draft), read the execution log and examine block by block.Preliminary file with the differences explained.
07. Correct at the sourceMaster data (NCM, material type, partner) and documents (invoice, posting) are corrected in SAP, not in the file.Preliminary run with no open divergence.
08. Run as official and validateRecord it in the monitor, download the file and validate it in the government validator program.Validated file stored with the run.
09. Send and record the proofSend the file to the Receita or to the state tax authority and load the proof of delivery into the monitor.Period with a complete trail.
10. Close the period and record the lessonsChange the period status, note what was rectified, what was corrected at the source and what becomes a master data rule.List of permanent adjustments that reduces next month's work.

Each step touches a layer that has its own page: tax setup, tax master data and ancillary obligations and SPED. What matters is the order you run them in.

Readiness

Readiness checklist for TDF

Twenty points that a tax or IT lead can check without opening the system from end to end. Each one comes from a behavior documented in the official sources.

  • Environment inventoried. Version, SP, deployment type and owner of each report are recorded.
  • Organizational structure checked. Each establishment with CNPJ, state registration and CNPJ root matching the official register.
  • Roles reviewed. Runner, approver and whoever sends to the tax authority are different people when internal policy asks for it.
  • Internal calendar. Internal close date earlier than the legal date for each obligation.
  • Layout cross-checked. Guia Prático, technical note or Receita manual compared with what the installed SP supports.
  • Preliminary before official. No official run without a checked preliminary run in the same period.
  • Execution log on. Log level set in Maintain Master Data of Legal Reports.
  • Block 0 clean. Same materials in different plants with the same NCM; stable material descriptions close to the close.
  • Blocks G, H and K checked. CIAP, inventory and production and stock checked against the source modules.
  • Reinf with service type. Service invoices with the service type filled in by preprocessing or by the BAdI.
  • Messaging tested. Digital certificate, submission destination (PI or SOAMANAGER) and event returns tested in the test environment.
  • Government validator. File checked in the validator program before submission.
  • Proof of delivery in the monitor. Proof file loaded into the Tax Obligation Monitor after confirmation.
  • Rectification rehearsed. The team knows which report to use for block 0 and how to use the shadow tables for the other blocks.
  • Period with the right status. The fiscal period status reflects the real phase: assessment, report or closed.
  • Alphanumeric CNPJ. Interfaces, master data and in-house extensions accept the new format.
  • Extensions documented. BAdIs and in-house TDF code listed, with an owner and a regression test.
  • External integrations. Systems that trigger reports through a service have the run parameter configured.
  • Authorizations reviewed after each SP. New roles and authorization objects delivered in the SP were assessed.
  • Evidence filed. Parameters, log, validated file and proof kept per period, with a retention time set by internal policy.
Pitfalls

Common mistakes, with the source of each

Twelve situations that come up when TDF is operated without knowing what the documentation already says, grouped by where they start.

Data and master data

Assuming TDF validates the content of the file

The SAP help says the system does not check the file data and that a tax authority rejection is analyzed manually. The check has to exist beforehand: preliminary run, validator and reading of the blocks.

Registering the same material with a different NCM in two plants

In block 0 of EFD ICMS IPI this duplicates the information in record 0200. The help recommends the same NCM in both plants.

Mass-editing material descriptions close to the close

Description changes show up in record 0205, and the help warns that they are critical for report performance.

Expecting the alphanumeric CNPJ to affect only master data

The new format crosses the organizational structure, the reports and any extension that validates the CNPJ by numeric type.

Forgetting what the report does not support

The EFD ICMS IPI help records that the report does not support FI-CA. Whoever uses FI-CA has to handle that point outside it.

Run, rectification and proof

MistakeWhat happens and how to avoid itSource
Always running as officialEvery official run enters the monitor. The preliminary run exists to check beforehand and can be promoted to official afterwards.SAP: monitor
Re-running the rectification with different parametersRectification requires the same organizational structure and the same data as the official run being rectified.SAP: rectification
Forgetting the proof of deliveryThe proof of delivery is loaded into the monitor after the Receita confirms. Without it, the period has no complete trail.SAP: rectification
Leaving the execution log offThe log only exists if the level is set. Without it, there is no way to rebuild parameters, time and records processed in an old run.SAP: log

Layout and integrations

  1. Using Reinf preprocessing with invoices that have several service itemsThe report only supports invoices with one service item, and can only be repeated in the period if the events have not been sent yet. SAP: Reinf
  2. Updating the layout without comparing with the Receita effective dateThe SAP help and the SPED portal can cite different versions of the same layout, as happens with ECF. Comparing avoids a surprise in the annual cycle. Receita: ECF layout
  3. Integrating HCM without the BAdI and the RFC destinationThe TDF eSocial depends on the logical system, the RFC destination and the event-sending BAdI to receive what HCM generates. SAP: HCM
Internal meeting

Ten questions to bring to the integrator

Before any decision on TDF, the answers to these questions tell you whether the environment is under control or depends on one person's memory.

  1. Which SPED path does each group company use today?TDF, ACR or other, with the release and deployment model of each one.
  2. Which Support Package is installed?And what is the next Receita layout it does not yet cover?
  3. Who runs, who approves and who sends?For each obligation, by name and with a backup.
  4. Where is the proof of delivery for periods already closed?In the monitor, in another system or in a network folder?
  5. Which in-house extensions exist?BAdIs, Z programs and own tables, with an owner and a regression test.
  6. How does master data prevent different NCMs across plants?Validation when the material is created, or a check only at the close?
  7. What was the last rectification?What caused it, how it was corrected and whether the cause became a master data rule.
  8. What does the migration plan foresee for SPED?Keep TDF, change path, or decide after stabilization.
  9. Which interfaces have already been assessed for the alphanumeric CNPJ?Master data, invoice import, organizational structure and extensions.
  10. Who answers on the tax side when the file is rejected?Someone has to analyze the rejection manually, because TDF does not check the content.
Scenarios

Four scenarios with no real client

Illustrative examples, built from the documented behavior of the tools. None portrays a specific case.

ScenarioSituationWhat to doSource
RectificationAn inbound invoice missed in EFD ICMS IPI, after submission.Correct through the shadow tables, run again with the same parameters, confirm the rectification, send the Rectified file and load the proof into the monitor.SAP: rectification
Master dataSame material in two plants with different NCM: block 0 duplicates record 0200.Correct in the master data, with the same NCM in both plants, and turn the rule into a validation when the material is created.SAP: EFD ICMS IPI
ReinfServices with withholding on many invoices, some with more than one service item.Fill in the service type by rules (company, establishment, item, partner); handle invoices with more than one item through the BAdI or manually.SAP: Reinf
LayoutA new Receita Guia Prático effective next month and the installed SP behind.Compare with the SP help, open the update plan and test in the quality environment with the SAP Notes cited.Receita: Guia 3.2.2

The topic of the second scenario starts in tax master data.

DFSpro's role

Where DFSpro comes in in this layer

TDF is an SAP product and has its integrator. DFSpro, a consultancy in SAP Tax Governance, works on the tax layer of the project.

  • Tax layer. Master data, calculation and report have to say the same thing; that is the tax work.
  • ABAP and customization. ABAP development and tax customization, including extensions the client's rule requires.
  • General architecture. Stays with the integrator; DFSpro does not replace it.
  • GUEPARDO Tax. A product of NTT DATA, with the license sold by DFSpro as an Authorized Channel; the GUEPARDO site lists the SAP DRC and SAP TDF badges (GUEPARDO site).

See also the SAP Tax Governance Program and the migration to S/4HANA. To organize master data, calculation and close around TDF: describe your scenario to DFSpro.

Official sources

Official sources with links

Every technical fact in the text comes from one of these pages. The SAP help changes by Support Package, and the Receita publishes new layouts often: always check the current version on the project date.

NTT DATA

  • Tax software, badges and certifications of GUEPARDO the badges and certifications declared by the company that owns the product. NTT DATA, page read on 16/10/2026
Frequently asked questions

Frequently asked questions about SAP TDF

Sixteen short answers. The references are in the list of sources.

01What is SAP TDF?+

It is the SAP Tax Declaration Framework for Brazil, an integrated tax management solution from SAP to meet Brazilian tax requirements. It creates the EFD ICMS IPI, EFD Contribuições, EFD-Reinf, ECD and ECF files and has a messages layer for events such as those of eSocial and EFD-Reinf. The product page on the Help Portal shows version 1.0, Support Package 20.

02Are TDF, ACR and DRC the same thing?+

No. They are different names in SAP documentation, with their own pages. TDF is the Brazilian declaration solution. ACR is the compliance reporting framework of SAP S/4HANA, and its Brazil option gives access to the SPED reports. DRC brings together electronic documents and statutory reports. Which one your environment uses depends on the release and the deployment model.

03Which obligations does TDF generate?+

EFD ICMS IPI, EFD Contribuições, EFD-Reinf, ECD and ECF. Through the Messaging Framework it also handles eSocial and EFD-Reinf events and, since SP15, e-Financeira.

04Does TDF transmit the file to the Receita?+

For SPED files, the Tax Obligation Monitor lets you download the file, which is validated and sent to the Receita, and the proof of delivery comes back to the monitor. For eSocial and EFD-Reinf events, the Messaging Framework sends to the government through SAP PI or SOAMANAGER, signed with a digital certificate.

05Does TDF check that the file is correct?+

It does not check the content. The SAP help says the system does not validate the data in the EFD ICMS IPI file and that, if the tax authority rejects it, the inconsistencies are analyzed manually. The check has to be done beforehand, with a preliminary run, a reading of the blocks and the government validator.

06What is the difference between a preliminary and an official run?+

The official run is recorded in the Tax Obligation Monitor. The preliminary (draft) run is for checking and, since SP10, can be promoted to official with the Promote Run button. The execution log filters by use: original, rectified or preliminary (draft).

07How do you rectify a SPED file in TDF?+

It is only possible for files with status Completed in the monitor. Block 0 is changed with the report Maintain SPED Reports Master Data for Rectification, and the other blocks through shadow tables. You run again with the same organizational structure and the same data as the official run, confirm the rectification, generate the Rectified file, send it to the Receita and load the proof of delivery.

08Does TDF work on SAP S/4HANA?+

The SAP S/4HANA help documents the Brazilian SPED reports through ACR, with the business function /TMF/BF_SPED, and the S/4HANA Cloud help documents EFD ICMS IPI in the Run Statutory Reports app. TDF documentation has its own installation and update guide. Which combination applies to your release is a matter for the SAP compatibility matrix and the integrator's plan.

09What changes with the alphanumeric CNPJ?+

SAP delivered support for the format in the ECD, ECF, EFD Contribuições, EFD ICMS IPI and EFD-Reinf reports and in the TDF organizational structure, available in listed S/4HANA on-premise versions and in Cloud Public Edition 2602. Use in other solutions depends on other deliveries.

10Does the tax reform change SPED in TDF?+

The Receita has already advised, in the EFD ICMS IPI Guia Prático 3.2.2, how to handle documents with the new taxes in record C100. SAP points to a leading tax reform note in its help, and the content of that note requires a login. Checking the current Guia Prático against the installed release is the safe practice.

11Which roles and authorizations does TDF use?+

SAP delivers standard roles for the report transactions (/TMF/EFD, /TMF/PCO, /TMF/ECD, /TMF/ECF), the ECF checklist and questionnaire, the Nota Fiscal Viewer and the Tax Obligation Monitor. Whoever does not use the standard roles has to grant an equivalent authorization, such as object S_ICF with value NFV01 for the Nota Fiscal Viewer.

12Can I trigger a report from a legacy system?+

Yes, SAP offers enterprise services to run EFD ICMS IPI and ECF from a legacy system, with a parameter in table /TMF/D_TOM_JOB_S and an official-run indicator, which records the run in the monitor.

13Does TDF calculate the tax on the invoice?+

That is not its role. TDF deals with declaration: it reads what the ERP and the calculation engine have already recorded and produces the files. Tax determination in each transaction stays in the SAP calculation layer or in the integrated tax engine.

14How do I know whether my release supports the layout the Receita published?+

Compare the effective date published by the Receita with the What's New list of your Support Package on the Help Portal. In some cases the two sources cite different versions, as with ECF, where the Receita publishes layout 12 and the TDF SP20 help cites layout 11. The check is mandatory.

15What does DFSpro do about TDF?+

DFSpro works on the tax layer of the SAP project, including ABAP development and tax customization, and does not replace the integrator in the general architecture. The topic described here is knowledge about how TDF works and how to run it.

16Does GUEPARDO Tax replace TDF?+

They are different layers. GUEPARDO Tax works on tax calculation and assessment; the license is sold by DFSpro as an Authorized Channel of NTT DATA. TDF deals with the legal report. The official GUEPARDO site lists SAP DRC and SAP TDF badges.

Next steps

Start with the picture of your environment

The starting point is the same for those who operate and those who decide: which SPED path your SAP uses today, in which release and with which extensions. From that list, layout updates, rectification and fiscal period stop being a surprise.