This trigger fires when a new invoice is created.
Developer info
- API endpoint slug
- stripe.new_invoice_created
Trigger fields
No fields for this trigger
Ingredients
Number The invoice number.
- Slug
- number
- Filter code
- Stripe.newInvoiceCreated.Number
- Type
- String
- Example
- invst_aaaaa
Due date The due date of the invoice.
- Slug
- due_date
- Filter code
- Stripe.newInvoiceCreated.DueDate
- Type
- Date with time (ISO8601)
- Example
- 2020-07-08T04:17:06+05:00
Period start The period start of the invoice.
- Slug
- period_start
- Filter code
- Stripe.newInvoiceCreated.PeriodStart
- Type
- Date with time (ISO8601)
- Example
- 2020-07-08T04:17:06+05:00
Period end The period end of the invoice.
- Slug
- period_end
- Filter code
- Stripe.newInvoiceCreated.PeriodEnd
- Type
- Date with time (ISO8601)
- Example
- 2020-07-08T04:17:06+05:00
Description The description of the invoice.
- Slug
- description
- Filter code
- Stripe.newInvoiceCreated.Description
- Type
- String
- Example
- Invoice for 1 year of service
Status The status of the invoice.
- Slug
- status
- Filter code
- Stripe.newInvoiceCreated.Status
- Type
- String
- Example
- paid
Invoice pdf A link to the invoice PDF.
- Slug
- invoice_pdf
- Filter code
- Stripe.newInvoiceCreated.InvoicePdf
- Type
- String
- Example
- https://pay.stripe.com/invoice/invst_aaaaa/pdf
Url The url of the invoice
- Slug
- url
- Filter code
- Stripe.newInvoiceCreated.Url
- Type
- String
- Example
- https://dashboard.stripe.com/invoices/in_aaaaa
Hosted invoice url The hosted invoice url
- Slug
- hosted_invoice_url
- Filter code
- Stripe.newInvoiceCreated.HostedInvoiceUrl
- Type
- String
- Example
- https://pay.stripe.com/invoice/invst_aaaaa
Amount due formatted The amount due of the invoice, formatted as USD.
- Slug
- amount_due_formatted
- Filter code
- Stripe.newInvoiceCreated.AmountDueFormatted
- Type
- String
- Example
- $100.00
Amount due The amount due of the invoice, in cents.
- Slug
- amount_due
- Filter code
- Stripe.newInvoiceCreated.AmountDue
- Type
- String
- Example
- 10000
Amount paid formatted The amount paid of the invoice, formatted as USD.
- Slug
- amount_paid_formatted
- Filter code
- Stripe.newInvoiceCreated.AmountPaidFormatted
- Type
- String
- Example
- $100.00
Amount paid The amount paid of the invoice, in cents.
- Slug
- amount_paid
- Filter code
- Stripe.newInvoiceCreated.AmountPaid
- Type
- String
- Example
- 10000
Amount remaining formatted The amount remaining of the invoice, formatted as USD.
- Slug
- amount_remaining_formatted
- Filter code
- Stripe.newInvoiceCreated.AmountRemainingFormatted
- Type
- String
- Example
- $100.00
Amount remaining The amount remaining of the invoice, in cents.
- Slug
- amount_remaining
- Filter code
- Stripe.newInvoiceCreated.AmountRemaining
- Type
- String
- Example
- 10000
Subtotal formatted The subtotal of the invoice, formatted as USD.
- Slug
- subtotal_formatted
- Filter code
- Stripe.newInvoiceCreated.SubtotalFormatted
- Type
- String
- Example
- $300.00
Subtotal The subtotal of the invoice in cents
- Slug
- subtotal
- Filter code
- Stripe.newInvoiceCreated.Subtotal
- Type
- String
- Example
- 30000
Tax formatted The tax of the invoice, formatted as USD.
- Slug
- tax_formatted
- Filter code
- Stripe.newInvoiceCreated.TaxFormatted
- Type
- String
- Example
- $0.00
Tax The tax of the invoice, in cents
- Slug
- tax
- Filter code
- Stripe.newInvoiceCreated.Tax
- Type
- String
- Example
- 0
Total formatted The total of the invoice, formatted as USD.
- Slug
- total_formatted
- Filter code
- Stripe.newInvoiceCreated.TotalFormatted
- Type
- String
- Example
- $300.00
Total The total of the invoice, in cents
- Slug
- total
- Filter code
- Stripe.newInvoiceCreated.Total
- Type
- String
- Example
- 30000
Currency The currency of the invoice
- Slug
- currency
- Filter code
- Stripe.newInvoiceCreated.Currency
- Type
- String
- Example
- usd
Id The ID of the invoice
- Slug
- id
- Filter code
- Stripe.newInvoiceCreated.Id
- Type
- String
- Example
- in_aaaaa
Customer name The name of the customer.
- Slug
- customer_name
- Filter code
- Stripe.newInvoiceCreated.CustomerName
- Type
- String
- Example
- John Doe
Customer email The email of the customer.
- Slug
- customer_email
- Filter code
- Stripe.newInvoiceCreated.CustomerEmail
- Type
- String
- Example
- test@example.com
Customer phone The phone of the customer.
- Slug
- customer_phone
- Filter code
- Stripe.newInvoiceCreated.CustomerPhone
- Type
- String
- Example
- 555-555-5555
Customer The customer ID of the invoice
- Slug
- customer_id
- Filter code
- Stripe.newInvoiceCreated.CustomerId
- Type
- String
- Example
- cus_aaaaa
Customer address line1 The first line of the customer address.
- Slug
- customer_address_line1
- Filter code
- Stripe.newInvoiceCreated.CustomerAddressLine1
- Type
- String
- Example
- 123 Main St
Customer address line2 The second line of the customer address.
- Slug
- customer_address_line2
- Filter code
- Stripe.newInvoiceCreated.CustomerAddressLine2
- Type
- String
- Example
- Apt 1
Customer address city The city of the customer address.
- Slug
- customer_address_city
- Filter code
- Stripe.newInvoiceCreated.CustomerAddressCity
- Type
- String
- Example
- San Francisco
Customer address state The state of the customer address.
- Slug
- customer_address_state
- Filter code
- Stripe.newInvoiceCreated.CustomerAddressState
- Type
- String
- Example
- CA
Customer address country The country of the customer address.
- Slug
- customer_address_country
- Filter code
- Stripe.newInvoiceCreated.CustomerAddressCountry
- Type
- String
- Example
- US
Customer address postal code The postal code of the customer address.
- Slug
- customer_address_postal_code
- Filter code
- Stripe.newInvoiceCreated.CustomerAddressPostalCode
- Type
- String
- Example
- 94111
Customer shipping address line1 The first line of the customer shipping address.
- Slug
- customer_shipping_address_line1
- Filter code
- Stripe.newInvoiceCreated.CustomerShippingAddressLine1
- Type
- String
- Example
- 123 Main St
Customer shipping address line2 The second line of the customer shipping address.
- Slug
- customer_shipping_address_line2
- Filter code
- Stripe.newInvoiceCreated.CustomerShippingAddressLine2
- Type
- String
- Example
- Apt 1
Customer shipping address city The city of the customer shipping address.
- Slug
- customer_shipping_address_city
- Filter code
- Stripe.newInvoiceCreated.CustomerShippingAddressCity
- Type
- String
- Example
- San Francisco
Customer shipping address state The state of the customer shipping address.
- Slug
- customer_shipping_address_state
- Filter code
- Stripe.newInvoiceCreated.CustomerShippingAddressState
- Type
- String
- Example
- CA
Customer shipping address country The country of the customer shipping address.
- Slug
- customer_shipping_address_country
- Filter code
- Stripe.newInvoiceCreated.CustomerShippingAddressCountry
- Type
- String
- Example
- US
Customer shipping address postal code The postal code of the customer shipping address.
- Slug
- customer_shipping_address_postal_code
- Filter code
- Stripe.newInvoiceCreated.CustomerShippingAddressPostalCode
- Type
- String
- Example
- 94111
Line item1 invoice item The invoice item ID of the first line item.
- Slug
- line_item_1_invoice_item_id
- Filter code
- Stripe.newInvoiceCreated.LineItem1InvoiceItemId
- Type
- String
- Example
- ii_aaaaa
Line item1 description The description of the first line item.
- Slug
- line_item_1_description
- Filter code
- Stripe.newInvoiceCreated.LineItem1Description
- Type
- String
- Example
- 1 year of service
Line item1 quantity The quantity of the first line item.
- Slug
- line_item_1_quantity
- Filter code
- Stripe.newInvoiceCreated.LineItem1Quantity
- Type
- String
- Example
- 1
Line item1 amount formatted The amount of the first line item, formatted as USD.
- Slug
- line_item_1_amount_formatted
- Filter code
- Stripe.newInvoiceCreated.LineItem1AmountFormatted
- Type
- String
- Example
- $100.00
Line item1 amount The amount of the first line item, in cents.
- Slug
- line_item_1_amount
- Filter code
- Stripe.newInvoiceCreated.LineItem1Amount
- Type
- String
- Example
- 10000
Line item1 price The price ID of the first line item.
- Slug
- line_item_1_price_id
- Filter code
- Stripe.newInvoiceCreated.LineItem1PriceId
- Type
- String
- Example
- price_aaaaa
Line item1 plan The plan ID of the first line item.
- Slug
- line_item_1_plan_id
- Filter code
- Stripe.newInvoiceCreated.LineItem1PlanId
- Type
- String
- Example
- plan_aaaaa
Line item1 subscription The subscription ID of the first line item.
- Slug
- line_item_1_subscription_id
- Filter code
- Stripe.newInvoiceCreated.LineItem1SubscriptionId
- Type
- String
- Example
- sub_aaaaa
Line item1 period start The period start of the first line item.
- Slug
- line_item_1_period_start
- Filter code
- Stripe.newInvoiceCreated.LineItem1PeriodStart
- Type
- Date with time (ISO8601)
- Example
- 2020-07-08T04:17:06+05:00
Line item1 period end The period end of the first line item.
- Slug
- line_item_1_period_end
- Filter code
- Stripe.newInvoiceCreated.LineItem1PeriodEnd
- Type
- Date with time (ISO8601)
- Example
- 2020-07-08T04:17:06+05:00
Line item2 invoice item The invoice item ID of the second line item.
- Slug
- line_item_2_invoice_item_id
- Filter code
- Stripe.newInvoiceCreated.LineItem2InvoiceItemId
- Type
- String
- Example
- ii_aaaaa
Line item2 description The description of the second line item.
- Slug
- line_item_2_description
- Filter code
- Stripe.newInvoiceCreated.LineItem2Description
- Type
- String
- Example
- 1 year of service
Line item2 quantity The quantity of the second line item.
- Slug
- line_item_2_quantity
- Filter code
- Stripe.newInvoiceCreated.LineItem2Quantity
- Type
- String
- Example
- 1
Line item2 amount formatted The amount of the second line item, formatted as USD.
- Slug
- line_item_2_amount_formatted
- Filter code
- Stripe.newInvoiceCreated.LineItem2AmountFormatted
- Type
- String
- Example
- $100.00
Line item2 amount The amount of the second line item, in cents.
- Slug
- line_item_2_amount
- Filter code
- Stripe.newInvoiceCreated.LineItem2Amount
- Type
- String
- Example
- 10000
Line item2 price The price ID of the second line item.
- Slug
- line_item_2_price_id
- Filter code
- Stripe.newInvoiceCreated.LineItem2PriceId
- Type
- String
- Example
- price_aaaaa
Line item2 plan The plan ID of the second line item.
- Slug
- line_item_2_plan_id
- Filter code
- Stripe.newInvoiceCreated.LineItem2PlanId
- Type
- String
- Example
- plan_aaaaa
Line item2 subscription The subscription ID of the second line item.
- Slug
- line_item_2_subscription_id
- Filter code
- Stripe.newInvoiceCreated.LineItem2SubscriptionId
- Type
- String
- Example
- sub_aaaaa
Line item2 period start The period start of the second line item.
- Slug
- line_item_2_period_start
- Filter code
- Stripe.newInvoiceCreated.LineItem2PeriodStart
- Type
- Date with time (ISO8601)
- Example
- 2020-07-08T04:17:06+05:00
Line item2 period end The period end of the second line item.
- Slug
- line_item_2_period_end
- Filter code
- Stripe.newInvoiceCreated.LineItem2PeriodEnd
- Type
- Date with time (ISO8601)
- Example
- 2020-07-08T04:17:06+05:00
Line item3 invoice item The invoice item ID of the third line item.
- Slug
- line_item_3_invoice_item_id
- Filter code
- Stripe.newInvoiceCreated.LineItem3InvoiceItemId
- Type
- String
- Example
- ii_aaaaa
Line item3 description The description of the third line item.
- Slug
- line_item_3_description
- Filter code
- Stripe.newInvoiceCreated.LineItem3Description
- Type
- String
- Example
- 1 year of service
Line item3 quantity The quantity of the third line item.
- Slug
- line_item_3_quantity
- Filter code
- Stripe.newInvoiceCreated.LineItem3Quantity
- Type
- String
- Example
- 1
Line item3 amount formatted The amount of the third line item, formatted as USD.
- Slug
- line_item_3_amount_formatted
- Filter code
- Stripe.newInvoiceCreated.LineItem3AmountFormatted
- Type
- String
- Example
- $100.00
Line item3 amount The amount of the third line item, in cents.
- Slug
- line_item_3_amount
- Filter code
- Stripe.newInvoiceCreated.LineItem3Amount
- Type
- String
- Example
- 10000
Line item3 price The price ID of the third line item.
- Slug
- line_item_3_price_id
- Filter code
- Stripe.newInvoiceCreated.LineItem3PriceId
- Type
- String
- Example
- price_aaaaa
Line item3 plan The plan ID of the third line item.
- Slug
- line_item_3_plan_id
- Filter code
- Stripe.newInvoiceCreated.LineItem3PlanId
- Type
- String
- Example
- plan_aaaaa
Line item3 subscription The subscription ID of the third line item.
- Slug
- line_item_3_subscription_id
- Filter code
- Stripe.newInvoiceCreated.LineItem3SubscriptionId
- Type
- String
- Example
- sub_aaaaa
Line item3 period start The period start of the third line item.
- Slug
- line_item_3_period_start
- Filter code
- Stripe.newInvoiceCreated.LineItem3PeriodStart
- Type
- Date with time (ISO8601)
- Example
- 2020-07-08T04:17:06+05:00
Line item3 period end The period end of the third line item.
- Slug
- line_item_3_period_end
- Filter code
- Stripe.newInvoiceCreated.LineItem3PeriodEnd
- Type
- Date with time (ISO8601)
- Example
- 2020-07-08T04:17:06+05:00
Footer The footer of the invoice.
- Slug
- footer
- Filter code
- Stripe.newInvoiceCreated.Footer
- Type
- String
- Example
- Thank you for your business
Account name The account name of the invoice
- Slug
- account_name
- Filter code
- Stripe.newInvoiceCreated.AccountName
- Type
- String
- Example
- Stripe
Account country The account country of the invoice
- Slug
- account_country
- Filter code
- Stripe.newInvoiceCreated.AccountCountry
- Type
- String
- Example
- US
Payment intent The payment intent ID of the invoice.
- Slug
- payment_intent_id
- Filter code
- Stripe.newInvoiceCreated.PaymentIntentId
- Type
- String
- Example
- pi_aaaaa
Created The created date of the invoice
- Slug
- created
- Filter code
- Stripe.newInvoiceCreated.Created
- Type
- Date with time (ISO8601)
- Example
- 2020-07-08T04:17:06+05:00