FISCALISTO / API / REFERENCE
Mark a received invoice as paid · SAT downloads
A received PPD invoice the company paid (in cash, from petty cash, with a reimbursement…) and whose supplier didn't issue the payment complement: it leaves Por pagar as paid without a complement, with when, how and from where it was paid. SAT still sees it unpaid: the VAT isn't credited nor the expense deducted until the complement arrives. On a received PUE one, which is already paid, it only notes where the money came from (money_source). What's marked shows in paid_otherwise.
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
paid_on?stringThe day it was paid (YYYY-MM-DD, not after today). On a PPD one, if not given, it stays without a date; on a PUE one, the invoice's date.
^\d{4}-\d{2}-\d{2}$payment_form?stringOnly PPD: what it was paid with, a c_FormaPago key (01 cash, 02 nominative check, 03 transfer…). A PUE one already says its own.
"12""13""14""15""17""23""24""25""26""27""28""29""30""31""01""02""03""04""05""06""08"money_source?stringWhere the money came from: petty_cash, reimbursement (a person paid it and was reimbursed), bank or other. Required on a PUE one.
"petty_cash""reimbursement""bank""other"note?stringA note, up to 500 characters.
length <= 500OK.
application/json- response
An invoice the SAT has for the issuer, issued or received, brought in by a download.
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 in your account (iss_…) this invoice belongs to.
uuid*stringThe tax folio (UUID of the stamp).
direction*stringreceived (made to the issuer) or issued (the issuer issued it).
"received""issued"type*|Receipt type (TipoDeComprobante): I income, E expense, P payment, T transfer, N payroll.
date*stringThe receipt's date (Fecha), in the local time it was issued with.
series*|Series (Serie), or null.
folio*|Folio (Folio), or null.
issued_by*Who issued it (Emisor).
issued_to*Who it was issued to (Receptor).
currency*|Currency (Moneda): MXN, USD…
exchange_rate*|Exchange rate (TipoCambio), or null in pesos.
payment_method*|Payment method (MetodoPago): PUE or PPD.
payment_form*|Payment form (FormaPago), c_FormaPago code.
use*|CFDI use (UsoCFDI).
subtotal*|Subtotal (SubTotal).
total*|Total (Total).
taxes*The receipt's taxes: transferred (iva, ieps), withheld (iva_withheld, isr_withheld, ieps_withheld) and local.
sat_status*|Its status at the SAT when it was checked: active (valid) or canceled. null if it hasn't been checked yet.
paid_otherwise*|Received only, marked with mark_paid, in the app or by a rule: without_complement true on a PPD paid without a payment complement (the SAT still sees it as unpaid); false on a PUE, where only the source of the money was noted.
cash_confirmation*|Only on a received PUE paid in cash when the empresa asks to confirm these payments (Ajustes › Pagos en efectivo): pending until someone notes where the money came from (mark_paid with money_source), confirmed afterwards. Null on the rest. Its taxes don't change.
cost_center*|Its cost center (ccn_…), or null. Set or change it with POST /v1/sat_invoices/{id}.
account*|The number of your chart's account its income or expense is booked to instead of its category's (in the app, by a rule of Ajustes › Reglas or with account). Null: its category's.
tags*array<>Its tags, by name. automatic: true on those a rule added (the purchase order it was linked to or a rule in Ajustes › Reglas). Change them with POST /v1/sat_invoices/{id}.
sat_download*|The download (sdl_…) that brought it, or null.
downloaded_at*|When it arrived.
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.
Only a received, active income invoice can be marked as paid: a PPD still unpaid, or a PUE to note where the money came from. The Spanish message says why this one can't.
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/sat_invoices/sat_OufpKqnrvx9p1F/mark_paid' \ -H 'Authorization: Bearer fk_test_…' \ -H 'Idempotency-Key: pedido-A-1042' \ -H 'Content-Type: application/json' \ -d '{ "paid_on": "2026-11-14", "payment_form": "01", "money_source": "petty_cash", "note": "Reembolso de caja chica de noviembre"}'{ "id": "sat_OufpKqnrvx9p1F", "object": "sat_invoice", "livemode": false, "issuer": "iss_OufpKqnrvx9p", "uuid": "9B2D4E61-7C3A-4F18-8E5D-0A6B9C1D2E3F", "direction": "received", "type": "I", "date": "2026-09-12T11:04:00", "series": "A", "folio": "4821", "issued_by": { "tax_id": "XIA190128J61", "legal_name": "XENON INDUSTRIAL ARTICLES" }, "issued_to": { "tax_id": "TOL190312KT4", "legal_name": "TOLPI" }, "currency": "MXN", "exchange_rate": null, "payment_method": "PUE", "payment_form": "03", "use": "G03", "subtotal": 18400, "total": 21344, "taxes": { "iva": 2944, "ieps": 0, "iva_withheld": 0, "isr_withheld": 0, "ieps_withheld": 0, "local_transferred": 0, "local_withheld": 0 }, "sat_status": "active", "paid_otherwise": null, "cash_confirmation": null, "cost_center": null, "account": null, "tags": [ { "id": "tag_OufpKqnrvx9p1", "name": "Obra Norte", "color": "info", "automatic": false } ], "sat_download": "sdl_OufpKqnrvx9p3n8vQd2LkW7mZr1XyT5uBc", "downloaded_at": "2026-10-24T10:27:40-06:00"}Was this page helpful?
Update a SAT invoice POST
What can be changed on a SAT CFDI without touching it: its cost center (cost_center, or null to remove it), to see its expenses by site, project or department, and its tags (tags, exactly the ones you send: tag_… ids or names; a new name creates the tag).
Remove the paid mark POST
Undoes mark_paid (or what a Pagos sin complemento rule marked): a PPD one goes back to Por pagar and a PUE one loses its money source. A rule no longer marks it again.