FISCALISTO / API / REFERENCE
Get a persona física's annual return prefill · SAT tax returns
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.
bearerAuthAuthorizationBearer <key>Your secret key: fk_test_… in test mode, fk_live_… in production. Desarrolladores › Llaves.
issuer?stringThe issuer (iss_…). It can be left out if the key or the account has only one.
year?integerThe fiscal year, like 2025. By default, the previous one (the one being filed).
OK.
application/json- response
What the SAT will preload on a persona física's annual return: their wages and withholdings, and their personal deductions.
object*stringWhat kind of object it is («invoice», «customer»…).
livemode*booleantrue in production (fk_live_ keys), false in test mode (fk_test_). Test objects aren't valid before the SAT.
issuer*stringThe issuer.
year*integerThe annual return's fiscal year.
-9007199254740991 <= value <= 9007199254740991payroll*|What the SAT's payroll viewer says: what their employers paid them and the ISR withheld, according to their payroll receipts. null if it hasn't been read yet.
personal_deductions*|What the SAT's personal deductions viewer says. null if it hasn't been read yet.
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).
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/annual_preload' \ -H 'Authorization: Bearer fk_test_…'{ "object": "sat_annual_preload", "livemode": false, "issuer": "iss_OufpKqnrvx9p", "year": 2025, "payroll": { "updated_on": "2026-11-14", "read_at": "2026-11-17T18:40:00.000Z", "concepts": [ { "code": "PIRA1", "group": "Asimilados a salarios", "title": "Total de ingresos asimilados a salarios", "amount": 231587 }, { "code": "PISR1", "group": "Impuesto sobre la renta retenido", "title": "ISR retenido", "amount": 24035 } ], "employers": [ { "tax_id": "EKU9003173C9", "name": "ESCUELA KEMPER URGATE", "concepts": [ { "code": "PIRA1", "title": "Total de ingresos por asimilados a salarios", "amount": 231587 }, { "code": "PISR1", "title": "Total de impuesto retenido", "amount": 24035 } ] } ] }, "personal_deductions": { "updated_at": "2026-11-09T10:18:53.177Z", "read_at": "2026-11-17T18:40:00.000Z", "total_taken": 0, "total_possible": 62601, "taken": [], "possible": [ { "code": "F", "description": "Primas por seguros de gastos médicos", "invoices": 1, "total": 62601 } ], "invoices": [ { "uuid": "90C192CF-D3AC-94AF-0F21-DDB66CAD4A26", "issuer_tax_id": "EKU9003173C9", "issuer_name": "ESCUELA KEMPER URGATE", "date": "2025-06-23", "total": 62601, "payment_form": "99-Por definir", "payment_method": "PPD-Pago en parcialidades o diferido", "product_code": "84131602-Seguros de asistencia médica y hospitalización", "description": "PRIMA NETA SEGURO DE GASTOS MEDICOS", "deduction_code": "L", "deduction_type": "Concepto no clasificado, con posible deducción", "possible_code": "F", "reasons": [ "La clave de uso del CFDI no corresponde a Primas por seguros de gastos médicos." ], "retirement_deposit": null } ] }}Was this page helpful?
Get the year month by month GET
Each month of the fiscal year with its obligations: filed (with its tax returns), missing (it was due and we didn't find it) or to be filed, with the day it's due (the 17th of the following month, or the next business day, plus the days for the RFC's sixth digit). It's built from what your queries brought; it doesn't use stamps.
Get a SAT tax return GET
A tax return filed with SAT, with its figures in summary and whether its PDF and its acknowledgment are there yet.