fiscalisto
El SDK de la API de facturación de Fiscalisto: timbre CFDI 4.0 (facturas, pagos, notas de crédito, nómina, retenciones y lotes) desde Python.
- Tipos (
TypedDict) para cada campo, con su descripción y su nombre en el XML del SAT;mypyy su editor los revisan. Idempotency-Keyautomática en cadaPOST: un reintento nunca timbra, crea ni manda nada dos veces.- Reintentos solo de lo que es seguro repetir.
- Listas que se recorren solas con
for. - Webhooks verificados en una línea.
- Sin dependencias: Python 3.10 o más reciente.
pip install fiscalisto
from fiscalisto import Fiscalisto
fiscalisto = Fiscalisto() # la llave viene de FISCALISTO_API_KEY
invoice = fiscalisto.invoices.create(
{
"customer": {"tax_id": "ICV060329BY0", "legal_name": "INMOBILIARIA CVA", "tax_system": "601", "zip": "33826"},
"payment_form": "03",
"items": [{"description": "Mensualidad", "product_key": "86121700", "quantity": 2, "unit_price": 2500}],
},
idempotency_key="pedido-A-1042",
)
print(invoice["uuid"], invoice["total"])
La guía completa está en fiscalisto.com/docs/api/sdk y cada página de la referencia trae su ejemplo con el SDK.
Con agentes de IA
Para que Claude Code, Cursor, Codex u otro agente integre Fiscalisto, conecte el servidor MCP de la documentación (sin llave) y pídale que empiece con get_started:
claude mcp add --transport http fiscalisto-docs https://fiscalisto.com/docs/api/mcp
La guía de integración en una página está en fiscalisto.com/docs/api/SKILL.md y el índice de la documentación para agentes en llms.txt. Otros clientes y más: fiscalisto.com/docs/api/agentes.
Desarrollo
src/fiscalisto/types.py y src/fiscalisto/_resources.py se generan desde la especificación OpenAPI con bun run openapi en la raíz del repositorio; no los edite. Lo demás se escribe a mano.
PYTHONPATH=src python3 -m unittest discover -s tests
mypy --strict src && ruff check src tests
Metadata
Release files for fiscalisto 0.1.57
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| fiscalisto-0.1.57.tar.gz | 166.7 kB | With provenance | Details for fiscalisto-0.1.57.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| fiscalisto-0.1.57-py3-none-any.whl | Python 3 | none | any | Details for fiscalisto-0.1.57-py3-none-any.whl |
Total release size: 325.0 kB
Release files / fiscalisto-0.1.57.tar.gz
| Download URL | fiscalisto-0.1.57.tar.gz |
|---|---|
| Size | 166.7 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
77f8fec3c13c5ebde19f66b6113539c8f52acbf0a854eeee6458e82ebc043279
|
|
BLAKE2b-256 checksum How to use checksums |
553cc22b0591579936fee0542ccef2e8b17ecc98ae7c60c65bc39655f1a1d844
|
| 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 Nov 15, 2026.
Transparency logRelease files / fiscalisto-0.1.57-py3-none-any.whl
| Download URL | fiscalisto-0.1.57-py3-none-any.whl |
|---|---|
| Size | 158.3 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
8830c0f5a68c16742917e9ae0f4018f472364dbd9fc6cd5477ebd0790ae5ac21
|
|
BLAKE2b-256 checksum How to use checksums |
e7739407e1ea1639aedbcbd4285fd662eb478ee55caeac87122b6fa82ee1548b
|
| 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 Nov 15, 2026.
Transparency logSecurity for fiscalisto 0.1.57
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
Both files in this release have been uploaded with provenance metadata.
Attestation for fiscalisto-0.1.57.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 Nov 15, 2026.
Transparency logA 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.
To learn more about protecting yourself from malicious actors, visit our package security documentation.