Peter,
Thanks for update. Perfect timing too, our subscription feature is just about ready to go out the door.
I started implementing the necessary calls and have come across some issues, that I'm guessing are relatively unique to our setup.
The first problem I came across is that the proration preview only works with existing customers and subscriptions. Our implementation leverages the billing_cycle_anchor attribute to ensure that the subscriptions start on the first of the month. This implementation results in a pro-rated charge when the customer first signs up, but because the proration preview requires a customer and subscription id, I can't use for users signing up.
I worked around this issue by using our application to create a "DO NOT DELETE" customer with a subscription to our free plan that starts on the May 1. I use the customer and subscription id in the call to get the upcoming invoice. However, the invoice that is returned only has a single line item for the full amount of the plan I'm switching to instead of a single line item for the pro-rated amount from today through the end of the month.
I'm guessing these issues are related to our use of the billing_cycle_anchor. Below is the endpoint that I'm calling. Please let me know if that is something that I'm missing, this feature is very important to our implementation, so I'd love to get it implemented before go live. Thanks.
Endpoint
v1/invoices/upcoming?customer=[CUSTOMERID]&subscription=[SUBSCRIPTIONID]&subscription_plan=[PLANID]&subscription_quantity=1&subscription_prorate=True&subscription_proration_date=1428550400