FISCALISTO / API / REFERENCE
Mark a supplier invoice paid · Supplier portal
The payment your ERP or your bank made, like «Marcar pagada» in the app: the supplier sees it, and if it's PPD we ask them for its payment complement. supplier_invoice.paid arrives.
Supplier portal in the plan of your empresa, if your API account belongs to an empresa: it comes with Operaciones, which is added to any paid plan in Ajustes › Plan y pagos and comes in Corporativo. In test mode you can already use it.
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 you paid it (YYYY-MM-DD, today or earlier).
^\d{4}-\d{2}-\d{2}$reference?|The payment's reference (the transfer's or the ERP's), or null.
OK.
application/json- response
An invoice a supplier sent the issuer through its Portal de proveedores, with what was checked, its purchase order, its counter-receipt and its payment dates.
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_…) that received it.
supplier*stringThe supplier (sup_…) that sent it.
supplier_tax_id*stringThe supplier's RFC, or the EXT-<país>-<tax ID> key of a foreign one.
uuid*stringThe tax folio (UUID of the stamp); a foreign supplier's invoice, which has no CFDI, carries EXT-… and sat_invoice null.
sat_invoice*|The same invoice among your received invoices (sat_…), for its XML and PDF, or null.
series*|Its series, or null.
folio*|Its folio, or null.
type*stringincome (income invoice) or credit_note.
"income""credit_note"date*stringThe invoice's date.
currency*stringThe currency.
total*numberThe invoice's total.
payable*numberWhat they are paid: the total without the differences against their order or the accepted early-payment discount.
payment_method*|PUE or PPD.
status*stringreceived (to review), approved, scheduled (with a payment date), paid or rejected.
"received""approved""scheduled""paid""rejected"purchase_order*|The purchase order it invoices (OC-12), or null.
matches_purchase_order*|true if it matched its order, false if it had differences, null without an order.
contrarecibo*|Its counter-receipt folio, or null.
due_on*|The day it is due by its payment dates, or null.
scheduled_on*|The day scheduled to pay it, or null.
paid_on*|The day it was paid, or null.
paid_amount*|What was paid, or null.
payment_reference*|The payment reference, or null.
rejection_reason*|Why it was rejected, or null.
warnings*array<>What was checked and left as a warning (code and message), for your team to see.
received_at*|When it arrived.
approved_at*|When it was approved, or null.
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 supplier invoice can't do that in its current status (only an approved or scheduled one can be scheduled, a paid date can't be in the future, or the SAT reports it canceled).
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/supplier_invoices/spi_OufpKqnrvx9p7Hq2mZr1XyT5uBcW8sKdLx/mark_paid' \ -H 'Authorization: Bearer fk_test_…' \ -H 'Idempotency-Key: pedido-A-1042' \ -H 'Content-Type: application/json' \ -d '{ "paid_on": "2026-11-27", "reference": "SPEI 004512"}'{ "id": "spi_OufpKqnrvx9p7Hq2mZr1XyT5uBcW8sKdLx", "object": "supplier_invoice", "livemode": false, "issuer": "iss_OufpKqnrvx9p", "supplier": "sup_OufpKqnrvx9p3Lk8mZr1XyT5uBcW8sKdLx", "supplier_tax_id": "AAA010101AAA", "uuid": "9F1C2B3A-4D5E-4F60-8A7B-1C2D3E4F5A6B", "sat_invoice": "sat_OufpKqnrvx9p2D", "series": "A", "folio": "120", "type": "income", "date": "2026-11-09T10:00:00", "currency": "MXN", "total": 11600, "payable": 11600, "payment_method": "PPD", "status": "approved", "purchase_order": "OC-12", "matches_purchase_order": true, "contrarecibo": "CR-41", "due_on": "2026-12-09", "scheduled_on": null, "paid_on": null, "paid_amount": null, "payment_reference": null, "rejection_reason": null, "warnings": [], "received_at": "2026-11-09T10:05:00-06:00", "approved_at": "2026-11-09T12:30:00-06:00"}Was this page helpful?
Schedule a supplier invoice's payment POST
The day you'll pay it, like «Programar pago» in the app: the supplier sees it on their portal and supplier_invoice.scheduled arrives. Only an approved or already scheduled one; if SAT reports it canceled, 400 supplier_invoice_invalid.
Supplier payments
SPEI payments to your suppliers with Fintoc: what's left to pay, payouts prepared by your ERP that someone signs in the app, and how each transfer arrived.