This routine generates magnetic files concerning Service Tax - ISS to be electronically stored by Rio de Janeiro government.


To whom it is applicable?

To all service providers in the city of Rio de Janeiro - RJ.

Purpose

Register operations of service provision.

When to deliver

None.

Jurisdiction

Municipal - Rio de Janeiro - RJ

Where to find it

https://notacarioca.rio.gov.br/capa.aspx

Legislation

Law no. 5,098 from 15/10/2009 

Decree no. 32,250 from 11/05/2010

Decree no. 32,549 from 20/07/2010

Important:

If the service invoice is issued together with the product invoice (combined invoice), the service part issued with the product part no longer has tax validity, which must be converted into an electronic invoice.

If the option selected performs service invoicing apart from product invoicing, a new type, RPS, is available, which can be used, associating it with a new series, in order to be used in RPS issue. In this case, you must make the required configurations for the number of this new series to start from the last service invoice issued, entering this new series in the parameter MV_ESPECIE and associating it with the RPS.

When you need to keep using the combined invoice, the service part must be sent to the local government in order to be converted into an electronic invoice. In this case, you do not need to configure the series and the parameter MV_ESPECIE.



Parameter Content

  • The parameter MV_TRNDISS must be configured with 1 (per document), indicating that ISS value is only truncated at the end of the process, in the document total.
  • This parameter must be configured with F (truncate) because the electronic invoice generation program of Rio de Janeiro calculates ISS discarding decimal places from the third position. Example: the tax generated is R$ 356.318. For Rio de Janeiro, this value must be presented as R$ 356.31.
  • To work with the concept of Electronic Invoice, the parameter MV_MAPARES must be configured with No, that is, Summary Map is not used because there is no process to use it in the Electronic Invoice process. The implementation method that uses Summary Map to generate Electronic Invoice has been analyzed by Rio de Janeiro government. Entries are only processed by voucher, generating the record type 3 concerning RPS export to local government.
  • By generating the magnetic file for export to local government, the taxpayer city registration is displayed with the content of the parameter MV_NFEINSC when such parameter exists and is filled out. Otherwise, the City Registration entered in the wizard of Electronic Invoice export routine is displayed.
  • To generate the magnetic file correctly, the parameter MV_ESTADO must be filled out with RJ and the company register field with Rio de Janeiro to identify the right layout and generate the magnetic file.



Generated Records


Record Type 10 - Header

It displays information on taxpayer and on the file to be generated.

Record Type 20 - Detail

This record is generated based on Tax Records per Item and displays RPSs to be converted to NF-e.

Record Type 30 - Detail - Exclusive to Vouchers

This record is generated based on Tax Records per Item and displays RPSs to be converted to NF-e, provided they were issued by a tax voucher issuer.

Record Type 40 - Statement of Invoices Received

This record is generated based on Tax Records per Item and it displays RPSs to be converted into an electronic Invoice (Inflow Invoice).



Important Information on Customer Register

1. To import address data correctly, check the rule on how to fill out the Address field in Customer Register:

  • Enter the address type with three characters. Example: RUA, AV. (avenue), AL. (lane). If the street type is entered with more than three characters, the system automatically reduces it for three characters. Example: If AVENUE is entered in the export file generation, AVE is displayed.
  • After address type, insert a blank space.
  • Enter the address followed by a comma.
  • Enter the establishment/residence number.
  • Enter the complement if there is any.

Example:

Av. Braz Leme, 1399

Rua Pamplona, 752

Al. Santos, 885

Rua dos Ipês, 88 Ap. 32


Note:

If the customer is in Distrito Federal, the address is not divided into public area type, public area name and number because addresses in this place do not follow this pattern.

If the customer is out of Brazil, this completion rule is not necessary. According to the instructions of Rio de Janeiro government, concerning acquirers out of Brazil, the fields Postal Code, State and City must not be filled out. Besides, the District field must present information about acquirer's city and country.

2. If the taxpayer is in Rio de Janeiro, the taxpayer City Registration must be duly filled out. This information is required and validated by the local government website.

3. Fields like address, district and city are also mandatory. The file of RPS dispatch in lots is not imported if this information is not displayed.

4. If the taxpayer is from Rio de Janeiro, enter Rio de Janeiro in the City field in order to identify that the customer is a local citizen.

5. For taxpayers located in the city of Rio de Janeiro, the City Registration must be presented. Therefore, make sure that the register of taxpayers located in Rio de Janeiro has the valid City Registration registered.

6. The import file template available on the website of Rio de Janeiro government, which is used by Microsiga Protheus, is the TXT (Tabbed) Ver 3.0.



Procedures

1. Configure the parameters of Normative Instructions as follows:

Start Date?

Enter the calculation's initial date.

End Date?

Enter the calculation's final date.

Normative Instruction?

Enter the configuration file to be used without .INI extension. For this magnetic media, enter NFERIO.

Target File?

Enter the text file's name where the data are created. Example: NFERIO.TXT.

Directory?

Enter the directory's name where the text file created is saved. Example: C:\TXTS\.

2. By confirming the general parameters of Normative Instructions, the stage introduction is displayed to fill out the specific parameters for export to electronic invoice.

3. After filling them out, as described below, click Next.

Taxpayer City Registration

Enter the service providing taxpayer's Municipal Registration number. Such Municipal Registration is used in case the MV_NFEINSC parameter does not exist or if it is blank.

Enter the service contractor's e-mail?

This question defines whether the service contractor's e-mail is entered in text file. In case this datum is provided, when the Municipality creates the e-Invoice, an e-mail is automatically sent by the Municipality itself to the service contractor, with the e-Invoice number for querying purposes.

4. Click Next.

Initial Customer

Enter the initial customer to create a filter on the RPSs issued in the period. To process all customers, leave this question blank.

Store

Enter the customer's initial store to create a filter on the RPSs issued in the period. To process all customers, leave this question blank.

Final Customer

Enter the final customer to create a filter on the RPSs issued in the period. To process all customers, enter ZZZZZZ.

Store

Enter the customer's final store to create a filter on the RPSs issued in the period. To process all customers, enter ZZ.

Initial RPS

Enter the initial RPS number to create a filter on the RPSs issued in the period. To process all RPSs, leave this question blank.

Final RPS

Enter the final RPS number to create a filter on the RPSs issued in the period. To process all RPSs, enter ZZZZZZ.

Series of Initial RPS

Enter the serial number of initial RPS to filter the RPSs issued in the period. To process all RPSs, leave this question blank.

Series of Final RPS

Enter the serial number of final RPS to filter the RPSs issued in the period. To process all RPSs, enter ZZZZZZ.

5. Check data and confirm them.


Note:

If the customer is in Distrito Federal, the address is not divided into public area type, public area name and number because addresses in this place do not follow this pattern.

If the customer is out of Brazil, this completion rule is not necessary. According to the instructions of Rio de Janeiro government, concerning acquirers out of Brazil, the fields Postal Code, State and City must not be filled out. Besides, the District field must present information about acquirer's city and country.

The text file generated must be submitted to the program available on Rio de Janeiro City Hall website to generate the respective electronic invoices and to process the return file sent by the local government.