#xmrcivicboix
1 messages · Page 1 of 1 (latest)
Hi there
hello
Believe you are looking for https://stripe.com/docs/api/invoices/object#invoice_object-amount_paid
yea i looked at that invoice and it says 10.00
the invoice id is in_1McIYQFToPyPMwCtbnhWMbqt
not sure where that -10 is coming from
Oh yeah that is just how it is displayed in the Dashboard when looking at the Invoice
Supposed to help you easily see the amount due based on the above line items
but in the api the amount due is also 10.00
in the dashboard it shows 0
so where did the -10.00 come from
i dont see anything credit being applied either
Maybe I'm misunderstanding your question. Are you asking where the $10 payment came from? Or what that line item represents?
basically our report is showing an extra $10 when it should be 0
because the user didn't really pay for it cus there's a -10 credit happening somewhere
Got it got it
Let me look
Okay sorry
So that invoice was paid via the Customer's attached default Source
Looks like your integration collected a Card just a few seconds before the Subscription was created
Which created the Invoice
And then immediately charged it
ok… but I still don’t see where that -10.00 coming from? Is that a dashboard error?
No? That just represents the payment made by the customer.
The Dashboard won't perfectly reflect the API
Is that what you are concerned about?
Like in the Dashboard we often make things UI friendly
so here's the issue ... in the New ... Stripe is showing $30 .. that's because it excluded that invoice
otherwise it will be $40
Okay that's totally different though. Like if you look at any Invoice the amount paid is always shown as a negative amount. As far as why that Invoice was excluded from MRR calculations, I don't really know. We only focus on the API here and not on how these Dashboard reports/analytics function. You are going to be better off working with our Support team via https://support.stripe.com/contact/login on that MRR calculation.