After import of old invoices can I mark them all paid without doing it one by one

After import of old invoices can I mark them all paid without doing it one by one

I imported a couple of years of invoices. All came through fine but they all show past due. How do I mark them all paid without doing it one by one?