#nukesforbreakfast_sub-invoice-finalization
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/1416089375317688371
đ Have more to share? Add more details, code, screenshots, videos, etc. below.
Below are links to other discussions we've had with you in the past week in case you want to review that information. If your question is related to one of these previous discussions, please provide a comprehensive summary of the current state and what you need help with now. We help many users simultaneously, so a summary allows us to resolve your issue as soon as possible.
- nukesforbreakfast_unexpected, 11 hours ago, 48 messages
- nukesforbreakfast_docs, 17 hours ago, 37 messages
- nukesforbreakfast_best-practices, 1 day ago, 62 messages
- nukesforbreakfast_subscription-credits-prorations, 1 day ago, 38 messages
- rcc_schedule-update, 1 day ago, 84 messages
- nukesforbreakfast_api, 2 days ago, 33 messages
and 2 more
so which behavior should be expected?
sub_1S6ZEJAzVYAH3rvF7fh6sYu8
in_1S6ZEJAzVYAH3rvFaHTL5Tll
Hi there,
let me take a look...
It seems like there is a known limitation for test clocks that is (still) not called out in the documentation. Could you advance the time on the test clock again for another hour?
I can, but that would finalize the invoice due to auto_advance=True on the invoice.
Are you saying that if I generated a subscription without a test clock, it would finalize the created subscription invoice immediately?
I created sub_1S6ZerAzVYAH3rvFFgEMUPXO without a test clock, and the invoice is still draft instead of open.
But the Invoice needs to be finalized in order to have the state open
right
my point is this doc states when the subscription is created, the invoice is finalized immediately: https://docs.stripe.com/billing/subscriptions/overview#handle-the-invoice
When you create a subscription, Stripe automatically creates an invoice with the status open.
But, that's not the behavior I'm seeing. Is this doc wrong or is something wrong with the subscriptions API?
No, that is the doc that is misleading. I will give that feedback to the docs team.
ok, so basically all subscription creations follow the invoice auto_advance logic of being draft for the first hour?
That is the expected behavior. YEs.