#nukesforbreakfast_best-practices
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/1442701838150406316
๐ Have more to share? Add more details, code, screenshots, videos, etc. below.
Should be possible as outlined here: https://docs.stripe.com/invoicing/dashboard/credit-notes
Only possible for Open Invoice though
well, I meant if I'm having to issue a credit note for another paid invoice, and then have that credit directly apply to an already finalized, but as of yet unpaid, invoice.
It seems like by default it won't apply that credit until the next invoice finalizes, and won't automatically apply to already open or uncollectible invoices.
Um yes I think it isn't automatic too. But if you try to apply it programmatically, does it go through and give you an error?
no, I'm saying I can issue credit notes fine.
Then yes you would need to manually call the API
hold on, checking something
Say I issue a credit note for Invoice1 that is in the paid status, while having Invoice2 that is in open status, that credit note amount gets applied to the customer's credit balance and not the open invoice balance.
I tried with this test customer cus_TUAXYj04RLvrLg in stripe account acct_1SW85HBJArgc9LKi and observed this behavior.
How do I apply the customer credit balance to the open invoice in_1SXCDxBJArgc9LKiqsIs5jSd?
I issue a credit note for Invoice1 that is in the paid status
Could you share the request Id you did this? (req_xxx)
Okie I see. Can you create another CreditNote to the open Invoice in_1SXCDxBJArgc9LKiqsIs5jSd ? It should use up the credit balance generated from in_1SXCCQBJArgc9LKiIm7rExpS
wouldn't that generate more credit?
Yep, I created a credit note and it just decreased the invoice amount and the customer still has a credit balance
req_N4rtGU3PTg4oEo , correct?
req_N4rtGU3PTg4oEo
Did the Invoice amount decrease? Could you screenshot the Invoice on Dashboard?
Okie I think it decreased
Hmm
Hello @static nacelle, we have sent you a direct message, please check it at https://discord.com/channels/@me/1382214442787541043
- ๐ The message has instructions on how to grant read and write access to your Stripe Dashboard for our Developer Support team, in order to help you more effectively.
I am asking for a consent URL so we can look it up on your Dashboard
ok I've approved it.
Ah, my apologies, i might have to request consent again to have access to your dashboard
the previous request got routed to my colleague (sorry we just implemented a new system for this)
Hello @static nacelle, we have sent you a direct message, please check it at https://discord.com/channels/@me/1382214442787541043
- ๐ The message has instructions on how to grant read and write access to your Stripe Dashboard for our Developer Support team, in order to help you more effectively.
ok one second
it doesn't take me to the access page
it just takes me to the dashboard. It also shows that there is no new access request.
do I need to revoke the old one?
hmmm, could you try to revoke the old one? and then click on this request again
ok, one sec
you requested on acct_1RoTxkBtIpo4XHMm right?
the most recent link I got doesn't do anything still.
Apologies, I requested for the other account
Hello @static nacelle, we have sent you a direct message, please check it at https://discord.com/channels/@me/1382214442787541043
- ๐ The message has instructions on how to grant read and write access to your Stripe Dashboard for our Developer Support team, in order to help you more effectively.
should be good to go now
Do give me a while to test this out on my end
np
Just so i get your question right, you want to issue a credit note for paid Invoice first, then for any extra credit for that to automatically apply to another already finalised, yet unpaid Invoice?
From my testing, it seems like you can only apply a credit note to a specific Invoice and it's line item
well, not necessarily extra. The scenario I had was
- the first invoice gets paid
- the second invoice gets opened
- when I create a credit note on the 1st invoice, have that credit apply to the oldest open or uncollectible invoice instead of to the customer's credit balance.
even if it doesn't do it automatically, is there a manual way to apply credit balances to an invoice?
https://docs.stripe.com/invoicing/customer/balance?dashboard-or-api=api#customer-cash-balances
This doc might have what you are looking for