<p>You can provide a link to download a PDF version of the invoice.</p>

<p>Set the path to your invoice template in the Commerce General Settings.</p>

<p>Then to provide a frontend link to download the PDF use <code>{{ order.getPdfUrl() }}</code></p>

CC BY-SA 4.0
2019-03-18T19:22:24.640Z
2019-03-18T19:22:24.640Z
foamcow
<p>In general what is the best practice to handle invoices from orders made in Craft Commerce ?</p>

CC BY-SA 4.0
2019-03-18T05:39:51.270Z
This is a very general question, could you get more specific?
Luke Holder
CC BY-SA 4.0
2019-03-18T10:11:18.067Z
If somebody purchases a product is there a way for the user to download an invoice ?
nmsdvid
<craft3><plugin-craftcommerce>
Craft commerce and invoices
# Craft commerce and invoices

(Asked by: username_0 on 2019-03-17)

In general what is the best practice to handle invoices from orders made in Craft Commerce ?

**Tags:** craft3, plugin-craftcommerce

> **Comments:**
> **username_1**: This is a very general question, could you get more specific?  
> **username_0**: If somebody purchases a product is there a way for the user to download an invoice ?  

---

## 1 answers

### Answer by username_2 on 2019-03-18. Score: 2 | Accepted answer

You can provide a link to download a PDF version of the invoice.

Set the path to your invoice template in the Commerce General Settings.

Then to provide a frontend link to download the PDF use `{{ order.getPdfUrl() }}`


---

