#nicola_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/1377183876006412429
📝 Have more to share? Add more details, code, screenshots, videos, etc. below.
Below are links to other discussions we've had with you in the past week in case you want to review that information. If your question is related to one of these previous discussions, please provide a comprehensive summary of the current state and what you need help with now. We help many users simultaneously, so a summary allows us to resolve your issue as soon as possible.
- nicola_api, 4 days ago, 17 messages
- nicola_api, 5 days ago, 6 messages
- nicola_api, 5 days ago, 11 messages
Hi! My understanding is that you would like to have a custom invoice number. You are either looking at changing it on the invoice itself or add it to the metadata correct?
This is the only way to customise the invoice number:
- https://support.stripe.com/questions/customize-your-invoice-number
- https://docs.stripe.com/invoicing/customize#invoice-numbering-schemes
If you want further customise it, you can set your custom invoice number as the phase's metadata: https://docs.stripe.com/api/subscription_schedules/create#create_subscription_schedule-phases-metadata
đź‘‹ taking over for my colleague. Let me know if there's any follow-up Qs I can answer!
Hi! Thanks again for your support.
Just to confirm — is the invoice.number field strictly read-only and cannot be customized via the API (even through invoice.created webhooks or updates)?
If so, I understand the alternative would be to store our custom invoice number in metadata during the subscription schedule creation.
In that case, is there a way to make that custom number visible to the customer on the final PDF invoice? For example, can it be shown via custom_fields or in the footer?
you can customize the invoice number https://docs.stripe.com/invoicing/customize#invoice-numbering-schemes either ​​sequentially for each customer or sequentially across your account
Thanks for the clarification!
Unfortunately, the standard invoice numbering scheme (sequential per customer or across the account) doesn’t work for our use case.
We need to assign a custom invoice number per subscription, following our internal numbering rules — for example, based on an ERP code or contract reference.
That’s why we were considering using metadata to store our own custom number.
Is there any way to make that metadata value visible to the customer on the PDF invoice (e.g. via custom_fields or footer) so that it appears as the reference number instead of Stripe’s autogenerated one?
Thanks again!
I suggest before going into other solutions to contact https://support.stripe.com/?contact=true and see whether there's a private feature that we offer that could solve your problem
Find help and support for Stripe. Our support site provides answers on all types of situations, including account information, charges and refunds, and subscriptions information. Get your questions answered and find international support for Stripe.
otherwise custom_fields could be the way to go