Tasks to be completed when documenting an operation (from creation to publication)1. Enter the Title of the operation / page2. Add the following Labels :
3. Fill in all fields as described above4. Name the title of each section using OPD methodology naming convention - Infinitive verb without the “to”, mainly action verb...something) - " I do something..."5. Once the description of the operation is completed, ensure it is approved and published by launching the SBS-Finance approval workflow |
| Domain: 1. Enter the Domain identified in OPD matrix (for Country specific operations, Domain = Country Accounting) |
Responsibility area: 2. Enter the responsibility area described in OPD matrix ("N/A" for Country Accounting Operations) |
This procedure consists of describing and determining the way to perform the parameterization, generation of the GIA in MASTERSAF, as well as to perform the validation of the file generated in the validator.
This procedure is applicable for company of Brazil in WP1.
See Finance Glossary:
GIA: ICMS Information and Calculation Guide is a monthly statement, required by law, whose information must reflect the bookkeeping carried out in the ICMS Calculation Tax Book. This statement shows the tax calculated in each calculation period, as well as other information of economic and fiscal interest.
Taxpayers classified in the general category, referring to each of the establishments, are obliged to submit the GIA.
The GIA, by electronic transmission, must be presented within the following days, according to the last digit of the establishment's state registration number (article 254 of the RICMS, approved by decree 45,490, of 11/30/00 - DOE DE 12/1/00 - Ordinance CAT 92, OF 12/23/98, Annex IV, article 20 with amendment of Ordinance CAT 49, of 06/26/01 - DOE of 06/27/01).
Final 0 and 1: Day 16
Final 2, 3 and 4: Day 17
Final 5, 6 and 7: Day 18
Final 8 and 9: Day 19
Validator: It is the GIA validator system. Reads the file for errors and uploads the file.
The GIA validator can be found at the link:
http://www.fazenda.sp.gov.br/download/
Based on MASTERSAF, we perform the parameterization, generation and validation of the GIA, crossing the reports extracted from the application with the ICMS calculation reports in order to establish the information.
SBS Responsibilities:
Responsible team Curitiba Accounting Platform.
Is schedule to be performed on D+8.
Table of mandatory delivery of the GIA.

Before generating any report/tax file in the MASTERSAF application, we need to perform the DATAMART (equalization of internal tables).
In MasterSaf: select the company and in “Menu\Basics” select “MasterSAF DW”

a) In “MasterSAF DW” select from the menu DataMart\Equalização\Limpeza. Após abertura da janela de DataMart, selecione:
- Tipo de Execução: Imediata;
- Período Inicial e Final;
- Base Data MART: Limpar;
- Selecione a empresa;
- Selecione o local de negócio.
Executar

b) After executing the process, repeat the operation, changing only the option below:
- Data MART Base: Equalize.
In the MASTERSAF menu, after selecting the company, select: “State/GIA SP”.

1- Data generation:
From the “Obligations” menu, select “Geração dos Dados Acessórios”.
Keep the options selected, according to the period, generating one location at a time. Run the process, as shown below:
Note: always validate the available options with the person in charge.

2- Generation of Invoices for the Manaus Free Trade Zone:
In the menu "Obrigações”, Select “Nova GIA – Versão atual/Geração/NF’s Remetidas p/ ZFM-ALC/Por CFOP”. Keep the options selected, according to the period, replicating for the other establishments. Run the process, as shown below:

3- Generation of Calculation Values for Entry Class:
In the menu “Obrigações”, Select “Nova GIA – Versão atual/Geração/ Valores de Apuração p/ Classe de Lançamento”. Keep the options selected, according to the period, replicating for the other establishments. Run the process, as shown below:

4- Generation of Records:
In the menu “Obrigações”, select “Nova GIA – Versão atual/Geração/Geração dos registros”. ”. Keep the options selected, according to the period, replicating for the other establishments. Run the process, as shown below:

5- Generation of the Magnetic Medium:
In the menu “Obrigações”, select “Nova GIA – Versão atual/Geração/Geração do Meio Magnético”. Keep the options selected, according to the period. The generation of the magnetic medium will be done individually, for each establishment. Enter the directory (location where the file will be saved) and the name that will be given to the file. Run the process as shown below

The system will generate an informative table with the number of records per record type

Proceed with the operation for the other establishments
Importing the file into the GIA application.
Open the GIA app
![]()
After opening the application, in the menu “Arquivo/Importar/Pré-formatado” import the file generated by the MASTERSAF application.

Click on the importar arquivo button.
![]()
Select the saved file and press the “Open” button.
![]()
Inform the month and year, select the file and press the “Importar” button.

The system informs you that the import was completed successfully.

Selected the contributor in the GIA application.
In the menu “Contribuinte/Selecionar”, select the taxpayer referring to imported GIA.

Selected the reference period in the GIA application.
After selecting the taxpayer, in the “Referência/Selecionar menu, select the reference period for the GIA imported.

