You can include a link to an invoice in the Order Confirmation emails sent by Shopify. These email notifications are sent automatically to customers after they place their orders.
The link will redirect your customer to an online version of their invoice, where they can either download it, print it, or even view other documents related to the same order. Additionally, your customers will be able to pay their unpaid invoices online with their credit card.

To add a link of the online invoice version to the Order Confirmation email template:
- In your Shopify admin, go to the Settings → Notifications → Customer notifications page.
- In the Customer processing section, click on Order Confirmation.
- Click Edit code and insert the following code snippet to the Email body (HTML) field:
- Click Save to apply the changes.
If you want the link to let your customer download a PDF version of their invoice directly, use the following code snippet:
Please note that the PDF version does not allow the customer to pay their unpaid invoices online with their credit card.Tip
Do you want to send better-looking order confirmation emails?
Sufio invoices are integrated with Spently and Klaviyo. Turn your transactional emails into marketing opportunities.