Webhook Types
A-Cube API sends notifications about events in the system to defined webhooks. Each Legal Entity can have many endpoints of the same type. This is i.e., useful if you would like to get notifications in two different systems.
| Category | Webhook Type | What it does |
|---|---|---|
| Authorization | onboarding-activated | Sends information about successfull onboarding status |
| Authorization | onboarding-deactivated | Sends information about failed onboarding status |
| Invoice | invoice-sender | Sends information about invoice processing stage in the KSeF |
| Invoice | invoice-receiver | Sends information when incoming invoice is received from the KSeF |
| Invoice | invoice-sync | Sends information when outgoing invoice is received from the KSeF |
Example
{
"legalEntity": "9dba28b4-029f-4bf7-a3ac-edfe5fd8900b",
"webhookType": "invoice-sender",
"webhookUrl": "https://webhook.site/c5eefb31-c9d7-408b-9acf-bc276618a797"
}
Endpoints
To find out more, check the Webhook API section.