#mattia_invoice-credit-notes

1 messages ยท Page 1 of 1 (latest)

fleet violetBOT
#

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

๐Ÿ“ Have more to share? Add more details, code, screenshots, videos, etc. below.

small dust
#

Hi ๐Ÿ‘‹

I'm a little confused here. An applied credit is not an "out of band" payment. Those refer to payments you received outside of Stripe. What are you trying to do here?

charred bay
#

Apologise, let me better explain. Paid out of band is apparently usable only if the whole invoice amount is paid out of band, otherwise, if only a portion of the invoice is paid out of band, I can't specify a portion of the invoice to be paid out of band - that's why I apply credit notes as it's the only way to achieve what I need. Now the question is, how do I get the credit note amount of an invoice?

small dust
#

Can you share an Invoice ID where this occurred? It's just easier than talking in the abstract.

charred bay
#

in_1PpYY3Ev6RqipoTEEItw3IIJ

small dust
#

Thanks, taking a look

charred bay
#

What I want to know is the credit note(s) amount applied to this invoice

small dust
charred bay
#

yes

small dust
#

This is the note for this specific Invoice that took the amount down to 0

charred bay
#

correct

small dust
charred bay
#

Alright, so I would need to fetch credit notes individually, then sum them up to get the total credited amount, correct? If so, is there no other better way to achieve this?

small dust
#

And then use the List API I shared to get more details, if you want them

charred bay
#

Worked, thank you so much.
Another question if possible, what's the difference from getting the FeeDetail object from a BalanceTransaction (to get the sum of all taxes), compared to just doing Invoice#getTotalTaxAmounts? Do they return the same amount?

small dust
#

Balance Transactions track all transactions that impact your account's Stripe balance. The fee_details keep track of taxes, Stripe fees, application fees, etc.

#

If all you are interested in is the total amount for taxes, then the Invoice property probably makes more sense

charred bay
#

I see, thank you

#

Last question

#

If I apply a credit note that covers all the amount of an invoice, does Stripe takes any fees from it? Like will Stripe charge me the usual % rate for using the invoices feature?

small dust
#

Unfortunately that one I cannot answer. We specialize in API integrations and helping devs code integrations here but we're pretty ignorant of Stripe fee policies and applications.

charred bay
#

Alright, no worries. Thank you though.

small dust
#

But let me take a look at the specific Invoice you provided earlier

#

Hmmm... Yeah I'm not even sure where to look because I would be looking in Balance Transactions to see if I could see any stripe_fee types

#

But, because this Invoice didn't change your Stripe balance, there are no associated transactions

charred bay
#

I notice that the invoice is "PAID", but the payment itself (where it usually shows fees and such) is "CANCELLED"

small dust
#

Yeah, because no funds actually moved.

charred bay
#

Alright, this probably means they do not charge anything on "cancelled" payments

#

alright, thank you for your help

fleet violetBOT
small dust
#

I would recommend double checking with Support: https://support.stripe.com/contact

I think it would suck to have that assumption and find out later on that it wasn't true.