You can link a credit note to an invoice directly from your Upflow platform from the detail of a credit note.
Click on the tab Invoices
Select Credit Notes
Click on the credit note you want to link and select Link to invoice
Chose the invoice you want to link your credit note to, click on the arrow where you want to apply it, and select Done