This document is a simple guide that demonstrates parameters that must be filled in for correct presentation of the values related to ICMS Tax Replacement in the calculation of ICMS (MATA953) and their respective ST-Inflows, ST-Outflows, and ICMS ST Calculation tabs.
MV_STUF- Fill with states that have State Registration for collection of ICMS ST by calculation for Inflow Operations (tab ST-Inflows). MV_STUFS- Fill with states that have State Registration for collection of ICMS ST by calculation for outflow operations (tab ST-Outflows). MV_SUBTRIB- Fill with State + State Registration (all states that have state registration for collection of the ICMS ST by calculation, including the State of parameter MV_ESTADO)
MV_STNIEUF - Fill with units where it is not necessary to have state registration for ST collection. Fill with concatenated States: RSPR/RSRJ (Rio Grande do Sul to Parana, Rio Grande do Sul to Rio de Janeiro).
Important!
MV_ESTADO = SP
MV_SUBTRIB = SP123456789/
MV_STUFS = SP
MV_STUF = SP
Internal sales outflow operation with ICMS Tax Replacement calculation, in which this amount will be collected via ICMS calculation
Internal inflow operation of return of sale with calculation of ICMS Tax Replacement
ICMS Calculation (MATA953)
With these settings, only operations with internal ICMS-ST calculation will be presented.
MV_ESTADO = SP
MV_SUBTRIB = SP123456789/RS123456789/
MV_STUFS = SP/RS
MV_STUF = SP/RS
Considering the documents included in example 01, a new invoice in interstate outflow operation of sale with ICMS Tax Replacement calculation is issued, in which this amount will be collected via ICMS calculation
ICMS Calculation (MATA953)
MV_ESTADO = SP
MV_SUBTRIB = SP123456789/
MV_STNIEUF = SPRS/ (operations originating in SP and with RS as target)
MV_STUFS = SP/RS
MV_STUF = SP/RS
Considering the same documents as examples 01 and 02, they will be presented in this way in the calculation of ICMS:
In case of collection of ICMS Tax Replacement per operation, the target State should not be entered in these parameters. These parameters should only contain states in which the collection will occur by calculation.
https://centraldeatendimento.totvs.com/hc/pt-br/articles/360016740911-MP-FIS-Inscri%C3%A7%C3%A3o-Estadual-para-apura%C3%A7%C3%A3o-de-ICMS-ST-e-DIFAL
https://centraldeatendimento.totvs.com/hc/pt-br/articles/360021138392-MP-FIS-Demonstracao-do-icms-st-na-aba-da-apura%C3%A7%C3%A3o-do-resumo-icms-st-