#nukesforbreakfast_best-practices

1 messages ยท Page 1 of 1 (latest)

royal groveBOT
#

๐Ÿ‘‹ 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.

lime gorge
#

Only possible for Open Invoice though

static nacelle
#

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.

lime gorge
#

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?

static nacelle
#

no, I'm saying I can issue credit notes fine.

lime gorge
#

Then yes you would need to manually call the API

static nacelle
#

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?

lime gorge
#

I issue a credit note for Invoice1 that is in the paid status
Could you share the request Id you did this? (req_xxx)

static nacelle
#

one second

#

req_bQLpGW3hy6EIZk

lime gorge
#

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

static nacelle
#

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

lime gorge
#

req_N4rtGU3PTg4oEo , correct?

static nacelle
#

req_N4rtGU3PTg4oEo

lime gorge
#

Did the Invoice amount decrease? Could you screenshot the Invoice on Dashboard?

#

Okie I think it decreased

#

Hmm

royal groveBOT
#

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.
lime gorge
#

I am asking for a consent URL so we can look it up on your Dashboard

royal groveBOT
static nacelle
#

ok I've approved it.

thorn sail
#

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)

royal groveBOT
#

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.
static nacelle
#

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?

thorn sail
#

hmmm, could you try to revoke the old one? and then click on this request again

static nacelle
#

ok, one sec

#

you requested on acct_1RoTxkBtIpo4XHMm right?

#

the most recent link I got doesn't do anything still.

thorn sail
#

Apologies, I requested for the other account

royal groveBOT
#

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.
static nacelle
#

should be good to go now

thorn sail
#

Do give me a while to test this out on my end

static nacelle
#

np

thorn sail
#

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

static nacelle
#

well, not necessarily extra. The scenario I had was

  1. the first invoice gets paid
  2. the second invoice gets opened
  3. 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?

thorn sail