Clear unapplied receipt payments from system

SOLVED

Hi everyone,

There has been some instances were receipts were made and applied to invoices in the AR, but some of the balance has remained unapplied. These are on the trial balance as a PY document, and I am unsure how to clear them.

Any help is much appreciated!