Webhooks

The integration API can send event notifications to a URL you configure for your company.

Supported events

Current event names include customer, product, invoice, simplified invoice, receipt, quote, credit note and synchronisation events. The complete accepted list is returned by GET /api/v1/webhooks/events.

Document events listed here describe notifications emitted by the application. They do not mean that invoice issuance or Portuguese fiscal compliance is available through the API key endpoints.

Verify signatures

Delivery requests include X-SimpleSum-Signature and X-SimpleSum-Timestamp. The signature is HMAC-SHA256 over the timestamp, a dot, and the JSON payload bytes, using the webhook secret. Compare signatures in constant time and reject stale timestamps.

expected = "sha256=" + HMAC_SHA256(secret, timestamp + "." + raw_json_body)

Delivery handling

Webhook deliveries are queued. Configure a public DNS hostname on HTTPS port 443. Private or reserved IP destinations and redirects are blocked. Verify each signature, make processing idempotent using the delivery identifier, and return a successful HTTP status after accepting the event. Delivery attempts and re-sends can be inspected through the webhook API.