FISCALISTO / API / REFERENCE
Request the compliance opinion from SAT · SAT compliance
Requests it from SAT with the issuer's stored e.firma (POST /v1/issuers/{id}/efirma with keep_for_downloads: true); it arrives at GET /v1/issuers/{id}/compliance_opinion. 1 stamp in production, once every 10 minutes. It answers 202 as soon as it accepts it (status processing) and queries SAT in the background: sat_refresh.completed or sat_refresh.failed say how it ended, and so does GET /v1/sat_refreshes/{id}. Its stamp is set aside on accepting it (without stamps it answers 402 right away), used when SAT answers and returned if it doesn't. In test mode it gives a sample positive one instantly (the query already comes completed and sat_refresh.completed also arrives).
The issuer's stored e.firma (in production; not needed in test mode):
POST /v1/issuers/{id}/efirmawithkeep_for_downloads: true. An RFC of your empresa uses the one stored in the app.
bearerAuthAuthorizationBearer <key>Your secret key: fk_test_… in test mode, fk_live_… in production. Desarrolladores › Llaves.
id*stringThe object's id.
Idempotency-Key?stringOptional (the SDKs send it on their own). If the response is lost, repeat the request with the same value within 24 hours: it answers the same, with idempotent-replayed: true, and doesn't do it twice (it doesn't create, send emails or charge).
1 <= length <= 255OK.
application/json- response
A check at the SAT for the issuer's tax returns or a document (compliance opinion, constancia or mailbox): it answers on acceptance (status processing) and finishes on its own; sat_refresh.completed or sat_refresh.failed say how.
object*stringWhat kind of object it is («invoice», «customer»…).
id*stringThe check's id (srf_…): GET /v1/sat_refreshes/{id} says how it is going.
livemode*booleantrue in production (fk_live_ keys), false in test mode (fk_test_). Test objects aren't valid before the SAT.
issuer*stringThe issuer.
document*stringWhat was checked: declarations, compliance_opinion, tax_status_certificate or sat_mailbox.
"declarations""compliance_opinion""tax_status_certificate""sat_mailbox"status*stringprocessing (the SAT is being checked), completed (what it brought is in url) or failed (the SAT didn't answer: reason in error, the stamp came back).
"processing""completed""failed"result*||What it brought, with status completed: for declarations how many it listed and downloaded; for the rest, where to read the document. null while it continues or if it failed.
error*|With status failed: what the SAT said. null for the rest.
charged*booleantrue when its stamp was used (the SAT answered). Always false in test mode: no stamps are used.
timbre_held*booleantrue while it continues: its stamp is set aside (GET /v1/balance no longer counts it) and comes back if the SAT doesn't answer.
created_at*stringWhen it was requested.
date-timecompleted_at*|When it finished (completed or failed). null while it continues.
refreshed_at*stringWhen it was requested (same as created_at).
date-timenext_refresh_at*stringFrom when it can be requested again for the same issuer (10 minutes later).
date-timeurl*stringWhere to read what it brought.
To download an issuer's invoices from the SAT in live mode, keep its e.firma first:
POST /v1/issuers/{id}/efirmawith keep_for_downloads: true (also when the kept one expired).The issuer is archived and no longer stamps. Its documents can still be read and canceled.
The account has several issuers and the request doesn't say which: send
issuer(iss_…).The object belongs to the other mode: an fk_test_ key only sees test data and an fk_live_ key only live data.
The account has no live stamps left: to stamp, check RFCs against SAT's lists, look up constancias, request SAT downloads or fetch declarations, the compliance opinion or the mailbox from SAT. Buy a pack in Desarrolladores › Timbres y pagos, or turn on auto-recharge. Never happens in test mode.
Live, this part of the API (inventario, portal de proveedores, pedidos, comprobación de gastos) follows the empresa's plan, as in the app: it comes with Operaciones (added to any paid plan; included in Corporativo). The books (the /v1/accounting routes except DIOT, cross checks, IVA refunds and fixed assets) come with Contabilidad (added to Independiente, Emprendedor or Negocio; included in Despacho and Corporativo): without it, changing the books answers this error, and reading them works only up to the last month it had it. Add either in Ajustes › Plan y pagos; test mode has everything.
That issuer is an empresa of the app connected to your account: through the API it only offers its Portal de proveedores (/v1/portal_suppliers and /v1/supplier_invoices) and, once someone who may pay suppliers and change Configurar pagos turned them on, its supplier payouts (/v1/payouts and /v1/payroll_payouts). It also stops when whoever connected it (or turned its payouts on) no longer has that permission in the empresa: message_es says which. Do everything else in the app.
This key can't use that issuer.
There is no such issuer in the account (or it belongs to the other mode).
There's no object with that id (or it belongs to another issuer or the other mode).
- daily_limit429
You reached today's limit of something not paid with stamps. Retry-After says how many seconds until midnight in Mexico City.
This issuer's tax returns were looked up at SAT less than 10 minutes ago. Retry-After says how many seconds are left; what came is in
GET /v1/sat_declarations.
Plus those of any call (key, fields, limits): Errors. They all carry code, message and, when it's about a field, param.
curl -X POST 'https://api.fiscalisto.com/v1/issuers/iss_OufpKqnrvx9p/compliance_opinion/refresh' \ -H 'Authorization: Bearer fk_test_…' \ -H 'Idempotency-Key: pedido-A-1042'{ "object": "sat_refresh", "id": "srf_7Hq2mXc9LpR4tVb8NzK1", "livemode": true, "issuer": "iss_OufpKqnrvx9p", "document": "compliance_opinion", "status": "processing", "result": null, "error": null, "charged": false, "timbre_held": true, "created_at": "2026-10-27T09:12:00-06:00", "completed_at": null, "refreshed_at": "2026-10-27T09:12:00-06:00", "next_refresh_at": "2026-10-27T09:22:00-06:00", "url": "/v1/issuers/iss_OufpKqnrvx9p/compliance_opinion"}Was this page helpful?
Get the compliance opinion (32-D) GET
The last opinion it brought from SAT: positive, negative (with its reasons), without obligations or suspended. result is null until the first query. It doesn't use stamps.
Download the compliance opinion's PDF GET
The PDF of the last opinion, as SAT gives it. It doesn't use stamps.