Hello @kartik.chakkarwar ,
From SDK templates, we can use mini table template for the usecase. Both Past due and Current due amount can be obtained through service nodes and the calculation of total balance done either through service node or within the javascript.
Let us know if this helps!
