#vancouver_trader - invoice amount
1 messages ยท Page 1 of 1 (latest)
Sure, I have two invoice & want to confirm the amount charged for them. It is for our client & they created subscription for 500 dollar in_1Kw623Krag8sF83u25bbGUIh in_1KlDhMKrag8sF83uzPd5OiUG
Also I want to know does stripe mark transaction with any flag that it is prorated transaction ?
Because it is not clear when amount charged is different for any reason like prorated amount for subscription cancellation
Gotcha, checking in to how you should check this programmatically
Customer created subscription for 500 dollar but we are getting 412.75 amount. Not sure why and how that is possible. I see subscription active actually
amount_paid is the easiest way to see how much has been paid on an invoice https://stripe.com/docs/api/invoices/object#invoice_object-amount_paid
Complete reference documentation for the Stripe API. Includes code snippets and examples for our Python, Java, PHP, Node.js, Go, Ruby, and .NET libraries.
Checking in to that proration
Also can you please share invoice copy for above two invoice so we can confirm amount actually paid for them
Sure thank you
I will apply similar changes on our side
Ah, it looks like you created the Subscription with a cancel-on date of 05/31
But the billing cycle anchor is on 5th of the month. So the second billing period was for 5/5-5/31 instead of a full period from say 5/5-6/5 or 5/1-6/1
Trying to think of what you might want to do instead if you want to create a subscription for just two months
who determines the billing cycle anchor ? It is when subscrption created correct ?
I am immediately coming up with two ideas:
- Backdate your subscription's start date to the beginning of the month https://stripe.com/docs/api/subscriptions/create#create_subscription-backdate_start_date
- Use a subscription schedule to cancel the subscription after two cycles https://stripe.com/docs/billing/subscriptions/subscription-schedules
Correct, it is the day that you create the subscription unless you modify it
Yes it looks like the first invoice was charged the full amount
Oh and I guess option 3 that is similar to what you are doing how would be to just calculate out a canceled_at that is two full months in the future
thanks
BTW is there option to set proration turned off on stripe?
For billing cycles like that I don't think so. We allow you to turn of prorations on the first cycle when creating a subscription or on any later updates that you make, but unfortunately I don't think we have a property to turn off proration for short cycles like this
what do you mean by that when you said "you can set proration for first cycle and later updates but not for short cycle like this"
Hi ๐ I"m stepping in for @atomic minnow .
Proration is something that is determined whenever you make a change to a Subscription. If you want to avoid it you will need to pass none as the value for the proration_behavior parameter when changing subscriptions.
if i set that in advance for subscription that it should work for all cases right