Include links to invoices in POS receipt email

You can append a link to an invoice in the POS receipt email sent by Shopify. POS and mobile receipt email is sent to the customer after they complete an in-person order and want to be emailed a receipt.

The online version of the invoice

You add a link to an online version of the invoice that will redirect your customers to preview their invoice online with the possibility to download it, print it, or even view other documents related to the same order. 

The online version of the invoice

The online version of an invoice

To add an online invoice version link to the POS receipt email template:

  1. In your Shopify admin, go to the SettingsNotificationsCustomer notifications page.
  2. In the Point of Sale section, click on POS and mobile receipt.
  3. Click Edit code and 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>
  1. Click Save to apply the changes.

PDF version of the invoice

In case you want your customer to 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>