# Include links to invoices in Yotpo email

> Learn how to add invoice links to Yotpo emails so customers can view, download, print, or pay their invoices directly from your email campaigns.

Many Shopify merchants use [**Yotpo Email Marketing \& SMS**](<https://apps.shopify.com/yotpo-email-marketing-and-sms>) to send marketing campaigns and automated emails to their customers.

**Sufio** automatically creates invoices for your Shopify orders. By adding invoice links to your Yotpo emails, customers can easily access their invoices whenever they need them.

Adding invoice links to Yotpo emails is simple with Yotpo's drag-and-drop email editor.

## The online version of the invoice

When customers click the link, they'll be taken to the online version of their invoice. From there, they can:

- download a PDF copy
- print the invoice
- view other documents related to the same order
- pay unpaid invoices online with a credit card, if you [accept card payments](<https://sufio.com/articles/shopify/accept-payments/credit-card/>)

Before you begin, make sure both **Sufio** and **Yotpo** are installed on your Shopify store.

To add an invoice link to your Yotpo email:

1. In your Yotpo account, open the email editor and open the email template to which you want to add the link to the Sufio invoice.
2. Copy and paste the following code snippet:

```html
[StoreURL]/apps/sufio/invoice/?id=[OrderID]&email=[CustomerEmail]
```

3. Replace the `[StoreURL]`, `[OrderID]` and `[CustomerEmail]` in the snippet with the respective **Store URL**, **Order ID**, and **Customer email** personalization tags.
4. Click **Save \& Close** to apply the changes.

A link to the invoice will be included on emails sent by Yotpo.

## PDF version of the invoice

You can also let customers download the invoice as a PDF right away by using the following URL.

```html
[StoreURL]/apps/sufio/invoice/download/?id=[OrderID]&email=[CustomerEmail]
```

Please note that customers cannot pay unpaid invoices online when using the PDF version of the invoice.

> **See also**
>
> Learn how to add invoice links to the [Customer account page](<https://sufio.com/articles/shopify/include-links-invoices/customer-account-page/>) or the [Thank you page](<https://sufio.com/articles/shopify/include-links-invoices/thank-you-page/>).
