Skip to content

FISCALISTO / API / REFERENCE

sales_order.delivered · Events

Open in ChatGPTOpen in ClaudeOpen in Cursor

Everything in the order has gone out (its deliveries, or what was pending treated as not delivered). data.object is the order, with delivered_at. It arrives at your webhooks as a POST signed with Standard Webhooks (headers webhook-id, webhook-timestamp and webhook-signature).

Request body

application/json
  1. body

Something that happened in your account: the whole object as it ended up. It is sent to your webhooks signed (Standard Webhooks).

id*string

Object identifier, with its prefix (iss_, inv_, ret_, cus_, prd_, emp_, bat_, brn_, whs_, stm_, adj_, evt_, whe_).

object*string

What kind of object it is («invoice», «customer»…).

type*string

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

The API version the object was built with.

livemode*boolean

true in production (fk_live_ keys), false in test mode (fk_test_). Test objects aren't valid before the SAT.

created_at*string

When it was created, ISO 8601 with Mexico City time (-06:00).

Formatdate-time
data*

What changed, in data.object: the whole receipt (or batch), as its GET returns it.

Response body

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": "sales_order.delivered",  "api_version": "2026-10-24",  "livemode": false,  "created_at": "2026-10-24T10:15:42-06:00",  "data": {    "object": {      "id": "sor_OufpKqnrvx9p5Rt2mZr1XyT5uBcW8sKdLx",      "object": "sales_order",      "livemode": false,      "issuer": "iss_OufpKqnrvx9p",      "number": "PED-12",      "status": "partially_delivered",      "stage": "En ruta",      "url": "https://fiscalisto.com/pedido/Rt2mZr1XyT5uBcW8sKdLx0VeNOufpKqnrvx9p5Rt2mZr1",      "customer": {        "tax_id": "ICV060329BY0",        "name": "INMOBILIARIA CVA",        "email": "compras@cva.example",        "catalog_id": "cus_OufpKqnrvx9p42"      },      "customer_po": "OC-778",      "quote": null,      "currency": "MXN",      "items": [        {          "id": 31,          "description": "Silla de oficina ergonómica",          "product_key": "56101504",          "quantity": 100,          "unit": "Pieza",          "unit_price": 1850,          "discount": 0,          "amount": 185000,          "goods": true,          "delivered": 60,          "invoiced": 60,          "canceled": 0        }      ],      "subtotal": 185000,      "total": 214600,      "invoiced_total": 128760,      "paid_total": 0,      "expected_on": "2026-11-20",      "payment_days": 30,      "invoice_policy": "delivered",      "ship_to": "Av. Vallarta 1500, Guadalajara",      "terms": "Entrega en dos partes.",      "notes": null,      "internal_note": null,      "deliveries": [        {          "id": "dlv_OufpKqnrvx9p7",          "object": "sales_order_delivery",          "number": "REM-1",          "status": "delivered",          "delivered_on": "2026-11-10",          "carrier": "Paquetexpress",          "tracking": "PX-90122",          "note": null,          "received_by": "Laura Méndez",          "received_at": "2026-11-10T13:20:00-06:00",          "items": [            {              "line": 31,              "quantity": 60            }          ],          "created_at": "2026-11-10T09:05:00-06:00"        }      ],      "invoices": [        {          "id": "inv_OufpKqnrvx9p9Qt6vB3nMc8xZl1kJh4gFd",          "status": "stamped",          "total": 128760,          "balance": 128760        }      ],      "customer_confirmed_at": "2026-11-04T17:42:00-06:00",      "sent_at": "2026-11-04T10:15:00-06:00",      "viewed_at": "2026-11-04T17:40:00-06:00",      "confirmed_at": "2026-11-04T10:12:00-06:00",      "delivered_at": null,      "invoiced_at": null,      "paid_at": null,      "closed_at": null,      "canceled_at": null,      "cancel_reason": null,      "created_at": "2026-11-04T10:05:00-06:00"    }  }}

Was this page helpful?