Total Amount Due


What is the best way to get the customer's Total Amount Due from the api?

1 Comment

Hi George, 

If you're looking to retrieve the total amount due for a customer via APIs, the best way to do that is explained below:

  • Use the 'customer_id[<operator>]' & 'status[<operator>]' filter parameters to list the Not Paid/Payment Due invoices for a particular customer, in the List Invoices API call
  • The return will contain the total amounts of all such invoices
  • Fetch that data and add them to get the total due for the customer

Prahaladh V

Customer Success

Login or Signup to post a comment