#gordysc
1 messages ยท Page 1 of 1 (latest)
Hi ๐
That is currently the only way to do this. I can raise this feedback internally but I do not know of any plans to change this.
Okay, that'd be super helpful. Right now I see we can do something similar for checkout sessions in 1 API call, but we really could use this on invoices. We have a relatively high amount of volume in Stripe w/ this flow
Right, the ability to specify the line_items parameter when creating the Checkout Session handles the Line Items portion. You can also create Invoices from the Checkout Session (in case you didn't know).
Oh interesting, I'll have to take a look at that. Thanks!
It's this parameter here: https://stripe.com/docs/api/checkout/sessions/create#create_checkout_session-invoice_creation
Yep, looking at it now. Thank you for the help!
Happy to do it ๐
Dang, looks like the generated invoice doesn't copy over the metadata from the line items on the checkout session ๐ข