Distribution centers full of equipment, stock inside marketplaces, returns in volume, thousands of documents a day. In wholesale and e-commerce, scale turns details of master data and of the close into a project.
The legal basis of each situation is an official source read on 23/10/2026. The SAP design is DFSpro's judgment, to be checked against each company's system version. No savings were measured.
01Fixed assets
Distribution center: conveyors, forklifts and racks as fixed assets
What weighs: Many small, similar assets, bought in batches, with ICMS and PIS and Cofins credits running for each asset.
What DFSpro changes: Batch registration of the asset with a ready tax depreciation area, CIAP and reconciliation with FI-AA.
See the situation, the legal basis and the proof
The situation
Wholesalers and e-commerce operations expand distribution centers with conveyors, forklifts, racks, cold rooms and picking systems. They arrive in large shipments, often on a single invoice with dozens of items.
Legal basis, line by line
- LC 87/1996: art. 20, § 5: installments of 1/48, ratio of taxed outbound sales and cancellation at the end of the 48th month
- Law 10,833/2003: art. 3, § 1, III and § 14: credit on depreciation or, as an option, 1/48 on machinery
- EFD-ICMS/IPI Practical Guide, version 3.2.1 (updated 28/10/2025): G110 (CIAP balance and installments), G125 (movement of an asset or component) and G130 (tax document)
- CPC 27 (R1), rev. 14, CVM: item 43: a significant cost component is depreciated separately
Proof delivered
Reconciliation of invoice, asset record, CIAP installment and G110 and G125 records, with expected and obtained values per asset.
02Fixed assets
Renovation and improvements in a leased warehouse: amortize over the lease term
What weighs: The work belongs to the company and the property does not, so the amortization term, the credit and the write-off depend on the contract.
What DFSpro changes: Improvement asset with a term tied to the contract and automatic write-off when the contract ends.
See the situation, the legal basis and the proof
The situation
Distribution centers and wholesale stores sit in leased property, where the tenant installs docks, mezzanines, air conditioning and fire protection.
Legal basis, line by line
- Law 10,833/2003: art. 3, § 1, III and VII: credit on depreciation and amortization charges of buildings and improvements on third-party property
- CPC 27 (R1), rev. 14, CVM: items 51 and 67: yearly review of useful life and write-off
Proof delivered
Record of each improvement with term, monthly installment and balance, reconciled with the contract and with the credit booked.
03Special stock
Stock inside the marketplace and the logistics operator
What weighs: The goods are yours, they sit in someone else's warehouse and the balance changes every day without an invoice for each movement.
What DFSpro changes: Stock held by third parties designed, with shipment, return and inventory reconciled.
See the situation, the legal basis and the proof
The situation
E-commerce sellers send goods to the distribution centers of platforms and logistics operators, who pick and deliver them.
Legal basis, line by line
- Civil Code (Law 10,406/2002): arts. 627 to 629: deposit contract, custody and return by the depositary
- EFD-ICMS/IPI Practical Guide, version 3.2.1 (updated 28/10/2025): H010, field IND_PROP, and K200 by participant
- LC 214/2025: art. 22: liability of the digital platform (read on 19/10/2026 in the sector report, not detailed today)
- SAP Help, Managing Special Stocks (MM-IM), R/3 4.6C page: special stocks kept apart when they do not belong to the company or sit in a specific place
Proof delivered
Reconciliation of three balances (SAP, operator position, Block H) by cut-off date, with inventory adjustment scenarios.
04Special stock
Transfers between distribution centers and goods in transit
What weighs: The goods leave one DC and arrive days later, and each state treats the transfer in its own way.
What DFSpro changes: Transfer order with stock in transit, invoice and cost checked in both centers.
See the situation, the legal basis and the proof
The situation
Chains with several centers resupply each other in volume. Many goods are still in transit at month end.
Legal basis, line by line
- LC 87/1996: art. 12, I (wording of LC 204/2023) and § 5: shipment to another establishment of the same owner and the option to treat the transfer as a taxed operation
Proof delivered
Report of open transit by invoice at the close, reconciled with the tax position of each state.
05Reverse logistics
Returns in volume: withdrawal, damage and blocked stock
What weighs: Each return has a deadline, a reason, a product condition and a destination, and each one changes the document and the stock.
What DFSpro changes: Return flow with the reason and the destination of the material linked to the invoice.
See the situation, the legal basis and the proof
The situation
E-commerce receives returns for withdrawal, defects and wrong delivery, with the product going back to stock, to repair or to disposal.
Legal basis, line by line
- Consumer Code (Law 8,078/1990): art. 49: withdrawal within seven days on purchases made outside the store
- Law 10,833/2003: art. 3, § 13: reversal of credit on goods that are unusable, damaged or destroyed
- LC 214/2025: art. 379: CBS credit on goods received back from earlier sales, from 2027
Proof delivered
Scenario matrix with expected and obtained invoice, stock and credit, and a report of returns with no document.
06Credits
Credit balance and ST refund: credit left sitting in the wholesaler's cash
What weighs: Tax withheld on purchase and not used on sale leads to a refund with authorization and a deadline set by each state.
What DFSpro changes: Trail of the withheld tax by invoice and a refund report ready for the request.
See the situation, the legal basis and the proof
The situation
Wholesalers buy goods with ICMS-ST withheld and sell them to other states or to final consumers, and become entitled to a refund of what was withheld.
Legal basis, line by line
- ICMS Agreement 142/2018, Confaz: clause 15: refund of the withheld tax, by a dedicated NF-e, with prior authorization and a 90-day term
- Law 9,430/1996: art. 74: offsetting of credit against federal debits, for PIS and Cofins
Proof delivered
Report by item with purchase invoice, tax withheld and sale, reconciled with the bookkeeping.
07Unit of measure
Kits, boxes and units: the same item sold in different formats
What weighs: Bought by the box, stocked by the unit, sold as a kit. A wrong conversion distorts stock, cost, ST and the invoice.
What DFSpro changes: One conversion table and kit list per material, from the order to the EFD.
See the situation, the legal basis and the proof
The situation
The wholesaler buys by the box and pallet and sells by the unit and in promotional kits, and e-commerce builds temporary bundles.
Legal basis, line by line
- EFD-ICMS/IPI Practical Guide, version 3.2.1 (updated 28/10/2025): record 0220: conversion factors between the commercial unit and the stock unit, from record 0200
Proof delivered
Report of materials with a missing or conflicting conversion, and inventory in each unit checked against record 0220.
08Stock
Loss, breakage and damage: reverse the credit without forgetting the inventory
What weighs: Goods that break, expire or disappear require a credit reversal and an inventory adjustment, and they almost never pass through the tax team.
What DFSpro changes: Reason for the stock write-off linked to the reversal rule and to Block H.
See the situation, the legal basis and the proof
The situation
At the scale of thousands of items, breakage and expiry are routine in a distribution center, with cycle counts and mass write-offs.
Legal basis, line by line
- Law 10,833/2003: art. 3, § 13: reversal of credit on goods that are stolen, robbed, unusable, damaged or destroyed
- LC 87/1996: art. 21, IV: the ICMS credited is reversed if the goods are lost, spoiled or disappear
- EFD-ICMS/IPI Practical Guide, version 3.2.1 (updated 28/10/2025): H010 (inventory) and K280 (correction of an entry between two inventories)
Proof delivered
Report of write-offs by reason with expected and obtained credit reversal, and inventory reconciled with the bookkeeping.
09Reform
Opening stock at the switch to CBS: who was in the cumulative regime, ST or single-stage taxation
What weighs: The presumed credit on stock held on January 1, 2027 has conditions, and the stock must be proven item by item.
What DFSpro changes: Inventory of 31/12/2026 by item, with each item's classification made by the client.
See the situation, the legal basis and the proof
The situation
Wholesalers hold large and varied stock at the turn of 2026 to 2027, part under the cumulative regime, part with ST or single-stage taxation on purchase.
Legal basis, line by line
- LC 214/2025: art. 381: cases, conditions and reference to an act of the Executive for checking the stock
Proof delivered
Cut-off inventory reconciled with K200 and Block H, with each item marked by case.
10Close
Close with millions of documents: reconcile, do not review invoice by invoice
What weighs: The daily volume of invoices and receipts makes the close depend on automatic reconciliation, and a difference of a few cents becomes a day of work.
What DFSpro changes: Reconciliation by exception: the system shows only what does not match.
See the situation, the legal basis and the proof
The situation
Sales platforms and wholesalers issue thousands of documents a day, with payment methods, returns and cancellations.
Legal basis, line by line
- EFD-ICMS/IPI Practical Guide, version 3.2.1 (updated 28/10/2025): structure of the EFD-ICMS/IPI by blocks, including Block H and Block K
Proof delivered
Exception report by period with the cause for each document, and scenario regression before each rule change.
11Migration
From ECC to S/4HANA: fixed assets, CIAP in progress and credit balances
What weighs: An asset with installments still to be taken, credit balances and stock must reach the new system without losing their history.
What DFSpro changes: Load of assets and balances with line-by-line reconciliation, before and after go-live.
See the situation, the legal basis and the proof
The situation
Large operations migrate SAP and change the model for posting assets and tax documents.
Legal basis, line by line
- LC 87/1996: art. 20, § 5: installments and cancellation in the 48th month
- LC 214/2025: art. 380: depreciation installments and the monthly share continue as presumed CBS credit
Proof delivered
Balance reconciliation by asset and by area between source and target, and a report of installments to take in the first close.
12Accounting and tax
Online sale to another state: DIFAL for the final consumer
What weighs: Each order to a final consumer in another state requires the calculation, payment and tax reporting of the rate difference, in high volume and with state-specific rules.
What DFSpro changes: DIFAL rule by destination state in the invoice calculation and reconciliation in the tax calculation.
See the situation, the legal basis and the proof
The situation
Online stores and wholesalers selling directly to individuals ship across the country. The sender becomes the taxpayer for the rate difference owed to the destination state, and the order may start and be delivered in different states.
Legal basis, line by line
- LC 190/2022, arts. 1 and 3 (Planalto): art. 4, § 2, II, and art. 11, V, b, and § 7 of LC 87; effect under art. 150, III, c, of the Constitution
- STF, Topic 1093 of general repercussion: title on the need for a complementary law for DIFAL; final judgment on 30/03/2022. Literal thesis not read
Proof delivered
Scenario matrix with expected and obtained values by state, and reconciliation between invoices, tax calculation and payment slips for the period.
13Credits
ICMS-ST outside the PIS and Cofins base of the substituted wholesaler
What weighs: A wholesaler that buys with ICMS-ST included must separate that amount from revenue in the contributions base, invoice by invoice, and follow the time limit.
What DFSpro changes: ICMS-ST portion identified by item and treated in the PIS and Cofins base by the client's criterion.
See the situation, the legal basis and the proof
The situation
Wholesalers of goods under tax substitution resell products whose price already carries the tax withheld on purchase. The PIS and Cofins calculation needs to know how much of that amount went into revenue.
Legal basis, line by line
- STJ, Repetitive Topic 1125: thesis set by the First Section, final judgment and modulation with a milestone on 15/03/2017
- STF, Topic 69 of general repercussion: ICMS in the PIS and Cofins base, final judgment on 09/09/2021. Literal thesis not read
Proof delivered
Calculation record by period with the ICMS-ST portion isolated, reconciled with the base booked.
14Special stock
Transfers between distribution centers and keeping the credit
What weighs: A shipment to another establishment of the same owner does not create tax, but the credit from earlier operations must follow along, by establishment and by state.
What DFSpro changes: Transfer with no taxable event, with the credit rule and the option to tax handled in the master data.
See the situation, the legal basis and the proof
The situation
Distribution networks move goods between DCs in different states to supply online sales and wholesale. For years the treatment changed by state, with disputes over incidence and over credit.
Legal basis, line by line
- LC 204/2023, arts. 1 and 3 (Planalto): new art. 12, § 4, of LC 87 (non-incidence and keeping of the credit); § 5 by promulgation of the vetoed part; in force on 01/01/2024
Proof delivered
Transfer scenarios with expected and obtained CFOP, taxation and credit, and credit reconciliation by establishment.
15Reform
Sale through a digital platform: who is liable for IBS and CBS
What weighs: A seller using a marketplace comes to depend on a registered tax document and on information that the platform provides, and bad data creates joint liability.
What DFSpro changes: Marketplace operation tied to the electronic document and to reconciliation with the payout.
See the situation, the legal basis and the proof
The situation
E-commerce sellers issue invoices, and part of the sales go through platforms that charge, pay out and report the operations. With the reform, the platform joins the chain of liability.
Legal basis, line by line
- LC 214/2025, art. 22 (Planalto, with the wording of LC 227): liability of the digital platform, cases and information required; wording given by LC 227/2026
Proof delivered
Reconciliation of sale, electronic invoice, platform payout and tax calculated, by order and by period.
16Credits
Freight and storage on a sale: PIS and Cofins credit when the seller bears the cost
What weighs: Freight and storage on a sales operation create credit only when the seller bears the cost, and the cost arrives in CT-e, service invoices and an allocation per order.
What DFSpro changes: Freight and storage cost on a sale identified by order and by who bears the cost.
See the situation, the legal basis and the proof
The situation
Wholesale and e-commerce deliver with their own or hired freight and store with operators. The cost spreads across many documents and orders, with part paid by the customer.
Legal basis, line by line
- Law 10,833/2003, art. 3, IX (Planalto): credit on storage of goods and freight on a sale, in the cases of items I and II, when the seller bears the cost
Proof delivered
List of order, CT-e, cost and who bears it, reconciled with the credit base booked.