#MrJamesF
1 messages · Page 1 of 1 (latest)
AFAIK it wouldn't show in on the upcoming Invoice object, not as a 'discount' at least
The balance is just automatically applied when the invoice is finalised
the total shows the total without any discount
so can i show them the actual discount they will get in the upcoming invoice api?
Upcoming should show something like 'Credit Balance Applied: £45.00" and reduce the Total by £45.00
Yep, expected because as I said its only applied when you finalise
I think you can track the balance that will be applied via starting_balance: https://stripe.com/docs/api/invoices/object#invoice_object-starting_balance
Complete reference documentation for the Stripe API. Includes code snippets and examples for our Python, Java, PHP, Node.js, Go, Ruby, and .NET libraries.
my amount_due is less than the total so i think it takes the credits off
since you are taking the credits off it would be nice to tell me how much credits you took off rather than having to calculate the difference between total and amount_due
i assume that if there is a difference between those 2 numbers it will always be because of credits being applied?