Group Location
Explore Plans
Mobile menu Close menu
StripeStripe

New invoice created

This trigger fires when a new invoice is created.

About this trigger

Triggers, queries, and actions are the building blocks of Applets. Triggers tell an Applet to start, queries ask a question, and actions are its end result.

Developer info

Description
This trigger fires when a new invoice is created.
API endpoint slug
stripe.new_invoice_created

Trigger fields

No fields for this trigger

Ingredients

NumberThe invoice number.

Slug
number
Filter code
Stripe.newInvoiceCreated.Number
Type
String
Example
invst_aaaaa

Due dateThe due date of the invoice.

Slug
due_date
Filter code
Stripe.newInvoiceCreated.DueDate
Type
Date with time (ISO8601)
Example
2020-07-08T04:17:06.000+05:00

Period startThe period start of the invoice.

Slug
period_start
Filter code
Stripe.newInvoiceCreated.PeriodStart
Type
Date with time (ISO8601)
Example
2020-07-08T04:17:06.000+05:00

Period endThe period end of the invoice.

Slug
period_end
Filter code
Stripe.newInvoiceCreated.PeriodEnd
Type
Date with time (ISO8601)
Example
2020-07-08T04:17:06.000+05:00

DescriptionThe description of the invoice.

Slug
description
Filter code
Stripe.newInvoiceCreated.Description
Type
String
Example
Invoice for 1 year of service

StatusThe status of the invoice.

Slug
status
Filter code
Stripe.newInvoiceCreated.Status
Type
String
Example
paid

Invoice pdfA link to the invoice PDF.

Slug
invoice_pdf
Filter code
Stripe.newInvoiceCreated.InvoicePdf
Type
String
Example
https://pay.stripe.com/invoice/invst_aaaaa/pdf

URLThe url of the invoice

Slug
url
Filter code
Stripe.newInvoiceCreated.Url
Type
String
Example
https://dashboard.stripe.com/invoices/in_aaaaa

Hosted invoice URLThe hosted invoice url

Slug
hosted_invoice_url
Filter code
Stripe.newInvoiceCreated.HostedInvoiceUrl
Type
String
Example
https://pay.stripe.com/invoice/invst_aaaaa

Amount due formattedThe amount due of the invoice, formatted as USD.

Slug
amount_due_formatted
Filter code
Stripe.newInvoiceCreated.AmountDueFormatted
Type
String
Example
$100.00

Amount dueThe amount due of the invoice, in cents.

Slug
amount_due
Filter code
Stripe.newInvoiceCreated.AmountDue
Type
String
Example
10000

Amount paid formattedThe amount paid of the invoice, formatted as USD.

Slug
amount_paid_formatted
Filter code
Stripe.newInvoiceCreated.AmountPaidFormatted
Type
String
Example
$100.00

Amount paidThe amount paid of the invoice, in cents.

Slug
amount_paid
Filter code
Stripe.newInvoiceCreated.AmountPaid
Type
String
Example
10000

Amount remaining formattedThe amount remaining of the invoice, formatted as USD.

Slug
amount_remaining_formatted
Filter code
Stripe.newInvoiceCreated.AmountRemainingFormatted
Type
String
Example
$100.00

Amount remainingThe amount remaining of the invoice, in cents.

Slug
amount_remaining
Filter code
Stripe.newInvoiceCreated.AmountRemaining
Type
String
Example
10000

Subtotal formattedThe subtotal of the invoice, formatted as USD.

Slug
subtotal_formatted
Filter code
Stripe.newInvoiceCreated.SubtotalFormatted
Type
String
Example
$300.00

SubtotalThe subtotal of the invoice in cents

Slug
subtotal
Filter code
Stripe.newInvoiceCreated.Subtotal
Type
String
Example
30000

Tax formattedThe tax of the invoice, formatted as USD.

Slug
tax_formatted
Filter code
Stripe.newInvoiceCreated.TaxFormatted
Type
String
Example
$0.00

TaxThe tax of the invoice, in cents

Slug
tax
Filter code
Stripe.newInvoiceCreated.Tax
Type
String
Example
0

Total formattedThe total of the invoice, formatted as USD.

Slug
total_formatted
Filter code
Stripe.newInvoiceCreated.TotalFormatted
Type
String
Example
$300.00

TotalThe total of the invoice, in cents

Slug
total
Filter code
Stripe.newInvoiceCreated.Total
Type
String
Example
30000

CurrencyThe currency of the invoice

Slug
currency
Filter code
Stripe.newInvoiceCreated.Currency
Type
String
Example
usd

IDThe ID of the invoice

