# Invoice Created

Triggered when an invoice is created.

Endpoint: POST invoice.created
Version: 0.29.6

## Header parameters:

  - `X-Webhook-Signature` (string, required)
    HMAC-SHA256 signature of the request body using your webhook secret.

## Request fields (application/json):

  - `event_id` (string, required)
    Unique event identifier

  - `timestamp` (string, required)
    Event timestamp

  - `sponsor_id` (string, required)
    Sponsor ID

  - `event_type` (string, required)

  - `data` (object, required)
    Data payload for invoice.created webhook event.

  - `data.invoice_id` (string, required)
    Unique invoice identifier

  - `data.status` (string, required)
    Invoice status

  - `data.file_name` (string, required)
    Name of the uploaded invoice file

  - `data.file_size` (any, required)
    Size of the invoice file in bytes

  - `data.client_id` (string, required)
    Unique client identifier

## Response 422 fields (application/json):

  - `detail` (array)

  - `detail.loc` (array, required)

  - `detail.msg` (string, required)

  - `detail.type` (string, required)

