FISCALISTO / API / REFERENCE
Get a SAT tax return · SAT tax returns
A tax return filed with SAT, with its figures in summary and whether its PDF and its acknowledgment are there yet.
bearerAuthAuthorizationBearer <key>Your secret key: fk_test_… in test mode, fk_live_… in production. Desarrolladores › Llaves.
id*stringThe object's id.
OK.
application/json- response
A tax return the issuer filed with the SAT (provisional or definitive, annual or from the former Declaraciones y pagos service), with its figures and its files.
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 that filed it.
source*stringmonthly (provisional or definitive, from 2022), annual (the persona moral annual return) or dyp (the former Declaraciones y pagos service, 2021 and earlier).
"monthly""annual""dyp"year*integerThe fiscal year.
-9007199254740991 <= value <= 9007199254740991month*|The month (1 to 12), or null for the annual return and other periods.
period*stringThe period as the SAT names it: «Enero», «Del Ejercicio»…
type*stringnormal or complementary.
"normal""complementary"complementary_type*|On a complementary return, its type as the SAT says it («Modificación de Obligaciones», «Obligación no presentada», «Dejar sin efecto obligación»). It is linked to the one it corrects by source, year, month and period.
operation_number*stringThe operation number the SAT gave it.
payment_line*|The payment line, if there was something to pay.
filed_on*|When it was filed (YYYY-MM-DD).
profit_coefficient*|The profit coefficient it applied (ISR for personas morales), or null.
isr_due*|The ISR owed, according to the acknowledgment.
vat_due*|The IVA owed, according to the acknowledgment.
total_due*|The total to pay, according to the acknowledgment.
sections*array<>The return's figures by tax (tax), each with its text as the SAT prints it (label) and its value. Empty on Declaraciones y pagos returns (their PDF has two columns that can't be read with certainty) or if the PDF hasn't arrived yet.
receipt*|What the acknowledgment says: each concept with its amount owed and to pay, the total, the payment line and its validity. null if the acknowledgment hasn't arrived yet.
summary*The same figures with fixed names, by obligation (ISR, IVA, each withholding), to read them the same way every month without knowing the SAT's format. A figure that isn't in the return or couldn't be read is null, never 0. On Declaraciones y pagos it only carries what is in the acknowledgment.
figures_status*stringread: its PDF has been read (sections, summary, receipt and the *_due fields come from it; a null figure means the return doesn't include it). pending: it is listed but its PDF hasn't been downloaded yet, so its figures come empty or null; it downloads on its own, with no extra stamp, by figures_expected_at. unavailable: the SAT hasn't provided the PDF (files_error says why); it is requested again on the next read.
"read""pending""unavailable"figures_expected_at*|When its figures should be there, if they aren't (the background read that finishes a check cut off by time). null when they are already there or when no read is scheduled: then they arrive with the next POST /v1/sat_declarations/refresh.
payment*|Its payment at the bank, from the SAT's «Declaraciones pagadas» (monthly returns only; null on the rest). status: paid (the SAT has the payment), unpaid (it has something to pay and the SAT didn't have it as paid at checked_at), overdue (same, with the payment line expired), nothing_to_pay or unchecked (not checked yet). paid_on, amount_paid and bank of the most recent payment, and each payment in payments with its bank, day, payment line, channel, amount, bank operation number and payment key.
files*Which files are already available: pdf (GET …/pdf), receipt (GET …/receipt), payment_record (GET …/payment_record, when the SAT has it as paid) and financial_statements (GET …/financial_statements, only on the persona moral annual return).
files_error*|Why a file is missing, as the SAT said it (for example «No se puede generar el archivo»). It is requested again on the next check.
created_at*|When it was first brought in.
updated_at*|When it last changed.
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.
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).
Plus those of any call (key, fields, limits): Errors. They all carry code, message and, when it's about a field, param.
curl -X GET 'https://api.fiscalisto.com/v1/sat_declarations/dcl_OufpKqnrvx9p1F' \ -H 'Authorization: Bearer fk_test_…'{ "id": "dcl_OufpKqnrvx9p1F", "object": "sat_declaration", "livemode": false, "issuer": "iss_OufpKqnrvx9p", "source": "monthly", "year": 2026, "month": 9, "period": "Septiembre", "type": "normal", "complementary_type": null, "operation_number": "92026090000001", "payment_line": "0426TEST2026090001", "filed_on": "2026-10-15", "profit_coefficient": 0.0219, "isr_due": 7718.53, "vat_due": 16520, "total_due": 24238.53, "sections": [ { "tax": "ISR personas morales", "fields": [ { "label": "INGRESOS NOMINALES DEL PERIODO", "value": 292500 }, { "label": "COEFICIENTE DE UTILIDAD", "value": 0.0219 }, { "label": "IMPUESTO A CARGO", "value": 7718.53 } ] } ], "receipt": { "concepts": [ { "concept": "ISR personas morales", "due": 7718.53, "amount_due": 7718.53, "amount_to_pay": 7718.53, "in_favor": null }, { "concept": "IVA personas morales", "due": 16520, "amount_due": 16520, "amount_to_pay": 16520, "in_favor": null } ], "total": 24238.53, "payment_line": "0426TEST2026090001", "valid_until": null }, "summary": { "obligations": [ { "obligation": "isr", "name": "ISR personas morales", "read": true, "amount_due": 7718.53, "amount_to_pay": 7718.53, "in_favor": null, "figures": { "income": 292500, "invoiced_income": 292500, "income_ytd": 2632500, "deductions": null, "profit_coefficient": 0.0219, "taxable_profit": 57651.75, "losses_applied": 0, "tax_base": 57651.75, "tax_caused": 17295.53, "prior_payments": 9577, "withheld": 0, "surcharges": null, "inflation": null, "paid_before": null, "due": 7718.53, "in_favor": null, "to_pay": 7718.53 } }, { "obligation": "vat", "name": "IVA personas morales", "read": false, "amount_due": 16520, "amount_to_pay": 16520, "in_favor": null, "figures": { "taxable_16": null, "taxable_0": null, "exempt": null, "charged": null, "paid_16": null, "creditable": null, "withheld": null, "balance_applied": null, "surcharges": null, "inflation": null, "paid_before": null, "due": null, "in_favor": null, "to_pay": null } } ], "total_to_pay": 24238.53 }, "figures_status": "read", "figures_expected_at": null, "payment": { "status": "paid", "paid_on": "2026-10-20", "amount_paid": 3495, "bank": "Banco Inbursa, S.A.", "checked_at": "2026-11-16T22:15:00-06:00", "payments": [ { "bank": "Banco Inbursa, S.A.", "date": "2026-10-20", "payment_line": "04267CKX370051367252", "channel": "Ventanilla", "amount": 3495, "bank_operation_number": "4209608187", "payment_key": "3F2796FBA4" } ] }, "files": { "pdf": true, "receipt": true, "payment_record": true, "financial_statements": false }, "files_error": null, "created_at": "2026-10-26T09:12:00-06:00", "updated_at": "2026-10-26T09:12:04-06:00"}Was this page helpful?
Get a persona física's annual return prefill GET
What SAT will prefill in a persona física issuer's annual return, from its viewers: the wages or similar income and the ISR withheld, per employer, and the personal deductions it takes from their invoices, with those that could be deducted and aren't taken, and why. It's read with the e.firma on each query (POST /v1/sat_declarations/refresh), for the previous fiscal year and the current one; it doesn't use stamps. A persona moral issuer gets parameter_invalid.
Download a tax return's PDF GET
The tax return as SAT gives it. It doesn't use stamps.