The Inscricao Estadual (IE) identifies an ICMS taxpayer in each Brazilian state, and there is no national rule: length, weights and the check-digit modulus change from state to state. This tool implements the validation routines published by SINTEGRA for all 27 states, including the two-digit cases (AC, DF, MG, PR, PE, BA, SP) and the format variations (BA, RN, SP). It generates synthetic numbers to test registrations and validations, and validates any IE telling you which digit is wrong and which one was expected. A correct check digit does not prove the company exists: only the state tax authority can confirm that.
How to use
Pick the state, then generate or validate.
Pick the state with the buttons. In Generate, click Generate and copy the number with or without the mask.
For batches, a seed, the format (BA, RN, SP) and the mask, open Options. With more than one IE, export as TXT or CSV.
In Validate, type the IE and the state. If you do not know the state, turn on Try all states to see where the number passes.
Embed
Use this tool on your site
Paste the code into your HTML and the tool shows up on your page, without J-Kit's navigation and ads. It still runs in the browser of whoever visits your site.
<iframesrc="https://jkit.tools/embed/en-US/state-registration-generator-br"width="100%"height="600"style="border:0"loading="lazy"referrerpolicy="no-referrer-when-downgrade"title="Brazilian State Registration (IE) Generator"></iframe><p style="font-size:12px;margin:6px 0 0">Tool by <a href="https://jkit.tools/en">J-Kit</a></p>
References
Sources and references for this tool
These references help contextualize formulas, standards, APIs and limitations used on this page. They do not replace professional validation when a result has legal, financial, medical or operational impact.
Each check digit is computed by multiplying the other digits by weights (for example 9 down to 2, left to right), adding them up and applying a modulus, almost always 11. In the most common rule, if the remainder of the division by 11 is 0 or 1 the digit is 0, otherwise it is 11 minus the remainder. Variations exist: AL and RN multiply the sum by 10, RR uses modulus 9, BA uses modulus 10 or 11 depending on the first or second digit, and MG adds up the digits of the products.