Passer au contenu

Invoice Created
Webhook

Requête

Triggered when an invoice is created.

En-têtes
X-Webhook-Signaturestring(X-Webhook-Signature)obligatoire

HMAC-SHA256 signature of the request body using your webhook secret.

Corpsapplication/jsonobligatoire
event_idstring(Event Id)obligatoire

Unique event identifier

timestampstring, (date-time)(Timestamp)obligatoire

Event timestamp

sponsor_idstring(Sponsor Id)obligatoire

Sponsor ID

event_typestring(Event Type)obligatoire
Valeur:"invoice.created"
dataobject(InvoiceCreatedData)obligatoire

Data payload for invoice.created webhook event.

Payload
{ "event_id": "evt_abc123def456", "timestamp": "2019-08-24T14:15:22Z", "sponsor_id": "sandbox-1234/5678", "event_type": "invoice.created", "data": { "invoice_id": "inv_abc123def456", "status": "submitted", "file_name": "invoice_2025-12-17.xml", "file_size": 15234, "client_id": "client_xyz789", "extracted_data": {} } }

Réponses

Successful Response

Corpsapplication/json
any
Response
// Aucun exemple de réponse