#karishma1642
1 messages · Page 1 of 1 (latest)
Do you have an example invoice ID you can share?
I would expect this to only happen once the invoice is finalized (ie, when you can't add any more items)
Once the invoice is finalized, credits are applied automatically if the customer has a balance
You can't control if/when/how much credit is applied
yes, sorry for the delay! we dont mind how much credit is applied, but we'd like for the credit to be applied once we've added all the necessary. this is an example in_1Nn4LkF5n5KjLa7RzlwqTrdD
is there a different way we need to add line items to account for credits? otherwise, we're running into a situation where we arent collecting taxes
I don't see any invoice item creation for this while it was a draft, and it looks like it auto-advanced to finalized after 1hr following the invoice.created event : https://dashboard.stripe.com/events/evt_1Nn4LkF5n5KjLa7RX3qfiq9H
It looks like you might not subscribe to those events, which you'll want to do in order to provide additional items like this
When a subscription renews and creates an invoice, Stripe sends the invoice.created webhook event. Stripe waits approximately one hour before finalizing the invoice and attempting payment
interesting. Our other invoices for accounts with no credit are put into a draft which we pick up with our api and add the line items. Ok thank you for the context! We'll look into it.
Yep, using that webhook will let you handle the additional invoice items during the draft phase (before the finalization and credit application)