Payment value of a vendor is different for a same period in Vendor Balance and Vendor Statement in contacts

Payment value of a vendor is different for a same period in Vendor Balance and Vendor Statement in contacts

Hi All, 
         Value not matched in vendor balance and in contacts (Vendor) statement for same time period as you can see in clips. in contact statement it Shows value for previous quarter is 31617.00. And in vendor balance sheet it is 6837.00. please correct me. where is mistake.

Thanks