#Mytras
1 messages · Page 1 of 1 (latest)
Hi there!
Hi Soma
You can to create an invoice in the future?
I hope you are well
Ill give you some context
We offer internet infrastructure, and our customers often sign agreement with us for a 1 time payment, and their invoice needs to start and sent they day that we give them the service
for example a customer has to pay 450£ the 1st of june 2023, but he signes the aggreement the end of april, I created an automation to create invoices automatically via API
and I need to set the invoice date for that payment to be the same of the day that they receive the service
in my example above the 1st of june 2023
hopefully i was clear
is there a start date parameter for 1 time payment invoices?
Got it. Unfortunately you cannot set the start date of an invoice. The date is automatically set to when you create the invoice.
how can I than do that?
So in your case if you create the invoice 1st of June the date will be 1st of June.
With the Stripe API, when you create an invoice it is created immediately. So if you want to create an invoice in the future, then that's something that' you'll have to do on your end. Maybe store the invoice you need to create in your database, and once per day check the invoice that need to be created today.
So there is no way to do it in Stripe via API
You can create an invoice with the Stripe API. But you cannot create an invoice in the future, no.