Customer balance not changing after doing a payment entry

Customer balance not changing after doing a payment entry but when l go to accounts receivable summary the will be an updated figure but on the receipt l print after receiving payment , its not showing the correct balance it showing total invoiced amounts instead.