#Mytras

1 messages · Page 1 of 1 (latest)

timid spindleBOT
trail quiver
#

Hi there!

sly portal
#

Hi Soma

trail quiver
#

You can to create an invoice in the future?

sly portal
#

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?

trail quiver
#

Got it. Unfortunately you cannot set the start date of an invoice. The date is automatically set to when you create the invoice.

sly portal
#

how can I than do that?

trail quiver
#

So in your case if you create the invoice 1st of June the date will be 1st of June.

sly portal
#

but how can I automate that?

#

via API

trail quiver
#

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.

sly portal
#

So there is no way to do it in Stripe via API

trail quiver
#

You can create an invoice with the Stripe API. But you cannot create an invoice in the future, no.

sly portal
#

canI add fre trial or coupon on a 1 time invoice?

#

I have a question

#

as a work around

#

let's say that the 1st of may i create the invoice, but service starts the 1st of June

#

can I create a coupon for 1 month that will be automatically added to the invoice