JavaScript
Properties
When to Fire
- When invoice is generated
- When billing cycle creates new invoice
- When Stripe
invoice.createdwebhook fires
Stripe Webhook
Maps toinvoice.created.Documentation Index
Fetch the complete documentation index at: /llms.txt
Use this file to discover all available pages before exploring further.
Track when a new invoice is created in the billing system.
window._upstack('track', 'invoice_created', {
accountId: 'acct_abc123',
invoiceId: 'inv_ghi012',
subscriptionId: 'sub_def456',
amount: 9900,
currency: 'USD',
dueDate: '2026-03-01T00:00:00.000Z'
});
| Property | Type | Required | Description |
|---|---|---|---|
| accountId | string | Yes | Account identifier |
| invoiceId | string | Yes | Invoice identifier |
| amount | number | Yes | Invoice amount in cents |
| subscriptionId | string | No | Subscription identifier |
| currency | string | No | ISO 4217 currency code |
| dueDate | string | No | ISO 8601 due date |
invoice.created webhook firesinvoice.created.Was this page helpful?