#briancody
1 messages ยท Page 1 of 1 (latest)
There's no way to override the finalized email setting unfortunately. If you have them disabled on the dashboard then you can use send invoice API endpoint but not the other way around.
Thanks @fair latch ! So confirming: if we disable sending finalization emails, we could use a webhook to finalize the invoice and then call send_invoice and that would send an email?
Yup
Thanks! and related question: can you call mark_uncollectible on a draft invoice, or only finalized? I wasn't sure based on the docs https://stripe.com/docs/api/invoices/mark_uncollectible
Complete reference documentation for the Stripe API. Includes code snippets and examples for our Python, Java, PHP, Node.js, Go, Ruby, and .NET libraries.
If I recall correctly then the invoice needs to be finalized. You can't mark a draft invoice as uncollectible really.
Would recommend creating an invoice in test mode to be 100% certain
Great, will do. Thank you!
NP! ๐ happy to help