Values Not Matching In Customer Account Statement Report

Hi All,

The balance amount and total due amount is different if we select any service type, but the if the type is in ‘‘All’’ the report values are fine, I want to know the query from which the balance amount actually generated and the class where the query is used.

Thanks in Advance…