FISCALISTO / API / REFERENCE
retention.failed · Events
SAT or the PAC rejected a withholding certificate. It arrives at your webhooks as a POST signed with Standard Webhooks (headers webhook-id, webhook-timestamp and webhook-signature).
application/json- body
Something that happened in your account: the whole object as it ended up. It is sent to your webhooks signed (Standard Webhooks).
id*stringObject identifier, with its prefix (iss_, inv_, ret_, cus_, prd_, emp_, bat_, brn_, whs_, stm_, adj_, evt_, whe_).
object*stringWhat kind of object it is («invoice», «customer»…).
type*stringWhat happened: invoice.stamped, invoice.failed, invoice.canceled, invoice.cancellation_pending, invoice.cancellation_rejected, invoice.cancellation_failed, invoice.paid, invoice.partially_paid, retention.stamped, retention.failed, retention.canceled, invoice_batch.completed, payroll_batch.completed, customer_data_request.completed, sat_download.completed, sat_download.failed, sat_declaration.created, sat_declaration.updated, sat_refresh.completed, sat_refresh.failed, ticket.invoiced, ticket.included_in_global, recurring_invoice.failed, quote.viewed, quote.accepted, quote.changes_requested, quote.rejected, quote.withdrawn, sales_order.confirmed, sales_order.customer_confirmed, sales_order.delivered, sales_order.paid, sales_order.canceled, supplier_invoice.received, supplier_invoice.approved, supplier_invoice.rejected, supplier_invoice.scheduled, supplier_invoice.paid, portal_supplier.approved, payout.approved, payout.paid, payout.partially_paid, payout.failed, payout.canceled, payout_transfer.succeeded, payout_transfer.failed, payout_transfer.returned, issuer.ready, balance.low, usage.high, test_clock.ready or rule.matched.
api_version*stringThe API version the object was built with.
livemode*booleantrue in production (fk_live_ keys), false in test mode (fk_test_). Test objects aren't valid before the SAT.
created_at*stringWhen it was created, ISO 8601 with Mexico City time (-06:00).
date-timedata*What changed, in data.object: the whole receipt (or batch), as its GET returns it.
Answer 2xx in less than 15 seconds; if not, it's retried for 3 days.
This is how it reaches your webhook
{ "id": "evt_0PKhIdhYuAGwzmMQYfkc", "object": "event", "type": "retention.failed", "api_version": "2026-10-24", "livemode": false, "created_at": "2026-10-24T10:15:42-06:00", "data": { "object": { "id": "ret_OufpKqnrvx9p5tENFcmUXpXJ58XxnF67kv", "object": "retention", "livemode": false, "issuer": "iss_OufpKqnrvx9p", "status": "rejected", "uuid": null, "folio": 1, "internal_folio": "RET1", "date": "2026-10-24T10:15:42", "code": "01", "description": null, "recipient": { "foreign": false, "tax_id": "MASO451221PM4", "legal_name": "MARIA OLIVIA MARTINEZ SAGAZ", "zip": "80290", "curp": null }, "period": { "year": 2026, "from_month": 9, "to_month": 9 }, "totals": { "operation": 10000, "taxed": 10000, "exempt": 0, "withheld": 2066.67 }, "taxes": [ { "tax": "isr", "base": 10000, "amount": 1000, "payment_type": "04" }, { "tax": "iva", "base": 10000, "amount": 1066.67, "payment_type": "01" } ], "cancellation": null, "email": null, "error": { "message": "El SAT no reconoce el nombre del cliente.", "sat_code": "CFDI40145", "raw": "CFDI40145 - El campo Nombre del receptor no corresponde con el RFC." }, "created_at": "2026-10-24T10:15:42-06:00", "metadata": { "proveedor": "42" } } }}Was this page helpful?
retention.stamped Webhook
A withholding certificate was stamped. data.object is the certificate. It arrives at your webhooks as a POST signed with Standard Webhooks (headers webhook-id, webhook-timestamp and webhook-signature).
retention.canceled Webhook
A withholding certificate was canceled. It arrives at your webhooks as a POST signed with Standard Webhooks (headers webhook-id, webhook-timestamp and webhook-signature).