Tracking Payments by Customer / Estimate

Tracking Payments by Customer / Estimate

Is there a way to track the payments by customer / estimate?

And can I add this information on an invoice as previous payments to be deducted from the invoice amount due?