How do you show a Credit/Retainer Payment Carryforward?

How do you show a Credit/Retainer Payment Carryforward?

If Client gives me 1000 and I bill only 500 in a month, how do I show the $500 carryforward on the Invoice??