
Generate and download PDF invoices for WooCommerce orders, with customizable settings, email attachments, and bulk generation.
| Author: | Vishwas R (profile at wordpress.org) |
| WordPress version required: | 6.0 |
| WordPress version tested: | 7.1.5 |
| Plugin version: | 2.5.1 |
| Added to WordPress repository: | 30-05-2025 |
| Last updated: | 19-06-2026 |
| Rating, %: | 100 |
| Rated by: | 1 |
| Plugin URI: | |
| Total downloads: | 1 969 |
| Active installs: | 50+ |

Click to start download
|
PDF InvoiceX is a free WooCommerce PDF invoice plugin that automates your entire billing workflow. Generate, send, and manage PDF invoices, credit notes, and packing slips — all from within WooCommerce, with no monthly fees.
Whether you run a small shop or a high-volume store, PDF InvoiceX handles invoice numbering, VAT/GST compliance, bulk exports, and customer-facing downloads out of the box.
???? PDF Invoices
- Auto-generate invoices when orders reach any configured status (e.g. Processing, Completed).
- Sequential invoice numbering with prefix, suffix, and optional yearly counter reset (e.g. 2025-000001).
- Download or view invoices from the WooCommerce admin, My Account page, and the Thank You / order-received page.
- Inline PDF preview — opens in a new tab without leaving the page.
- Regenerate any invoice on demand, bypassing the cache.
- Send Invoice to Customer directly from the order edit screen — no duplicate email sends.
???? Credit Notes
- Auto-generated when an order is refunded (configurable in Advanced settings).
- Per-refund breakdown: items refunded, quantities, refund reasons, and totals.
- Available for download from the order edit screen.
???? Packing Slips
- Pricing-free shipping document for warehouse use — shows product name, SKU, variant options, and quantity.
- Ship-from and ship-to address blocks included.
- Enable via Advanced settings; appears on order edit screen and customer My Account.
???? Invoice Templates
- 4 built-in templates: Default, Modern, Classic, Colorful.
- Live preview in the settings panel before applying.
- Override-safe: template variables are injected at render time — no class coupling, easy to extend with custom templates via the
pdfinvx_templates filter.
???? Email Attachments
- Attach PDF invoices to any WooCommerce transactional email — fully configurable per email type.
- Dedicated Send Invoice to Customer button on the order edit screen.
⚡ Bulk Invoice Generation
- Select multiple orders → Generate PDF Invoices → download as a ZIP.
- Background processing via Action Scheduler — handles large order volumes without PHP timeouts.
- Synchronous fallback for sites without Action Scheduler.
???? VAT / GST & Compliance
- Display your store VAT or GST registration number on every invoice.
- Optional customer VAT / GST field at checkout, stored to order meta and printed on the invoice.
- Paper size selector: A4, Letter, or Legal.
- WooCommerce HPOS (High-Performance Order Storage) compatible.
- Fully translatable — includes a complete
.pot file with 100+ strings.
Why PDF InvoiceX?
Most WooCommerce invoice plugins charge $49–$99/year for features like credit notes, packing slips, VAT fields, or bulk exports. PDF InvoiceX provides all of these for free, with clean code that follows WordPress and WooCommerce coding standards.
- ✅ No subscription or licence fee
- ✅ HPOS compatible
- ✅ Works with WooCommerce Subscriptions
- ✅ Action Scheduler integration for large stores
- ✅ Plugin Check (PCP) compliant
License
This plugin is licensed under the GPLv2 or later. See the LICENSE file for details.
Screenshots

General Settings — Upload your logo, set store address, invoice numbering prefix/suffix, instructions heading & text, and sticky footer.

Template Selection — Choose from four built-in templates with a live preview modal.

Email Settings — Select which WooCommerce emails should include the PDF invoice attachment.

Advanced Settings — Configure VAT/GST, paper size, automation triggers, credit notes, packing slips, delivery notes, and proformas.

