Please follow the below mentioned steps to select the project while creating the sales invoice
Step 1: Click on Invoices under Sales and click on +Create Invoice.
Step 2 - Select the project as per your requirementand Enter the necessary details while creating invoice and click on Save.