#srujan
1 messages · Page 1 of 1 (latest)
Hmm, it depends. Is it the initial invoice? How are you integrating?
it is the initial invoice which is getting created when subscription is created.
generally you can't update that one since it's finalised immediately. What's the use case exactly, what would you like to update about it?
i want to add some subscription specific custom fields to each invoice
i tried to handle it on Invoice.created webhook but it is failing because the invoice became finalized as soon as created
you could potentially add them to the Customer level(https://stripe.com/docs/api/customers/create#create_customer-invoice_settings-custom_fields) so they'll get automatically inherited by all invoices.
Complete reference documentation for the Stripe API. Includes code snippets and examples for our Python, Java, PHP, Node.js, Go, Ruby, and .NET libraries.
no, because the invoice is finalised immediately