FISCALISTO / API / REFERENCE
The invoice arrived · Purchase receipts
For an invoice that arrived some other way. With invoice (sat_… or UUID), the received invoice that covers it; one invoice covers a single receipt.
bearerAuthAuthorizationBearer <key>Your secret key: fk_test_… in test mode, fk_live_… in production. Desarrolladores › Llaves.
id*stringThe object's id.
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
invoice?stringThe received invoice that covers it: its id (sat_…) or its folio fiscal (UUID). Without it, it's only marked invoiced.
1 <= lengthOK.
application/json- response
An issuer's purchase ticket without an invoice: what was read from its photo and whether it was requested, arrived or isn't deductible.
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 (the one that bought).
status*stringpending (to request), requested (requested from the store), invoiced (it has an invoice now) or non_deductible (there was no invoice).
"pending""requested""invoiced""non_deductible"store*The store: name, tax_id (its RFC), email, portal_url (its portal or the QR's link) and on_fiscalisto (invoices with Fiscalisto: method fiscalisto stamps it right away).
date*|The purchase day (YYYY-MM-DD), or null.
total*|The total paid, in pesos, or null.
payment_method*|efectivo, tarjeta or otro, or null.
folio*|The folio or ticket number, or null.
fields*array<>Other details the store's portal asks for to invoice (Web ID, branch, register…).
use*|The CFDI use requested, or null: G03 if the issuer's tax regime allows it, otherwise S01.
note*|A note, or null.
file_type*|The saved file's type (image/jpeg, application/pdf…).
cash_over_limit*booleantrue if more than $2,000 was paid in cash: even with an invoice, it isn't deductible (LISR art. 27 fr. III).
days_left_in_month*|To request: the days left in the purchase's month, Mexico time (many stores only invoice within the month); otherwise null.
requested*|When and how it was requested (method: fiscalisto, email, portal or manual; to: the store or its email), or null.
invoice_uuid*|The tax folio of the invoice that covers it, or null.
invoice*|The received invoice (sat_…) that covers it, if it already arrived with the SAT downloads, or null.
invoiced_at*|When it was invoiced, or null.
non_deductible_at*|When it was marked non-deductible, or null.
created_at*|When it was saved.
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 purchase receipt can't be saved, changed or requested that way.
message_essays why.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/purchase_receipts/rct_OufpKqnrvx9p4X/mark_invoiced' \ -H 'Authorization: Bearer fk_test_…' \ -H 'Idempotency-Key: pedido-A-1042' \ -H 'Content-Type: application/json' \ -d '{ "invoice": "sat_OufpKqnrvx9p1Dn"}'{ "id": "rct_OufpKqnrvx9p4X", "object": "purchase_receipt", "livemode": false, "issuer": "iss_OufpKqnrvx9p", "status": "invoiced", "store": { "name": "Gasolinera Las Palmas", "tax_id": "GLP0503158A2", "email": null, "portal_url": "https://facturacion.laspalmas.mx", "on_fiscalisto": false }, "date": "2026-10-30", "total": 348.5, "payment_method": "tarjeta", "folio": "A-48213", "fields": [ { "label": "Web ID", "value": "7Q3K9" } ], "use": null, "note": null, "file_type": "image/jpeg", "cash_over_limit": false, "days_left_in_month": null, "requested": null, "invoice_uuid": "5E2D6AFE-1C4B-4E0B-9A1E-3F2A4B5C6D7E", "invoice": "sat_OufpKqnrvx9p1Dn", "invoiced_at": "2026-11-02T07:10:00-06:00", "non_deductible_at": null, "created_at": "2026-10-30T18:20:00-06:00"}Was this page helpful?
Request the invoice from the store POST
fiscalisto: the store invoices with Fiscalisto (store.on_fiscalisto), it's stamped at once with the issuer's tax data and the receipt becomes invoiced. email: sends the store the tax data and the photo; replies go to reply_to. portal or manual: you requested it, it only becomes requested. It asks for the use in use (G03 by default).
Mark as non-deductible POST
The store didn't give an invoice: the expense stays non-deductible.