On this page2 sections
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
| Property | Type | Description |
|---|---|---|
id | UUID | Unique delivery ID matching X-Invoger-Delivery |
event | string | Always "invoice.voided" |
tenantId | UUID | Active tenant identifier |
occurredAt | string (ISO 8601) | UTC timestamp when the event occurred |
data | object | Event-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
}
}