#Cesar Pérez.
1 messages · Page 1 of 1 (latest)
Good question. Checking in to how numbering works here.
Is that number properly populated once the invoice is finalized?
Yes
Look
It says "CAFERIO-DRAFT", but that's not included on the response i get from the SDK or the webhook
Only when the invoice is finalized a get a properly number
Ah thank you for the clarification. Looking in to this and will get back to you
Unfortunately not seeing a way to have this during the draft stage. I can put in feedback to add this but can't guarantee if/when it will be added
Is there an underlying problem that you are looking to solve by having this number upfront? I am happy to see if our API can more directly help with that
Yes, i'm making an invoice module, and i need to show the "Invoice Number" on it, even for draft invoices
The weird thing is that i have another stripe account where that's being shown on draft invoices
Look:
The only difference i found is on the "client pre-fix" for the invoices
On the right side, the account that's generating invoice numbers for draft invoices. It doesn't show the "Invoice generation" configuration; but for what i can see, it's not using the "client pre-fix"
On the left side, the account that's NOT generating numbers for draft invoice, using the "client pre-fix"
Interesting. So maybe using the client prefix makes us create the number earlier.
Not working either 😦
Even without the client pre-fix it says "-DRAFT" and the number it's still "null"
Could this be related to the account not being activated?
Because the one that's working properly has all of that already
Gotcha. I am actually unsure what might be causing this. I am having trouble looking deeper in to this. I will reach out to my colleagues for help here and we will get back to you
Hi there. Give me a minute to catch up on context here
Can you provide an invoice ID from the account that's not populating the number when the invoice is in a draft state and another invoice ID from the account that is populating the number properly?
I suspect it's an API version difference: https://stripe.com/docs/upgrades#2020-03-02, but would need to confirm
Okk
No invoice in DRAFT is populating the number for that account
I'll give you one DRAFT (number:null) and one Finalized
DRAFT: CAFERIO-DRAFT de USD 95.92
FINALIZED: CAFERIO-0009 de USD 421.17
The STRIPE account is associated to this email:
jonathan.orozco@sundevs.com
is in TEST mode
Let me know if you need anything else
In the SDK we're using this stripe API version:
For both accounts we're using the same codebase (the one that's generating the invoice properly, with the number and the one that isn't)
Hi there 👋 taking over for the above folks.
Can you supply an example Invoice ID? I can't look things up by email
Yeah,
DRAFT: CAFERIO-DRAFT de USD 95.92 (id: in_1M4S5xEzArZ6rsevJ1v2ZLx2)
FINALIZED: CAFERIO-0009 de USD 421.17(id: in_1LddAlEzArZ6rsevvC3X7yyu)
Does that work for you?
Hi Two-shoes!
Yup. Taking a look now
You mentioned having draft invoices on another integration that are showing the number as desired. Do you have an example of one of these too?
Ah, interesting. I had a hunch, but that ended up being a false start. Let me check with my team internally and see if anyone has any ideas
Can you create a support thread and mention that you talked to two-shoes on Discord?
Find help and support for Stripe. Our support center 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.
Once you do, let me know and I'll go pick it up and work with you via email
Okk
Listo!
Sorry
Done*
Sign in to the Stripe Dashboard to manage business payments and operations in your account. Manage payments and refunds, respond to disputes and more.
Let me know if you need anything else
In any case, Thank you so much to all of you three guys!
@lavish violet
@coarse umbra
@deep brook