#Dharunkumar Natarajan
1 messages · Page 1 of 1 (latest)
is there any way I can modify the description of the line items of the invoice?
Hi, you can set the description of each line item when you create it: https://stripe.com/docs/api/invoiceitems/create#create_invoiceitem-description.
but these are not created manually, they are created automatically through the subscription billing cycle, so in that case it uses the subscription name
I see, I did not read the previous context, thanks.
so is there a way to have different description for line items that are consolidated from a single subscription, but different subscription items?
Can you share an example here to confirm that we are referring to the same thing?
as shown in the image, I have a product with two prices
and a customer subscribed to the product has the subscription like this
Can you share the product id instead of screenshots?
but the customer's invoice looks like this
Product id: prod_MY0LpJ1wNZH4lR
corresponding price ids: price_1MOxvgG3LDN6ekHVWkxh91Rg, price_1LouKaG3LDN6ekHVT2gBW21h
Customer subscription id: sub_1MOy9QG3LDN6ekHVL4h8bEdL
corresponding subscription item ids: si_N9Ggjdb5aghFKo, si_N9GgALqFkoMWzv
**customer invoice id: **in_1MaCwFG3LDN6ekHV4aSEk9nZ
So that description is getting pulled from the product name: https://stripe.com/docs/api/products/create#create_product-name. Given that these prices are under the same product, they would always match.
is there a way to have them different, since they are from different prices?
No, unless you created different products
this brings me back to the original question, if I create different products for the sake of invoice line item description, there will be multiple invoices right?
Let me test this, please give me a few minutes