Allocating payments from old invoices

Ok, great.

What you would need to do is adjust your opening balances and create a dummy invoice for the outstanding amount.

This topic may help: Where to assign payments for invoices from previous system?