#VisionADdyOP

1 messages · Page 1 of 1 (latest)

elder burrowBOT
#

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.

iron ivy
#

Hello! Can you provide more specific details? What's the scenario?

minor garnet
#

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

iron ivy
#

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.

minor garnet
#

No no that I paid manually

#

But you can see in new invoice their is no credit is applied

iron ivy
#

Not sure I understand, can you provide more specific details?

minor garnet
#

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

iron ivy
#

A balance will apply to the next finalized Invoice, and you can't choose a specific Invoice to apply the balance to.

minor garnet
#

But in my case it's not applied for last invoice

iron ivy
#

Can you show me a specific example of that?

minor garnet
#

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

iron ivy
#

Can you give me a specific Invoice ID where you expected a balance to be applied but it wasn't?

minor garnet
#

in_1OeM1ZARWDrZZuiflsheuODi

#

Here it should deduct 74 dollar

#

I paid that invoice manually but it should be adjusting that price

iron ivy
#

What was the Customer's balance at the time that Invoice was finalized?

minor garnet
#

74 dollar

#

It's applied in voided invoice but not in new manually created invoice

iron ivy
#

I don't think that's the case. I'm seeing a zero balance on them prior to that.

minor garnet
#

Where?

iron ivy
#

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.

minor garnet
#

Ohhh

iron ivy
#

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.

minor garnet
#

If I create invoice manually it will autistically finalize after hr?

iron ivy
#

Invoices typically finalize after an hour, yep.

minor garnet
#

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?

iron ivy
#

Sounds quite possible. Give it a try!

minor garnet
#

Or may be i will keep that invoice in darft for an hr