Request a massive download
Start a SAT descarga masiva for issued or received CFDIs over a date range, as full XML or a metadata index. Requires a signed carta manifiesto on the fiscal profile. Note the SAT limits: only 2 identical lifetime requests, 200k XML cap, and package URLs expire in ~5 minutes — fragment wide ranges rather than retrying.
Authorizations
API key: Authorization: Bearer sk_test_... or sk_live_....
Headers
Pin a dated API release (Stripe-style). Omit to use the current version. An unknown value returns 400 request.invalid_version. Echoed back on every response.
"2026-07-10"
Connect: act on behalf of one of your connected accounts (its acct_…/org_… id). Omit to act as your own organization. Not honored on /v1/api_keys.
"org_2P9connectedacct"
Safely retry any POST. The first response is stored for 24h and replayed byte-for-byte for identical retries (the replay adds an idempotent-replayed: true header). Reusing the key with a different body is 409 idempotency.key_reuse; an in-flight duplicate is 409 idempotency.key_processing. This makes retrying a 502/429 safe — no duplicate stamp.
"a1b2c3d4-e5f6-4789-8abc-1234567890ab"
Body
Id of the fiscal profile whose FIEL authorizes the download, e.g. "fp_2P9K3sample".
1Which CFDIs to pull: "issued" (emitidos by this RFC) or "received" (recibidos).
issued, received Package contents: "cfdi" (full XML files) or "metadata" (a summary index only).
cfdi, metadata Start of the range, ISO date (YYYY-MM-DD) or datetime; a bare date covers from 00:00:00.
End of the range, ISO date (YYYY-MM-DD) or datetime; a bare date covers to 23:59:59.
Advisory SAT estatus filter: "active" (vigentes) or "cancelled" (cancelados). Metadata-only per Prodigia.
active, cancelled Response
Default Response
Always "download".
download Download id, e.g. "dl_2P9K3sample".
Id of the fiscal profile whose FIEL authorized this download.
True if created with a live-mode key.
"issued" (emitidos) or "received" (recibidos).
issued, received "cfdi" (full XML) or "metadata" (summary index).
cfdi, metadata Start of the requested range (SAT format yyyy-MM-ddTHH:mm:ss).
End of the requested range (SAT format yyyy-MM-ddTHH:mm:ss).
Lifecycle status: "requested", "processing", "ready" (packages available), "no_data", or "failed".
requested, processing, ready, no_data, failed SAT solicitud id (IdSolicitud), or null until registered.
Number of downloadable packages once ready.
-9007199254740991 <= x <= 9007199254740991Failure detail (problem+json shape) when status is "failed", else null.
Creation timestamp, ISO-8601 UTC.
Last-update timestamp, ISO-8601 UTC.
Request-time advisory metadata.