#shubhamjha
1 messages · Page 1 of 1 (latest)
It depends! For a subscription you'd see the upcoming invoice event before a draft invoice is created if thats what you're asking.
yes i am seeting a condition over here thats why i am asking
Please provide full/complete context so that its easier to be on the same page 🙂
oh when i advancing the time and the latest invoice is paid then i am getting it into my db not in draft
Once the invoice is finalized, it won't be in draft state right?
oh so i have to put a condition on that only?
is their any ststus in invoice finalized?
once invoice is finalized, it should have open status
but if you have automatic collection then the invoice should charge the payment method immediately which should then update the status to paid