# Generating invoices in OpenCart

> Install the Easy PDF Invoice extension in OpenCart to create printable PDF invoices and email them to customers.

Source: https://helpcenter.ruachost.com/apps/opencart/generating-invoices-in-opencart/

By default, OpenCart only saves invoices in plain HTML format. On **ruachost.com**, you can generate properly formatted PDF invoices by installing the **Easy PDF Invoice extension**.

## Why Generate PDF Invoices?

- Provide customers with professional, printable invoices.
- Send invoices via email directly from the OpenCart dashboard.
- Maintain consistent records for accounting and compliance.

## Steps to Generate PDF Invoices in OpenCart

### Step 1: Install the Easy PDF Invoice Extension

1. Create an account at OpenCart Marketplace.
2. Search for **Easy PDF Invoice**.
3. Download the extension package to your computer.

### Step 2: Upload and Install the Extension

1. Log in to OpenCart Administrator.
2. On the dashboard, in the left sidebar, click **Extensions → Installer**.
3. Upload the Easy PDF Invoice extension file.
4. Wait for the installation to complete.

### Step 3: Activate the Extension

1. In the left sidebar, click **Extensions → Extensions**.
2. From the dropdown, select **Modules**.
3. Locate **Easy PDF Invoice** in the list.
4. Click **Install**.

### Step 4: Clear Modification Cache

1. In the left sidebar, click **Extensions → Modifications**.
2. Click the **Refresh** button to clear the cache.
3. This ensures the extension is fully activated.

### Step 5: Generate PDF Invoices

1. Go to **Sales → Orders** in the dashboard.
2. Select an order and click **View**.
3. Click **Print Invoice**.
4. The invoice will now be generated in PDF format.
5. You can download or email the invoice to the customer.

> **Important Notes:**
- Always back up your site before installing new extensions.
- Clear OpenCart cache after enabling the extension.
- Test invoice generation with a sample order before using in production.
- The extension may support customization (logo, layout, tax details).
