#shane
1 messages · Page 1 of 1 (latest)
Hi 👋
Unfortunately I don't think we have a parameter that would allow you to set that at the outset. I think your best option here would be to listen to the invoice.created event and update the invoice programmatically with the custom fields you want while it is still in draft state. https://stripe.com/docs/api/events/types#event_types-invoice.created
Okay thanks! Would it work to set the custom fields on the customer that the subscription schdule is for?
Yes, that approach would work! You're talking about these, right? https://stripe.com/docs/api/customers/create#create_customer-invoice_settings-custom_fields
Yup! That's right. Cool, thanks!