xpay✦ Commerce
Directory
WooCommerce plugins
PDF Invoice for Woocommerce
PDF Invoice for Woocommerce
Automatically generate professional PDF invoices and packing slips for WooCommerce orders and attach them to order emails.
5.0
(1 ratings)Will this break my store?
What the WordPress.org registry says about keeping PDF Invoice for Woocommerce running.
Tested to 7.1.3
Tested against the WordPress branch in use today.2 months ago
At least 1.9 releases a year since launch. WordPress.org only lists versions still available for download, so the real number may be higher.7.4
Your host must be running at least this version.6.5
woocommerce
These must be installed and active first.2
Maintenance & trust
Scored on how PDF Invoice for Woocommerce is looked after — not on how many stores run it.
Maintenance
35 / 35WordPress compatibility
20 / 20Support responsiveness
Not enough dataMerchant satisfaction
10 / 15Listing transparency
10 / 10Ratings
5.0
1 ratingPDF Invoice for WooCommerce creates a clean, professional PDF invoice for every order and attaches it to the WooCommerce emails you choose. Customers can download their invoice from their account, and you can download invoices and packing slips straight from the Orders screen.
Each invoice shows your logo and company details, the customer’s billing details and VAT number, every purchased item with its SKU and options, taxes, shipping, the totals and the amount due.
Invoices
- Automatic – an invoice is generated when an order reaches the statuses you choose (for example Processing or Completed).
- Paid invoices – orders in the statuses you mark as paid show a green PAID badge and an amount due of zero.
- Email attachments – attach the invoice to any WooCommerce order email: New order, Processing order, Completed order, Order details and more.
- Sequential invoice numbers – optional, with your own starting number. A number is never issued twice, even when many orders change status at the same time.
- VAT number – an optional VAT Number field for the classic checkout and the Checkout block, printed on the invoice, the packing slip and the admin order screen.
- Complete order details – item SKUs, variation attributes and add-ons, taxes, shipping, payment method and totals, with “Page X of Y” on every page.
- Your branding – logo (PNG, JPG or SVG), company name, address, email, phone, a footer note and copyright text.
- Any language – non-Latin text (for example Cyrillic and Greek) and currency symbols print correctly with the bundled DejaVu Sans font.
Packing slips
- Printable packing slips with the items, quantities and options, the billing and shipping address, the shipping method and the payment method – no prices.
- The packing slip button in the Orders list can be switched off in the settings.
For customers
- “Download Invoice” button on the order received and view order pages, and an “Invoice” action in My Account > Orders.
- Guests can download their invoice with the secure order link.
- Invoices are only offered for orders that reached an invoice status, so no invoice is created for pending, failed or cancelled orders.
For store owners
- Download invoices and packing slips from the WooCommerce Orders list.
- “Preview Template” in the settings shows a sample invoice with your company details.
- Override the invoice and packing slip templates in your theme (
yourtheme/invoice-for-wc/template-1.phpandpacking-slip.php).
Compatibility
- High-Performance Order Storage (HPOS) and the Cart and Checkout blocks.
- Translation ready.
Privacy and security
- Generated PDFs are stored with an unguessable file name in a protected folder (
uploads/wphub-invoice) and are only delivered through permission-checked download links. - PDFs are a cache: files older than 7 days are removed automatically and re-created from the current order when needed.
- Customer data is escaped before it goes into the PDF, and scripts in documents are disabled.
- No tracking and no external services – PDFs are created on your own server with the bundled Dompdf library.
For developers
Filters: wphub_invoice_placeholders, wphub_invoice_number, wphub_invoice_paper_size, wphub_invoice_date_format, wphub_invoice_page_number_text, wphub_invoice_customer_can_download, wphub_invoice_dompdf_options, wphub_invoice_cleanup_days and wphub_invoice_settings. Actions: wphub_before_pdf_invoice and wphub_after_pdf_invoice.
When an order reaches one of the statuses selected under “Generate Invoice” (Processing by default), and whenever the invoice is attached to an email or downloaded. It always reflects the current order.
Any WooCommerce email that belongs to an order. Choose them under “Attach to Emails” (New order, Processing order, Completed order and Order details are selected by default).
Enable “Sequential Invoice Numbers” and set the starting number. The first invoice gets exactly that number and each new invoice the next one. Raising the starting number later continues from the new number; lowering it never re-uses a number. When the option is off, the WooCommerce order ID is used.
Upload it under Media > Library, copy its file URL and paste it into “Company Logo”. PNG, JPG and SVG work; the image is embedded in the PDF.
Yes, from the order received page, the view order page and the My Account > Orders list, once the order has reached an invoice status. Guests use the secure link of their order.
Yes. Copy templates/template-1.php or templates/packing-slip.php from the plugin to yourtheme/invoice-for-wc/ and edit the copy. Available placeholders include {invoice_number}, {invoice_date}, {invoice_status}, {amount_due}, {billing_address}, {billing_address_only}, {billing_vat_number}, {shipping_address}, {your_company_name} and {current_year}.
Yes, with the wphub_invoice_paper_size filter, for example add_filter( 'wphub_invoice_paper_size', function () { return 'letter'; } );.
Yes. The VAT Number field is added to the Checkout block’s Contact information step and to the classic checkout.
In wp-content/uploads/wphub-invoice/, with unguessable file names. They are removed automatically after 7 days and re-created when needed, so deleting them is safe.
Please open a topic in the support forum.
Categories
Plugin details
Tags on WordPress.org
