#Miran-subscription
1 messages · Page 1 of 1 (latest)
Hi! At any time you can add an invoice item to a customer, and that item will be automatically added to the next invoice for that customer.
Hi, thanks for the information. But let's say the customer has a subscription that has a an active promotion code. I want the item to have the same promotion code as well. Is there any way where I can link the item to a subscription?
hmm, well yes, but there's a lot to unpack in your understanding I think
a promotion code is not active on a subscription, a promotion code is something entered when creating the subscription and it can result in a coupon being applied to the subscription and thus a discount applying
if you add an invoice item to a subscription and then that item gets pulled into a recurring invoice for the subscription, and the subscription has an active discount, the entire amount of that invoice gets discounted (hence why I said 'yes').
and yes you can add items specifically to a subscription(https://stripe.com/docs/api/invoiceitems/create#create_invoiceitem-subscription) so they only get added to invoices for that subscription and not others the customer might have
Complete reference documentation for the Stripe API. Includes code snippets and examples for our Python, Java, PHP, Node.js, Go, Ruby, and .NET libraries.