Include links to invoices in the Shipping Confirmation email

You can choose to include links to invoices in the Shipping Confirmation emails sent by Shopify. These email notifications are sent automatically to customers when their order is fulfilled (if you selected the option).

The online version of the invoice

The included link will redirect your customer to an online version of their invoice, where they can either download it or print it. Additionally, your customers will be able to pay their unpaid invoices online using their credit card.

Online invoices in Sufio

The online version of an invoice

To add a link to the online invoice version to the Shipping Confirmation email template:

  1. In your Shopify admin, go to the SettingsNotifications page.
  2. In the section Customer notifications, click on Shipping Confirmation.
  3. Insert the following code snippet to the Email body (HTML) field.
<div class="invoice-link">
	<a href="{{ shop.url }}/apps/sufio/invoice/?id={{ id }}&number={{ order_number }}">View invoice</a>
</div>

PDF version of the invoice

If you would rather let your customer download a PDF version of their invoice directly, use the following code snippet:

<div class="invoice-link">
	<a href="{{ shop.url }}/apps/sufio/invoice/download/?id={{ id }}&number={{ order_number }}">Download invoice</a>
</div>

Please note that the PDF version does not allow customers to pay their unpaid invoices online with their credit or debit card.