#caffeinateddj_api

1 messages ยท Page 1 of 1 (latest)

karmic tuskBOT
#

๐Ÿ‘‹ Welcome to your new thread!

โฒ๏ธ We'll be here soon! Typically we respond in a few minutes, but sometimes we might take a bit longer if the server is busy or if you have a particularly tricky question.

โฑ๏ธ We close idle threads, which makes them read-only. Once a thread is closed it won't be reopened, but you can always start a new thread if you have another question.

๐Ÿ”— This thread will always be available, even after it's closed. You can find it again using Discord's search, or you can save this link: https://discord.com/channels/841573134531821608/1363963579543584768

๐Ÿ“ Have more to share? Add more details, code, screenshots, videos, etc. below.

cerulean axle
#

Hello
As far as I know, we don't have an API or dashboard based tool that let's you import invoices.

You could create these invoices by calling the API and marking them as paid out of band.

cosmic olive
#

but the api doesn't let me create invoice with paid status. So I have to create them as all pending and then mark them paid?

cerulean axle
#

Correct

cosmic olive
#

and I have to do this manually on dashboard?

karmic tuskBOT
midnight crater
#

๐Ÿ‘‹ stepping in here

cosmic olive
#

when I create an invoice via endpoint, can I create due date and effective date to be a past date?

midnight crater
#

No that's not possible.

cosmic olive
#

So I can't create a historical invoice or import it. Is that correct

#

Say I have an invoice that from 2025/03 on my other platfor that's for usage from 2025/02/01 - 2025/02/28. I have no way of creating/importing this invoice in stripe

midnight crater
#

Yeah we don't really support importing historical Invoices. There isn't a way to set the due date or period of an Invoice to be in the past.

#

You could use metadata to indicate this.

#

But that's about the closest thing you could do

cosmic olive
#

okay ๐Ÿ˜ข

#

Thanks for the help