#caffeinateddj_api
1 messages ยท Page 1 of 1 (latest)
๐ 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.
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.
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?
Correct
and I have to do this manually on dashboard?
๐ stepping in here
No, you can mark Invoices as paid using the API. You use the /pay endpoint (https://docs.stripe.com/api/invoices/pay) and use the paid_out_of_band parameter
when I create an invoice via endpoint, can I create due date and effective date to be a past date?
No that's not possible.
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