Matching payments with invoices

SOLVED

I've created a payment as opposed to matching it with an invoice. So, the invoice is still showing as outstanding even tho I've had the money. What can I do nowto make it right?