FisKit para Python
Cliente oficial de la API de FisKit: facturas electrónicas de ARCA (ex AFIP) con un solo pedido. Sin dependencias, para Python 3.10 o superior.
pip install fiskit
Tu primera factura
from fiskit import Fiskit
fiskit = Fiskit() # lee FISKIT_API_KEY
invoice = fiskit.invoices.create(
{"voucher_type": "invoice_c", "amounts": {"total": 1500}},
idempotency_key="venta-8812", # el id de tu venta: un reintento nunca duplica la factura
)
print(invoice["number"], invoice["cae"])
Las claves sk_test_... emiten en la homologación de ARCA, sin validez fiscal. Las sk_live_... emiten facturas reales. Las dos se crean en el panel.
Qué podés hacer
fiskit.invoices.retrieve(invoice_id) # estado actual
pdf = fiskit.invoices.pdf(invoice_id) # bytes del PDF con el QR de ARCA
fiskit.invoices.email(invoice_id, "cliente@example.com")
fiskit.taxpayers.retrieve(30712345671) # nombre, domicilio y condición frente al IVA
Si ARCA no responde o se corta la conexión, el cliente reintenta solo con la misma Idempotency-Key. Si no pasás una, se genera automáticamente.
Los errores llegan como FiskitError, con status, type, code, message, param y request_id.
Webhooks
from fiskit import verify_webhook
# Flask: usá el cuerpo crudo, antes de parsearlo
@app.post("/webhooks/fiskit")
def webhook():
event = verify_webhook(request.get_data(), request.headers, os.environ["FISKIT_WEBHOOK_SECRET"])
if event["type"] == "invoice.authorized":
... # event["data"]["object"] es la factura
return "", 200
Documentación completa: https://fiskit.com.ar/developers
Metadata
Release files for fiskit 0.1.0
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 |
|---|---|---|---|---|
| fiskit-0.1.0.tar.gz | 6.4 kB | With provenance | Details for fiskit-0.1.0.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| fiskit-0.1.0-py3-none-any.whl | Python 3 | none | any | Details for fiskit-0.1.0-py3-none-any.whl |
Total release size: 11.9 kB
Release files / fiskit-0.1.0.tar.gz
| Download URL | fiskit-0.1.0.tar.gz |
|---|---|
| Size | 6.4 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
85634a213841f9697c586eb9d8c699bdf77366de5d46f09021a2da940b393dd9
|
|
BLAKE2b-256 checksum How to use checksums |
fedd097449566efebc92887f9561d4ffaa3764992f905a9fa0c14776e3696034
|
| 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 11, 2026.
Transparency logRelease files / fiskit-0.1.0-py3-none-any.whl
| Download URL | fiskit-0.1.0-py3-none-any.whl |
|---|---|
| Size | 5.5 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
46be348b21622001f21a1de38da3e113860595bef3f092e0cb9eb4e529c3890a
|
|
BLAKE2b-256 checksum How to use checksums |
6e0457f9bba4cf316f445e3bf914fe1213d1fa6fd49ba65771087f6298506c14
|
| 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 11, 2026.
Transparency logSecurity for fiskit 0.1.0
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 fiskit-0.1.0.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 11, 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.