I'm here to help link the invoice to a project, george.
You need to manually link the invoice to a certain project you've created. Please know that any linked transactions attachments will be removed when moving an existing invoice to a project.
For unpaid invoices, here's how to add them to a project:
In the left navigation bar, go to Sales, then open the Customers tab.
Access the customer profile by clicking on their display name.
Find the invoice and open it.
Use the Customer ▼ drop-down, then select the project.