Slug
id
Filter code
Stripe.newInvoiceCreated.Id
Type
String
Example
in_aaaaa

Customer nameThe name of the customer.

Slug
customer_name
Filter code
Stripe.newInvoiceCreated.CustomerName
Type
String
Example
John Doe

Customer emailThe email of the customer.

Slug
customer_email
Filter code
Stripe.newInvoiceCreated.CustomerEmail
Type
String
Example
test@example.com

Customer phoneThe phone of the customer.

Slug
customer_phone
Filter code
Stripe.newInvoiceCreated.CustomerPhone
Type
String
Example
555-555-5555

Customer IDThe customer ID of the invoice

Slug
customer_id
Filter code
Stripe.newInvoiceCreated.CustomerId
Type
String
Example
cus_aaaaa

Customer address line1The first line of the customer address.

Slug
customer_address_line1
Filter code
Stripe.newInvoiceCreated.CustomerAddressLine1
Type
String
Example
123 Main St

Customer address line2The second line of the customer address.

Slug
customer_address_line2
Filter code
Stripe.newInvoiceCreated.CustomerAddressLine2
Type
String
Example
Apt 1

Customer address cityThe city of the customer address.

Slug
customer_address_city
Filter code
Stripe.newInvoiceCreated.CustomerAddressCity
Type
String
Example
San Francisco

Customer address stateThe state of the customer address.

Slug
customer_address_state
Filter code
Stripe.newInvoiceCreated.CustomerAddressState
Type
String
Example
CA

Customer address countryThe country of the customer address.

Slug
customer_address_country
Filter code
Stripe.newInvoiceCreated.CustomerAddressCountry
Type
String
Example
US

Customer address postal codeThe postal code of the customer address.

Slug
customer_address_postal_code
Filter code
Stripe.newInvoiceCreated.CustomerAddressPostalCode
Type
String
Example
94111

Customer shipping address line1The 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 line2The 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 cityThe city of the customer shipping address.

Slug
customer_shipping_address_city
Filter code
Stripe.newInvoiceCreated.CustomerShippingAddressCity
Type
String
Example
San Francisco

Customer shipping address stateThe state of the customer shipping address.

Slug
customer_shipping_address_state
Filter code
Stripe.newInvoiceCreated.CustomerShippingAddressState
Type
String
Example
CA

Customer shipping address countryThe country of the customer shipping address.

Slug
customer_shipping_address_country
Filter code
Stripe.newInvoiceCreated.CustomerShippingAddressCountry
Type
String
Example
US

Customer shipping address postal codeThe 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 IDThe 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 descriptionThe 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 quantityThe quantity of the first line item.

Slug
line_item_1_quantity
Filter code
Stripe.newInvoiceCreated.LineItem1Quantity
Type
String
Example
1

Line item1 amount formattedThe 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 amountThe 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 IDThe 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 IDThe 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 IDThe 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 startThe 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.000+05:00

Line item1 period endThe 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.000+05:00

Line item2 invoice item IDThe 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 descriptionThe 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 quantityThe quantity of the second line item.

Slug
line_item_2_quantity
Filter code
Stripe.newInvoiceCreated.LineItem2Quantity
Type
String
Example
1

Line item2 amount formattedThe 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 amountThe 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 IDThe 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 IDThe 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 IDThe 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 startThe 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.000+05:00

Line item2 period endThe 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.000+05:00

Line item3 invoice item IDThe 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 descriptionThe 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 quantityThe quantity of the third line item.

Slug
line_item_3_quantity
Filter code
Stripe.newInvoiceCreated.LineItem3Quantity
Type
String
Example
1

Line item3 amount formattedThe 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 amountThe 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 IDThe 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 IDThe 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 IDThe 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 startThe 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.000+05:00

Line item3 period endThe 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.000+05:00

FooterThe footer of the invoice.

Slug
footer
Filter code
Stripe.newInvoiceCreated.Footer
Type
String
Example
Thank you for your business

Account nameThe account name of the invoice

Slug
account_name
Filter code
Stripe.newInvoiceCreated.AccountName
Type
String
Example
Stripe

Account countryThe account country of the invoice

Slug
account_country
Filter code
Stripe.newInvoiceCreated.AccountCountry
Type
String
Example
US

Payment intent IDThe payment intent ID of the invoice.

Slug
payment_intent_id
Filter code
Stripe.newInvoiceCreated.PaymentIntentId
Type
String
Example
pi_aaaaa

CreatedThe created date of the invoice

Slug
created
Filter code
Stripe.newInvoiceCreated.Created
Type
Date with time (ISO8601)
Example
2020-07-08T04:17:06.000+05:00