# invoice.cancellation_pending

The cancellation was requested and isn't finished yet: SAT has it (it waits for the customer's answer in their buzón tributario, or finishes it in minutes), or Fiscalisto requests it again on its own because SAT doesn't accept it yet (cancellation.status scheduled, with next_attempt_at and error). A replacement sends it for the previous one. It arrives at your webhooks as a POST signed with Standard Webhooks (headers webhook-id, webhook-timestamp and webhook-signature).

The body is an `Event` object; `data.object` is the receipt as its GET returns it. How to verify the signature and answer: https://fiscalisto.com/en/docs/api/webhooks.md.

| Field | Type | Always present | Description |
| --- | --- | --- | --- |
| `id` | string | yes | Object identifier, with its prefix (iss_, inv_, ret_, cus_, prd_, emp_, bat_, brn_, whs_, stm_, adj_, evt_, whe_). |
| `object` | `"event"` | yes | What kind of object it is («invoice», «customer»…). |
| `type` | string | yes | What 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` | string | yes | The API version the object was built with. |
| `livemode` | boolean | yes | true in production (fk_live_ keys), false in test mode (fk_test_). Test objects aren't valid before the SAT. |
| `created_at` | string (date-time) | yes | When it was created, ISO 8601 with Mexico City time (-06:00). |
| `data` | object | yes | What changed, in data.object: the whole receipt (or batch), as its GET returns it. |
| `data.object` | object | yes | The object as it ended up: an invoice, a certificate or a batch. |
