Unfortunately at this moment, we are not able to link a custom invoice to membership/registration as custom invoice
are independent, however, as a workaround you can see all invoices under Payments & Invoices section of the CRM
profile.