This can be done from the company menu > Settings > Global Settings. Under Template Assignments, you can select the template you want to use for each invoice type. Assign your custom invoice template to the appropriate invoice types and click Save when done. Check out the Core Help for more information on setting default invoice templates.