DCTFWeb (Web Declaration of Federal Tax Debits and Credits) is the monthly declaration that confesses federal debts — social-security contributions, IRRF (withholding income tax), and PIS/COFINS/CSLL withheld at source. Successor to the traditional DCTF for these taxes, it is fed automatically by the events of eSocial and EFD-Reinf. PER/DCOMP (Electronic Request for Refund/Reimbursement or Offset Declaration) is the operational instrument for using tax credits — a cash refund, reimbursement of an accumulated credit, or offset against taxes coming due (National Tax Code art. 74). Both are governed by RFB Normative Instruction 2,005/2021. It is a critical operational set both for recurring compliance and for the post-success phase of using a credit after a Writ of Mandamus or credit recovery.
DCTFWeb — monthly confession of debts
What it is
DCTFWeb is the monthly electronic declaration by which the taxpayer confesses federal debts to the RFB (Federal Revenue Service) — it constitutes the tax credit. The taxes covered include:
- Employer social-security contribution (20% on payroll + RAT (occupational-accident risk) × FAP (accident-prevention factor) + Third-Party contributions)
- Insured employee’s social-security contribution (withheld from the employee)
- CPRB — Social-Security Contribution on Gross Revenue
- IRRF (withholding income tax) on labor income
- IRRF, PIS/COFINS/CSLL withheld at source (services, rents, etc.)
- Funrural (rural social-security) contribution and contributions to Sesc/Senac/Sesi/Senai (Third-Party contributions)
Automated pre-filling
DCTFWeb arrives at the company pre-filled through integration with eSocial and EFD-Reinf:
- The company transmits eSocial and EFD-Reinf on time (the 15th of the following month)
- The RFB processes the events and generates the eSocial S-5000 return events
- DCTFWeb is assembled automatically based on those returns + EFD-Reinf
- The company accesses it via e-CAC (the RFB taxpayer portal), reviews it, completes it and transmits it
- The system generates the DARF (federal tax payment slip) for payment
Deadline
By the 15th business day of the month following the taxable event, under RFB Normative Instruction 2,005/2021 (the same deadline as for paying the social-security contribution). The DARF must be paid by the same date — a delay generates a late-payment penalty of 0.33%/day (capped at 20%) + Selic (the benchmark interest rate) interest.
Replacement of the traditional DCTF
DCTFWeb did not fully replace the old DCTF. The traditional DCTF remains mandatory for federal taxes that do not go through DCTFWeb:
- IRPJ (corporate income tax), CSLL (social contribution on net profit), PIS/COFINS as assessed (Actual Profit, Presumed Profit, Arbitrated Profit)
- IPI (excise tax)
- IOF (tax on financial transactions)
- CIDE (contribution for intervention in the economic domain)
- PIS/Pasep and COFINS on imports
A typical company files DCTFWeb + the traditional DCTF monthly, each one for different taxes.
PER/DCOMP — operation of federal credits
What it is
PER/DCOMP is the RFB’s electronic program for filing three types of request:
- PER (Electronic Request for Refund) — to receive the credit in cash (a refund via DARF) when there is a balance in the taxpayer’s favor due to an undue or excess payment
- PER (Electronic Request for Reimbursement) — to receive the credit in cash when the credit is from bookkept IPI, non-cumulative PIS/COFINS with no linked debit, or accumulated export credits
- DCOMP (Offset Declaration) — to use the credit in an offset against a federal tax coming due, under National Tax Code art. 74
Legal basis
- National Tax Code art. 74 — the taxpayer’s right to offset credits against debts owed to the same Treasury
- Law 9,430/1996 art. 74 — the rules governing federal offsets
- RFB Normative Instruction 2,055/2021 — the operational rules for PER/DCOMP
Offset — modalities
A federal offset can be made against different types of debt:
- Taxes administered by the RFB — IRPJ, CSLL, PIS/COFINS, IPI, IOF, IRRF, social-security contributions (with restrictions)
- Same tax only — social-security credits can only offset social-security debts (the cross-offset ban — Law 13,670/2018)
- Taxes administered by the PGFN (the Attorney-General of the National Treasury) — debts registered as Overdue Federal Debt can only be settled via a tax settlement (a simple DCOMP offset is not allowed). Details in our Tax Litigation pillar
Typical sources of a tax credit
- Undue or excess payment — payment made by mistake, in duplicate, or in an amount higher than owed
- Negative balance of IRPJ/CSLL — when monthly estimates or annual estimated payments exceeded the amount owed at year-end
- Credit recognized by a final and unappealable judicial decision — a Writ of Mandamus recognizing the right to offset (STJ Summaries 213 and 460)
- Credit recognized administratively — a favorable administrative tax proceeding, an administrative ruling
- Non-cumulative PIS/COFINS credit — where there is an accumulation with no debit to link it to
- IPI credits — bookkept and financial
Prior habilitation of a judicial credit
The procedure
When a credit is recognized by a final and unappealable judicial decision (especially a Writ of Mandamus based on STJ Summaries 213 and 460), the taxpayer cannot offset directly via PER/DCOMP. Prior habilitation of the credit before the RFB is required.
Steps
- The favorable judicial decision becomes final and unappealable
- A prior-habilitation request via e-CAC — attaching a full copy of the decision, a statement of the credit calculation, and proof of the company’s incorporation
- RFB analysis — a tax auditor checks documentary compliance, the calculation, and the identity between the taxes paid and the subject matter of the decision. Average term: 30-90 days
- Decision ruling — grants or denies the habilitation
- After approval — the taxpayer can file monthly DCOMPs until the habilitated credit is exhausted
Required documentation
- A full copy of the final and unappealable decision
- A certificate of finality (that the decision is unappealable)
- A statement of the credit calculation with Selic indexation
- Copies of the payment receipts (the original DARFs that generated the credit)
- A power of attorney (if filed through a lawyer) and identification of the legal representative
Denial — alternatives
If habilitation is denied (usually due to a divergence in the calculation or a lack of identity between the taxes), the options are:
- A statement of disagreement within the administrative proceeding itself
- Defense in an administrative tax proceeding and a possible appeal to CARF (the administrative tax appeals council)
- As a last resort, a standalone lawsuit to unlock the habilitation
Non-homologated offset and the 75% penalty
The regime
An offset via DCOMP is declaratory — the taxpayer declares it and the tax is deemed paid. But the RFB has a 5-year term to homologate the offset or not. If it identifies an irregularity (a non-existent credit, an amount higher than recognized, a lack of prior habilitation), it can not homologate it and charge the “offset” tax as outstanding.
The 75% penalty
When the offset is deemed “undeclared” or “manifestly unfounded” — use of a credit without legal basis, without prior judicial habilitation, or fraudulently — a qualified penalty of 75% of the “offset” amount applies (Law 9,430/96 art. 18 §2, amended by Law 13,670/2018).
Situations of an “undeclared” offset
- A third party’s credit (cross-offset is banned — Law 13,670/2018)
- A credit assessed in a judicial decision that is not yet final and unappealable
- A credit without prior habilitation where it is required
- A credit from a tax not administered by the RFB
- A credit already used previously
- A credit arising from a later payment
Financial impact
For a company that “offsets” BRL 10 million with a credit later deemed undeclared: a charge for the principal (BRL 10M) + a 75% penalty (BRL 7.5M) + Selic interest. Total: ~BRL 20M+ in exposure. An irregular offset is one of the most aggressive tax liabilities.
Mitigation — voluntary disclosure
If the company identifies the irregularity itself before any ex officio procedure, voluntary disclosure (National Tax Code art. 138) allows paying the principal + interest without the 75% penalty. A preventive audit of PER/DCOMP is widely recommended — the cost of the audit is a fraction of the liability avoided.
Deadlines — statute of limitations and lapse of credits
The credit’s statute of limitations — 5 years
The taxpayer’s right to request a refund or reimbursement, or to file a DCOMP, lapses in 5 years counted from the undue payment (National Tax Code art. 168). After that term, the credit is lost.
The starting point of the term
The starting point depends on the nature of the credit:
- Undue or excess payment: 5 years counted from the payment date
- A final and unappealable judicial decision: 5 years counted from the date it became final and unappealable (not from the original payment)
- A law declared unconstitutional by the STF (Federal Supreme Court): 5 years counted from the publication of the STF ruling
- Negative balance of IRPJ/CSLL: 5 years counted from the close of the fiscal year
DCOMP homologation term — 5 years
The RFB has 5 years to homologate the offset filed via DCOMP or not (Law 9,430/96 art. 74 §5). If it does not respond within the term, the offset is deemed tacitly homologated — the tax is definitively offset.
Operational strategy
Companies with significant credits should:
- Map the statute-of-limitations deadlines of each pending credit
- Prioritize using or requesting a refund of the credits closest to lapsing
- Keep individualized control of each DCOMP transmitted (date, amount, credit identification)
- Track the tacit-homologation term (5 years from filing)
Common challenges and pitfalls
1. DCTFWeb not amended after an eSocial/EFD-Reinf amendment
A company amends eSocial or EFD-Reinf but forgets to amend the corresponding DCTFWeb. The RFB compares the bases — a divergence triggers an automatic tax review.
2. Banned cross-offset
Law 13,670/2018 banned cross-offsetting — social-security credits can only offset social-security debts, IRPJ credits cannot offset a social-security contribution, etc. Companies that maintained an old cross-offset operation had to migrate to the restricted regime. A common error in a multi-tax company.
3. PER/DCOMP without prior habilitation (a judicial credit)
A company wins a Writ of Mandamus with the right to offset, the decision becomes final and unappealable, and it files a DCOMP directly without requesting prior habilitation. The RFB deems it “undeclared” — a 75% penalty on the “offset”. A costly and avoidable error.
4. A poorly prepared calculation statement
The habilitation of a judicial credit requires a detailed calculation statement: identification of the tax, periods, amounts paid, correct Selic indexation, attached receipts. A confusing statement leads to a denial — the company loses 30-90 days before starting over.
5. Offsetting PGFN debts (Overdue Federal Debt) via DCOMP
Debts registered as Overdue Federal Debt cannot be offset via DCOMP. An offset at the PGFN stage requires a tax settlement, under a specific program. Companies that attempt a DCOMP against Overdue Federal Debt have the offset rejected and remain exposed to tax foreclosure.
6. Delay in transmitting DCTFWeb
A DCTFWeb not transmitted on time creates a presumption of default even when the eSocial/EFD-Reinf events have been filed and the DARF has been paid. A company that is current financially can become formally irregular. This blocks the issuance of a clearance certificate (CND).
7. Forgetting a DCOMP on negative balances
A negative balance of IRPJ/CSLL at year-end is a credit in the taxpayer’s favor. Many companies forget to request a refund or file a DCOMP in the following years — the credit lapses 5 years after the close of the fiscal year. An audit of historical DCOMPs frequently identifies “forgotten” credits.
How the firm works on DCTFWeb and PER/DCOMP
The firm works on two complementary fronts:
1. Monthly DCTFWeb operation
- Validation of the pre-filling (eSocial + EFD-Reinf → DCTFWeb)
- Cross-reconciliation with payroll and invoices
- Timely transmission (the 15th business day) and generation of the DARF
- Monitoring of tax reviews and responding to notices
- Coordinated amendment when there is a change in eSocial or EFD-Reinf
2. Strategic PER/DCOMP operation
- Complete mapping of available tax credits (undue payment, negative balance, judicial decision, accumulated PIS/COFINS credits)
- Prior habilitation of judicial credits (a Writ of Mandamus with STJ Summaries 213/460)
- A technical calculation statement with Selic indexation and legal grounds
- Filing of monthly DCOMPs linked to taxes coming due
- Control of the statute-of-limitations term (5 years from the payment or from the decision becoming final and unappealable)
- Preventive audit of historical DCOMPs — identification of forgotten credits
3. Defense in a non-homologated offset
- A statement of disagreement against a non-homologation ruling
- Defense in an administrative tax proceeding with an appeal to CARF
- Negotiation via voluntary disclosure (National Tax Code art. 138) when the company identifies an irregularity before the RFB
- In extreme cases, a standalone lawsuit to unlock the offset
The model combines a fixed component for monthly compliance and a variable component (a success fee) tied to the use of the credits identified. In historical PER/DCOMP audit projects, the model is predominantly a success fee. A senior consultant leads the habilitation of significant credits and the defense in audits.
References and official sources
Tax diagnostic — DCTFWeb operation and use of credits
In 30 minutes with a senior consultant, we map DCTFWeb pending items, credits available for PER/DCOMP, statute-of-limitations deadlines, and a habilitation strategy. No cost, no commitment.
Book a diagnostic