#VisionADdyOP
1 messages · Page 1 of 1 (latest)
Hello! We'll be with you shortly. Below are links to other discussions we've had with you in the past week in case you want to review that information. If your question is related to one of these previous discussions, please provide a comprehensive summary of the current state and what you need help with now. We help many users simultaneously, so a summary allows us to resolve your issue as soon as possible.
- VisionADdyOP, 10 hours ago, 47 messages
Hello! Can you provide more specific details? What's the scenario?
Can you please see this subscription sub_1OeLtRARWDrZZuifNXywXzF6
You can see last two invoices
I want to apply credit balance if any to that created invoices
This is my business logic customer failed to pay the amount i am creating new invoice to neglect next month flat rate
Credit is applied to voided invoice but not custom created invoice
A Customer's balance is applied to an Invoice when payment is attempted. It's too late to apply it to those Invoices for this canceled Subscription. One is already paid, and the other has been voided.
No no that I paid manually
But you can see in new invoice their is no credit is applied
Not sure I understand, can you provide more specific details?
Just tell me invoice is open can we apply credit manually ?
Or stripe will do that for custom created invoice
As in void invoice credit is applied you can see
No. Have a look here: https://stripe.com/docs/invoicing/customer/balance#working-with-credit-balances
A balance will apply to the next finalized Invoice, and you can't choose a specific Invoice to apply the balance to.
But in my case it's not applied for last invoice
Can you show me a specific example of that?
cus_PTISpV4g58JyB3 see this customer last invoice
And second last invoice
Scenario is that second last invoice i voided because in that next month flat fee is added
But customer failed to pay the amount so I created new invoice to omit that next month flat fee
Because I have to take last month charge
But whatever new invoice is created their is no credit applied their
Can you give me a specific Invoice ID where you expected a balance to be applied but it wasn't?
in_1OeM1ZARWDrZZuiflsheuODi
Here it should deduct 74 dollar
I paid that invoice manually but it should be adjusting that price
What was the Customer's balance at the time that Invoice was finalized?
I don't think that's the case. I'm seeing a zero balance on them prior to that.
Hang on...
The Customer's balance went from 0 to 74.20 in this Event: evt_1OeM1cARWDrZZuifbTLiIxCl, but that happened after the Invoice was finalized.
Ohhh
The invoice.finalized Event is here, and happened first, when they had a zero balance: evt_1OeM1cARWDrZZuifyyu5QuVd
Thus they had a zero balance at the time, and no balance was applied as expected.
If I create invoice manually it will autistically finalize after hr?
Invoices typically finalize after an hour, yep.
I think in this case first i should void old invoice and then finalize new invoice
Here i done exactly opposite
That's why may be new invoice is finalized-here balance is their for old invoice and old is voided at the
What do you think?
Sounds quite possible. Give it a try!
Or may be i will keep that invoice in darft for an hr