BACK TO DIRECTORY

PDF Invoice for Woocommerce

by WpExperts Hub

5.0
(1 ratings)

PDF 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.php and packing-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.

Screenshots

The "Download Invoice" button on the order received page.

The "Download Invoice" button on the order received page.

Invoice and packing slip buttons in the WooCommerce Orders list.

Invoice and packing slip buttons in the WooCommerce Orders list.

The settings under WooCommerce > Settings > PDF Invoice.

The settings under WooCommerce > Settings > PDF Invoice.

Plugin Details

Active Installs
20
Total Downloads
3,084
Version
1.6
Requires WP
6.5
Requires PHP
7.4
Tested Up To
7.1.4
Added
2022-08-10
Last Updated
2026-09-29 2:53am GMT

Ratings

5
1
4
0
3
0
2
0
1
0