Search Documentation

Search API endpoints, webhooks, tools, and guides

On this page2 sections
Is this helpful?
Quick Actions
Download OpenAPI.json
Events

Event: invoice.voided

Dispatched when an invoice is voided and its deducted inventory movements are atomically reversed.

Dispatched when an invoice is voided and its deducted inventory movements are atomically reversed.

Envelope Schema

PropertyTypeDescription
idUUIDUnique delivery ID matching X-Invoger-Delivery
eventstringAlways "invoice.voided"
tenantIdUUIDActive tenant identifier
occurredAtstring (ISO 8601)UTC timestamp when the event occurred
dataobjectEvent-specific payload attributes

Example Payload

json
{ "id": "4a8b2c1d-0000-4000-8000-000000000001", "event": "invoice.voided", "tenantId": "t1a2b3c4-0000-4000-8000-000000000001", "occurredAt": "2026-11-26T05:30:00.000Z", "data": { "id": "inv_41029412", "invoiceNumber": "SO-01.26.11.0042", "reason": "Customer canceled order", "restoredMovements": 2 } }
POST/api
// Signed HTTP POST sent to your webhook URL:
POST /webhooks/invoger HTTP/1.1
Content-Type: application/json
X-Invoger-Event: invoice.voided
X-Invoger-Delivery: 4a8b2c1d-0000-4000-8000-000000000001
X-Invoger-Signature: t=1795671000,v1=...

{
  "id": "4a8b2c1d-0000-4000-8000-000000000001",
  "event": "invoice.voided",
  "tenantId": "t1a2b3c4-0000-4000-8000-000000000001",
  "occurredAt": "2026-11-26T05:30:00.000Z",
  "data": {
    "id": "inv_41029412",
    "invoiceNumber": "SO-01.26.11.0042",
    "reason": "Customer canceled order",
    "restoredMovements": 2
  }
}
Interactive playground

Response

application/json
{
  "id": "4a8b2c1d-0000-4000-8000-000000000001",
  "event": "invoice.voided",
  "tenantId": "t1a2b3c4-0000-4000-8000-000000000001",
  "occurredAt": "2026-11-26T05:30:00.000Z",
  "data": {
    "id": "inv_41029412",
    "invoiceNumber": "SO-01.26.11.0042",
    "reason": "Customer canceled order",
    "restoredMovements": 2
  }
}