Validating the information imported into the GIA application.
After selecting the taxpayer's reference period, the system loads the information, distributing it in the fixed numbers below:

1- Contributor
The form below (Illustration 1) contains the taxpayer's registration data.
The system consists of the state registration and the CNPJ. The rest of the data is used by the
system for issuing the GARE and for the user's own reference, with no
transmission to SeFaz
The registration information of the GIAs does not change the database of the Secretariat of
Farm. Any changes to the registration must be made through DECA
Registration data can be typed normally, including accents and characters
specials.
2- Launch of CFOP
In the form illustrated below, the operations detailed by Tax Code of
Operations and Provisions - CFOP, according to the summary contained in the tax books with the monthly periodicity. The entry and exit totals by CFOP must be consistent with the ICMS calculation

3- Interstate Entries
In the form shown in the illustration below, the
Group 2 CFOPs corresponding to Interstate Entries.
This form will be enabled when values are entered in the CFOPs
corresponding to interstate operations.

4- Interstate Departures
In the form shown in the illustration below, the CFOPs of group 6 corresponding to Interstate Entries will be detailed by Federation Unit (UF)
This form will be enabled when values are entered in the CFOPs
corresponding to interstate exit operations.
When opening the Interstate Departures tab, the system keeps selected in the upper frame the
first CFOP to be detailed. The other CFOPs are accessible by clicking the arrow in the field
CFOPs.

5- Manaus Free Trade Zone (ZFM) and Free Trade Areas (LAC)
In the form shown in Illustration 7, the invoices related to the output operations corresponding to the CFOPs of group 6 must be listed, by CFOP and Municipality,
intended for States benefiting from the exemption provided for in the ICMS legislation.
This form will be enabled when values are entered in the CFOPs
corresponding to exempt departures to States covered by the Manaus Free Trade Zone and
Free Trade Areas.
When opening the ZFM/ALC sheet, the system keeps the first
CFOP to be detailed showing the values separated by State. The other CFOPs are
accessible by clicking the arrow in the CFOPs field.

6- Information for DIPAM-B
When preparing a reference GIA from January 2001 onwards, the
Information for DIPAM-B.
The information entered in this form will be used to calculate the Participation of the Municipalities, through which the apportionment of the part of the ICMS collected is made
that falls to the municipalities.
Companies classified under the RPA and RES regimes that have carried out
described in this form will mandatorily inform the data requested in the period of
reference.

7- Calculation of ICMS
The amounts related to the tax informed in the [CFOP release] form are
transported briefly to fields 051 and 056 on the [ICMS Calculation] form
The eventual credit balance of the previous period must be informed by the user directly in their respective field If there are values to be declared in the fields:
- 052 Other debts,
- 053 Credit reversal,
- 057 Other credits,
- 058 Reversal of debts,
- 064 Deductions.

Click on the button on the right side of the corresponding field. A screen will open
where the values must be detailed by type of occurrence and legal basis.

8- Calculation of ICMS - ST-11 (Tax Replacement)
Not applicable
9- Export record
On this screen, we must insert the RE's registered in the referenced period and establishment.

10- Consisting of the data.
In the “Reference/Consitir” menu, perform the analysis and double-click on the CFOPs, adding the data. Press the button “Close

11- Printing the GIA.
In the menu “Arquivo/Imprimir”, select the options below and press the “Imprimir Relatórios Selecionados”.

5.9- Performing the generation/sending in the GIA application.
In the menu “Arquivo/Gerar GIAS”, select “GIAS Normais”,enter the period, select the taxpayer and press the button “Gerar GIA Normais”.

2- The system will return with the message below, asking if you want to save in another location, press the “Sim” button.
![]()
3- Select the location to save the file in the directory. “M:\Mastersaf\DISCO01”, according to the period and referring establishment.

4- After saving the file, the system will return the following message: “Do you want to open the farm's website to carry out the transmission?”, click on “Sim”.
![]()
5- The system will open the website to start the transmission. http://www.pfe.fazenda.sp.gov.br/
Select the “Serviços/Serviços Eletrônicos ICMS” menu.

6- Select the “User type” as counter, enter the user, password and press the “Entrar” button.

7- After entering the username and password, select the option “Nova GIA”, sending and consulting the New GIA.

8- Select the option opção “Envio - Documentos Fiscais (Normal, Substit e Coligida).

9- Click on the “Procurar” button to select the file you want to upload.

10- Select the file saved in item 5.9 and press the “Abrir” button.

11.After selecting the file, click on the “Enviar Arquivos” button.

12- After sending, the system will issue a receipt, proving that the obligation has been sent. Print it and save it in the same directory where the uploaded file was saved.

13- Save a copy of the receipt in pdf format, as shown in the screen below.

5.10- Exporting the GIA.
1- In the “File/Export GIAS” menu, enter the period, select the taxpayer and press the “Exportar” button.

2- Select the directory “M:\Mastersaf\DISCO01”, according to establishment and period. As shown below. These files will be useful for Backup and also for sending the DIPAM
