# easy-invoice/2.4.1/templates/pdf/invoice.php

Easy Invoice – Invoice Generator, PDF Quotes &amp; Payments, version 2.4.1. 22 lines.

- Page: https://pluginprobe.com/plugins/easy-invoice/2.4.1/code/templates/pdf/invoice.php
- Raw: https://pluginprobe.com/plugins/easy-invoice/2.4.1/raw/templates/pdf/invoice.php
- Modified: 2026-09-15T12:31:20+00:00

Line numbers below start at 1. Link to a line or a range by appending a fragment to the
page URL, for example `https://pluginprobe.com/plugins/easy-invoice/2.4.1/code/templates/pdf/invoice.php#L10-L20`.

```php
<?php
/**
 * Invoice layout for server-side PDF rendering.
 *
 * The layout itself lives in document.php, which renders both invoices and
 * quotes — they differ by four labels and one date, and keeping them as two
 * copies of the same 260 lines is how the on-screen templates ended up with
 * fixes applied to one and not the other.
 *
 * Override with the `easy_invoice_pdf_template_path` filter.
 *
 * @package Easy_Invoice
 */

if ( ! defined( 'ABSPATH' ) ) {
    exit;
}

$ei_pdf_type = 'invoice';

require __DIR__ . '/document.php';

```
