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 KSeF |
| Invoice | invoice-receiver |
Sends information when incoming invoice is received from KSeF |
| Invoice | invoice-sync |
Sends information when outgoing invoice is received from 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 Webhook API section.