There are 2 ways to link a task to an invoice;
- Open your draft invoice or create a new invoice
- Click on the link button next to tasks in the side panel on the right
- Select a task
- Click Create Link
- Go to a task and in the invoices section click on Link Task with Existing Invoice
- In the popup select an invoice
- Click Create Link