Páginas filhas
  • APUICM - ICMS Calculation - MATA953 - Tax Management - P12

Index

Purpose

ICMS deals with the tax charged on the transit of goods on interstate and intercity transport and communication services.

It is a State jurisdiction tax. In the State of São Paulo, it is governed by Decree 45,490/00 - current ICMS Regulation of the State of São Paulo - RICMS/SP.

ICMS was implemented in Brazil through Law number 6,374/89 and is part of the Federal Constitution from 1988, art. 155, clause, paragraph 2.

Information regarding the Presumed Credit Reversal, as SEFA no. 088/2009 (Item 615) – Paragraphs 1 and 4 is generated in the calculation of the ICMS through sub-item 003.05 - Cred. Stat. ref. Cred. Presumed Cred. Sect.615-SEFA 088/2009, which, according to the Legal Framework, should be entered in Credit Reversal in the ICMS calculation.

For this operation to be possible, the use of Traceability (Batch) is necessary.

When issuing the Sales Order and then the Outgoing Invoice, it is necessary to enter the Batch and Sub-Batch (if any). When calculating ICMS, the system calculates the Credit Reversal proportionally according to legislation.

To use the Traceability feature using Batch and Sub-Batch, you must enable the MV_RASTRO parameter.

Mental Map

In this diagram, the data refer to the features of the routine: 

ICMS

