You can match payments to invoices manually, this will mark the invoice as paid.
To manually match invoices:

Use the Add icon to select one or multiple invoices to match.
The total amount of the selected invoice(s) must be the exact same amount as the wired transfer to be able to match.
After adding the invoice(s) you can see the total amount selected at the bottom of the modal
Remove a selected invoice using the remove icon next to the invoice.
To match the selected invoices click on