On this page2 sections
Events
Event: invoice.created
Dispatched immediately after a POS invoice is validated and committed atomically with inventory deduction.
Dispatched immediately after a POS invoice is validated and committed atomically with inventory deduction.
Envelope Schema
| Property | Type | Description |
|---|---|---|
id | UUID | Unique delivery ID matching X-Invoger-Delivery |
event | string | Always "invoice.created" |
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.created",
"tenantId": "t1a2b3c4-0000-4000-8000-000000000001",
"occurredAt": "2026-11-26T05:30:00.000Z",
"data": {
"id": "inv_41029412",
"invoiceNumber": "SO-01.26.11.0042",
"outletId": "o1a2b3c4-d5e6-7f8a-9b0c-1d2e3f4a5b6c",
"totalAmount": 111000,
"itemsCount": 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.created
X-Invoger-Delivery: 4a8b2c1d-0000-4000-8000-000000000001
X-Invoger-Signature: t=1795671000,v1=...
{
"id": "4a8b2c1d-0000-4000-8000-000000000001",
"event": "invoice.created",
"tenantId": "t1a2b3c4-0000-4000-8000-000000000001",
"occurredAt": "2026-11-26T05:30:00.000Z",
"data": {
"id": "inv_41029412",
"invoiceNumber": "SO-01.26.11.0042",
"outletId": "o1a2b3c4-d5e6-7f8a-9b0c-1d2e3f4a5b6c",
"totalAmount": 111000,
"itemsCount": 2
}
}Interactive playground
Response
application/json
{
"id": "4a8b2c1d-0000-4000-8000-000000000001",
"event": "invoice.created",
"tenantId": "t1a2b3c4-0000-4000-8000-000000000001",
"occurredAt": "2026-11-26T05:30:00.000Z",
"data": {
"id": "inv_41029412",
"invoiceNumber": "SO-01.26.11.0042",
"outletId": "o1a2b3c4-d5e6-7f8a-9b0c-1d2e3f4a5b6c",
"totalAmount": 111000,
"itemsCount": 2
}
}