FISCALISTO / API / REFERENCE
Payroll tax for the month · Payroll
Each state's payroll tax: the sum of the receipts stamped with a payment date in the month, by the state where each employee works (ClaveEntFed), minus the perceptions in excluded_perception_types, times the state's rate and its surcharges. It's declared and paid on each state's finance portal.
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.
month*stringThe month: 2026-11.
OK.
application/json- response
A month's payroll tax, by state.
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 (iss_…).
month*stringThe month: 2026-11.
total*numberWhat it pays across all states.
states*array<>Each state with receipts in the month, from largest to smallest base.
perceptions*array<>The month's earnings.
excluded_perception_types*array<string>The earnings that don't add to the base.
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/payroll_taxes?month=string' \ -H 'Authorization: Bearer fk_test_…'{ "object": "payroll_tax", "livemode": false, "issuer": "iss_OufpKqnrvx9p", "month": "2026-10", "total": 8806.55, "states": [ { "state": "CMX", "name": "Ciudad de México", "employees": 12, "receipts": 24, "paid": 196400, "excluded": 0, "base": 196400, "rate": 0.04, "tax": 7856, "surcharges": [], "total": 7856, "option": "general", "options": [ { "id": "general", "label": "Mediana o grande (4%)" }, { "id": "pequena", "label": "Pequeña empresa (3.5%)" }, { "id": "micro", "label": "Microempresa (3%)" } ], "law": "art. 158 del Código Fiscal de la Ciudad de México" }, { "state": "MEX", "name": "Estado de México", "employees": 2, "receipts": 4, "paid": 34515, "excluded": 2830, "base": 31685, "rate": 0.03, "tax": 950.55, "surcharges": [], "total": 950.55, "option": null, "options": null, "law": "art. 57 del Código Financiero del Estado de México y Municipios" } ], "perceptions": [ { "type": "001", "label": "Sueldos, Salarios Rayas y Jornales", "amount": 228085, "excluded": false }, { "type": "003", "label": "Participación de los Trabajadores en las Utilidades PTU", "amount": 2830, "excluded": true } ], "excluded_perception_types": [ "003", "004", "014", "022", "023", "024", "025", "026", "027", "037", "039", "044", "050" ]}Was this page helpful?
Apply the annual adjustment POST
action apply: each employee's difference goes on their next ordinary receipts paid from January 1 of the following year: owed as Deducción 101 (up to their net; the rest, on the next one), in their favor as OtroPago 004 with CompensacionSaldosAFavor. Repeating it does nothing. undo removes it while no stamped receipt carries it. files_own_return and no_own_return mark whether the employee will file their own annual return.
Payroll totals GET
The year's totals of the current stamped payroll receipts (ordinary and extraordinary, by payment date), like «Nómina › Reportes» in the app: each perception, deduction and other payment by its SAT key and the employer's, month by month, and each employee's totals (taxed and exempt perceptions, withheld ISR and IMSS, employment subsidy accrued and net). With employee, only that employee's.