Skip to main content

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; mypy y su editor los revisan.
  • Idempotency-Key automática en cada POST: 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.

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.2

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

Source distribution (sdist)

Source distribution for fiscalisto 0.1.2
File Size Uploaded Provenance Actions
fiscalisto-0.1.2.tar.gz 85.5 kB With provenance Details for fiscalisto-0.1.2.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for fiscalisto 0.1.2
File Interpreter ABI Platform Actions
fiscalisto-0.1.2-py3-none-any.whl Python 3 none any Details for fiscalisto-0.1.2-py3-none-any.whl

Total release size: 166.5 kB

Release files / fiscalisto-0.1.2.tar.gz

Download URL fiscalisto-0.1.2.tar.gz
Size 85.5 kB
Tags Source
SHA-256 checksum
How to use checksums
71dd90b341d4ce78c2f8abdb243d3368e115dc6ef6028ea0b2c559ef0980d3c4
BLAKE2b-256 checksum
How to use checksums
9eccb7d1c2784632b31583aab1707ac6267a0d26c47445ca9cd340b625cfa32f
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 26, 2026.

Transparency log

Release files / fiscalisto-0.1.2-py3-none-any.whl

Download URL fiscalisto-0.1.2-py3-none-any.whl
Size 81.0 kB
Tags Python 3
SHA-256 checksum
How to use checksums
30c3d71346956c94b39149c7932c49f1414d70bc596ea558ebdcb0e8694a0110
BLAKE2b-256 checksum
How to use checksums
8fb383bb850d16a0aacaf2bd5020fe4ef7e97ec56071a9d0c1a4f784c00042d3
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 26, 2026.

Transparency log

Security for fiscalisto 0.1.2

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.

Select from 2 files

Attestation for fiscalisto-0.1.2.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 26, 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.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

Release history Release notifications | RSS feed

This release

0.1.2 This release

2 release files Full provenance

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