This article covers:
- Adding a coupon/discount to a subscription
Chargebee invoices automatically list all the subscription details as line items. This includes the plan, addons, and coupons that are included in the subscription.
In order to apply or show a discount on an invoice, you'd simply need to apply the coupon on the subscription before the invoice is generated. This is because once an invoice is generated, it cannot be modified.
For a new subscription(sign up), the coupon needs to be applied during the subscription creation or sign up the process. Depending on the method of subscription creation, here are a few ways to include a coupon :
Via API, use the coupon_id input parameter
For an existing subscription, you can include a coupon from the subscription details as in the screenshot below
This coupon will be applied on the upcoming invoice.
If you have any questions regarding this, please reach out to email@example.com.
Related articles & documentation: