#kman_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/1334219405873119293
๐ 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.
- kman_api, 4 days ago, 9 messages
- kman_best-practices, 6 days ago, 10 messages
Hi ๐
I'm confused. The point of the "draft" status is to allow changes. What updates are you trying to make that you cannot make with the draft Invoice?
- You cannot delete an Invoice that is linked to a Subscription
- Voiding invoices comes with legal complications that we are not qualified to discuss here. The last sentence in our API docs https://docs.stripe.com/api/invoices/void on voiding invoices states
Stripe recommends that you consult with your legal counsel for advice specific to your business.
I'm trying to add additional meter events to the invoice and have it recalculate all the tiers correctly again. The subscription is usage based using tiers. Because of a timing issue between our system and Stripes. We need to make adjustments to the subscription meter usage after the invoice has been created but before its been finalized. Some other devs on here recommended I void the invoice and create a new one from the previous invoice. But because of the subscription I can't create an invoice_from so I have to just recreate the invoice from scratch. See #1334219405873119293 message for my previous conversation.
Hmmmm.... yeah I see what you mean
That thread was with me where I was suggesting how to retrieve tiers but the other one was with my colleague
But you are saying that you cannot update the usage amounts while the Invoice is in draft and see the line item amounts re-calculate based on the tiered pricing structure you are using?
ya, unless I was just attempting it incorrectly. But I beleive I was getting an error saying that I cannot edit invoice line items associated to a subscription. I could add a new invoice line item but that doesn't take into account the subscriptions tiers so it wouldn't be accurate.