#alexzada-invoice-description
1 messages · Page 1 of 1 (latest)
I believe an Invoice is created after a Subscription, if the Subscription is not set to trialing so you should be able to get the Invoice ID from it and make an update API request.
Are you running into any errors when testing?
I'm not having errors, I just would like to know the correct way to do this, thank you very much
as I can see in my Dashboard the description I put here
await stripe.invoices.update( schedule.subscription.latest_invoice.id, { description: 'Levo Agora' } );?
Ah, I see. You're looking for the statement descriptor. I would recommend looking through this guide: https://stripe.com/docs/statement-descriptors
These can be set at both the account level and the charge level, so you will want to pick which one is most relevant to you.