#arvindkgs
1 messages · Page 1 of 1 (latest)
Hi there, the invoice object doesn't include information about previous invoices.
How do I get this information?
To get previous invoices, you should use List invoice APIs (https://stripe.com/docs/api/invoices/list?lang=dotnet#list_invoices)
Complete reference documentation for the Stripe API. Includes code snippets and examples for our Python, Java, PHP, Node.js, Go, Ruby, and .NET libraries.
Do you mean I need to compute the outstanding amount from all the previous unpaid invoices? Is there any api/attribute to get this?
I am looking for the outstanding amount due from customer as of current time, across all previous and current invoice
There's no direct attribute, you need to retrieve the past invoice and calculate by yourself.
This should be something easily provided by invoice api. Can you please consider this for feature request