Hi
Try the below way
Go to => Outgoing Payment => select customer mention below screen shot => Select the customer you want pay the excess amount => select the specific A/R down payment and A/R Invoice => Pass the entries for difference amount.
A/R down payment and A/R down payment invoice automatically closed after passing this entry
With Regards
Balaji Sampath