This is not an endpoint you call. This documents the webhook payload MakersHub sends to your configured webhook URL when invoice lifecycle events occur.
All notifications are POST requests with a JSON body containing an eventNotification object. Configure your webhook URL in MakersHub settings to receive these notifications.
Operations
| Operation | Description |
|---|---|
Approved |
Invoice was approved. |
Combined |
Invoice group was combined into a single invoice. |
Created |
Invoice was created. |
Deleted |
Invoice was deleted. |
Merged |
Invoice was merged. Includes context with mergeFromId and mergeToId. |
Processed |
Invoice was processed (OCR extraction completed). |
Rejected |
Invoice was rejected. |
Updated |
Invoice was updated. |
Signature Verification
If a webhook signature secret is configured, the X-Signature header contains an HMAC-SHA256 signature of the request body. Verify it by computing hash_hmac('sha256', $body, $secret) and comparing.
Invoice Approved
{
"eventNotification": {
"cid": 1001,
"name": "Invoice",
"id": 12345,
"operation": "Approved",
"timestamp": "2026-02-19T14:30:00Z"
}
}Invoice Rejected
{
"eventNotification": {
"cid": 1001,
"name": "Invoice",
"id": 12345,
"operation": "Rejected",
"timestamp": "2026-02-19T14:30:00Z"
}
}Invoice Processed (OCR Complete)
{
"eventNotification": {
"cid": 1001,
"name": "Invoice",
"id": 12345,
"operation": "Processed",
"timestamp": "2026-02-19T14:30:00Z"
}
}Invoice Deleted
{
"eventNotification": {
"cid": 1001,
"name": "Invoice",
"id": 12345,
"operation": "Deleted",
"timestamp": "2026-02-19T14:30:00Z"
}
}Invoice Merged (with context)
{
"eventNotification": {
"cid": 1001,
"name": "Invoice",
"id": 12345,
"operation": "Merged",
"context": {
"mergeFromId": 12345,
"mergeToId": 67890
},
"timestamp": "2026-02-19T14:30:00Z"
}
}Invoice Group Combined
{
"eventNotification": {
"cid": 1001,
"name": "Invoice",
"id": 12345,
"operation": "Combined",
"timestamp": "2026-02-19T14:30:00Z"
}
}Payload sent to webhook URLs when invoice lifecycle events occur.
Company identifier.
Object type.
Object identifier.
The event operation that occurred.
Additional context for the event. Only present for certain operations (e.g., Merged).
Source invoice ID that was merged from.
Target invoice ID that was merged into.
ISO 8601 timestamp of the event.
Webhook received successfully