Order Edit Screen — Download, view in modal, send, or regenerate the invoice; download packing slips, delivery notes, and proformas.

Orders List — Invoice status column with number badge, quick view/download buttons, 1-click generate button, and bulk actions.

My Account — Customers can download or view their invoice, packing slip, and proforma.

Thank You Page — Download or view invoice immediately after checkout.
FAQ
What happened to PDF InvoiceX?
PDF InvoiceX has been rebranded as VeloX Invoices as part of the VeloX e-commerce ecosystem. All existing settings, numbering sequences, templates, and configurations continue to work seamlessly without interruption.
Why am I seeing “Failed to generate PDF”?
Check the following:
– The wp-content/uploads/pdf-invoicex/ directory must be writable by the web server.
– PHP memory limit should be at least 128 MB (mPDF recommendation).
– Enable WP_DEBUG and check wp-content/debug.log for a detailed error message.
How do I create a custom invoice template?
Copy any built-in template from the plugin’s templates/ folder to your theme folder, then register it:
`php
add_filter( ‘pdfinvx_templates’, function( $templates ) {
$templates[‘my-template’] = array(
‘name’ => __( ‘My Template’, ‘pdf-invoicex’ ),
‘image’ => get_theme_file_uri( ‘pdf-invoicex/my-template.jpg’ ),
‘description’ => __( ‘Custom invoice template.’, ‘pdf-invoicex’ ),
);
return $templates;
} );
`
Then select it under WooCommerce > VeloX Invoices > Template.
Can I attach invoices to specific WooCommerce emails?
Yes. Go to WooCommerce > VeloX Invoices > Emails and tick the emails you want the PDF attached to (e.g. Completed Order, Processing Order).
Does it support HPOS (High-Performance Order Storage)?
Yes. The plugin is fully compatible with WooCommerce HPOS (custom order tables).
Does it work with WooCommerce Subscriptions?
Yes. Invoices are automatically generated for subscription renewal orders.
How do I generate documents in bulk?
In WooCommerce > Orders, select the desired orders, choose Generate PDF Invoices, Generate Packing Slips, Generate Delivery Notes, or Generate Proforma Invoices from the Bulk Actions dropdown, and click Apply. A ZIP file containing the individually generated PDF files will be downloaded (or processed in the background via Action Scheduler for large batches).
Can I preview PDFs without leaving the orders page?
Yes. Click the 👁️ View icon or the invoice number link in the Orders list (or the view icon in the single order metabox) to open the PDF preview modal overlay. Inside the modal, you can review the document, print it with 1-click via the Print button, or download it.
How do I reset the invoice counter?
Go to WooCommerce > VeloX Invoices > Advanced, scroll to Invoice Numbering, enter the value in Reset Counter To, and click Apply Reset.
ChangeLog
2.5.1
- Fix: Embedded local media images as base64 data URIs to resolve missing logo red cross in PDF templates.
- Fix: Corrected PDF modal loader overlay positioning and iframe display across Chrome and Microsoft Edge.
- Fix: Added Windows path normalization in PDF cache handler.
- Tweak: Realigned orders table action icons and updated plugin showcase assets.
2.5.0
- New: Rebranding to VeloX – PDF Invoices, Credit Notes and Packing Slips for WooCommerce.
- New: Modern Orders List UI — status column with formatted invoice number badge, quick 👁️ View & ⬇️ Download buttons, and a 1-click on-the-fly [ ➕ Generate ] button with live cell updates.
- New: In-Page PDF Preview Modal — full-page document overlay with direct 🖨️ Print (
iframe window print) and Download controls.
- New: Proforma Invoices — quotation and pre-payment documents for pending, on-hold, or draft orders.
- New: Delivery Notes — fulfillment proof documents with shipping details, item checklist, and receiver signature acknowledgment.
- New: Expanded Multi-Document Bulk Actions — bulk generate Invoices, Packing Slips, Delivery Notes, and Proforma Invoices with Action Scheduler asynchronous ZIP download.
- New: Instructions & Sticky Footer Separation — separate settings for document body Instructions (with configurable heading) and page-bottom sticky Footer with
{year} dynamic placeholder.
- New: Custom Watermark support — configurable watermark text (e.g. PAID, DRAFT, CONFIDENTIAL) with opacity and paid-order filtering.
- New: Permanent Subtle Credit — linked
Built using VeloX credit at reduced 5.5pt font size across all templates.
- Tweak: Security Hardening — dual nonce verification supporting both AJAX actions and direct streaming URL links.
- Tweak: Compatibility — declared official compatibility with WooCommerce High-Performance Order Storage (HPOS) and Cart & Checkout Blocks.
2.1.1
- Fix: Refund Email Attachments — attach credit note PDF instead of original invoice on customer refund emails (customer_refunded_order and customer_partially_refunded_order).
- New: Attachment Routing Filters — added pdfinvx_credit_note_email_ids and pdfinvx_email_attachment_doc_type filters for custom email attachment routing.
- Tweak: WordPress Compatibility — tested and verified up to WordPress 7.1.
2.1.0
- Fix: Support custom template overrides in theme and child theme directories via locate_template().
- Fix: Enable mPDF cURL insecure SSL requests to resolve local/staging logo display issues.
- Fix: Remove missing default-logo.png fallback; gracefully display store name when no logo is set.
- Fix: Preserve logo natural aspect ratios across all templates to prevent squashed logos.
- Fix: Enable invoice, credit note, and packing slip access for refunded orders.
- New: Add pdfinvx_eligible_order_statuses filter to allow custom order statuses for document generation.
2.0.0
- New: Credit note document type — auto-generated on refund, with per-refund item breakdown.
- New: Packing slip document type — warehouse-friendly, no pricing, with ship-from/to address blocks.
- New: Advanced settings tab — VAT/GST number, paper size (A4/Letter/Legal), document type toggles, automation triggers, and yearly counter reset.
- New: Store VAT / GST registration number displayed on all invoices.
- New: Optional customer VAT / GST field at WooCommerce checkout.
- New: Automatic invoice generation on configurable order status change.
- New: “Send Invoice to Customer” button on order edit screen (prevents duplicate sends).
- New: “Regenerate Invoice” button on order edit screen (bypasses cache).
- New: Invoice status column on orders list — shows invoice number or a generate shortcut (classic WP_Query + HPOS).
- New: Inline PDF viewer — “View Invoice” opens in a new tab from admin, My Account, and Thank You page.
- New: Thank You / order-received page shows Download and View Invoice buttons.
- New: Packing slip and credit note download buttons on My Account order detail.
- New: Background bulk generation via Action Scheduler — no PHP timeouts on large stores.
- New: Synchronous ZIP fallback when Action Scheduler is unavailable.
- New: File-based PDF cache in
uploads/pdf-invoicex/ with cache invalidation on order update.
- New: WooCommerce Subscriptions support — invoice generated for renewal orders.
- New: Yearly invoice counter reset with year-prefixed numbering (e.g. 2025-000001).
- New: One-time next-invoice-number override (clears after first use).
- New: Complete
.pot translation catalog (100+ strings).
- Fix: Double email attachment caused by duplicate hook registration.
- Fix: Multi-item orders clipped at page break — mPDF autoPageBreak now enabled.
- Fix: Templates coupled to class via
$this-> — now use injected variables, safe to override.
- Fix: Temporary PDF files leaked after email attachment.
- Fix:
getimagesize() fatal on remote logo URLs — replaced with HTML onerror fallback.
- Fix: Invoice date used current time instead of actual payment/completion date.
- Fix: Generic
order_id query variable conflicted with other plugins — renamed to pdfinvx_order_id.
1.0.0
- Initial release: PDF invoice generation, admin and frontend downloads, email attachments, bulk ZIP, and template settings.