The following guide will teach you how to add an image to a custom invoice template.
Note: Please check this guide to know how to create custom invoice templates.
You have to add an image tag and place the URL into it in the following way:
And then the example image will look like this in the custom invoice template (the bitten Apple image logo):