Skip to main content

Webhook event types

Webhook Types​

The SK API currently uses these event types:

CategoryWebhook TypeWhat it does
Onboardinglegal_entity.onboardingReceive information about legal-entity onboarding status
Invoiceinvoice.outboundReceive information about invoice processing stage
Invoiceinvoice.inboundReceive information about incoming invoice processing stage
Credit notecredit_note.outboundReceive information about credit note processing stage
Credit notecredit_note.inboundReceive information about incoming credit note processing stage
Tax Data Document (TDD)tax_data_document.outboundReceive information about tax data document processing stage
Message Level Status (MLS)message_level_status.outboundReceive information about message level status processing stage
Message Level Status (MLS)message_level_status.inboundReceive information when incoming message level status is received

An event is sent every time the status of the related resource changes.

The credit_note.* events carry the same payloads as their invoice.* counterparts, with creditNoteUuid in place of invoiceUuid: the event type is picked from the document type, so a credit note never triggers an invoice.* event and vice versa. Subscribe to both families if you want to be notified about every document.

Subscribe only to the events your application handles. The API Reference remains the source of truth for the supported event catalogue and payload contract.

Onboarding Events​

Use legal_entity.onboarding to continue an asynchronous onboarding synchronization flow.

The event tells you that something changed; the legal entity resource tells you the current state: to do that, use the GET /legal-entities/{legalEntityId} endpoint.

For the list of onboarding statuses, see Onboard a Legal Entity.

Documents Lifecycle & Events​

Document processing is asynchronous. A successful POST creates the resource first; validation, Peppol exchange, and tax reporting continue afterwards.

  • For outgoing documents, use invoice.outbound, credit_note.outbound, tax_data_document.outbound, message_level_status.outbound events and check the document status to confirm delivery.
  • For incoming documents, use invoice.inbound, credit_note.inbound, message_level_status.inbound to retrieve and import the new resource and follow its processing.
  • If a webhook is delayed, use the collection and detail endpoints as a fallback.

Keep exchange and tax reporting as separate status concepts. A document may be delivered while tax reporting is still processing, or one of the two operations may fail independently.

For the list of document statuses (invoices, credit notes, TDDs and MLSs), see Documents lifecycle.

Payload examples​

Every event carries its eventId, its eventType, the new status of the resource and the UUID of the resource. TDD and MLS events also carry the UUID of the document they refer to:

  • TDD events carry invoiceUuid or creditNoteUuid.
  • MLS events carry invoiceUuid, creditNoteUuid or taxDataDocumentUuid.

Onboarding​

{
"eventId": "01a1a636-e9b2-74b0-be16-03d8c9d62e53",
"eventType": "legal_entity.onboarding",
"status": "ONBOARDED",
"legalEntityUuid": "01a1a636-c78f-7979-83c4-aba30fa746bf"
}

Invoice​

{
"eventId": "01a1a279-0f70-742d-80ae-6794c3aef7ca",
"eventType": "invoice.inbound",
"status": "RECEIVED",
"invoiceUuid": "01a1a279-0eed-7d63-8f48-98ee505c5cf4"
}

Credit note​

{
"eventId": "01a1a279-0f70-742d-80ae-6794c3aef7ca",
"eventType": "credit_note.inbound",
"status": "RECEIVED",
"creditNoteUuid": "01a1a279-0eed-7d63-8f48-98ee505c5cf4"
}

Tax Data Document (TDD)​

{
"eventId": "01a1a279-1158-7e4d-a873-8c5afda8bed3",
"eventType": "tax_data_document.outbound",
"status": "CREATED",
"taxDataDocumentUuid": "01a1a279-1158-79c1-a873-8c5afce9ce55",
"invoiceUuid": "01a1a279-0eed-7d63-8f48-98ee505c5cf4"
}

Message Level Status (MLS)​

{
"eventId": "01a1a279-12ee-787f-b823-dbd3fb6e588d",
"eventType": "message_level_status.outbound",
"status": "CREATED",
"messageLevelStatusUuid": "01a1a279-12d0-7aae-bfd8-947aece177c3",
"invoiceUuid": "01a1a279-0eed-7d63-8f48-98ee505c5cf4"
}