Configuration guidelines for ‘Federation Unit. Open’ (CRBR01)

In this program, you can create the federation units and the percentage of the Imposto Sobre a Circulação de Mercadorias e Serviços (ICMS) for each Unidade Federativa (UF). This percentage is used to calculate invoice amounts.

The program file is named CSYTAB. The program constant is set to ‘XUNF’.

Specify this information:

Field Value or comment
Federation unit

Specify the code of the UF on two characters. This code is the second part of the code of the ISO 3166-1 alpha-2 standards.

The ISO 3166-2 standards, published by the International Organization for Standardization (ISO), are part of the ISO 3166 standards. These standards define codes for the names of the principal subdivisions, that is, provinces or states, of all countries for which a code exists in the ISO 3166-1 standards.

Each code consists of two parts, separated by a hyphen:

  • The first part is the ISO 3166-1 alpha-2 code of Brazil, ‘BR’.
  • The second part is two letters long. This part is the code that you specify in this field.
Description Specify a description for the UF. The field is 40 characters long.
Name Specify a name for the UF. The field is 15 characters long.
ICMS percentage

Specify the rate of the interstate ICMS that is applicable in the UF.

This rate is defined for the legal entity that is being configured, that is, the UF that is defined for the division address.

State regist. no.

Specify the state registration number in this UF for the legal entity that is being configured, that is the division.

This number is used for transactions that are subject to the ICMS-ST.

IBGE FU code

Specify the Instituto Brasileiro de Geografia e Estatística (IBGE) code of the UF.

These codes are used for electronic invoicing in Brazil.

Int ICMS ST rt

Specify the rate of the ICMS intrastate tax that is applicable in the UF.

This tax is charged on the movement of goods within the state, that is, if the issuer and the receipt of the invoice are located in the same UF. This rate is used to calculate the ICMS ST.

Inf ICMS FCP rate

Specify the rate of the Fundo de Combate à Pobreza (FCP). This rate cannot exceed 2%.

Note: You can also define the FCP in (CRBR08) per UF and product.
Federation unit Specify the code of the UF as defined in the system of economic-fiscal information (SINIEF, Sistema Nacional Integrado de Informações Econômico-Fiscais), as per the SINIEF 05/1997 Agreement. This information is used for fiscal ancillary obligations. For more information, visit this web page: https://www.legisweb.com.br/legislacao/?id=106
ICMS T x b calcn

Specify the base amount of the Substituição Tributária do ICMS (ICMS-ST) for sales to a final consumer. This amount can be calculated differently depending on the state:

  • 0–Base without the ICMS deduction
  • 1–Base with the ICMS deduction

Example for value 0:

  • ICMS calculation base: 100,00
  • ICMS amount: 12,00
  • Interstate ICMS rate: 12%
  • ICMS internal rate: 18%

Calculation for value 0:

(100,00*18%) – (100*12%) = 6,00

Example for value 1:

  • ICMS calculation base: 100,00
  • ICMS amount: 12,00
  • Interstate ICMS rate: 12%
  • ICMS internal rate: 18%

Calculation for value 1:

  • (100,00 - 12,00) = 88,88
  • 88,00 / (1-18%) = 107,32
  • 107,32 x 18% = 19,32
  • 19,32 - 12,00 = 7,32