#shaon
1 messages · Page 1 of 1 (latest)
Hi there!
Hi
If the invoice is in draft status, you can edit it with this endpoint: https://stripe.com/docs/api/invoices/update
I'm trying to do this via webhook
basically when any invoice goes to a draft state
i would like to be able to edit it
Then you should listen to the invoice.created event, and than call https://stripe.com/docs/api/invoices/update to update the invoice.
ah ok
great that makes sense
i didn't know that invoice.created was the event that aligned to invoice.draft
All invoice are created in draft, except the very first invoice of a subscription that is never in draft.