FISCALISTO / API / REFERENCE
SAT downloads
An issuer's issued and received invoices, straight from SAT, with their XML.
Guide to SAT downloads: what each endpoint is for, step by step and with examples.
The object SatDownload
- SatDownload
A request to the SAT for an issuer's issued or received invoices in a period.
id*stringObject identifier, with its prefix (iss_, inv_, ret_, cus_, prd_, emp_, bat_, brn_, whs_, stm_, adj_, evt_, whe_).
livemode*booleantrue in production (fk_live_ keys), false in test mode (fk_test_). Test objects aren't valid before the SAT.
object*stringWhat kind of object it is («invoice», «customer»…).
issuer*stringThe issuer whose invoices are requested.
direction*stringreceived (the ones made to them) or issued (the ones they issued).
"received""issued"from*|From which day (inclusive).
to*|Up to which day (inclusive).
type*|The receipt type requested, or null for all.
counterparty_tax_id*|The counterparty RFC requested, or null.
uuid*|The tax folio requested, or null.
status*stringprocessing (the SAT is preparing it: minutes to hours), completed (the invoices are now in GET /v1/sat_invoices) or failed (the reason in error).
"processing""completed""failed"new_invoices*|How many new invoices it brought (the ones it already had don't count). null until it finishes.
error*|Why it failed, as the SAT said. null if it didn't fail.
created_at*|When it was requested.
completed_at*|When it finished, or null.
Example SatDownload
{ "id": "sdl_OufpKqnrvx9p3n8vQd2LkW7mZr1XyT5uBc", "object": "sat_download", "livemode": false, "issuer": "iss_OufpKqnrvx9p", "direction": "received", "from": "2026-09-01", "to": "2026-09-30", "type": null, "counterparty_tax_id": null, "uuid": null, "status": "processing", "new_invoices": null, "error": null, "created_at": "2026-10-24T10:20:00-06:00", "completed_at": null}The object SatInvoice
- SatInvoice
An invoice the SAT has for the issuer, issued or received, brought in by a download.
id*stringObject identifier, with its prefix (iss_, inv_, ret_, cus_, prd_, emp_, bat_, brn_, whs_, stm_, adj_, evt_, whe_).
livemode*booleantrue in production (fk_live_ keys), false in test mode (fk_test_). Test objects aren't valid before the SAT.
object*stringWhat kind of object it is («invoice», «customer»…).
issuer*stringThe issuer in your account (iss_…) this invoice belongs to.
uuid*stringThe tax folio (UUID of the stamp).
direction*stringreceived (made to the issuer) or issued (the issuer issued it).
"received""issued"type*|Receipt type (TipoDeComprobante): I income, E expense, P payment, T transfer, N payroll.
date*stringThe receipt's date (Fecha), in the local time it was issued with.
series*|Series (Serie), or null.
folio*|Folio (Folio), or null.
issued_by*Who issued it (Emisor).
issued_to*Who it was issued to (Receptor).
currency*|Currency (Moneda): MXN, USD…
exchange_rate*|Exchange rate (TipoCambio), or null in pesos.
payment_method*|Payment method (MetodoPago): PUE or PPD.
payment_form*|Payment form (FormaPago), c_FormaPago code.
use*|CFDI use (UsoCFDI).
subtotal*|Subtotal (SubTotal).
total*|Total (Total).
taxes*The receipt's taxes: transferred (iva, ieps), withheld (iva_withheld, isr_withheld, ieps_withheld) and local.
sat_status*|Its status at the SAT when it was checked: active (valid) or canceled. null if it hasn't been checked yet.
paid_otherwise*|Received only, marked with mark_paid, in the app or by a rule: without_complement true on a PPD paid without a payment complement (the SAT still sees it as unpaid); false on a PUE, where only the source of the money was noted.
cash_confirmation*|Only on a received PUE paid in cash when the empresa asks to confirm these payments (Ajustes › Pagos en efectivo): pending until someone notes where the money came from (mark_paid with money_source), confirmed afterwards. Null on the rest. Its taxes don't change.
cost_center*|Its cost center (ccn_…), or null. Set or change it with POST /v1/sat_invoices/{id}.
account*|The number of your chart's account its income or expense is booked to instead of its category's (in the app, by a rule of Ajustes › Reglas or with account). Null: its category's.
tags*array<>Its tags, by name. automatic: true on those a rule added (the purchase order it was linked to or a rule in Ajustes › Reglas). Change them with POST /v1/sat_invoices/{id}.
sat_download*|The download (sdl_…) that brought it, or null.
downloaded_at*|When it arrived.
Example SatInvoice
{ "id": "sat_OufpKqnrvx9p1F", "object": "sat_invoice", "livemode": false, "issuer": "iss_OufpKqnrvx9p", "uuid": "9B2D4E61-7C3A-4F18-8E5D-0A6B9C1D2E3F", "direction": "received", "type": "I", "date": "2026-09-12T11:04:00", "series": "A", "folio": "4821", "issued_by": { "tax_id": "XIA190128J61", "legal_name": "XENON INDUSTRIAL ARTICLES" }, "issued_to": { "tax_id": "TOL190312KT4", "legal_name": "TOLPI" }, "currency": "MXN", "exchange_rate": null, "payment_method": "PUE", "payment_form": "03", "use": "G03", "subtotal": 18400, "total": 21344, "taxes": { "iva": 2944, "ieps": 0, "iva_withheld": 0, "isr_withheld": 0, "ieps_withheld": 0, "local_transferred": 0, "local_withheld": 0 }, "sat_status": "active", "paid_otherwise": null, "cash_confirmation": null, "cost_center": null, "account": null, "tags": [ { "id": "tag_OufpKqnrvx9p1", "name": "Obra Norte", "color": "info", "automatic": false } ], "sat_download": "sdl_OufpKqnrvx9p3n8vQd2LkW7mZr1XyT5uBc", "downloaded_at": "2026-10-24T10:27:40-06:00"}The object SatRetention
- SatRetention
A withholdings and payment information CFDI of the issuer, received (the certificate a bank, a platform or whoever paid them gave them) or issued, as Facturas › Retenciones shows it.
id*stringObject identifier, with its prefix (iss_, inv_, ret_, cus_, prd_, emp_, bat_, brn_, whs_, stm_, adj_, evt_, whe_).
livemode*booleantrue in production (fk_live_ keys), false in test mode (fk_test_). Test objects aren't valid before the SAT.
object*stringWhat kind of object it is («invoice», «customer»…).
issuer*stringThe issuer in your account (iss_…) this certificate belongs to.
uuid*stringThe tax folio (UUID of the stamp).
direction*stringreceived (given to the issuer: a bank, a platform, whoever paid them) or issued (the issuer issued it).
"received""issued"date*stringThe issue date (FechaExp).
internal_folio*|Internal folio (FolioInt), or null.
code*|Withholding code (CveRetenc), such as 14 dividends, 16 interest or 26 platforms.
description*|Withholding description (DescRetenc), or null.
issued_by*Who withheld (Emisor).
issued_to*Who was withheld from (Receptor).
period*|The months and fiscal year it covers (Periodo), or null if it couldn't be read.
totals*The Totales amounts.
withheld_taxes*array<>Each tax withheld (ImpRetenidos).
status*stringactive or canceled: the issuer canceled it in Fiscalisto, or the SAT reports it canceled (checked every month). A canceled one is no longer tax withheld.
"active""canceled"read_error*|If its XML couldn't be read, why; its fields stay null. Otherwise, null.
downloaded_at*|When it arrived at Fiscalisto.
Example SatRetention
{ "id": "srt_OufpKqnrvx9p1G", "object": "sat_retention", "livemode": false, "issuer": "iss_OufpKqnrvx9p", "uuid": "4C7E9A12-3B5D-4E6F-8A1B-2C3D4E5F6A7B", "direction": "received", "date": "2026-02-10T10:00:00", "internal_folio": "R-1", "code": "16", "description": "Intereses", "issued_by": { "tax_id": "BAN010101AB1", "legal_name": "BANCO EJEMPLO" }, "issued_to": { "tax_id": "TOL190312KT4", "legal_name": "TOLPI" }, "period": { "year": 2025, "month_start": 1, "month_end": 12 }, "totals": { "operation": 10000, "taxed": 10000, "exempt": 0, "withheld": 1000 }, "withheld_taxes": [ { "base": 10000, "tax": "001", "amount": 1000, "payment_type": "01" } ], "status": "active", "read_error": null, "downloaded_at": "2026-02-11T03:12:40-06:00"}Was this page helpful?