---
title: "Pdf Invoices"
description: "The PDF Invoice App turns your invoice into a PDF in both the email that is sent to the customer and on the Frontend and/or Backend of the site."
url: "https://docs.j2commerce.com/apps/pdf-invoices"
markdown_url: "https://docs.j2commerce.com/apps/pdf-invoices.md"
last_updated: "2026-10-23T02:33:38+00:00"
version: "J2Store 4"
breadcrumbs:
  - title: "Home"
    url: "https://docs.j2commerce.com/"
  - title: "Apps"
    url: "https://docs.j2commerce.com/apps"
  - title: "Pdf Invoices"
    url: "https://docs.j2commerce.com/apps/pdf-invoices"
---

# Pdf Invoices

The PDF Invoice App turns your invoice into a PDF in both the email that is sent to the customer and on the Frontend and/or Backend of the site. Your European customers may need the pdf version of the invoice for their records.

## Requirements

- PHP 8.1.0 +
- Joomla! 4.x/ Joomla! 5.x +
- J2Commerce / J2Store 4.x +

## Purchase the App

**Step 1:** Go to our [J2Commerce website](https://www.j2commerce.com/extensions) > Extensions > Apps

**Step 2:** Locate the PDF Invoices App > click View Details > Add to cart > Checkout.

**Step 3:** Go to your My Downloads under your profile button at the top right corner and search for the app. Click Available Versions > View Files > Download Now

## Install the App

Use the Joomla! installer to install the app. Go to System > Install > Extensions > install the app.

![Joomla System Dashboard with System in the sidebar and the Extensions link under Install highlighted](https://docs.j2commerce.com/images/docs/shared/ask-installer-1.webp)

NOTE: When you install the main app, you will receive a message "Click to download the DOMPDF Library". Click on the link > Save it > Install it in the same location as the step above. Once the DOMPDF has been installed, you can now install the main app. If you don't install the DOMPDF then the main app won't work.

![Notice reading that the app requires the DOMPDF library, with a link to download the DOMPDF library](https://docs.j2commerce.com/images/docs/shared/dompdf.webp)

## Enable the App

![J2Commerce All Apps list searched for "pdf", with Apps menu, search box and the enabled status check for PDF Invoices highlighted](https://docs.j2commerce.com/images/docs/shared/pdf-enable.webp)

Go to J2Commerce > Apps > search for the PDF Invoices app.

Click on the 'X' under Status to enable it.

Click on "Open App" or the Title to start setting up the app.

## Setting up the App

![PDF Invoices app, Basic Settings tab highlighted: File Name Prefix invoice, Send PDF Invoice for Status Confirmed, Attach Invoice To both parties, Show Link in Frontend Yes](https://docs.j2commerce.com/images/docs/shared/pdf-settings.webp)

**File Name Prefix:** The value provided will be used as the file name prefix. Example: Invoice.

**Send PDF Invoice for Status:** The PDF will be attached and sent only when the status of the order is among the chosen values here. In the example above, the PDF Invoice will only appear after the order has been paid and "Confirmed".

**Additional Files:** You can send more files along with the PDF Invoice. First, upload additional PDF files to the `media/j2store` folder and choose the files here.

**Attach Invoice To:** You can select to whom you want to attach the invoice with the email.

**Enable Tidy Repair:** Set 'Yes' if you want to clean and fix malformed HTML strings via the Tidy PHP extension (`ext-tidy` must be installed and enabled on the server.

**Enable HTML5 Parser:** Set 'Yes' to check the integrity of the HTML code. The parser is a tool that checks that the underlying HTML code is correct. For instance, there is no missing \</p> tag after a \<p> tag

**Font Family CSS:** To enter the CSS font family property, add: `font-family: Helvetica;`Press F10 to toggle Full Screen editing.

**Custom CSS:** Add any custom CSS rules to further customize the appearance of the PDF invoice. Example: `table { border-color: #000; }`

**Show Link in Frontend:** Set 'yes' if you want the customer to be able to download the PDF invoice in the order history page of their profile

## Frontend View of Orders

The image below shows an example of how the download button will appear on the frontend if you set the "Show Link In Frontend" to Yes.

![Storefront My Profile Orders tab with the order row Actions icons (view, print, download PDF) highlighted for a Confirmed order](https://docs.j2commerce.com/images/docs/shared/pdf-download-frontend1.webp)

## Backend View of Orders

![Admin order view with a PDF Invoice header and Download button highlighted above the Status dropdown set to Confirmed](https://docs.j2commerce.com/images/docs/shared/pdf-download-backened.webp)

The PDF invoice link, in the backend, always shows, even if the status of the order is different from the order status that has been selected in the plugin. The status of the order is only relevant for the invoices on the frontend and the mailing of the invoice.
