#mentijm
1 messages · Page 1 of 1 (latest)
Hi there, are you following this doc ? https://stripe.com/docs/invoicing/dashboard/credit-notes#creating
Hi! No, it's not what we want to do
Let me provide some info
Renewal for "cus_LaiztUsEtPdx8P" coming up. Invoice "in_1NaOO7LLAsLlRiDeUpJppTbw" finalized at 01/08/2023.
FINDING: 08/08/2023 we've manually canceled the subscription
Payment of "in_1NaOO7LLAsLlRiDeUpJppTbw" failed for the 3rd time 10/08/2023 02:55. Invoice is updated (event: "evt_1NdNA7LLAsLlRiDeR2tWFTMI") where the next_payment_attempt is moved from 1691628682 (2023-08-10 00:51:22 +0000) to 1691628682 (2023-08-16 09:54:30 +0000).
Subscription is automatically deleted (event: "evt_1NdVk0LLAsLlRiDe2wOQzhJO") at 10/08/2023, 12:05:15.
A new invoice ("in_1NdVk0LLAsLlRiDeLpFgNlld") is automatically drafted at 10/08/2023, 12:05:16 (event: "evt_1NdVk0LLAsLlRiDe45cUBnVX"), containing only a proration line.
Initial invoice "in_1NaOO7LLAsLlRiDeUpJppTbw" is voided, at: 10/08/2023, 12:05:18 (event: "evt_1NdVk3LLAsLlRiDeKMyMsuD2").
The new invoice was automatically finalized, paid and settled at 10/08/2023, 13:05:43
So, after speaking with a colleague of you a day or two ago it became clear that these negative invoices (with only proration) is generated in some cases where we've managed to manually cancel an subscription without voiding an invoice first. To learn more about this we're trying to recreate this in our testing env with test clocks. Can't seem to manage tho. Can you give any additional help regarding of any specific state that causes this behaviour?
I'm still trying to understand what you want to achieve here.
If you look at cus_LaiztUsEtPdx8P a subscription was canceled which has generated a super wierd invoice of -878.27
Which was added to the customer balance. This is not something that we want
It seems a renewal was started, payment was never collected but the subscription was moved forward. Upon cancelation of the subscription Stripe generated an negative invoice with only a proration line giving the customer a credit
OK, so you want to cancel a subscriptoin without proration, am I right?
I want to understand why this happened in this case. Because I can't seem to be able to recreate now when I try
So you want understand why in_1NdVk0LLAsLlRiDeLpFgNlld was created?
As explained in the invoice line item, it's for
the Unused time on 5 × Educational Pro after 10 Aug 2023
If you don't want proration, you can set proration_behavior to none when cancel the subscription
But the renewal invoice was never settled right?
Unless I missunderstand something they've been getting back a year worth in credits without paying for them?
I see, you mean the in_1NaOO7LLAsLlRiDeUpJppTbw was voided
exactly
Yup, looks like it's a edge case that Stripe billings should better handle it.
So it's likely a bug on Stripe side?
Been trying to recreate since we have a couple of similar cases but without success.
Are there cases where negative invoices are valid? I mean, shouldn't any invoices with "negative balances" be credit notes?
This is going to require a bit more investigation. Sorry to redirect you, but can you write in to https://support.stripe.com/contact/email with the information that you provided? We'll respond via email/ticket after looking into it further.
Find help and support for Stripe. Our support site 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.