#idfk_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/1329195812290560110
đ Have more to share? Add more details, code, screenshots, videos, etc. below.
One thing I thought of is adding a debit amount of the total refund and creating an invoice with a Refund item and a negative amount that should zero out the debit balance.
Hi there! Looking into this now
So firstly, there is no way to refund an Invoice paid out of band. When an Invoice is paid out of band, we actually remove the PaymentIntent from the Invoice so there is nothing to create a refund against
Yes i see that and that's the issue i'm trying to resolve. Especially for the accounting department
Is your concern to refund the customer from your Stripe balance, or just to leave some indication that the Invoice was refunded?
The latter
I think adding some metadata to the Invoice is the only real option. The Invoice was paid outside of Stripe and the Invoice itself is the only real marker in Stripe, and we don't track refunds at the Invoice level - an Invoice can't have a "refunded" status:
https://docs.corp.stripe.com/api/invoices/object#invoice_object-status
I guess the refund is not reflected accurantly in revenue recognition?
I'm sorry but we don't know much about revenue recognition here, as we're focused on integration questions. If you reach out to support they would be able to provide an answer
I just found it. This would debit the product that was on the invoice -- not increase the customer's credit amount
thanks.
Yes, a Credit Note will create a paper trail for you here. The corresponding doc is here if you need more detail: https://docs.stripe.com/invoicing/dashboard/credit-notes#creating
and this can be done in the API as well: https://docs.stripe.com/api/credit_notes/object#credit_note_object-out_of_band_amount