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 legal-entity-on-boarding-activated Sends information about successfull onboarding status
Authorization legal-entity-on-boarding-deactivated Sends information about failed onboarding status
Invoice legal-entity-invoice-sync Sends information about invoice processing stage in KSeF
Invoice legal-entity-invoice-sender Sends information when invoice is sent from A-Cube to KSeF
Invoice legal-entity-invoice-receiver Sends information when invoice is received
Invoice legal-entity-invoice-upo Sends information when Invoice UPO is received

Example

Copy
Copied
{
    "legalEntity": "9dba28b4-029f-4bf7-a3ac-edfe5fd8900b",
    "webhookType": "legal-entity-invoice-sync",
    "webhookUrl": "https://webhook.site/c5eefb31-c9d7-408b-9acf-bc276618a797"
}

Endpoints

To find out more - check Webhook API section.