Concepts involved

    Taxpayer

    Individuals or legal entities which, normally or by volume, have a commercial purpose, carry out transactions relating to the transfer of goods, or provide inter-state or intercity transport services or communication services, is a taxpayer. Or, we also say that the natural person or legal entity which, even if is not regularly, imports goods, is a taxpayer.

    Taxable Event

    The ICMS has, as a taxable event, the occurrence of the fact in which its application is necessary:

    The operation relating to the circulation of goods or the provision of interstate or intercity transport services or communication services, even if the operation or provision begins abroad.

    The taxable event takes place when there are:

    1. Industrial establishment goods outflow, commercial, agribusiness producer, energy generator, mineral extractor;
    2. Receiving of foreign goods;
    3. Provider of intercity and interstate transportation services: road, river, and train;
    4. Communication service rendering: phone, fax, etc.;
    5. Usage, consumption, and integration of fixed asset goods acquired for trading or industrialized by the same establishment;
    6. The inflow of goods targeted to usage, consumption, or active, coming from another federation unit;
    7. Use a service started in another federation unit, not related to operations or renderings reached by tax incidence.
    8. Goods property transmission that does not continue through the issuer establishment.

    Some notes must be taken into consideration in relation to ICMS charges:

    ICMS for transport services is paid to the State of origin of rendering of services;

    On import ICMS, the collection is for the destination State of the good;

    Example:

    Clearance in Vitoria, importing agent in São Paulo, goods destination in Porto Alegre - ICMS must be paid to Rio Grande do Sul.

    Purchase of goods from another State for consumption or fixed asset, the rate difference is paid in the destination State;

    To collect ICMS consider any taxpayer, person, or company that skillfully practices the transfer activity of goods, except in the case of importing, when ICMS must be collected.

    ICMS Calculation

    Important:

    The ICMS calculation basis is often changed by the legislation, being edited according to the product and mainly according to the States related to the goods or services transactions.

    This way, we suggest the IOB sources and/or Official Gazette (Federal and State) be queried for checking the information correctly.

    Calculation basis

    The ICMS calculation basis is the same as the goods amount plus the freight, insurance, and other additional expenses:

    • For import, the calculation base is equal to the added value of Import Tax and IPI - Industrialized Product Tax.
    • In transportation services, the calculation base is the total amount of the provision.
    • For acquisitions coming from other States for use or consumption, or fixed assets, the calculation basis is the operation amount, applying the internal tax rate percentage of the State of São Paulo.

    The ICMS is a tax composing its own calculation basis.

    Observe the demonstration of an operation run under a percentage of 18%:


    Amount before the ICMS calculation

    $ 82.00

    Divided by the index of

    $ 0.82

    = Basis value with added ICMS

    $ 100.00



    ICMS Calculation

    The ICMS calculation is typically monthly and periodic, but the tax authorities may determine the tax amount to be monthly collected.

    The ICMS expiration date is known according to the CNAE (National Code of Economic Activity), obtained when upon State Registration. That way, the taxpayer, when obtaining their State Registration, receives a CNAE, which determines the expiration date of the ICMS, and as a result of this registration, the taxpayer receives a CPR (Code for Collection).

    Example:

    CPR 1031 = The ICMS must be collected up to the 3rd working day subsequent to the calculation.

    The collection is performed through the Tax Form for Collection of State Income (GARE).

    The goal of the ICMS Calculation is to obtain the ICMS balance (debit or credit) related to the taxpayer's operations, as well as calculate the ICMS balance coming from the Tax Substitution (ST).

    The tax is calculated upon a period selection, enabling the input of other credits and debts and their reversals, besides the credit balance of the previous period.

    When generating the calculation, the system creates a file with the following characteristics:

    where:

    • The calculation month (*) is directly related to the alphabetic sequence, that is A = 1 = January, B = 2 = February, C = 3 = March;
    • IC (**) corresponds to the ICMS
    • The calculation period (***) corresponds, respectively, to: 0 = monthly; 1,2 = fortnightly; 1,2,3 = every 10 days;

    Tax Substitution (ST)

    The ICMS legislation claims that it may fall on the manufacturer, importer, and others the responsibility for withholding and paying the tax due in the subsequent outflows to be promoted by the recipients, considered the Substitute Taxpayer, located in this State or in other States that have the Protocol or Agreement for such purpose.

     




    As an example, some items subject to the tax substitution (ST) system are:

    • Operations with tobacco and its manufactured by-products;
    • Operations with new vehicles, among others.

    The ICMS calculation basis due by tax substitution always corresponds to the maximum or single sales amount to be practiced by the substitute taxpayer (purchaser), fixed by the manufacturer or competent authority.

    If this amount does not exist, the calculation basis is obtained based on the price by the substitute taxpayer, including the IPI amount, freight, and other expenses debited or collected from the recipient, besides the installment resulting from the application, on this estimated amount, of the profit margin percentage for the goods subject to retention.

    The ICMS value to be withheld is the difference between the Calculated Tax with the application of the current rate on internal operations, on the Calculation Basis, and the Tax Due by the sender's operation.

    In relation to the interstate operation with goods subject to tax substitution, the rule for determining the ICMS calculation basis is the same, considering that the tax rate due on the operation is the interstate one, while the tax rate to be applied on the calculation basis for retention is the one estimated for internal operations in the destination State.

    The substituted taxpayer is the one that receives the goods with ICMS withheld by the substitute taxpayer.

    When performing internal outflows with these goods, except by provision existing in the legislation, no tax collection is required, since it was already withheld and paid for tax substitution (ST).

    Tax Substitution (ST) Code

    The tax status code (to which section 598 of this regulation refers) is composed of three digits, in which the first one indicates the origin of the goods based on Table A, and the last two digits refer to the ICMS taxation based on Table B (Agreement of 15.12.70 - SINIEF, Annex, in the SINIEF Adjustment number 06/2000, second clause) (NR) 4.


    Rates and others

    ICMS deals with the tax charged on the transit of goods, on interstate and intercity transport services, and communication services.
    It is a State jurisdiction tax. In the State of São Paulo, it is governed by Decree 45,490/00 - current ICMS Regulation of the State of São Paulo - RICMS/SP.

      Rate and rate differential

      The ICMS is a taxation of State jurisdiction and, as each State has its specific treatments and legislations in its territory, the tax rates vary according to the State to which they refer.

      The tax rates relate to products and services and States involved with transactions, among other factors.

      Example of tax rates from the State of São Paulo:

      Rate

      Destination

      25%

      ·   Communication, Perfumes, Cosmetics

      ·   Tobacco and its by-products;

      18%

      ·   Internal operations;

      ·   Operations dedicated to non-taxpayers, from any place.

      12%

      ·   Interstate operations with states from South and Southeast regions;

      ·   Transport Services

      ·   Accessories and farm tractors, machines, instruments, and industrial equipment.

      7%

      ·   Interstate operations to States from the North, Northeast, and Center-West Regions, and also to the state of Espirito Santo;

      ·   Rice, manioc flour, beans, meat, bread, and salt;

      ·   Products from the data electronic processing industry, manufactured by the industrial site.

      4%

      ·   Air transport services rendering.

      Rate Differential

      This differential is calculated according to the value of ICMS in the internal operation (the value of ICMS calculated in the tax document).

      If a reduction occurs in the calculation base in the interstate operation, it should be considered, because it is the value detailed in the tax document that covers the entry of the goods.

      Important:

      To treat the rates differential, the ICMS Diff. Calc. (F4_COMPL) field of the TIO (Types of Inflow and Outflow) must be set to Yes.

      Example of circulation of goods from Sao Paulo to Pernambuco:

      Operation Value

      $ 1,000.00

      Reduction in the Calculation Base

      30%

      Interstate ICMS (value detailed in the document)

      BRL 49.00 (BRL 700.00 x 7%)

      Internal operation ICMS

      BRL 170.00 (BRL 1,000.00 x 17%)

      Rate differential ICMS:

      $ 121.00

      Treatments used in the ICMS Calculation

      Table 53 - Numbering of taxes bills, for keeping the sequence numbering of ICMS bills;

      Refer to the parameters in Additional Information that are responsible for:

      • Enter the nature of ICMS bills generated in the Financial module;
      • Identify the code given to the State Secretariat for the collection of ICMS.
      • Register the standardized entry codes for accounting.
      • Enter the nature of the complementary ICMS bills generated in the Financial module;
      • Enter the nature of the bills related to the Special Fund for Combating Poverty (FECP) generated in the Financial module.
      • Indicate if the bills to be paid, generated in the calculation of the ICMS, should be presented on the screen after confirming the calculation for maintenance (an option in which it is possible to view/change the bills generated by the calculation). The system displays on screen all the bills payable generated by the calculation of ICMS. With this, it is possible to change any information about the bill generated at the time of the ICMS calculation (history, nature, or prefix).
      • Define the prefix of Accounts Payable (Local ICMS) generated in the ICMS calculation.
      • Treat the calculation of the differential rate ICMS. Enter if the base of the complementary ICMS should be reduced as the regular ICMS. The calculation can be made by the value of the operation, disregarding the reduction in the calculation base.
      • Indicate if the name of the calculation file for the previous period should be automatically entered by the routine. The file name of the previous period is automatically selected only when the name of a file is not entered in the Previous Period File? question according to the parameter configuration.


      Important:

      For the additional related to FUMACOP (Fund for Combating Poverty of the State of Maranhao) to be visualized in the ICMS calculation, it is necessary to fill the FUMACOP Rate field in the Products File with the percentage corresponding to the rate in question.

       In the calculation of ICMS of the period, the question Generate a Collection Form? must be set to YES to check the value to be collected to the FUMACOP.

       After the configuration of the questions and confirmation of the ICMS calculation, the collection form is generated.

      ICMS Calculation Entries - Tax Document

      The ICMS Calculation routine also received new implementation to be adjusted to the SPED operation.

      Besides calculating transactions of the period, entries concerning tax documents are listed and presented.

      Manual adjustments can also be made, provided they are previously registered as Calculation Adjustments (Adjustment Tp. = 2).

      Important:

      To use the calculation system appropriate to SPED, set the MV_USASPED to T, otherwise, the calculation uses the previous system, using the IC and ST files and the settings of the P9AUTOTEXT files.

      Routine parameterization is in the same format.

      After setting the parameters, it is verified if a calculation already exists for the selected period, and when found, two options are displayed:

      • Redo - By selecting this option, the previous calculation is retrieved and displayed on the screen for new adjustments.
      • Delete - This option is only allowed if no bills exist generated by the previous calculation. Here, the calculation is generated without considering data previously generated.

      In the Calculation - ICMS and Calculation - ST tabs, in addition to the existing fields, the EntryCode column is available.

      All entries used in documents within the period of the calculation are presented according to the definition of the document.

      Besides entries loaded from documents, manual adjustments can be made in the calculation using the Add Row option.

      Important:

      Relating the manual adjustments to an entry, that is, the completion of the Entry Code field becomes mandatory, and, besides that, it is validated for the row in which it was entered and the type of calculation (Regular or ST).

      After confirming the calculation, bills, and GNREs concerning calculation, as well as calculation files (with IC or ST extension), are generated.

      Besides calculation files, the CDH table (ICMS Calculation of the period) is fed, from which information about previous calculations is searched for reprocessing or query.

      Calculation, generation, treatment, and others related to ICMS

      The ICMS calculation routine is responsible for calculating the ICMS balance (debit or credit) related to the taxpayer's own operations, as well as calculating the ICMS balance coming from the Tax Substitution (ST).

        Generating the ICMS Calculation

        1. In ICMS Calculation, click Parameters and fill out data according to the field help instructions.
        2. Adjust the data in accordance with the instructions described in item Main Fields.
        3. Check and confirm data.
        4. Repeat the confirmation, and the system displays a new screen subdivided into tabs:
          • ICMS - Inflows
          • ICMS - Outflows
          • ST - Inflows
          • ST - Outflows
          • ICMS calculation
          • ST calculation
          • Additional Information
          • Calculation-Fomentar

        See also the features available in Other Actions.

        Tab - ICMS inflows

        This tab presents the summary of the incoming invoices organized in columns, totalized, and sorted by CFOP.

        Tab - ICMS Outflows

        This tab shows the summary of the outgoing invoices organized in columns, totalized, and sorted by CFOP.

        Tab - ST inflows 

        This folder displays the totalization of the Calculation Basis and the Tax Credited, by State, of the interstate inflows of products under the Tax Substitution system.

        Tab - ST Outflows

        This folder displays the totalization of the Calculation Basis and the Tax Debited, by State, of the interstate inflows of products under the Tax Substitution system.

        Tab - Calculation - ICMS

        The data is presented in columns containing:

        Row, Code, Description, Value, GNRE, and Expiration Class.

        Tab - Calculation - ST

        The data is presented in columns containing:

        Row, Code, Description, Value, GNRE, and Expiration Class.

        Tab - Additional Information

        This folder displays the following values related to the ICMS:

        015 - ICMS Withheld

        (Outflows-Returns)

        A total of the ICMS withheld in return transactions.

        016 - Additional ICMS (Tax Rate Differential)

        This corresponds to the differential of rates to enter in the ICMS Calculation, local operations, in the Other Debits/Other Credit rows, as needed.

        When a debt balance exists, the fields Tax Maturity Date and Collection Agency are enabled. The Notes field is always enabled.

         017 - ICMS Withheld

        (Sales Returns)

        A total of the ICMS withheld is displayed in the Outflow Return transactions.

        018 - ICMS Deferred

        The values related to the ICMS Deferred are displayed in documents with TIO indicating the deferral calculation.

        019 - Complementary ICMS

        Fixed Assets

        This displays the calculated Complementary ICMS value related to the inflow of fixed assets.

        020 - Complementary ICMS

        (Use or Consumption Mat.)

        The complementary ICMS calculated value related to material for use and consumption is displayed.

        021 - Credit Transf.

        This displays the values related to ICMS credit transfer in documents with TIO indicating the transfer.

        022 - Debt Transf.

        This displays the values related to ICMS debt transfer in documents with TIO indicating the transfer.

        023 - Mutual ICMS Credit

        Displays the value of the ICMS Solidario, only when the question Print ST Credit? is set to Yes.

        In this case, only inflows with TIO indicating the Tax Substitution credit are summed.

        024 - Incentive Credit

        The value calculated related to the State of Manaus Incentive Credit is displayed.

        The value is automatically entered into Other Credits when using the P9AUTOTEXT.AM autofill file; otherwise, the value must be manually entered.

        025 - Presumed Credit

        The value calculated referring to the Presumed Credit calculation of the State of Rio de Janeiro is displayed. This value is automatically entered into Other Credits when using the P9AUTOTEXT.RJ autofill file; otherwise, the value must be manually entered.

         We also see on this screen the Tax Due Date, the Collecting Agency, and the space for Notes.

        Tab - DIFAL/FECP

        This tab shows the data displayed in columns: Status, DIFAL to be collected, Credit DIFAL Balance, FECP to be collected, Credit Balance, and FECP/Special Debits.

        Tab - Special Debits

        This tab displays the data in columns: Row, Code, Description, Value, GNRE/Maturity Class.

        Setup Procedure 

        Fill in the information in the Extra Calculation Credits tab of the Calculation Entry routine (MATA964) or Invoice Entry (MATA985), verifying that the Credit Usage Code and Credit Adjustment Code fields are properly filled in.

        Usage procedures

        1. In SIGAFIS, access the ICMS calculation routine (MATA953) using the menu Miscellaneous->Calculations->ICMS Calculation.
        2. Fill in the initial questions of the routine and confirm the calculation processing.
        3. When you complete the calculation, check that, now, the new Extra Credits tab
        4. In this tab, codes for Extra Calculation Credits will be displayed, with the totalizers of the following values:
          1. Balance of tax credits from previous periods
          2. Total credit appropriated in the period
          3. Total credit received by transfer
          4. Total credit used in the period
          5. Accumulated tax credit balance to be carried forward to the following period

        5. When you double-click the row of the code, the details of the amounts will be displayed, separated by the sections Credit Receipt, Receipt by Transfer, and Credit Usage.

        6. In this detailed Extra Calculation Credits screen, we have the following values:

          1. A row identifying the section, where 0001 is credit receipt, 0002 is receipt by transfer, and 0003 is use
          2. Type of credit use as defined in the ICMS/IPI EFD layout
          3. Code value, as per the row section;
          4. Number of the document that originated this value (if any);
          5. Electronic invoice key that originated this value (if any);
          6. Source entry code that originated this value(if any)
          7. Type of entry, which can be Individualized Automatic, Grouped Automatic, or Manual

        7. To return to the consolidated screen, simply double-click the row that contains the <<<— RETURN description to display the consolidated screen again.

        8. When the calculation is completed, this information will be recorded in table CE5 with the details of the values, and also in table CE6 with the consolidated balances

        Inclusion of manual rows of extra calculation credits

        The inclusion of manual information in this tab can be done in two ways:

        1 - Manual inclusion directly in the Extra Calculation Credits tab

        On the consolidated screen, via using the Add Row button available in Other Actions, a new row will be added on the screen, and you will need to enter an entry code corresponding to MV_ESTADO UF with the fourth digit equal to 9.

        Once a valid code has been entered, it will be possible to access the detailed calculation by double-clicking this new row.

        In the detailed screen, you can also add rows in the Receipt, Receipt by Transfer, and Usage sections using the Add Row button available in Other Actions. When a new row is manually added on this screen, the entry type will be identified with the M - MANUAL description, and the credit usage type code and the value must be entered. The balances will be updated automatically. 


        2- Manual inclusion in the other tabs of the calculation

        Another way to include manual information in this tab is through the manual inclusion of entry codes in the tabs ICMS-Calculation, ST-Calculation, DIFAN/FECP, and Special Debits. If an entry code is manually added to any of these 4 tabs, and this code has a linked Credit Adjustment Code, a new row will also be automatically added to the Extra Calculation Credit tab with the same amount. In short, when an entry code exists linked to a Credit Adjustment Code, the row additions, edits, and deletions will also take effect in the Extra Calculation Credits tab.


        Automatic Rows of Extra Calculation Credits

        The information may also come automatically to this tab. This will occur when a voucher code is used in the tax document and recorded in the CDA table, which in turn has a Credit Adjustment Code linked, that is, the codes automatically loaded in the ICMS-calculation, ST-calculation, DIFAL/FECP, and Special Debits tabs, which have a linked Credit Adjustment Code will also be automatically loaded in this tab of the calculation. The entry type of the automatic rows may be AI - INDIVIDUAL AUTOMATIC when the adjustment code is individualized, or A - GROUPED AUTOMATIC when the code is configured as grouped.


        Procedures for Configuration

        To generate Forms and Bills via calculation, it is necessary to configure some parameters. 

        In the Configuration Tool (SIGACFG), access Environment/Files/Parameters to configure the following parameters:

        Items/Folders

        Description

        Name

        MV_SUBTRIB

        Type

        Character

        Description

        Taxpayer's State Registration Number in another State when there is Tax Substitution.

        Example of content

        PE18154502270978/SC123456789/RJ99999999/

        If the MV_SUBTRIB parameter is not sufficient to detail all the State Registration entries of the company, parameters with the name MV_SUBTRI and sequential numeric end must be created to add the remaining entries. Example: MV_SUBTRI2, MV_SUBTRI3, etc.

        Items/Folder

        Description

        Name

        MV_STUF

        Type

        Character

        Description

        States to be processed in the calculation of the Tax Substitution ICMS outflows only.

        Example of content

        SP/RJ/MG 

        Items/Folder

        Description

        Name

        MV_STUFS

        Type

        Character

        Description

        States to be processed in the calculation of the Tax Substitution ICMS outflows only.   

        Example of content

        SP/RJ/MG

        Items/Folder

        Description

        Name

        MV_TRANFST

        Type

        Character

        Description

        Indicate the CFOPs that will be used to identify the Transfer Invoices for GIAST processing.

        Example of content

        5409/6409

        Items/Folder

        Description

        Name

        MV_RECST

        Type

        Character

        Description

        It indicates each state standard vendor for generating bills payable of the Tax Substitution ICMS.    

        Example of content

        000001;01

        When configuring this parameter, you need to enter the code and store of the default supplier to generate the Tax Substitution bills for each

        State, with the following format:

        CCCCCC;LL

        where:

        CCCCCC = supplier code

        LL = supplier store

        The supplier code and store must be entered with the exact size of the Code (A2_COD) and Store (A2_STORE) fields available in the

        system. In the example above, the Code field (A2_COD) is 6 characters long, and the Store field (A2_LOJA) is 2 characters long.

        The acronym for each State is shown next to the parameter

        Examples: MV_RECSTRJ (standard supplier for the State of Rio de Janeiro), MV_RECSTMG (standard supplier for the state of Minas Gerais), and so on.

        When configuring this parameter, ICMS Tax Substitution Payable bills will be generated for States with UF different from the active company in the system.

        The parameters for all states in which the payer has State Registration must be created. The bills payable for Tax Substitution will only be generated

        for states with the parameter created and valid content, that is, with the supplier existing in the suppliers' file.

        Items/Folder

        Description

        Name

        MV_ESTADO

        Type

        Character

        Description

        Acronym of the state of the company using the System, to calculate the ICMS (7, 12, or 18%).                         

        Example of content

        SP

        Items/Folder

        Description

        Name

        MV_ICMS

        Type

        Character

        Description

        Defines the nature to be used in the automatic generation of the bill with the value of the ICMS calculated in the period by the calculation routine - MATA953.                                                                              

        Example of content

        ICMS

        Enter the code of the nature to be used. If the nature does not exist, it will be automatically registered by the routine.

        Items/Folder

        Description

        Name

        MV_APICMST

        Type

        Character

        Description

        Defines the nature to be used in the automatic generation of the bill with the value of the ICMS ST calculated in the period by the calculation routine - MATA953.  

        Example of content

        ICMS ST

        Enter the code of the nature to be used. If the nature does not exist, it will be automatically registered by the routine.

        Items/Folder

        Description

        Name

        MV_APICMP

        Type

        Character

        Description

        Nature of the Complementary ICMS Bill generated through ICMS calculation  

        Example of content

        ICMCMP

        Enter the code of the nature to be used. If the nature does not exist, it will be automatically registered by the routine.

        Additional ICMS bills payable will only be generated for states that have legislation to do so.

        Items/Folder

        Description

        Name

        MV_PFAPUIC

        Type

        Character

        Description

        Bill prefix of accounts payable generated by the ICMS Calculation routine.

        Example of content

        "ICM"

        Items/Folder

        Description

        Name

        MV_UFST

        Type

        Character

        Description

        Defines which States will be disregarded for the calculation of ICMS - Tax Substitution according to Decree 27,427

        of November 17, 2000 - Section 23 - RJ

        Example of content

        RJ

        Enter, in this parameter, the state of Rio de Janeiro, if the taxpayer is established in RJ and has the need to delete the transactions with its State in the ICMS Accounting Registration - Tax Substitution page of Record P9 and create a Summary of Tax Calculation - Tax Substitution - Internal Operations.

        This parameter will only have functionality for the state of Rio de Janeiro and for the issuance of the ICMS Accounting Registration – P9.

        Items/Folder

        Description

        Name

        MV_TITAPUR

        Type 

        Logical

        Description

        Indicates whether bills payable generated by the calculation of ICMS should be presented on the screen after confirmation of the calculation for maintenance.  

        Example of content

        .F. or .T.

        Items/Folder

        Description

        Name

        MV_CODRSEF 

        Type

        Character

        Content

        Define the NF-e Return Code(s) that should be considered in the ICMS Calculation.  

        Example of content

        '100'

        This parameter will have an effect only for SPED, CTE, and NFCE kinds.

        The other kinds will be considered in the calculation of ICMS regardless of whether or not the parameter is filled.

        If the parameter is not created or is without content, the information considered in the calculation of ICMS for NF-e will be:

        • '' - No return from Sefaz
        • '100' - Authorized use of NF-e

        Usage Procedures

        In Tax Records (SIGAFIS), go to Miscellaneous/Calculation/ICMS Calculation (MATA953) and set specifically the questions Generate Bills and Generate Collection Form to Yes. Answer the other questions as needed. According to the configuration of the parameters MV_STUF and MV_STUFS, the National Tax Payment Forms are generated by State of the amount related to the Tax Substitution ICMS. If the parameter MV_RECST is set for each State in which the forms were generated, the bills payable will also be saved. The bills payable for the regular ICMS and the complementary ICMS (rate differential) will also be generated. If the parameter MV_TITAPUR exists and is set to .T. (true), when confirming the calculation, the generated bills will be displayed on the screen for possible maintenance.

        Example:

        We calculated the ICMS for a period in which we obtained the following values to collect:

        Regular ICMS: BRL 600.00

        Complementary ICMS: BRL 500.00

        ICMS - Tax Substitution: BRL 2,250.00

        Upon confirmation of the calculation, the National Payment Forms and bills will be generated. Each generated bill (for each tax) will be displayed on the screen for possible maintenance.

        Other Actions/MThread Log

        In this option, the system displays the Processing Log screen related to the ICMS calculation.

        The Warnings and Processing Errors icon are at the bottom.

        Click Search to find specific items, or Details to view other information for the selected item.

        To speed up the process of booking the Tax Calculation to the ERP Records, this routine distributes the processing using multiple threads that divide the load of the period, considerably reducing the time.

        Parameter

        Description

        Content

        MV_RF3THRE

        Enables RESUMEF3 processing via Multithread. 

        .F. or .T.

        MV_RF3THR

        Indicate the number of threads to be used when processing the routine. Default 3

        Up to 5

        MV_RF3MXT

        Define the maximum number of threads supported by the routine. Default 5

        Up to 5

        MV_RF3LOG

        Enable or not the saving of the processing log in the Console.log file

        .F. or .T.

        Other Actions/Captions

        Click this option to display the table for the system captions.


        Specific Concepts by State

          Simples - Santa Catarina

          This routine enables the calculation of the tax collectible from micro and small-sized businesses in the State of Santa Catarina which opted for the Simples System.

          To use the Simples/SC benefits, the micro and small-sized business must obtain their previous framing based on the annual gross income in the following manner:

          • Equal or lower than BRL 160,000.00 (one hundred and sixty thousand reais) is considered micro business;
          • Higher than BRL 160,000.00 (one hundred and sixty thousand reais) and equal to or lower than BRL 2,000,000.00 (two million reais) is considered a small business.

          The micro and small businesses are monthly subject to the collection, by the ICMS, of the equivalent amount:


          Taxable Revenue

          ICMS Amount Collectible

          Up to R$ 5,000.00

          BRL 25.00

          More than R$ 5,000.00 and equal or lower than R$ 8,800.00

          0.5% on the Taxable Revenue

          More than R$ 8,800.00 and equal or lower than R$ 17,700.00

          1% on the Taxable Revenue

          More than R$ 17,700.00 and equal or lower than R$ 35,600.00

          1.95% on the Taxable Revenue

          More than R$ 35,600.00 and equal or lower than R$ 71,000.00

          3.75% on the Taxable Revenue

          More than R$ 71,000.00 and equal or lower than R$ 106,800.00

          4.85% on the Taxable Revenue

          More than R$ 106,800.00

          5.95% on the Taxable Revenue


          It is considered a Taxable Revenue with the value corresponding to:

          • goods sales and services rendering not involved in the Cities tax competence;
          • non-operational incomes, excluding from them the financial incomes of interests, indexation, and discounts;
          • revenue made by all sites of the same company, inside or outside the State of Santa Catarina;
          • Own revenues, and revenues made by trading funds or commercial/industrial sites acquired by the company when it is exploiting under the same corporate name or another one;
          • Sales of assets acquired for integrating the fixed assets, except when they occur after the regular use, considering a period not less than 12 months.

          According to the current legislation, the taxpayers fitting this system, when performing goods outflows or services rendering dedicated to taxpayers not fitting to the same system, must emphasize the ICMS relating to the operation for the purchaser to be credited of the value.

          The ICMS detailed in the tax document must be registered in the Tax Debited column of the Outflow Records, but it must not be displayed in the ICMS calculation, since the calculation of the tax collectible must be performed based on the Taxable Revenue of the period, as previously described.

          Therefore, a new process was developed to calculate the ICMS for companies choosing the Simples/SC performing operations for both types of companies.


          Who is it aimed at

          Taxpayers choosing the Simples/SC system.

          Purpose

          Calculate the ICMS amount to be monthly collected, taking into consideration the operations performed with companies that opted or not for the Simples/SC system.

          Delivery term

          No delivery The ICMS amount must be displayed in the ICMS calculation of the site.

          Reach

          State - Santa Catarina

          Where to find information

           http://www.sef.sc.gov.br/

          Legislation involved

          ICMS Rules 2001 RICMS01, Annex 4 (about the Different and Simplified Process of Micro and Small Business - Simples/SC).



          Credit reversal - Pernambuco according to Section 34, III, of Decree No. 14.876/91 - State of Pernambuco

          By the ICMS Calculation, it is possible to calculate ICMS credit reversal based on inflow operations.

          The following paragraph has been copied from the Section abovementioned.

          The use of reduced rate imports a ban on the use of the full tax credit for the purchase of the goods. Thus, in relation to the outflows contemplated with a reduced rate, the taxpayer must reverse the portion of the tax credit proportional to the reduction.

          When, at the domestic outflow, the rate of 7% is levied, the portion of the usable tax credit shall correspond to the following percentage:

          Internal Rate

          Credit

          17%

          100%

          7%

          x

          X = 41.18%

          Therefore, the percentage corresponding to 58.82% (100% - 41.18%) should be reversed.

          When, at the domestic outflow, the rate of 12% is levied, the portion of the usable tax credit shall correspond to the following percentage:

          Internal Rate

          Credit

          17%

          100%

          12%

          x

           X = 70.58%

          Therefore, the percentage corresponding to 29.42% (100% - 70.58%) should be reversed.

          Copy the P9AUTOTEXT.PE file to the directory corresponding to \SYSTEM.

          1. In the TIO File (Types of Inflow/Outflow), enter the percentage to be reversed in a said item with the levy of ICMS in the Rev % field (F4_ESTCRED). The credit reversal is only calculated if a percentage is entered in this field.
          2. In the following fields, the system updates the credit reversal value when purchasing a particular good.
          • Rev. Vl. (F3_ESTCRED)
          • Rev. Vl. (F1_ESTCRED)
          • Rev. Vl. (D1_ESTCRED)
          • Rev. Vl. (FT_ESTCRED)

          3. In the ICMS calculation, after the routine is processed, see, in the Additional Information tab Row 031, the total amount of the credit reversal. To display this credit value in Credit Reversal in the ICMS-Calculation tab, use the auto-filling available in the file P9AUTOTEXT.PE.

          4.This configuration automatically posts the calculated value in the following way:

          003.01 - REV. REF SECT. 34, III, OF DECREE No. 14,876/91.

          Important:

          If it is necessary to edit the description or the item placement, adjust the file P9AUTOTEXT.PE.

          The sub-item code recorded in the Complementary Information and ICMS Calculation tabs is only entered automatically into the state of Pernambuco because it has a specific treatment for Section 34, III, of Decree 14,871/91. For the other States, it should be evaluated and implemented as needed by each situation.

          Calculation of Credit Reversal for ICMS - Federal District according to subsection V of section 60 of Decree 18,955 RICMS-DF

          1. In ICMS Calculation, complete the routine parameters and confirm.
          2. In the ICMS Calculation tab, the value of credit reversal is displayed, calculated as follows:

          (Value of unitary calculation base of the incoming invoice * inflow rate) * (quantity of outgoing invoice/100) * reduction percentage of outflow ICMS base.

          Example of calculation:

          • An incoming invoice with calculation base equal to BRL 12,500.00, a rate equal to 7%, and a product quantity of 250.
          • Outgoing invoice, with reduction of 16.67, a quantity equal to 10.

          ((12500/250) * 0.07) * (10/100) * 16.67 = 5.834 – The system does not round it

          The value of the credit reversal is 5.834.

          Reversal of debits in the provision of Transport Services - Minas Gerais according to RICMS - MG Decree 43,080 of 2002, Annex XV Section 4.

          Who is it aimed at

          To the transferors/senders enrolled in the ICMS Taxpayers Registry who are responsible, as a taxable person for substitution, for the payment of the tax due in the provision of road transport service.

          Purpose

          Make the tax reversal, and the transferor/sender of the goods is responsible for the collection of the tax.

          Reach

          State – MG.

          Legislation involved

          RICMS-MG Decree 43,080 of 2002, Annex XV Chapter II Section I Art. 4.

          Copy the P9AUTOTEXT.MG file to the corresponding \SYSTEM\ directory (if version 8.11 and 10). The file is used only for taxpayers in the state of MG.

          Important:

          TIO File: Assign the debit reversal percentage in the F4_ESTCRED field;

          The debit reversal calculation is only done if a percentage is listed in this field.

          Regarding the legislation implemented according to the bulletin, the reversal should be 100%.

          ICMS Calculation: Fill in the respective routine questions.

          After the routine is processed, the total amount of the debit reversal is displayed in the Additional Information tab.

          For the value to be displayed in the Debit Reversal of the Calculation-ICMS tab, use the auto-filling provided by the file P9AUTOTEXT.MG. This configuration automatically enters the value calculated as follows:

          007.01 - REVERSAL ACCORD. TO SECTION 4 AN. XV OF RICMS/MG

          If it is necessary to edit the description or the item placement, adjust the file P9AUTOTEXT.MG.

          Note:

          This sub-item code is only entered automatically into the state of Minas Gerais, as it has a specific treatment for Section 4 of Decree no. 43,080/2002; for the other States, it must be evaluated and implemented according to the need for each situation.

          Incentive Credit - Manaus

          Based on the inflow and outflow operations with goods encouraged in the State of Amazonas, the system enables the Manaus Incentive Credit calculation.

          Finished goods, when destined for civil construction companies or similar works, as well as operations with electronic equipment destined for production, are examples of products/operations that give the right to the Incentive Credit.

          The industries with the right to the Incentive Credit apply the reimbursable credit amounts in their ICMS calculation, thus checking the final balance of the period.

          Who is it aimed at

          ICMS taxpayers from the State of Amazonas.

          Purpose

          Calculating the Incentive Credit provided to industries allowed to have reimbursable credits in operations with finished goods.

          Reach

          State – Amazonas

          Delivery term

          No delivery The calculated credit amount must be presented in the establishment ICMS calculation, thus calculating the ICMS amount to be carried to the next month of the period.

          Where to find it

          http://www.sefaz.am.gov.br

          1. In the Products File, assign the corresponding NCM code. The calculation of the Incentive Credit is carried out for the products that have the percentage informed. In the field, indicate if the percentage used in the Outflow is the one reported in the product record or the NCM x Customer Type binding in the MV_CRDM001
          2. In the Customers File, enter the framework in the Incentive Credit: 1 = Not Encouraged; 2 = Construction Company; 3 = Others;
          3. The calculation of the incentive credit is made only to those registered for transactions with Constructing Company (2) or Others (3).
          4. In the TIO File routine, assign whether or not to calculate the incentive credit by entering in the field the form of calculation: 1 = Do Not Calculate;2 = Electronic Equipment; 3 = Construction.
          5. The Incentive Credit calculation is only performed in the Inflow and Outflow Types registered for transactions with Electronic Equipment (2) or Construction (3).
          6. In the Inflow/Outflow Transactions: Type the inflow and outflow operations using the products and TIO registered, as described in topics 3 and 4.
          7. In the ICMS Calculation: Fill in the respective questions, and, in the Generate Incentive Cred. question, enter Yes.
          8. After processing the routine, the total amount of the Incentive Credit is displayed in the Additional Information tab, row 024. If you want to display the credit value in Other Credits of the Calculation-ICMS tab, use the self-filling provided by the file P9AUTOTEXT.AM.
          9. This configuration automatically enters the value calculated as follows: 006.01 - Incentive Credit. If it is necessary to edit the description or the item placement, edit the file P9AUTOTEXT.AM.
          10. In the ICMS Calculation Record P9: Fill in the respective questions, and, in the Print Incentive Credit question, enter Yes.
          11. After processing the routine, the information related to the Incentive Credit is displayed in the Tax Calculation Summary, Additional Information Chart, separated by Reimbursable Percentage and Amount, according to the current legislation requirements.

          Statute no. 4533 - 2005 - Rio de Janeiro

          This routine contemplates the State Statute No. 4.533 of April 4, 2005, which regulates the economic recovery policy of the cities of Rio de Janeiro, providing a special tax process to the companies.

          The companies allowed a special process apply a specific tax rate on the monthly billing amount, deducing the amount obtained from the ICMS collectible of the period.

          Who is it aimed at

          Industrial establishments installed or to be installed in the cities existing in the Law.

          Purpose

          Providing a special tax process.

          Reach

          State – Rio de Janeiro

          Where to find the Statute

           http://alerjln1.alerj.rj.gov.br/contlei.nsf/leiord?OpenView


          For Statute no. 4533 to be properly contemplated, it is necessary to perform the following procedures:

          In the Configuration module, option Environment/Files/Parameters, observe the configuration of the following parameter:

          Name

          MV_REGESP

          Description

          Equivalent percentage to the ICMS Collection Special System to be applied on the billing in the reference month.

          For the ICMS calculation, only the Internal and Interstate Outgoing Invoices are considered, not considering the Return Invoices and forwarding them to Processing.

          In the ICMS Calculation: Fill in the respective questions and confirm the processing.


          Tip:

          Since this benefit is unique, that is, the value of the tax to be collected in the period is exactly the specific rate on the amount of the monthly billing, if other debts or credits are included manually, the deduction amount must also be changed manually so that the tax amount to be collected is correct.

          Use of ICMS Credit - Outgoing Operations for Taxpayer Replaced pursuant to Section 271 of RICMS - SP.

          Section 271 - The reimbursement of the value of the withheld tax or the installment of the withheld tax, provided for in Section 269, subsection IV, does not prevent the use of the credit by the taxpayer, when admitted, of the tax levying on the outgoing operation promoted by the taxable person for substitution by entering it in the book ICMS Calculation Record, in the table Tax Credit - Other Credits, with the expression Credit related to the proper operation of the substitute (Statute no. 6,374/89, section 36, with amendment of Statute no. 9,359/96, section 2nd, I). 

          • Paragraph 1 - In the event that the goods have been received from another replaced taxpayer, the value of the tax levying until the previous operation is calculated by applying the internal rate on the basis of calculation that would be attributed to the sender's own operation if it was subject to the common taxation system. 
          • Paragraph 2 - The value of the credit referred to in the previous paragraph cannot be higher than that resulting from the application of the internal rate on the value of the basis of calculation of the withholding made by the taxable person by substitution. 
          • Paragraph 3 - In the impossibility of identifying the incoming operation of the goods, the replaced taxpayer may consider the value of the credit corresponding to the most recent entries, sufficient to carry the amount involved. 

          Who is it aimed at

          To the taxable person for Tax Substitution (ST) who gives outflow with ICMS levy according to section 271 of RICMS/SP

          Purpose

          Control and calculation of the value of ICMS credit in the outgoing operations of the substitute taxpayer in acquisitions.

          Reach

          State – São Paulo

          Credit granted - Sao Paulo according to Decree no. 56,018 of July 16, 2010, Decree no. 56,855 of March 18, 2011, and Decree no. 56,874 of March 23, 2011, of the State of Sao Paulo.

          Credit is granted to sites or companies in the State of Sao Paulo according to the Legal Framework.

          Who is it aimed at

          Sites or companies of the Sao Paulo state according to law.

          Purpose

          Providing a special tax process.

          Reach

          State - São Paulo

          Where to find the Decree

          Decree no. 56,018 http://www.al.sp.gov.br and Decree no. 56,855 http://www.al.sp.gov.br and Decree no. 56,874 http://www.fazenda.sp.gov

          Preconditions

          Before generating the credit granted:

          1. The configuration file P9AUTOTEXT.SP must be within the \SYSTEM directory of Microsiga Protheus.
          2. In the TIO File, assign the percentage of the Credit Granted (F4_CROUTSP) applied to the item of the invoice as ruled by the legislation.
          3. The MV_CROUTSP parameter must be filled in with the four (4) first digits of the NCM code that includes Decree no. of July 16, 2010, and Decree no. 56,855 of March 18, 2011, separated by slash ( / ) so that the System displays the value of the credit granted automatically using the P9AUTOTEX.SP routine.

          After these settings, generate the incoming and outgoing transactions so that the Credit Granted field is automatically fed according to the application of the configured percentage.

          Notes

          According to Decree no. 56,018 of July 16, 2010, it is considered credit granted if the Common Nomenclature of MERCOSUR – NCM of the product is classified under code 16.01 (sausages and similar products, of meat, offal, or blood; food preparations based on such products) and 16.02 (Other prepared or preserved meat, offal, or blood) and their subheadings.

          According to Decree no. 56,855 of March 18, 2011, a manufacturer of sterilized milk (long life) classified under codes 0401.10.10 and 0401.20.10 of the Common Nomenclature of the Mercosur - NCM may be credited with an amount equivalent to the application of the percentage of 14% (fourteen percent) on the value of the internal outflows of the said goods produced in their site.

          According to Decree no. 56,855 of March 18, 2011, the site producing yogurt and fermented milk classified, respectively, under codes 0403.10.00 and 0403.90.00 of the Common Nomenclature of the Mercosur - NCM, may be credited with an amount equivalent to the application of the percentage of 7.5% (seven whole and five-tenths percent) on the value of the internal outflows of the said goods produced in their site.

          According to the section added by Decree no. 56,874 of March 23, 2011; DOE 24-03-2011; Effective from April 1st, 2011, the furniture manufacturer site classified in code 3101-2/00 of the National Classification of Economic Activities - CNAE may be credited with an amount equivalent to the application of the percentage of 5% (five percent) on the value of the internal inflow of the following products.

          I - Wood particle board (MDP) classified under codes 4410.11.10 to 4410.11.90 of the Common Nomenclature of the Mercosur - NCM, except code 4410.11.21 (laminate flooring);

          II - Medium-density wood fiber panels (MDF) falling within codes 4411.12 to 4411.14 of the Common Nomenclature of the Mercosur - NCM, except code 4411.13.91 (laminate flooring);

          III - Wood fiber sheets classified under codes 4411.92 to 4411.94 of the Common Nomenclature of the Mercosur - NCM.

          To generate the Granted Credit value:

          1. In ICMS Calculation, fill out the questions of the routine.
          2. After processing the routine, the Credit Granted amount is displayed and presented in the tab:
          • ICMS Calculation, Row 006/Code 007.32 – Credit Granted – Section 31 of Annex III of the RICMS, and, in the Additional Information tab, row 045, the value of the credit granted.
          • ICMS Calculation Row 006/Code 007.33– Credit Granted - Section 32 of Annex III of the RICMS, and, in the Additional Information tab, row 045, the value of the credit granted.
          • ICMS Calculation Row 006/Code 007.34 – Credit Granted - Section 33 of Annex III of the RICMS, and, in the Additional Information tab, row 045, the value of the credit granted.
          • ICMS Calculation Row 006/Code 007.35 – Credit Granted - Section 34 of Annex III of the RICMS, and, in the Additional Information tab, row 045, the value of the credit granted.

          Partial ICMS Tax Anticipation, according to the legislation contemplated, refers to Decree no. 8,963 of February 11, 2004 – BA Ordinance SF 84 of April 29, 2004 – PE Decree no. 52,515 of 2007 – SP Decree No. 52,742 (DOE of February 23, 2008), Decree No. 19,714, (DOE of August 4, 2003) – MA

          It performs the treatment to calculate the credit when referring to the Tax Anticipation of ICMS in the incoming operations with differential rate and margin of Solidario, aimed at all taxpayers who make purchases from other States and that have an operation rate of less than the internal rate, or the internal rate greater than 12% (adjusted ST-VAT).

          Requirements: In the TIO records, enter if the operation refers to the Tax Anticipation of ICMS.

          Note:

          • The value related to ICMS Tax Anticipation is calculated using the same calculation rule in the generation of the complementary ICMS, but it is not necessary to generate the complementary ICMS to calculate the anticipation of ICMS.
          • When the operation is ICMS Tax Anticipation, the value is not added to the cost of the product.
          • To calculate the value of ICMS anticipation using the adjusted ST-VAT, the field B1_IVAAJU must be set to 1 (Yes), and the internal rate must be greater than 12%. Otherwise, the ICMS anticipation calculation uses the original VAT-ST.
          • For the states of Bahia, Pernambuco, Sao Paulo, and Maranhao, the value of the anticipation of ICMS is automatically entered after configuring the files BA (Bahia), P9AUTOTEXT.PE (Pernambuco),P9AUTOTEXT.SP (Sao Paulo), and P9AUTOTEXT.MA (Maranhao). This configuration automatically posts the calculated value in the following way:

          For the states of Bahia, Pernambuco, and Maranhao: 006.02 - ICMS TAX Anticip. If necessary, change the description or layout of the item by adjusting the P9AUTOTEXT file.

          For the state of São Paulo: Local ICMS: 002.12 – Anticipated Payment – Section 277 of RICMS 007.99 – Anticipated Collection – Art. RICMS item 426-A. ICMS ST: 002.99 – Anticipated Payment – Section 277 of RICMS 007.99 – Anticipated Collection – Section 426-A of RICMS.

          In Data Processing System, when issuing the report, the value for the anticipation of ICMS is presented in the Note column.

          • If other information is required in the Notes column, such as the date of collection, value, and income code, perform the following procedure:

          In the Formula field, add a formula that points to an RDMAKE.

          • Register a GNRE – National Payment Form with the amount paid in advance, and this form will be used by the formula in the included RDMAKE.
          • Register an Inflow TIO related to the formula previously registered and enter YES in the field referring to the ICMS Anticipation.
          • Add an incoming document with this TIO associated, i.e., the document will contain the anticipation value.
          • Check the Data Proc. System report, in which the information included in the RDMAKE is added to the Notes

          This document aims to assist the generation of Accumulated ICMS Credit related to export or other hypotheses according to Section 106 of RICMS/BA.

          Setup Procedure

          In the Configuration Tool (SIGACFG), access Module/Files/Parameters and note the configuration of the following parameters:

          Items/Folder

          Description

          Name

          MV_ESTADO

          Type

          Character

          Description 

          Acronym of the state of the company using the System, to calculate the ICMS (7, 12, or 18%). 

          Example of content 

          BA

          Items/Folder

          Description

          Name

          MV_APURBA

          Type

          Logical

          Description

          Indicate whether to use Special ICMS Calculation with Accumulated Credit (T) or not use it (F).

          Example of content

          .F. or .T.

          The completion of this parameter is essential for the correct operation of the process.

          Usage Procedures

          1. In Tax Records (SIGAFIS), access Updates/File/Types of Inflow and Outflow and fill in the Accum ICMS Cr (F4_CREDACU) and Accum. ICMS % (F4_PCREDAC) fields.
          2. Miscellaneous/Calculations/ICMS Calculation (MATA953).
          3. Complete the parameters according to the field help instructions.
          4. Check, in the Additional Information folder, rows 35 (Accumulated Credit - Export) and 36 (Accumulated Credit - Other Hypothesis) that the values have been displayed correctly. 
          5. In Tax Records (SIGAFIS), access Updates/File/Types of Inflow and Outflow and fill in the Accum ICMS Cr (F4_CREDACU) and Accum. ICMS % (F4_PCREDAC) fields.
          6. Miscellaneous/Calculations/ICMS Calculation (MATA953).
          7. Complete the parameters according to the field help instructions.
          8. Check, in the Additional Information folder, rows 35 (Accumulated Credit - Export) and 36 (Accumulated Credit - Other Hypothesis), the values presented.
          9. In the Accumulated Cred. - Export or Accumulated Cred. - Other Hypothesis folders, the values previously calculated and displayed in the Additional Information folder must be displayed.

              Important

          • In the Additional Information folder, the amounts for Accumulated Credit will automatically be displayed.
          • In the Accumulated Credit - Export folder, the amount for the accumulated credit must be manually entered. Therefore, the taxpayer is the one who will determine the value to be used. The taxpayer must also enter the amounts related to debts.
          • In the Accumulated -Oth. Hypotheses folder, the amount related to the accumulated credit must be manually entered, so the taxpayer will determine the amount to be used. The taxpayer must also enter the amounts related to debts. "



          Main Fields 

          Fields

          Description

          Calculation Month?

          Enter the Month in which the calculation will be performed.

          Example:

          02

          Calculation Year?

          Enter the Year in which the calculation will be performed.

          Example:

          15

          Selected Records?

          Enter the selected Record for calculating the ICMS. Filled in with “*”, the system uses all tax records to which the ICMS Calculation is referred.

          Calculation?

          Select the type of period for the calculation among Every Ten Days, Fortnightly, Monthly, Half-Yearly, and Annual.

          Period? 

          Choose the calculation period among: 1st; 2nd; 3rd or 1st e 2nd periods

          Previous Period File?

          Enter the file name previously generated for the system to bring the credit balance of the previous period.

          Bill Currency?

          Inactive question.

          Note: For proper functioning of the routine, we are keeping this question. It will always take into account currency 1, regardless of the value that is entered.

          Generate Bill?

          Select Yes to generate the bill; otherwise, select No.

          When this field and the Generate Payment Form field are set to Yes, the ICMS of the period is calculated in order to check the value to be collected to Fundersul, and the calculated value of the FUNDERSUL is displayed in the Additional Information tab.

          Display Accounting Entry?

          Select Yes to display accounting entries; otherwise, select No.

          Consider Branches?

          Select Yes to consider company branches when generating the file; otherwise, select No.

          From Branch?

          Enter the start branch code for file generation. Leave this question blank and fill To Branch? With ZZZ for the system to consider all branches.

          To Branch?

          Enter the end branch code for file generation.

          Print Payment Form?

          Choose the Yes option to have the system automatically generate the National Payment Form.

          Important:

          In addition to the GNR related to the ICMS calculated, the system generates a GNR with the value of the ICMS-Tax Substitution (ST). However, it is important to note that the latter is not necessary as a tax document/form due to the ICMS-ST being already contained in the first GNR mentioned. The system generates this form because it needs to have the ICMS-ST values separate for various treatments, not by legal requirement.

          When this field and the Generate Bill field are set to Yes, the ICMS of the period is calculated in order to check the value to be collected to Fundersul, and the calculated value of the FUNDERSUL is displayed in the Additional Information tab.

          Generate Credit Incentive? 

          This question enables the Generation of Credit Incentive-Manaus in ICMS Calculation.

          Print ST Credit?

          Use the Yes option for Solidario (Joint) Credit Value in the column By Inflows/Acquisitions or No otherwise, or the Return option to consider only the credit for sale returns.

          Consolidation of same State?

          Compliance with Art. 121 of ANNEX 5 of RICMS/SC.

          This article determines that every transport service provider has to present the ancillary obligations consolidated by the head office, and this consolidation must cover only the companies that are located in the same state of the head office.

          Use the Yes or No options.

          Generate Complem. ICMS Bill? 

          Generate bill for complementary ICMS. Enter Yes to generate the bill, or No to not generate it.

          Print Summary Map? 

          Used in the obligation of bookkeeping of the record according to the Summary Map.

          This question is only valid if the parameter MV_LJLVFIS is set to 2.

          Select Branches?

          Use the Yes option to select the desired branches, or No to consider only the current branch.

          MT Pres. Cred?

          This option indicates whether to calculate the MT Presumed Credit. Select Yes to consider or No otherwise.

          Delete GNR?

          Indicate whether to delete the GNRE (Yes/No).

          Group by EIN+IE?

          Select Yes to group by CNPJ together with IE, or No otherwise.

          Process Agreem. 139/06

          Indicate whether to consider invoices for the treatment of Agreement 139/06 (Yes/No).

          GNRE/Bill Agreem. 139/06?

          Indicate whether to generate the bill for Agreement 139/06 (Yes/No).

          Fluig Bill Approv. Initial Req?

          If you select Yes

          After the tax calculation, a request will be initiated in Fluig.

          As long as the request is not approved, the bill is not generated in table SE2 (Bills payable). Bill information is recorded in table CU1 (Fluig Bill Approval) where the approval of the request is stored to generate it.

          The remainder of the ICMS calculation process will occur normally, that is, all tables related to the calculation will be generated. After approval of the request in Fluig, the CDH table (ICMS calculation) generated during the ICMS calculation will be supplemented with the information of the generated bill. If the Fluig request is rejected, the bill will not be generated, and the information generated by the calculation will remain without modification.

          If you select No: The ICMS calculation will occur as usual without using any Fluig integration, that is, all information (including bills) will be generated as normal.

          Important: To use this feature, you must use an environment with the Protheus x Fluig integration configured.

          PROTEGE-GO? Bill tab

          Indicate whether the bill payable is generated from the contribution values of PROTEGE-GO.

          Calc. ICMS Diff. (F4_COMPL) 

          From TIO (Types of Inflow and Outflow) must be set to Yes.

          Group Solid.

          In the configuration of the fields related to ICMS-ST taxation in the TIO File, configure the fields:

           Group Solid., ICM-SY LF, Comp. ICM. MKP set to No to avoid re-taxation of the values in the ICMS Calculation

          FECOP ST Rate  

          Enter the percentage of the Presumed Tax Substitution Credit (ST) withheld by the contractor of the transportation service. Legislation of the affected States: Decree no. 20686/1999 (AM)

          With the rate increased by 2% and enter 19% or 27% in the field.

          The configuration is related to the calculation of the FECOP in the invoices and in the calculation. Pres. Crd.%

          Calculate ICMS 

          Enter Yes (so that the regular ICMS of the operation is calculated, and the right to a credit is kept);

          Code

          Identify the code given to the State Secretariat for the collection of ICMS.

          Pr.ST.Cred  

          Enter 20 (the percentage that should be used for the calculation of the presumed credit);

          ICMS Cred.

          Enter No, so that the right to the credit of the regular ICMS of the operation is not kept;

          Debit (so that the amount retained in the freight is released as a debit payable);

          ICMS ST Cred.

          It stores the TIO configuration history, indicating if TIO must credit or debit the Tax Substitution ICMS.

          Indicate if the TIO must credit or debit the Tax Substitution ICMS by entering: 1=Credit;2=Not Applicable;3=Debit.

          ZFM Cred. 

          Value of the Presumed Tax Credit related to interstate acquisitions of the Manaus Free Trade Zone. 


          In order to be able to enter the credit value on each of the items in the incoming invoice for further calculation, it is necessary to configure this field manually with the credit value of the item. To facilitate the process of entering the tax document, we suggest that a trigger is created so that the field is filled in in certain situations.


          Value of the Presumed Tax Credit related to interstate acquisitions of the Manaus Free Trade Zone of the item.


          Example: 


          MaFisRef(“IT_CRDZFM”,”MT100”,M->D1_CRDZFM)


          Where: M->D1_CRDZFM should be M-><name of the field created by the user to include the Presumed Tax Credit of the item>

          ST Cred./Deb. 

          Define whether the entry was carried out with credit or debit of Solidario (Joint), according to the TIO configuration. 

          Set whether credit or debit exists for the substitute ICMS.

          Select one of the options: 1=Credit; 2=ST Withheld; 3=Debit; 4= Tax Subst.

          Tax Due Date

          This field is enabled when a debit balance exists.

          016 - Additional ICMS (Tax Rate Differential) 

          The tax rate differential must be entered in the ICMS calculations, local operations, in the Other Debts/Other Credits rows if needed. When a debit balance exists, the fields Tax Maturity Date and Collection Agency are enabled. The Notes field is always enabled.

          ICM.Sol.Tax. 

          Value of the Solidario (Joint) ICMS that was taxed at the inflow or outflow, allowing the right to a credit in the ICMS calculation record.

          ICMS w/o ST  

          No (so that the regular ICMS value is not part of the withheld ICMS calculation base);

          ICMS-ST LF

          In the configuration of the ICMS-ST taxation fields in the TIO File, configure the fields Add Solid., ICM-ST LF, MKP. 

          Configure this field in situations where ICMS Tax Subst. bookkeeping is required, calculated in the transaction, in the Exempt, Other, or Taxed columns.

          Select one of the options: N=No; I=Exempt; O=Other; T=Taxed.
          If the treatment of the ICMS ST is the one commonly used, keep this field set to “N”.

          ICMS Tax Record

          Taxed (so that the right to the credit of the regular ICMS of the operation is kept);

          Selected Records?

          Enter the number of the record to be used in the calculation.

          Solid.Marg.

          Never (so that profit margin is not used for calculation of withheld ICMS). 

          Comp.ICM.MKP  

          When configuring the fields related to ICMS-ST taxation in the TIO File, set the fields Group Solid, ICM-ST LF, Comp.ICM.MKP to No for the values not to be taxed again in the ICMS Calculation

          Nature 

          Enter the nature of the bills related to the Special Fund to Combat Poverty (FECP) that will be generated in the Financial Module.

          Collecting Agency

          This field is enabled when a debit balance exists.

          Prefix

          Set the prefix of accounts payable bills generated by the ICMS Calculation routine.

          Solid. Rem. 

          No (the notes column of the official tax records will be assembled according to the calculated values)

          Pres.Cred.Vl.

          It stores the amount resulting from the application of the percentage of presumed credit or the reduction of the ICMS withheld by the transferor/sender of the provision of road freight transport service, entered in the field Presumed ST Credit in the TIO File.