Skip to main content

validador-ie

Valida o formato e o(s) dígito(s) verificador(es) da Inscrição Estadual (IE) das 27 UFs. Sem dependências. Python 3.9+.

pip install validador-ie
from validador_ie import validar_ie, limpar_ie, UFS

r = validar_ie("110.042.490.114", "SP")
r.valida      # True
r.formatada   # '110.042.490.114'

r = validar_ie("623079040081", "MG")   # sem os zeros à esquerda: completa e avisa
r.formatada          # '062.307.904/0081'
r.zeros_completados  # 1

r = validar_ie("0623079040082", "MG")
r.motivo      # 'dígito verificador inválido'

if validar_ie("12345663", "BA"):   # o resultado também funciona como booleano
    ...

A biblioteca confere apenas o formato: não diz se a IE existe, está ativa ou a quem pertence. Para a situação cadastral real, veja a FiscalAPI.

Documentação completa, regras por UF e versão em JavaScript/TypeScript: https://github.com/fiscaIapi/validador-ie

Licença MIT © FiscalAPI

Metadata

Release files for validador-ie 0.2.1

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for validador-ie 0.2.1
File Size Uploaded Provenance
validador_ie-0.2.1.tar.gz 9.1 kB With provenance Details

Built distribution (wheel)

Table of built distributions (wheels) for validador-ie 0.2.1
File Interpreter ABI Platform
validador_ie-0.2.1-py3-none-any.whl Python 3 none any Details

Total release size: 16.7 kB

Release files / validador_ie-0.2.1.tar.gz

Download URL validador_ie-0.2.1.tar.gz
Size 9.1 kB
Tags Source
SHA-256 checksum
How to use checksums
32f5e08df721fbfcd0a5bac3694cd65bb2f8e11b1e51f2f5423fc0c312cd2f67
BLAKE2b-256 checksum
How to use checksums
baf33aacacc97f70c78493e8d54db4bc4f865163a44fd4df0b91f286fcc30fba
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.16

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Oct 20, 2026.

Transparency log

Release files / validador_ie-0.2.1-py3-none-any.whl

Download URL validador_ie-0.2.1-py3-none-any.whl
Size 7.6 kB
Tags Python 3
SHA-256 checksum
How to use checksums
9cbc00eabf1954890b5b055fd36728d0c6b80f76b88d52f0aa7560f9d52f2e4f
BLAKE2b-256 checksum
How to use checksums
914df9528e935dcc8c13e67b9157cb59a2e4f6cc2e86245680c957c743f297b1
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.16

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Oct 20, 2026.

Transparency log

Security for validador-ie 0.2.1

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

Full provenance

All 2 files in this release have been uploaded with provenance metadata.

Select from 2 files

Attestation for validador_ie-0.2.1.tar.gz

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Oct 20, 2026.

Transparency log

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page