Start a new topic

Is it possible to add an recurring addon to an existing subscription and invoice full amount

In the middle of a subscription, I want to add an recurring addon and charge full price of addon immediately. How do I do it? 


I am using Update Subscription API - https://apidocs.chargebee.com/docs/api/subscriptions#update_a_subscription


if I pass `prorate` to true, it is invoiced immediately but on pro-rated basis. 


If I pass `prorate` to false, it is invoiced on next billing term. But i want to invoice immediately. Passing `invoice_immediately` did not change anything.

1 Comment

Chargebee essentially prorates all effective midterm subscription changes.


-A workaround would be to use the add charges API to charge the customer the full amount for the current term and then update the subscription API to update the subscription to the new add-on starting next billing term


Below is the relevant API doc to add charges immediately and create a one time invoice for the current term add-on

https://apidocs.chargebee.com/docs/api/invoices#create_invoice_for_charge



- You can use the Update the subscription API to add the add-on for the next billing period and affect the changes at the end of the current term by passing end_of_term as "true".

Below is the relevant API doc regarding updating a subscription

https://apidocs.chargebee.com/docs/api/subscriptions#update_a_subscription

Login or Signup to post a comment