#neto-invoice-schedule

1 messages ยท Page 1 of 1 (latest)

lavish walrusBOT
pearl patrol
#

neto-invoice-schedule

true bloom
#

yeah, but I'm looking for a way to avoid making a call on the day of the payment...

Perhaps adding some extra price to an upcoming invoice ?

pearl patrol
#

that's not really possible

true bloom
#

or some way of attaching the new invoice pay date to the billing cycle anchor of a subscription ?

#

the both invoice get charge at the same time ...

pearl patrol
#

๐Ÿ˜… what are you really trying to do? because you talked about an Invoice and now you talk about a Subscription

true bloom
#

hehehe yeah, sorry for the confusion ...

pearl patrol
#

yeah just a 2 sentences summary is good enough for me. The more words you write, the more likely it is that we confuse each other

true bloom
#

is it to much to ask if you can take a look to that thread ?

#

That pretty much laid down how I got to this point

pearl patrol
#

yeah I skimmed it but there are so much words and I have no idea what you mean unfortunately. Really almost every single ask can be summarized in 2 sentences: Who pays what now, who pays what in the future. Just give me one concrete example of a payment flow and I'll solve it for you

true bloom
#

got it. that make sense. let me put it together

pearl patrol
#

really don't spend long on it. write fast, just one small example and then I will ask questions to probe at it. If you spend more than 2 minutes writing, you will likely have lost me already

#

Discord calmed down so I'm re-reading the thread in the meantime

true bloom
#

we have an application with contracts linked with Stripe subscriptions.

Contact/subscriptions #1

Start Date: 10/08/2022
End Date : null
Next Invoice (Bill Date) : 03/08/2023

We change the billing cycle anchor of that sub using trial to 03/18/2023

we still want to charge for those 10 days difference creating another invoice/charge or whatever tool we might have on the next billing cycle of that subscription which now is going to be the 03/18/2023

#

yeah, sorry for the slow writing , English is not my first language...

pearl patrol
#

all good, not mine either ๐Ÿ™‚

#

So really all you want is to ensure that on March 18 they pay the extra 10 days?

true bloom
#

hehe sweet

#

yeah, that is the goal, to make sure they pay for those 10 days( in thise case) of difference

pearl patrol
#

but on March 18?

true bloom
#

yeah, on March 18... so they get it at the sime time as the next invoice/upcoming invoice

pearl patrol
#

Cool so all you need to do is create an InvoiceItem yourself for the amount owed for those 10 days via https://stripe.com/docs/api/invoiceitems/create and passing the right info + customer + subscription. And then magically on March 18 when the trial hack you use ends, a new Invoice will be created for the new cycle's amount and that will pull in the pending InvoiceItem for the extra 10 days automatically for you

true bloom
#

Interesting I will give it a try , thanks!

#

will that invoiceitem be display on the upcoming invoice page on the Stripe dashboard ?

pearl patrol
#

yes

true bloom
#

cool, thanks again

#

๐Ÿ™‡โ€โ™‚๏ธ

pearl patrol
#

let me know if that doesn't work, you should be able to test this in a few minutes in Test mode

true bloom
#

yeah, it work perfectly!!, thanks again!