Event triggered (in the case of metered billing) when a "Pending" invoice is created that has usage related charges or line items to be added, before being closed. This is triggered only when the "Notify for Pending Invoices" option is enabled.
{
"id": "ev_16BjpbblRT2l2UMr",
"occurred_at": 1763646407,
"source": "admin_console",
"object": "event",
"api_version": "v2",
"event_type": "invoice_created",
"webhook_status": "not_applicable",
"content": {
"invoice": {
"amount": 895,
"amount_adjusted": 0,
"amount_due": 0,
"amount_paid": 895,
"billing_address": {
"first_name": "Rachel",
"last_name": "Green",
"object": "billing_address"
},
"...": "..."
}
}
}