Square payment onsite applied to existing invoice

Square payment onsite applied to existing invoice

I delivered some product to a customer at his home and swiped his credit card (Square) for the balance of the invoice. The square transaction came into my square clearing account and deposited in my bank account automatically but it needs to be applied to the customer invoice.

The payment shows in my bank account and feed and the cash is treated properly. However I do not see any way to apply that payment to the existing invoice.