Oil and gas, fuels and mining: the tax is charged once, at one stage, and SAP needs to know which
In fuels, ICMS applies a single time, per liter or kilo, and whoever receives the product later only reports it. In oil and gas production, the Repetro customs regime changes the tax load of each asset. In mining, CFEM arises from the first sale. Each rule needs its own treatment in the master data and on the invoice.
This page gathers what DFSpro read in official sources on single-stage ICMS, PIS and Cofins, Repetro, royalties, CFEM and Tax Reform, and the setup points that fail most often. The tax decision belongs to the client. Our role is to design the configuration, run it and prove that it works.
What weighs on oil and gas, fuels and mining, tax by tax
In this sector the tax question is not how much tax, but at which stage it is charged, by whom and in which unit.
To start the conversation: does your material master already say, item by item, whether the fuel leaves under the single-stage regime, under tax substitution (ST) or outside both?
The short answer: if it does, the tax is charged at the right stage and in the right unit. If it does not, the starting point is the item-by-regime matrix, tested on one month of invoices.
| Tax or charge | Rule that hits the sector most | Legal basis read | Where it tends to break |
|---|---|---|---|
| Single-stage ICMS on fuels | Gasoline, anhydrous ethanol, diesel, biodiesel and LPG have a single incidence, with a specific rate per unit that is the same across the country. The tax is owed by the producer, refinery, blender, importer and equivalent parties. | LC 192/2022, arts. 2 to 5; ICMS Agreements 199/22 and 15/23 | A later shipment treated as an operation with its own tax debit, and an invoice without the information on the tax already charged. |
| ICMS-ST on fuels and lubricants | The destination states may assign the sender the role of substitute for the items in Annex VII of Agreement 142/18, except CEST 06.019.00. | ICMS Agreement 110/07, clause one | An item outside the single-stage regime treated as if it were inside, or the other way round. |
| ICMS in Repetro | The import or domestic purchase of a permanent asset may have a reduced tax base for a 3% load, with no credit, and a temporary asset may be exempt on import. The tax goes to the state of economic use. | ICMS Agreement 3/18, clauses one, two and four | An asset without the NCM from the Federal Revenue list, and a state of use (UF) that was not yet defined at customs clearance. |
| PIS and Cofins on fuels | The producer and the importer of oil products pay rates set per product in the text of the law: gasoline 5.08% and 23.44%, diesel 4.21% and 19.42%. The rates actually applied today: not checked. | Law 9.718/1998, art. 4; LC 192/2022, art. 9 | A rate or credit set up under a rule that has already changed, with no history by taxable event date. |
| Oil and gas royalties | Paid monthly on the production of the field, at 10% under the general concession rule, with a possible reduction set in the bidding notice down to a minimum of 5%. | Law 9.478/1997, art. 47; Law 7.990/1989 | Calculation and booking by field without separating the base, the source of the volume and the month of payment. |
| CFEM in mining | A financial compensation on the sale, use and export of the mineral, with a rate per substance (iron 3.5%, gold 1.5%, for example), capped at 4%. | Law 7.990/1989, art. 6; Law 8.001/1990, art. 2 and Annex; Law 13.540/2017 | A base that does not follow the deduction of sale taxes and the reference price for exports. |
| IBS and CBS on fuels | A specific regime, with single incidence, a specific rate per unit, no credit for those who buy to resell, and joint liability of the buyer. | LC 214/2025, arts. 172 to 180; LC 227/2026 | Single-stage ICMS living alongside the new regime between 2029 and 2033, in different master data and invoices. |
| Selective Tax on extraction | It covers mineral goods under NCM 2601, 2709.00.10, 2711.11.00 and 2711.21.00 of Annex XVII, with the taxable event at extraction and a cap of 0.25% in the complementary law. | EC 132/2023, art. 153 § 6; LC 214/2025, arts. 409, 412, 414 and 422 | Reference value of extraction and the destination of the product (export or use) with no support in the master data. |
Choose your entry point by your role
Four entry points, one per role, straight to the block that answers your question.
01Tax and legal
What LC 192 and the agreements say about ICMS on fuels.
Go to the section02IT and SAP integrator
Eight setup points that tend to fail in fuels and mining.
Go to the section03Management and decisions
The 18 sector situations in which the process becomes a project.
Go to the section04Exploration and mining
Repetro, royalties and production sharing: what the exploration and production sector needs to know, and then CFEM.
Go to the sectionDirect links
ICMS on fuels: what LC 192 and the agreements say, in the text we read
Complementary Law 192/2022 defines the fuels with a single ICMS incidence. The Confaz agreements (Confaz is the council of state finance secretaries) set the rate, the procedure and the reporting of information.
Which fuels
Art. 2 lists gasoline and its streams, fuel anhydrous ethanol, diesel and its streams, biodiesel and LPG, including the one derived from natural gas. LC 227/2026 added the streams, which are the liquid hydrocarbons used in mechanical blending to make gasoline or diesel.
Who pays and when
Taxpayers are the producer and equivalent parties and the importer (art. 4), including the blender, the petrochemical plants and the refinery terminals. The taxable event is the exit from the taxpayer's establishment, or customs clearance on import (art. 5).
Who keeps the tax
For oil products, the tax goes to the state of consumption (art. 3, II). The rate is specific, the same across the country, and can differ by product (art. 3, V). Some points depend on a decision by the states.
Essential goods and rate limit
LC 194/2022 inserted art. 18-A in the CTN (the national tax code) and art. 32-A in LC 87: fuels, natural gas, power, communications and public transport are essential goods and services, and the rate cannot exceed the rate on operations in general.
What the agreements set
ICMS Agreement 199/22: diesel, biodiesel and LPG
It covers the single-stage regime for diesel, biodiesel and LPG/LNG, and the control, calculation, transfer and deduction. Since 01/01/2026 (Agr. 113/25), the rate is BRL 1.17 for diesel and biodiesel and BRL 1.47 for GLP/GLGN (LPG and natural gas liquids), per the unit of each product. The last change listed on the page is Agr. 67/26.
ICMS Agreement 15/23: gasoline and anhydrous ethanol
It covers the single-stage regime for gasoline and fuel anhydrous ethanol. The rate set in the wording effective from 01/01/2026 (Agr. 112/25) is BRL 1.57 per liter.
Who reports in the chain
The establishment that imported or received the fuel directly from the single-stage taxpayer, when it makes the next operation, states on the invoice the amount of tax charged before and the wording required by the agreement, records the operation data in the Confaz program and sends the information (clause fourteen of Agr. 199/22).
Fuel and lubricant under ST
Agreement 110/07 allows the destination states to assign the sender the ST of the fuels and lubricants in Annex VII of Agreement 142/18, except CEST 06.019.00. The last change listed on the page is Agr. 108/26.
LC 192, art. 6, § 2: tax incentives on these fuels follow LC 24/1975, and the text provides for offsetting mechanisms between the government levels. The LC 192 page carries marks for ADI 7181 and ADI 7191. What was decided in them: not checked.
The golden rule of the master data is to identify, by item and by state, whether the sale is inside the single-stage regime, inside ST or outside both. Whoever receives fuel from the single-stage taxpayer must report, even without paying. The doubt about which tax to charge must be settled in the material master, not on the invoice.
Federal taxes on oil products: what the text of the law says
| Topic | What the text read says | Status |
|---|---|---|
| PIS and Cofins at the refinery and on import | Art. 4 of Law 9.718/1998 sets, in the compiled text, different rates for producers and importers of oil products: 5.08% and 23.44% on gasoline and its streams, 4.21% and 19.42% on diesel and its streams. | Rates from later decrees: see the next line. |
| Coefficients of Decree 5.059/2004 | The decree sets reduction coefficients for PIS and Cofins on the import and sale of gasoline, diesel, LPG and jet fuel, in successive wordings and with date windows in the same compiled text. In the wordings read: gasoline with coefficient zero (Decree 9.101/2017), with windows in 2026 of 0.7981 (10/09 to 09/10) and of one whole (10/10 to 09/11), by Decree 13.134/2026; diesel with 0.23835 (Decree 9.391/2018) and 0.99987 until 31/05/2026; LPG with 0.75, and one whole for household LPG in containers of up to 13 kg. | Read on 22/10/2026 at Planalto. The coefficient in force by product and by taxable event date was not worked out: not checked. Changes after the reading: not checked. |
| Reduction to zero in 2022 | Art. 9 of LC 192/2022 reduced to zero until 31/12/2022 the PIS and Cofins rates set, among other provisions, in items II and III of art. 4 of Law 9.718, keeping credits. | Validity ended in the wording marked; the text refers to LC 214 for production of effects. |
| Cide on fuels | Law 10.336/2001 creates the Cide on the import and sale of oil, oil products, natural gas and fuel ethyl alcohol. | Marked by Law 15.432/2026, which changed it. Rates and taxable events: not checked. |
| Reform and the contributions | LC 214 creates the specific IBS and CBS regime on fuels and limits the 2027 CBS to the load of the federal contributions that end or are reduced (art. 174, § 1). | What happens to the rates of art. 4 of Law 9.718 after 2027: not checked. |
Repetro, royalties and production sharing: what the exploration and production sector carries
In exploration and production, the tax depends on the customs regime of the asset and on the contract of the field.
Repetro in ICMS
Agreement 3/18 allows reducing the tax base on the import and domestic purchase of permanent Repetro-Sped assets, for a 3% load with no credit, limited to the assets on the Federal Revenue list. It allows exemption on the import of a temporary asset and the exemption of deemed exports of goods made in the country.
State of economic use
The tax is owed to the state where the economic use of the asset takes place. Transferring the regime beneficiary status to another legal entity is not a taxable event for ICMS (clause seven), and the treatment is optional, by a membership form (clause nine). Changed by Agr. 220/19 and 137/20.
Customs regime
Decree 9.128/2017 changed the Customs Regulation (Decree 6.759/2009): until 31/12/2040, the rule of art. 373 (proportional payment of taxes on temporary admission for economic use) does not apply to temporary assets for oil and natural gas exploration, development and production (art. 376, I, a), and art. 458 lists the cases of the regime. The RFB (Federal Revenue) normative instruction on Repetro-Sped: not checked.
Royalties and production sharing
Under concession, royalties are 10% of production, with a possible reduction to 5% in the notice (Law 9.478, art. 47). Law 12.351/2010 covers production sharing in the pre-salt. Percentage and rules of each contract: not checked.
Law 13.586/2017, in its art. 1, allows full deduction from taxable profit and from CSLL of the amounts spent on exploration and production, with accelerated depletion (art. 1, §§ 1 and 2). Agreement 3/18 cites this law as governing Repetro-Sped. Which articles of the law deal with the customs regime: not checked.
Decree 6.759/2009 (Customs Regulation), art. 458: Repetro allows export without leaving the territory, temporary admission, drawback in the suspension mode and import for permanent stay with suspension of federal taxes (item IV, added by Decree 9.128/2017). The list of assets is drawn up by the Federal Revenue (§ 1).
Art. 461-A: Repetro is used only by a legal entity authorized by the Federal Revenue. The holder of a concession or authorization under Law 9.478, the holder of an assignment under Law 12.276/2010, the party contracted under production sharing (Law 12.351) and whoever they contract for chartering or services, with subcontractors, can be authorized.
Law 14.134/2021 (Gas Law), art. 1: sets rules for the transport of natural gas by pipeline, import and export, and for flow, treatment, processing, underground storage, liquefaction, regasification and sale, regulated and supervised by the ANP. The other articles (authorization, access, tariffs): not checked.
The same machine can enter as temporary under one contract and permanent under another, with different effects on ICMS, PIS, Cofins and import tax. The asset master data must store the regime, the applicable NCM list, the state of use and the deadline, and plan for what happens when the contract changes.
CFEM: when it arises, what it applies to and the rate by substance
CFEM is a financial compensation, not a consumption tax, but it enters the tax close and the calculation of the base.
When it arises
Art. 6 of Law 7.990/1989, as worded by Law 13.540/2017, provides for payment at the first exit by sale of a mineral good, at the act of winning a public auction and at the first purchase of a mineral good extracted under the artisanal mining permit regime (item III; item IV, use of a mineral good, not checked).
What it applies to
Under art. 2 of Law 8.001/1990, CFEM applies to the gross revenue from the sale, less the taxes charged on the sale, to the revenue calculated on use and on exports, with a reference price from the Federal Revenue or a reference value. The rate limit is 4%.
Rates in the Annex
Iron, 3.5%. Bauxite, manganese, niobium and rock salt, 3%. Diamond and other substances, 2%. Gold, 1.5%. Construction rock, ornamental rock and mineral water, 1%. There is a rule to reduce the iron rate to 2%, by decision of the regulator.
Distribution
Decree 11.659/2023 regulates the 15% share of CFEM paid to the Federal District and the affected municipalities: 55% to those crossed by a railway, 3% by a pipeline, 7% by port operations and 35% where there are mining structures. Decree 9.407/2018 was revoked by it.
Law 7.990/1989 (financial compensation for oil, gas, water resources and minerals), Law 8.001/1990 and Law 13.540/2017, in the compiled text from Planalto. Decree-Law 227/1967 (Mining Code) was opened only at the summary. DIEF-CFEM and the calculation system: not checked.
The ANM Collection FAQ, published on 07/07/2026, says payment is monthly, by the last business day of the second month after the taxable event (Law 7.990, art. 8, wording of Law 8.001). On the PGRM: ANM Resolution 241/2026, in force from 07/07/2026 according to a DOU aggregator; official text not checked.
CFEM mixes market and accounting concepts: reference price, reference value and deduction of taxes. SAP can only prove the calculation if it stores, per sale, the mineral good, the destination, the tax deducted and the price used.
Sector rules, with status and source read on 19/10/2026
Each line was opened in the official source. The sources section gives the address of each one.
| Rule | Subject | Status |
|---|---|---|
| Complementary Law 192/2022 | Fuels with a single ICMS incidence (gasoline, anhydrous ethanol, diesel, biodiesel, LPG) | In force, changed by LCs 194/2022, 201/2023 and 227/2026. ADI 7181 and 7191 marked in the text |
| Complementary Law 194/2022 | Essential nature of fuels, power, communications and transport; art. 18-A of the CTN and art. 32-A of LC 87 | In force. ADI 7191 marked in the text |
| ICMS Agreement 199/22 | Single-stage regime for diesel, biodiesel and LPG; calculation, transfer and deduction procedures | In force, changed (last listed: Agr. 67/26) |
| ICMS Agreement 15/23 | Single-stage regime for gasoline and fuel anhydrous ethanol | In force, changed several times. Text read on the Confaz page |
| ICMS Agreement 110/07 | ST on fuels and lubricants (Annex VII of Agr. 142/18) | In force, changed (last listed: Agr. 108/26) |
| ICMS Agreement 3/18 | Exemption and reduced tax base on goods for oil and gas research, exploration and production (Repetro-Sped) | In force, changed by Agr. 220/19 and 137/20. Authorized parties: Ato COTEPE 5/20, not opened |
| Complementary Law 87/1996 (Kandir) | Art. 3, III: no incidence on interstate operations with oil and oil products meant for manufacturing or sale | In force, changed |
| Constitutional Amendment 87/2015, LC 190/2022 and LC 204/2023 | DIFAL and transfers between establishments of the same owner | In force. Under LC 204, the transfer is not a taxable event for ICMS since 01/01/2024, with the option in art. 12 § 5 |
| Law 9.718/1998 | PIS and Cofins of refineries, producers and importers of oil products (art. 4) | In force, changed; marks refer to LC 214 |
| Law 10.336/2001 | Cide on oil, oil products, natural gas and fuel alcohol | In force; changed by Law 15.432/2026 (only the summary read) |
| Law 9.478/1997 | Energy policy, ANP, royalties (art. 47) | In force, changed |
| Law 12.351/2010 | Production sharing in the pre-salt and the Social Fund | In force, changed. Only the start and the summary read |
| Law 13.586/2017 | Tax treatment of oil and gas exploration and production; full deduction, depletion | In force with a mark on production of effects of LC 214 |
| Decree 9.128/2017 | Changes the Customs Regulation: temporary admission of oil and gas assets | Text read; current validity of the provision: not checked |
| Decree 5.059/2004 | Reduction coefficients for PIS and Cofins on the import and sale of gasoline, diesel, LPG and jet fuel | Compiled text read on 22/10/2026, with successive wordings; coefficient in force by date: not checked |
| Decree 6.759/2009, arts. 458 and 461-A | Repetro in the Customs Regulation and authorization by the Federal Revenue | Arts. 458 and 461-A read on 22/10/2026; other articles and normative instruction: not checked |
| Law 14.134/2021 | Gas Law: transport, import, export and sale of natural gas, under the ANP | Art. 1 read on 22/10/2026; other articles: not checked |
| Law 7.990/1989, Law 8.001/1990 and Law 13.540/2017 | CFEM: taxable event, rates, base and distribution | In force, changed. Compiled text read |
| Decree 11.659/2023 | Distribution of 15% of CFEM to the affected municipalities | In force; revoked Decree 9.407/2018 |
| Adjustment SINIEF 07/05 | NF-e, model 55 | In force, changed (read in the automotive round) |
| Constitutional Amendment 132/2023 | Consumption reform; Selective Tax on extraction (art. 153 § 6) | In force |
| Complementary Laws 214/2025 and 227/2026 | Specific regime for fuels, Repetro (art. 93), Selective Tax and mineral goods | In force. LC 214 was changed by LC 227. Mark of LC 235/2026 in art. 174: not opened |
Missing: the official texts of the ANP and ANM resolutions. Missing: the Federal Revenue normative instruction on Repetro and the NCM list of the regime. Missing: the state laws and the ruling on ADI 7181 and 7191. Missing: the COTEPE act on authorized parties and the calculation of the PIS and Cofins coefficient in force by date. Missing: the ordinary law with the Selective Tax rates. Missing: EFD-Contribuições, ECD and ECF. SAP documentation on single-stage ICMS for fuels and the matching SAP notes: not checked, and not used as fact.
Eight setup points that tend to fail in fuels and mining
DFSpro's judgment, not a measurement: it gathers the configuration deviations we see most in fuels and mining. Each one shows up as a symptom on the invoice or in the calculation and ends with the test we suggest.
Fuel under the wrong regime
Symptom: a fuel sale with its own ICMS debit, or without the information on the tax already charged. Proof: an item-by-regime matrix (single-stage, ST, outside) tested on one month of invoices.
Unit and conversion
Symptom: specific tax calculated per liter when the product is sold per kilo, or by volume without the conversion at 20 degrees. Proof: a recalculation of the specific rate per unit on a sample of invoices.
State of consumption and transfer
Symptom: tax passed to the wrong state, mostly in an interstate operation with an oil product. Proof: a report of operations by state of origin and destination, checked against the agreement rules.
Biodiesel and blending
Symptom: a biofuel percentage in the blend that does not match the invoiced volume, with tax demanded on the excess. Proof: a comparison between the mandatory percentage, the blended one and the volume of each invoice.
Repetro without an NCM list
Symptom: a benefit applied to an asset without an NCM on the Federal Revenue list, or a state of use that is undefined at customs clearance. Proof: a list of assets by regime with NCM, state and deadline, cross-checked with the import declarations.
An asset that changes regime
Symptom: the same asset goes from temporary to permanent and the master data does not change the ICMS, PIS and Cofins treatment. Proof: the asset history with the date of change and the matching tax account.
CFEM without a base per sale
Symptom: compensation calculated on revenue without the tax deduction and without a reference price on exports. Proof: a calculation record per sale, with substance, destination and tax deducted.
Two regimes in the transition
Symptom: single-stage ICMS and single-stage IBS and CBS on the same product and the same invoice, without separating base and credit. Proof: a test scenario per product and per year, with the rule of each one.
What DFSpro solves in fuels, oil and gas and mining
Six points where the rule changes fast or depends on the product, and what DFSpro delivers in each.
The decree that changes the rate mid-month
Decree 5.059/2004 got new wordings in 2026, with windows of a few weeks: the gasoline coefficient was 0.7981 between 10/09 and 09/10 and went back to one whole from 10/10 to 09/11/2026 (Decree 13.134/2026). Whoever fixes the table by hand gets the date of a taxable event wrong. DFSpro loads the rule by validity period and follows each decree in the AMS Fiscal.
Single-stage, ST or regular regime, by product
ICMS on fuels is charged as a fixed amount per unit, but some items still follow tax substitution and others the regular regime. SAP needs to know which one applies to each product and operation. DFSpro designs the classification and proves the result with scenarios.
Exempt naphtha depends on the destination
The Cide on fuels has amounts per unit set by law and exempts naphtha meant for a petrochemical plant, under ANP terms (Law 10.336/2001, art. 5, § 4). The rule depends on the product and the destination. DFSpro stores both and tests the naphtha scenario.
A deadline in view for each admitted asset
Repetro can only be used by a legal entity authorized by the Federal Revenue (Decree 6.759/2009, art. 461-A), and each admitted asset has a deadline. Without an end date tied to the customs entry, the deadline becomes a spreadsheet. DFSpro stores regime, deadline and customs entry in SAP and puts the alert inside the process.
Who answers for the supplier's tax
Under the reform, the buyer of fuel is jointly liable for the tax the supplier did not pay, unless payment is settled by split payment (LC 214, art. 177). DFSpro maps the settlement method by supplier and tests the scenario before the switch. Whether to take on this risk is the client's decision.
CFEM outside ICMS, with its own calendar
CFEM is calculated outside ICMS and has its own deadline. DFSpro ties the calculation base to the production and sales recorded in SAP and puts the deadline in the monthly follow-up of the AMS Fiscal. The position on CFEM is the client's.
Sources: Decree 5.059/2004, Law 10.336/2001, Decree 6.759/2009 and LC 214/2025 (Planalto).
What the sector files and who requires it
| Obligation | What it reports | Frequency and requirement |
|---|---|---|
| EFD ICMS/IPI | Books for ICMS, IPI and inventory, with fuel operations. | Monthly, in the layout of the Practical Guide in force, to be checked on the SPED portal. The Guide says single-stage ICMS was detailed in SPED Guidance Note 01/2023. |
| Record 0206 | Product code in the ANP table. | For producers, importers, distributors and gas stations (EFD Practical Guide). |
| Records 1300, 1310, 1320 and 1350 | Fuel movement book, by tank, sales volume and pumps. | For fuel retail, from the station's LMC (EFD Practical Guide). |
| Fuel Movement Book (LMC) | Book of the retail station, by product, with the stock movement. | Who created the book and its current validity: not checked. The EFD Practical Guide credits its creation to Portaria DNC 26/1992, and ANP Resolution 884/2022 has only a secondary source. The ANP FAQ (updated on 04/07/2024, read on 22/10/2026 through an automatic summary) says to keep the LMC of each product for the last 6 months and sets at 0.6% the limit of the difference between physical and book stock. ANP Resolution 948/2023 covers the station authorization and is not listed as revoking 884. Current validity: not checked. |
| Record C171 | Storage of fuels on entry. | For retail trade, at the entry of the document (EFD Practical Guide). |
| Records 1390 and 1391 | Control of mill production, sugar and alcohol. | For mills, from July 2012 (EFD Practical Guide). |
| Information from Agreement 199/22 | Data of each fuel operation, sent by the establishment that received from the single-stage taxpayer. | Clause fourteen of Agr. 199/22. Program and submission deadline: not checked. |
| NF-e, model 55 | Document of each operation, with the amount of tax charged before and the wording of the agreement. | Adjustment SINIEF 07/05. CT-e and MDF-e for the transport of fuels and ore: not checked. |
| EFD-Contribuições, ECD and ECF | Calculation of PIS and Cofins, plus the company's accounting and tax books. | Not checked: rules not yet opened in the source for this page. |
| ANP and ANM filings | Regulatory data on production, sales and CFEM. | Not checked: acts not opened. |
To read each obligation in more detail: ancillary obligations and SPED in SAP, SPED Fiscal and EFD ICMS/IPI, SPED and ancillary obligations legislation and the tax calendar.
The transition to IBS, CBS and Selective Tax in fuels and mining
Fuel gets its own specific IBS and CBS regime, with a single incidence, and mineral extraction enters the Selective Tax.
2027: CBS on fuels
The 2027 CBS is set so as not to exceed the load of the federal taxes that end, measured between July 2025 and June 2026 (art. 174, § 1 and § 2). What happens to the current PIS and Cofins rates on oil products: not checked.
2029 to 2033: IBS by cap
The IBS rates on fuels cannot exceed 10% in 2029, 20% in 2030, 30% in 2031 and 40% in 2032 of the load of the state and city taxes that end, and the whole load from 2033 (art. 174, § 4).
Specific regime and biofuels
IBS and CBS apply a single time on 12 groups of fuels (art. 172). Biofuels and low-emission hydrogen have a rate between 40% and 90% of the fossil rate (art. 175). There is no credit for those who buy to resell (art. 180). The taxpayers are the biofuel producer, the refinery and its terminals, the petrochemical plant, the natural gas processing unit (UPGN), the blender, the importer and the authorized producing agent (art. 176).
The buyer is jointly liable for the IBS and CBS not paid by the taxpayer, except when payment is settled by split payment (art. 177). In the blend of anhydrous ethanol with gasoline A, the distributor that blends above the mandatory percentage pays the excess, and the one that blends below has the right to a refund (art. 179, II).
Repetro in IBS and CBS
Art. 93 suspends IBS and CBS in the modes Repetro-Temporary, GNL-Temporary (LNG), Repetro-Permanent, Repetro-Industrialization, Repetro-National and Repetro-Warehouse, under the customs legislation and the regulation.
Selective Tax on extraction
Annex XVII lists as mineral goods the NCM 2601, 2709.00.10, 2711.11.00 and 2711.21.00. The taxable event is extraction, the base is the reference value and the complementary law caps the rate at 0.25%.
A divergence in the text
The text read of EC 132 says that on extraction the tax is charged regardless of the destination, with a cap of 1% of the market value, and LC 214 limits it to 0.25%. The EC also says the tax does not apply to exports. How the two rules combine: not checked.
LC 214, arts. 93, 172 to 180, 409, 412, 414, 422 and 423, and Annex XVII. Art. 423 orders the Selective Tax rate on natural gas used as an input in an industrial process and as fuel for transport to be set at zero, with a declaration from the buyer. Start date of the Selective Tax on extraction: not checked.
The heaviest change for the master data is living, for years, with single-stage ICMS and with the new regime, each with its own unit, rate and responsible party. Whoever decides whether to keep a benefit, whether to opt for a structure or where to record the credit is the client.
18 sector situations in which the process becomes a project
These are typical cases of operations, with no client identified. In each one, the rule exists in a norm, the data lives in different modules and the close depends on a spreadsheet. Open the card to see the situation, the basis and the proof that DFSpro would deliver.
Depreciation of platform, well and plant: the useful life that the appraisal changes
What weighs. An asset with a long life, with parts of different lives and an annual review of the estimate.
What DFSpro changes. Two depreciations on the same asset, each with its own base, and the difference proven.
See the situation, the basis and the proof
Oil and gas and mining operators carry high-value assets with parts of different useful lives (hull, topside, wells, pipelines, crusher). The useful life and the accounting method change when the production estimate or the technical appraisal changes. Tax depreciation follows the useful life that the Federal Revenue publishes, or the rate that the taxpayer proves adequate.
Basis. CPC 27, item 51 (useful life and residual value reviewed at the end of each year; a change is a change of estimate); RIR/2018, arts. 317 and 320, §1 (rate by the useful life published by the Federal Revenue, with the right to an adequate rate if proven).
Proof delivered. A scenario matrix (new asset, asset in parts, change of estimate mid-year) with the depreciation of both areas side by side and the reconciliation of the difference.
Depletion of a mine: depreciate by what is extracted, not by the calendar
What weighs. A quota on the production of the period and the known reserve of the mine.
What DFSpro changes. Measured production becomes the base of the quota, and the review of reserves is tracked.
See the situation, the basis and the proof
In mining the resource is used up as it is mined, and the depletion quota follows the volume produced against the known reserve or the term of the concession. When the reserve estimate changes, the future quota changes.
Basis. RIR/2018 (Decree 9.580), art. 336, §§1 and 2: quota by the principles of depreciation, based on the volume produced in the period and its ratio to the known reserve of the mine, or on the term of the concession.
Proof delivered. A monthly quota report tied to the source production volume, and a reserve review scenario with before and after.
CIAP on expansion: one forty-eighth per month, with the share of outputs
What weighs. ICMS credit on the asset in 48 installments, adjusted every month by taxed outputs.
What DFSpro changes. The monthly credit comes from a rule in the system, not from a spreadsheet per asset.
See the situation, the basis and the proof
Distribution terminals, refineries, processing plants and mining plants expand the fixed assets. The ICMS on that entry is taken at one forty-eighth per month, multiplied by the ratio of taxed outputs to total outputs, with exports treated as taxed.
Basis. Complementary Law 87/1996, art. 20, §5: credit taken at one forty-eighth per month, a share of taxed outputs and a cut on disposal before four years.
Proof delivered. A scenario spreadsheet with the expected installment against the one calculated, and a check of Block G against the asset master data.
Decommissioning: the cost of dismantling goes into the value of the asset
What weighs. A future obligation to remove and restore, re-estimated over the life of the asset.
What DFSpro changes. Each remeasurement becomes a traceable entry in the asset and in the provision.
See the situation, the basis and the proof
Platforms, wells, pipelines and open pits carry the obligation to dismantle and restore. The initial estimate is part of the cost of the asset, and later changes of estimate or of discount rate change the asset and the liability.
Basis. CPC 27, item 16, letter c (costs of dismantling, removal and restoration in the cost of the asset) and ICPC 12 (changes in decommissioning and restoration liabilities).
Proof delivered. A remeasurement scenario (estimate up and down) with the entries in the asset and in the provision and the recorded tax difference.
Write-off and sale of a fixed asset: capital gain and the credit that is cut
What weighs. The same exit affects the result, the tax base and the ICMS credit.
What DFSpro changes. One write-off rule that handles the three effects and leaves a trail.
See the situation, the basis and the proof
A sale of equipment, a vessel or a plant with the book value still open. The result is a capital gain or loss, and a sale less than four years after purchase stops the ICMS credit for the rest of the four years.
Basis. Decree-Law 1.598/1977, art. 31, as worded by Law 12.973/2014 (capital gains and losses on disposal and write-off); LC 87/1996, art. 20, §5, item V (disposal before four years).
Proof delivered. Sale scenarios before and after 48 months, showing result, tax base and the credit cut.
Repetro: an asset under temporary admission with a deadline that ends mid-operation
What weighs. A regime only for an authorized legal entity, with asset-by-asset control.
What DFSpro changes. Regime, deadline and customs entry become asset data, with an alert before expiry.
See the situation, the basis and the proof
Oil companies and their contractors bring assets for research and extraction under Repetro. The regime belongs to a company authorized by the Federal Revenue (holder of a concession, assignment or production sharing, or contracted by them). The asset has a deadline and a destination to fulfill.
Basis. Decree 6.759/2009, arts. 458 and 461-A (authorization); ICMS Agreement 3/2018 (Repetro-Sped: 3% load with no credit, in the state of economic use); LC 214/2025, art. 93 (suspension of IBS and CBS in Repetro-Temporary).
Proof delivered. A report of assets by regime and days to expiry, and a scenario of an asset that becomes permanent.
Accumulated ICMS credit on exports of ore and oil
What weighs. A credit balance that grows because the exported output creates no debit.
What DFSpro changes. Balance by establishment, use and transfer with an audit trail.
See the situation, the basis and the proof
Whoever exports most of its production builds up ICMS credit, because inputs create credit and the output abroad creates no debit. The complementary law allows the balance to be used by other establishments in the state and, if something is left, to be transferred to other taxpayers with a document from the authority.
Basis. LC 87/1996, art. 25, §§1 and 2 (credit balances accumulated through export operations).
Proof delivered. Reconciliation of the balance in the tax calculation against the inbound and outbound documents, separating the export share.
Liter, cubic meter and kilo: the same product in different units
What weighs. ICMS per liter and Cide per cubic meter on the same product.
What DFSpro changes. Conversion controlled by product, in the master data, and proven on each invoice.
See the situation, the basis and the proof
Single-stage ICMS on fuels is set in reais per unit of measure (gasoline and anhydrous ethanol per liter), and Cide in reais per cubic meter. Purchase, stock and sale may use different volume, mass and temperatures.
Basis. ICMS Agreement 15/2023, clause 7 (BRL 1.57 per liter, gasoline and anhydrous ethanol); ICMS Agreement 199/2022, clause 7 (BRL 1.17 per liter, diesel and biodiesel, and BRL 1.47 for LPG and LNG); Law 10.336/2001, art. 5 (Cide per cubic meter).
Proof delivered. A set of test invoices per product, with the expected tax amount against the calculated one.
PIS and Cofins on fuels: a coefficient that changes by decree within weeks
What weighs. A table by product and by date that changes without notice.
What DFSpro changes. Validity by taxable event date and follow-up of each decree.
See the situation, the basis and the proof
The reduction coefficients for the PIS and Cofins rates on fuels are set by decree, and in 2026 they changed more than once for gasoline, diesel and jet fuel, with windows of a few weeks.
Basis. Decree 5.059/2004, compiled text, with the 2026 wordings (Decrees 12.875, 12.924, 12.991, 13.116 and 13.134/2026).
Proof delivered. A scenario matrix with dates before, on and after the switch, plus returns and a retroactive invoice.
One NCM, three regimes: single-stage, tax substitution and regular regime
What weighs. The regime depends on the product and the operation, not only on the NCM.
What DFSpro changes. A rule by product and operation in the master data, proven by scenario.
See the situation, the basis and the proof
In ICMS on fuels, the single-stage regime charges a fixed amount per unit, but operations still under residual tax substitution and operations under the regular regime live in the same product portfolio.
Basis. ICMS Agreements 199/2022 and 15/2023 (single-stage) and ICMS Agreement 110/2007 (tax substitution on fuels).
Proof delivered. A scenario matrix with product, operation and recipient, and the expected regime against the one applied.
CFEM: base and deadline outside ICMS, on its own calendar
What weighs. The base changes with the operation: sale, use or export.
What DFSpro changes. A calculation base tied to the sales document and to production in SAP.
See the situation, the basis and the proof
The financial compensation in mining applies to the gross revenue from the sale, less taxes, and, on use and export, to the calculated revenue, with rates by substance and a limit of 4%. It is calculated outside the ICMS calculation and often lives in a spreadsheet.
Basis. Law 8.001/1990, art. 2, as worded by Law 13.540/2017 (base by sale, use and export); payment deadline in the ANM collection FAQ.
Proof delivered. A report of the base by operation reconciled with billing and with the stock of the period.
Reform in fuels: who answers for the tax the supplier did not pay
What weighs. A jointly liable buyer, unless settled by split payment, and the ethanol blending rule.
What DFSpro changes. The settlement method mapped by supplier and the destination of the biofuel tracked.
See the situation, the basis and the proof
In the specific fuel regime of LC 214/2025, whoever buys directly from a producer, refinery, blender or importer (art. 176) is jointly liable for IBS and CBS, unless settled by split payment, and only for the amount not paid. In the blend of anhydrous ethanol with gasoline A, the destination of the biofuel changes the payment.
Basis. LC 214/2025, arts. 176, 177 (§1, I and II), 178 and 179.
Proof delivered. A matrix of suppliers by settlement method, and a blending scenario with a compliant and a divergent destination.
Selective Tax on extraction, including what is exported
What weighs. A tax appears on the extraction of the mineral good, with its own taxable event, base and rate, which may reach what goes abroad.
What DFSpro changes. Measured production and reference value at the extraction point, separated from the sale, with an export scenario.
See the situation, the basis and the proof
The Constitution provides that, on extraction, the selective tax is charged regardless of the destination, with a maximum rate of one percent of the market value. LC 214/2025 defines the extraction of a mineral good as the taxable event, uses the reference value as the base and limits the rate to zero point twenty-five percent, with the rates set in an ordinary law. Among the goods in the annex are iron ore, crude oil and natural gas, by NCM. The ordinary law with the rates and the regulation still need to be followed.
Basis. Constitution, art. 153, § 6, VII; LC 214/2025, arts. 412, V, 414, III, b, and 422, § 2, and Annex XVII.
Proof delivered. A production report by substance and period, reconciled with the reference value, with a scenario of sale, own use and export.
ICMS on fuels per liter, with validity at the turn of the year
What weighs. The ICMS rate on fuels is an amount per unit of measure, set in an agreement, and it changes with an effective date.
What DFSpro changes. A table of amounts by product and by validity period in the tax master data, with a year-end switch test.
See the situation, the basis and the proof
Since LC 192/2022, ICMS on gasoline, anhydrous ethanol, diesel, biodiesel and liquefied gas applies once, with a specific rate per unit of measure. In September 2025, ICMS Agreements 112 and 113 set new amounts per liter, effective from January 1, 2026.
Basis. LC 192/2022; ICMS Agreement 15/2023 and ICMS Agreement 199/2022, as changed by ICMS Agreements 112/25 and 113/25.
Proof delivered. A scenario of an invoice issued before and after the validity switch, with the correct amount per liter for each product.
CFEM on transfers between establishments and processing by third parties
What weighs. When the mineral leaves for another establishment of the company or the group, the base cannot fall below the current price, and processing at a third party counts as use.
What DFSpro changes. The movement classified (sale, transfer, use, processing by a third party) in the tax master data, with the current reference price in the base.
See the situation, the basis and the proof
On transfers between establishments of the same company or of affiliated companies or the same economic group that are characterized as a sale, the CFEM base is at least the current market price. When the transfer is not a sale, CFEM applies on use or on the actual sale. Processing at a third party's establishment is treated as use.
Basis. Law 8.001/1990, art. 2, §§ 8 and 15, as worded by Law 13.540/2017.
Proof delivered. A report by movement, with the event classified and the base calculated, reconciled with stock and billing.
Oil and gas royalties: ten percent of production and the ANP reference price
What weighs. The amount depends on the measured production of each field and on the reference price that the ANP sets, on a monthly calendar.
What DFSpro changes. Production by field from the source data and the reference price as a parameter with validity, with the amount reconciled to the ledger.
See the situation, the basis and the proof
Royalties are paid monthly, from the start of commercial production of each field, in an amount equal to ten percent of production, and the notice may provide for a reduction. The reference price per unit of volume is set by the ANP. SAP needs to load the measured data with a trail.
Basis. Law 9.478/1997, art. 47; Decree 2.705/1998 (reference price set by the ANP).
Proof delivered. A monthly report by field with volume, reference price and amount, reconciled with the ledger.
Special participation: depreciation goes into the calculation
What weighs. Special participation is calculated on the gross revenue of production with deductions, and fixed assets and costs feed the base.
What DFSpro changes. Depreciation and cost by field taken from accounting on the same base as the close, with the deduction account reconciled.
See the situation, the basis and the proof
In cases of high production volume or high profitability, the contract provides for special participation. The law orders it to be applied to the gross revenue of production, less royalties, investments in exploration, operating costs, depreciation and the taxes provided for in the legislation. The regulation is by decree, and how to calculate it is the client's decision.
Basis. Law 9.478/1997, art. 50, § 1.
Proof delivered. A reconciliation of the special participation deductions with the accounting reports of depreciation and cost by field.
State mining inspection fee
What weighs. States charge a fee for control and inspection of mining, with its own base, which does not appear in the ICMS calculation.
What DFSpro changes. The obligation registered by establishment and by state, with the production base, the calendar and the payment slip reconciled.
See the situation, the basis and the proof
On 1 August 2022, the STF dismissed the actions against the laws of three states that created fees for control, monitoring and inspection of research, mining, exploitation and use of mineral resources, holding that the states have the power to charge the fee and that the base respects proportionality. The decision covered the laws of three states, and the rule of each state is its own.
Basis. STF, ADIs 4785, 4786 and 4787, judgment of 1/8/2022.
Proof delivered. A report by state and period, with production base, fee calculated and slip paid.
Do you recognize any of these situations in your SAP? The Tax Diagnostic shows where the process gets stuck and what to prove first.
Diagnostic, AMS Fiscal and GUEPARDO Tax in the sector
Tax diagnostic
Maps the ICMS, single-stage, ST, Repetro, PIS and Cofins and CFEM setup in use, compares it with the rule read and ranks by risk: critical, high, medium or monitor.
Project and AMS Fiscal
Builds in SAP the configuration of the rule the client chose and tests the result. In the AMS Fiscal, it follows the agreement changes, such as the specific rates that Confaz reviews every year.
GUEPARDO Tax
DFSpro sells the license of GUEPARDO Tax, from NTT DATA, as an Authorized Channel, and also implements it and provides governance. In fuels and mining, the regime of each item that the client defined is tested in that environment.
To go deeper
Related blog articles
The tax decision belongs to the client: for example, which customs regime to use for each asset, how to treat a credit or which position to take on CFEM. After the client decides, DFSpro configures the rule in SAP and delivers the evidence that the system follows it.
Official sources read, last checked on 22/10/2026
Text opened and checked on that date. If your operation depends on an ANP or ANM act, a Federal Revenue instruction or a state law not listed here, the item stays open until it is read.
Constitution and laws (Planalto)
- Constitutional Amendment 132/2023Planalto
- Complementary Law 87/1996Planalto
- Complementary Law 192/2022Planalto
- Complementary Law 194/2022Planalto
- Complementary Law 204/2023Planalto
- Complementary Law 214/2025Planalto
- Complementary Law 227/2026Planalto
- Law 7.990/1989Planalto
- Law 8.001/1990Planalto
- Law 9.478/1997Planalto
- Law 9.718/1998Planalto
- Law 10.336/2001Planalto
- Law 12.351/2010Planalto
- Law 13.540/2017Planalto
- Law 13.586/2017Planalto
- Decree 9.128/2017Planalto
- Decree 5.059/2004Planalto
- Decree 6.759/2009Planalto
- Law 14.134/2021Planalto
- Decree 11.659/2023Planalto
- Decree-Law 227/1967 (Mining Code)Planalto
CONFAZ
Questions from the fuels, oil and mining tax director on single-stage ICMS, Repetro and CFEM
01Which fuels have ICMS with a single incidence?+
Under LC 192, art. 2: gasoline and its streams, fuel anhydrous ethanol, diesel and its streams, biodiesel and LPG, including the one derived from natural gas. The incidence is single, whatever the purpose. Other fuels, such as jet fuel, do not appear in that article.
02Who is the taxpayer of single-stage ICMS?+
The producer and equivalent parties and the importer (LC 192, art. 4), including the blender, the petrochemical plant and the refinery terminals. Agreement 199/22 adds the distributor when it acts as an importer and, in a specific blending case, the distributor that blends B100 above the mandatory percentage.
03What is the ICMS amount per liter today?+
In the wordings read, effective from 01/01/2026: BRL 1.57 per liter for gasoline and anhydrous ethanol (Agr. 15/23, wording of Agr. 112/25) and BRL 1.17 for diesel and biodiesel and BRL 1.47 for LPG/LNG (Agr. 199/22, wording of Agr. 113/25). Always check the wording in force on the day of the taxable event.
04Which state receives the tax on diesel?+
In operations with oil products, the tax goes to the state where consumption takes place (LC 192, art. 3, II). For biodiesel and LNG, the agreement splits the share between origin and destination when the operation is between taxpayers. The table of proportions is in Agreement 199/22, not reproduced here.
05Do the distributor and the gas station have an obligation if they do not pay the tax?+
They have an obligation to report. The establishment that received the fuel from the single-stage taxpayer and makes the next operation states on the invoice the amount of tax charged before, the wording of the agreement, and records the operation data (Agr. 199/22, clause fourteen).
06Does transferring fuel between my terminals pay ICMS?+
LC 204/2023 says that an exit to an establishment of the same owner is not a taxable event for ICMS, with credit kept, since 01/01/2024. There is an option to treat the transfer as a taxed operation. LC 192 has its own rules of single incidence, and how they add up with LC 204: not checked.
07How does ST on fuels and lubricants work?+
Agreement 110/07 allows the destination states to assign the sender the role of substitute for the items in Annex VII of Agreement 142/18, except CEST 06.019.00. The CEST list and the rule of each state must be checked in the annex and in local legislation.
08What does Repetro change in ICMS?+
Agreement 3/18 allows a reduced tax base for a 3% load, with no credit, on permanent assets on the Federal Revenue list, exemption on the import of temporary assets and exemption on deemed exports. The tax goes to the state of economic use, and membership is by a form, and optional.
09Does the Tax Reform keep Repetro?+
LC 214, art. 93, suspends IBS and CBS in the modes Repetro-Temporary, LNG-Temporary, Repetro-Permanent, Repetro-Industrialization, Repetro-National and Repetro-Warehouse, under the customs legislation and the regulation. List of assets and deadlines: not checked.
10What is the CFEM rate for iron ore?+
The Annex of Law 8.001, as worded by Law 13.540, sets 3.5% for iron, with a possible reduction to 2% by decision of the regulator, and the general limit of 4%. Other substances have their own rate: 3% bauxite, manganese, niobium and rock salt, 2% diamond and others, 1.5% gold, 1% construction rock, ornamental rock and mineral water.
11Does the Selective Tax reach oil and ore?+
Annex XVII of LC 214 lists the mineral goods by NCM 2601, 2709.00.10, 2711.11.00 and 2711.21.00. The taxable event is extraction and the complementary law caps the rate at 0.25%. The effective rate depends on an ordinary law, which was not read, and the start date of collection on extraction: not checked.
12Do oil royalties change with the Reform?+
From what was read, Law 9.478 sets royalties at 10% of production under concession, with a reduction provided in the notice down to 5%, and LC 214 does not cover royalties in the part opened. Rule of each contract and any effect on the base of other taxes: not checked.
13Is the Fuel Movement Book mandatory?+
For the retail station, according to the ANP FAQ, which cites Resolution 884/2022 and says to keep the LMC of each product for the last 6 months, with a difference between physical and book stock of at most 0.6%. Resolution 948/2023 covers the station authorization and is not listed as revoking 884. Current validity of both: not checked, no DOU consultation.
14Who answers for the IBS and CBS on fuel if the supplier does not pay?+
In direct operations with the taxpayers of art. 176 of LC 214, the buyer is jointly liable for the amount not paid, except when payment is settled by split payment (art. 177). The liability can reach other parties in the chain that contributed to the non-payment. How this applies to each company's case is the client's decision.
15How are PIS and Cofins on gasoline and diesel reduced?+
By reduction coefficients set in Decree 5.059/2004, which change by decree and have date windows. In the text read, the gasoline coefficient is zero in the base wording, with windows in 2026 of 0.7981 and of one whole; the diesel one is 0.23835, with 0.99987 until 31/05/2026. The coefficient in force on a specific date: not checked.
16What should I bring to the first conversation?+
The list of products and of special-regime assets, the states where the tax is charged, the latest case where the invoice differed from the rule and the SAP version. With this material, the first scope and the order of the work come out of the first meeting.
Bring the products, the states and the invoice divergence that worry you most
Tell us what the company produces, imports or distributes, in which states and under which regimes. The first design of the work comes from there.
To arrive with context, it is worth going through the SAP tax diagnostic and the CBS and IBS tax reform.