FISCALISTO / API / REFERENCE
Create a recurring invoice · Recurring invoices
An invoice the issuer stamps on its own on each date (every interval months on day_of_month, or every interval weeks or days), at the time you pick, with your account's stamps, and sends to the customer if send_email. Each one is a normal invoice (invoice.stamped, with recurring_invoice) and the same period is never stamped twice. invoice is the body of POST /v1/invoices: it's checked now, with the same rules.
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
issuer?stringThe issuer (iss_…). It can be left out if the key or the account has only one.
name*stringTo recognize it: «Renta oficina 3», «Plan Pro de ACME».
1 <= length <= 80schedule*How often and at what time it's stamped.
invoice*The invoice that repeats: the body of POST /v1/invoices, without issuer, folio, date, global or metadata. In description you can use {mes}, {mes anterior}, {mes siguiente}, {año}, {año anterior}, {año siguiente} and {periodo}: each invoice fills them in with its date. As they're written is how they come out: {mes} «noviembre», {Mes} «Noviembre», {MES} «NOVIEMBRE».
send_email?booleanSend each invoice to the customer's email (customer.email or the catalog's). true by default.
catch_up?stringIf periods were left unstamped (no stamps, paused with its date past): all stamps them all, each with its month; latest only the most recent. all by default.
"all""latest"OK.
application/json- response
An invoice the issuer stamps on its own, every month, week or day.
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 (iss_…).
name*stringTo recognize it.
status*stringactive (stamps on each date) or paused.
"active""paused"schedule*How often: frequency (monthly, weekly or daily), interval, day_of_month (with monthly; "last" is the last of the month), and the hour (hour, in time_zone) it stamps at.
next_invoice_on*stringThe date (YYYY-MM-DD) of the next invoice.
last_invoiced_on*|The date of the last period it stamped, or null if it hasn't stamped any yet.
last_invoice*|The last invoice (inv_…) it stamped, or null.
last_error*|Why it couldn't stamp last time (no stamps, the customer deleted, the SAT rejected it…), or null. It tries again at the next hour of the following day; recurring_invoice.failed also arrives.
send_email*booleanWhether each invoice is sent to the customer's email.
catch_up*stringIf periods were left unstamped: all stamps all of them, latest only the most recent.
"all""latest"customer*Who is invoiced.
currency*stringThe invoice's currency.
items*array<>The line items, with description as saved ({mes}, {año}… are filled in on each invoice).
total*|Each invoice's total with today's prices.
created_at*|When it was created.
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 recurring invoice couldn't be saved: the day, hour, time zone or invoice isn't valid.
message_essays which.The issuer has the most active recurring invoices allowed (25 in test mode, 5,000 live). Pause or delete the ones you don't use.
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).
Another request with the same Idempotency-Key is still running. Repeat it in a moment with the same key: it will answer the same.
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/recurring_invoices' \ -H 'Authorization: Bearer fk_test_…' \ -H 'Idempotency-Key: pedido-A-1042' \ -H 'Content-Type: application/json' \ -d '{ "name": "Renta oficina 3", "schedule": { "frequency": "monthly", "day_of_month": 1, "hour": 7 }, "invoice": { "customer": { "tax_id": "ICV060329BY0", "legal_name": "INMOBILIARIA CVA", "tax_system": "601", "zip": "33826", "email": "pagos@cva.example" }, "payment_form": "03", "items": [ { "description": "Renta de oficina de {mes} {año}", "product_key": "80131500", "unit_price": 15000 } ] }}'{ "id": "rin_OufpKqnrvx9p7Hq2mZr1XyT5uBcW8sKdLx", "object": "recurring_invoice", "livemode": false, "issuer": "iss_OufpKqnrvx9p", "name": "Renta oficina 3", "status": "active", "schedule": { "frequency": "monthly", "interval": 1, "day_of_month": 1, "hour": 7, "time_zone": "America/Mexico_City" }, "next_invoice_on": "2026-11-01", "last_invoiced_on": "2026-10-01", "last_invoice": "inv_OufpKqnrvx9p6hW1yQbT3mZr8sKdLx0VeN", "last_error": null, "send_email": true, "catch_up": "all", "customer": { "tax_id": "ICV060329BY0", "legal_name": "INMOBILIARIA CVA" }, "currency": "MXN", "items": [ { "description": "Renta de oficina de {mes} {año}", "product_key": "80131500", "quantity": 1, "unit_key": "E48", "unit_price": 15000 } ], "total": 17400, "created_at": "2026-09-28T11:02:14-06:00"}Was this page helpful?