FISCALISTO / API / REFERENCE
Net to gross · Payroll
The daily salary and the SDI whose ordinary receipt for a full period pays the net you ask for, with today's ISR and IMSS, like «Calcular desde el neto» on each employee in the app. With employee it takes their pay frequency and benefits; without it, those you send or the legal ones. Without absences, incidents or deductions like Infonavit or loans. It saves nothing: to use it, update the employee.
bearerAuthAuthorizationBearer <key>Your secret key: fk_test_… in test mode, fk_live_… in production. Desarrolladores › Llaves.
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 <= 255application/json- body
net*numberThe net you want to pay for a full period, in pesos.
0 < value <= 10000000employee?stringAn employee (emp_…): takes their pay frequency, zone and benefits (aguinaldo, vacation premium, seniority, vouchers and savings fund), and their SDI ÷ salary factor if they have them.
periodicity?string02 weekly, 03 every 14 days, 04 every two weeks or 05 monthly. Without employee, required.
"02""03""04""05"border_zone?booleanIn the northern border free zone (its minimum wage).
start_date?stringHire date: the vacation days for their seniority.
^\d{4}-\d{2}-\d{2}$aguinaldo_days?integerDays of aguinaldo per year (at least 15).
15 <= value <= 365vacation_premium?numberVacation premium as a fraction (at least 0.25).
0.25 <= value <= 5pantry_vouchers?numberGrocery vouchers per month.
0 <= value <= 1000000savings_fund_rate?numberSavings fund as a fraction of the salary (up to 0.13).
0 <= value <= 0.13OK.
application/json- response
Net to gross: the daily salary whose ordinary receipt for a full period pays a net, without absences, incidents or deductions such as Infonavit or loans. It saves nothing.
object*stringWhat kind of object it is («invoice», «customer»…).
employee*|The employee (emp_…) whose benefits it used, or null.
periodicity*string02 weekly, 03 biweekly (14 days), 04 semimonthly or 05 monthly.
net_requested*numberThe net requested.
daily_salary*numberThe daily salary whose receipt pays at least that net (rounded up to the cent).
integrated_daily_salary*numberTheir integrated daily salary (SDI) with their benefits factor.
period*The period it was calculated with (the current one for the frequency).
days*numberThe days paid in a full period.
perceptions*numberThe receipt's total earnings.
deductions*numberTotal deductions (ISR, IMSS, savings fund).
taxes_withheld*numberISR withheld.
other_payments*numberOther payments.
net*numberThe receipt's net with that salary.
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 POST 'https://api.fiscalisto.com/v1/payroll/net_to_gross' \ -H 'Authorization: Bearer fk_test_…' \ -H 'Idempotency-Key: pedido-A-1042' \ -H 'Content-Type: application/json' \ -d '{ "employee": "emp_OufpKqnrvx9p3RxmD1RIDgEHzKYPYnYBlV", "net": 8000}'{ "object": "net_to_gross", "employee": "emp_OufpKqnrvx9p3RxmD1RIDgEHzKYPYnYBlV", "periodicity": "04", "net_requested": 8000, "daily_salary": 620.46, "integrated_daily_salary": 652.79, "period": { "start": "2026-11-16", "end": "2026-11-30" }, "days": 15, "perceptions": 9306.9, "deductions": 1306.82, "taxes_withheld": 1056.21, "other_payments": 0, "net": 8000.08}Was this page helpful?
Stamp a payroll receipt POST
Ordinary payroll (Nómina 1.2): Fiscalisto calculates the wage, ISR with the employment subsidy and the employee's IMSS for the period, with its incidents (incidents: overtime, Sundays, vacation and bonuses), like the app: aguinaldo, PTU and settlements are calculated by POST /v1/payroll_receipts/extraordinary; commissions, Infonavit or loans are calculated by your system and stamped with POST /v1/payroll_receipts/external (asking for them here answers payroll_calculation_unsupported). Review the receipt first with POST /v1/payroll_receipts/preview and send its confirmation_token: that way only the receipt you reviewed is stamped (if it changed, 409 payroll_calculation_changed). It's kept as a type N invoice (GET /v1/invoices/{id}). The issuer needs employer_registration.
Calculate a receipt without stamping POST
The receipt as it would be stamped (perceptions with their incidents, ISR with the employment subsidy, IMSS contributions and the net), without stamping or using stamps, with the confirmation_token that stamps it as is and the warnings about what it doesn't include (a settlement, the year's values not loaded yet).