#connie_invoice-proration
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/1236055757624184925
đ Have more to share? Add more details, code, screenshots, videos, etc. below.
connie_invoice-proration
@fervent turret that behaviour with 2 line items is expected behaviour yes.
What you want is to go from 5 to 7. What we (Stripe) do is go from 7 to 0 and then from 0 to 8. It creates 2 separate proration line items. There is no way to unify the line items into one
No need to get super detailed, but could you elaborate a bit on what you mean by "What we (Stripe) do is go from 7 to 0 and then from 0 to 8."?
When we prorate, we calculate the credit owed back to the customer for the remaining time. They paid for a month for a quantity of 7, if mid-month they change the quantity, you owe them a credit for half the month.
The we also charge them for how much they owe you for the quantity of 8 for example for half the month.
It's akin to downgrading to 0 and then back up to 8 sequentially. We do this for many reason (tax changes, coupon logic, tiers and many more)
So if you have $10/month, I pay you $10 on April 1st. Then on April 15 I ask to go to quantity 4:
- You owe me $5 back in credit (half the month April 15-30 that I already paid but won't use)
- I owe you $20 (half the month April 15-30 I haven't paid yet for 4 quantity of $10 but half the period)
Both of those sum to me owing you $15, but modeled as two line items
Ah this totally makes sense. Thank you for taking the time to clarify!