Inscrição Estadual Generator
GeneratorGenerate a valid Brazilian Inscrição Estadual (state tax registration number) for testing. Supports São Paulo, Rio de Janeiro, Minas Gerais, Rio Grande do Sul, Paraná, Bahia, and Santa Catarina, each with its own official check-digit algorithm. Runs entirely in your browser.
⚠ For testing purposes only. This number is not registered with any state Secretaria da Fazenda (SEFAZ).
Supported States
This generator currently supports São Paulo (SP), Rio de Janeiro (RJ), Minas Gerais (MG), Rio Grande do Sul (RS), Paraná (PR), Bahia (BA), and Santa Catarina (SC) — Brazil's highest-population states. Support for additional states may be added in the future.
About this tool
About Brazilian Inscrição Estadual Generator
Inscrição Estadual (IE) is the state-level tax registration number Brazilian companies need for ICMS (goods and services tax) purposes, issued separately by each of Brazil's 27 states with its own digit count and check-digit algorithm. This generator implements the seven highest-population states — São Paulo, Rio de Janeiro, Minas Gerais, Rio Grande do Sul, Paraná, Bahia, and Santa Catarina.
Select a state and generate a correctly structured IE using that state's own official check-digit rules — including São Paulo's dual mod-11 digits, Minas Gerais's Luhn-style digit-doubling first check digit, and Bahia's digit-dependent mod-10/mod-11 branching algorithm. Every algorithm was ported from a long-standing open-source reference and verified against real published test numbers for each state.
Useful for testing Brazilian e-commerce, ERP, invoicing (NF-e), and accounting systems that collect a company's IE, generating realistic sample data for QA across multiple states, or understanding how a specific state's check-digit algorithm works.
Every generated number passes that state's own official check-digit validation, matching the same structure a real Secretaria da Fazenda (SEFAZ) IE would have. All computation happens in your browser.
Key Features
- Supports 7 major states: SP, RJ, MG, RS, PR, BA, SC
- Each state's own official check-digit algorithm
- Verified against real published test numbers per state
- Bahia supports both 8-digit and 9-digit formats
- One-click regeneration and copy
- 100% browser-based, no data leaves your device
FAQ
Brazilian Inscrição Estadual Generator — Frequently Asked Questions
What is an Inscrição Estadual?
Inscrição Estadual (IE) is the state-level registration number Brazilian businesses need to collect ICMS (the state goods and services tax). Unlike the federal CNPJ, the IE is issued by each individual state's Secretaria da Fazenda (SEFAZ), so every state has its own digit count and check-digit algorithm.
Why does each state have a different format?
Brazil's 27 states each administer their own tax authority and defined their own IE numbering scheme independently over the decades, so there was never a single unified national standard the way there is for CPF and CNPJ. This tool implements the seven highest-population states: SP, RJ, MG, RS, PR, BA, and SC.
Why does Bahia have two possible lengths?
Bahia issues both 8-digit and 9-digit Inscrição Estadual numbers, and which check-digit rule applies (mod-10 or mod-11) depends on a specific digit within the number itself. Use the digit-count selector to generate either format.
Are generated Inscrição Estadual numbers real?
No. The numbers follow the exact official check-digit structure for the selected state and pass that state's validation rules, but they are not registered with any Secretaria da Fazenda. Use them for testing and development only.
Tips
- Each state has its own algorithm — always select the correct state before generating or validating
- São Paulo, Minas Gerais, Bahia, and Paraná use two check digits; Rio de Janeiro, Rio Grande do Sul, and Santa Catarina use one
- Validate your generated number with the Inscrição Estadual Validator tool
- Don't confuse a company's IE with its CNPJ — they serve different (state vs. federal) tax purposes
Explore more
Related Tools
Other tools that might be useful for your workflow