#taviksha-akar_api
1 messages ยท Page 1 of 1 (latest)
๐ Welcome to your new thread!
โฒ๏ธ We'll be here soon! Typically we respond in a few minutes, but sometimes we might take a bit longer if the server is busy or if you have a particularly tricky question.
โฑ๏ธ We close idle threads, which makes them read-only. Once a thread is closed it won't be reopened, but you can always start a new thread if you have another question.
๐ This thread will always be available, even after it's closed. You can find it again using Discord's search, or you can save this link: https://discord.com/channels/841573134531821608/1338493142424490055
๐ Have more to share? Add more details, code, screenshots, videos, etc. below.
Can you share the ID of a request you've tried?
req_xeQh8TH8Fp6CMo
Hey! Taking over for my colleague. Let me catch up.
Have you checked the Invoice PDF ?
What is the expected field ?
which I have passed in description
I have passed description in default_settings but it is not showing in invoice pdf
I am not creating invoice.
The invoice is automatically created by stripe
so i cannot pass the invoice create params as I am not calling invocie create api
Then you need to set it at Customer level:
https://docs.stripe.com/api/customers/create#create_customer-invoice_settings-custom_fields
No, the description is not static, it can vary based on the subscription schedule. It is dynamic text which need to be shown.
When the invoice is generate you have a grace period of 1h
No, we finalize the invoice at same time.
So you shouldn't, you need to update the invoice and add custom fields then finalize it.
That's the goal of having the grace period
But updating a invoice will update the description on that invoice only.
I need to add that descrription on subscription or subscription schedule level. So that, the renewal invoices also show those text in their invoices.
You want to have a custom field on the invoice PDf right ?
If so you can't set it at Subscription level
You have two options:
- Set it at Customer level if it's static
- Else, you need to set it for each draft invoice generated during the grace period.
I am not sure of custom fields, I just need to show some dynamic text on the invoices. So I have tried to used "description" field. Can it be set at schedule level ?
I am not sure of custom fields, I just need to show some dynamic text on the invoices
It should be custom fields yeah.
Then use the second option I shared above.
Else, you need to set it for each draft invoice generated during the grace period.
๐