#notKate-invoice-retroactively
1 messages · Page 1 of 1 (latest)
This is not really possible unless you generate a $0 Invoice
You can create invoices and immediately void them, I believe, which will make sure they don't get paid, though I hesitate to recommend that: https://stripe.com/docs/invoicing/overview#void
yeah i think that would generate an invoice id but break the rest of the modelling
i suppose if we are joining on ids we could keep it in draft?
still wouldn't be able to join on payment intent etc
because it would be a different payment intent id
could we use auto_advance false?
Yeah, if you create an Invoice that does not auto-advance and make sure to void it after all the necessary updates have been made to associate it with the already paid invoices, then that could work. You might want to add all the details from the paid Invoice as metadata on the new voided Invoice though.
https://stripe.com/docs/api/invoices/object#invoice_object-metadata
Complete reference documentation for the Stripe API. Includes code snippets and examples for our Python, Java, PHP, Node.js, Go, Ruby, and .NET libraries.
wait but the paid invoice doesn't exist? or is there always an invoice object in the background?
Err, sorry. I meant "paid Payment Intent"
I assume that's what you meant at the beginning when you said Invoices were paid but not generated.
aside from the fact its not the actual intent of a voided invoice, what are your hesitations with using void?
I was mainly just concerned because I thought you were creating them via the Dashboard at first (not sure why)