WordPress Plugins for Creators and Online Stores

PDF Invoice & Packing Slip – User Manual

Welcome to PDF Invoice and Packing Slip for WooCommerce! This guide walks you through installing, setting up, and using the plugin to automatically create, customize, email, and bulk download PDF invoices, proforma invoices, packing slips, delivery notes, shipping labels, and UBL 2.1 e-invoices for your WooCommerce store.


Requirements and Installation

Requirements

  • WordPress: 4.8 or newer (tested up to 7.1)
  • WooCommerce: 4.5 or newer (active before activating this plugin; tested up to 11.3.1, including High-Performance Order Storage)
  • PHP: 7.4 or newer
  1. Log in to your WordPress dashboard (WP Admin).
  2. Go to WP Admin > Plugins > Add New.
  3. In the search box, type PDF Invoice and Packing Slip for WooCommerce.
  4. Locate PDF Invoice and Packing Slip for WooCommerce by WPWing and click Install Now.
  5. Once installed, click Activate.
  6. You will be automatically taken to the PDF Invoice Setup Wizard.

Installing Manually from a ZIP File

  1. Log in to WP Admin.
  2. Go to WP Admin > Plugins > Add New > Upload Plugin.
  3. Click Choose File, select the plugin .zip file, and click Install Now.
  4. Click Activate Plugin.

First-Time Setup Checklist

Use this quick checklist right after activating the plugin:

  • ☐ Complete the PDF Invoice Setup Wizard (or click Skip setup if you prefer to configure everything manually).
  • ☐ Add your Company name, Company logo, and store address under WP Admin > WPWing > Invoice Settings > Template.
  • ☐ Choose your Paper size (A4 or Letter) and Invoice number format under WP Admin > WPWing > Invoice Settings > General.
  • ☐ Select which order statuses should automatically generate documents (for example, Processing or Completed).
  • ☐ Choose which WooCommerce emails should automatically include the PDF invoice (for example, Processing Order or Completed Order).
  • ☐ Click Preview Invoice on the Template tab to check how your invoice looks using your most recent order.
  • ☐ Open WP Admin > WPWing > Invoice Settings > System Status and confirm that both the Document save folder and Font cache folder show Writable.

Task-Based How-To Guides

1. Run or Re-launch the Setup Wizard

The Setup Wizard opens automatically the first time you activate the plugin and walks you through five quick steps: Shop Info, Logo, Paper Size, Auto-generate, and Email Attachment, followed by a Finish screen.

PDF Invoice Setup Wizard showing the Shop Info step
PDF Invoice Setup Wizard showing the Shop Info step

To re-launch the wizard at any time:

  1. Go to WP Admin > WPWing > Invoice Settings.
  2. Click the Re-launch Setup Wizard link near the top of the page.
  3. Fill in your store details on each step and click Save & Continue (or click Skip this step to move forward without changing that step).
  4. On the Finish step, click Go to Settings to fine-tune any additional options.

Tip: When you enter a company name, address, or logo in the Setup Wizard, the matching "Show on invoice" checkboxes are automatically enabled for you.


2. Configure Invoice Numbering, Payment Terms, and Automation

To set up sequential numbering, automatic PDF creation, email attachments, and file retention:

  1. Go to WP Admin > WPWing > Invoice Settings > General.
  2. Set Next invoice number to the starting number you want for your next invoice.
  3. Customize Invoice number format using any combination of text and tokens:
  • {number} – sequential invoice number
  • {year} – 4-digit year (for example, 2026)
  • {month} – 2-digit month (for example, 05)
  • {day} – 2-digit day (for example, 14)
  • Example: INV-{number}/{year}{month} produces INV-1/202605.
  1. (Optional) Check Reset invoice number yearly to automatically restart numbering at 1 on January 1st each year.
  2. (Optional) Enter a number of days in Payment due within (days) to display a payment due date on invoices and proforma invoices. Leave as 0 to hide the due date.
  3. Under Auto-generate invoice on status (and the matching checkboxes for packing slips, delivery notes, shipping labels, and proforma invoices), check the WooCommerce order statuses that should automatically create each document.
  4. Under Attach invoice PDF to emails, Attach proforma PDF to emails, or Attach UBL 2.1 XML to emails, check the customer emails that should include those files as attachments.
  5. Click Save Changes.
General settings tab showing invoice numbering, date format, and payment due date options
General settings tab showing invoice numbering, date format, and payment due date options

Tip: Use the Search settings… box above the tabs to instantly filter settings by keyword across any tab.


3. Customize Templates, Company Branding, Product Details, and Live Preview

To customize the look and content of your PDF documents and preview changes before saving:

  1. Go to WP Admin > WPWing > Invoice Settings > Template.
  2. Choose Default or Modern for each document type:
  • Invoice template
  • Packing slip template
  • Delivery note template
  • Shipping label template
  • Proforma invoice template
  1. Enable the branding checkboxes you want to display and fill in the matching fields:
  • Check Show company name on invoice and enter Company name.
  • Check Show company logo on invoice, then click Upload Logo to pick an image from your Media Library (recommended maximum size: 300 x 150 pixels).
  • Check Show company details on invoice and enter your Street address, City, ZIP / Postcode, Country, Phone, Company email, and VAT / Tax ID.
  1. To show product details in item tables across all documents:
  • Check Show product image and pick a Product image dimension (32 x 32 px, 48 x 48 px, or 64 x 64 px).
  • Check Show product SKU and/or Show product weight.
  1. To add a scannable QR code:
  • Check Show QR code on invoice and pick Order view URL or Custom text (supports {order_number} and {invoice_number}).
  • Check Show QR code on shipping label to add an order QR code to shipping labels.
  1. Click Preview Invoice to load a live preview of your changes in the side panel on the right (this uses your most recent order and reflects unsaved form changes).
  2. When you are happy with the preview, click Save Changes.
Template settings tab with the live interactive Invoice Preview panel open on the right
Template settings tab with the live interactive Invoice Preview panel open on the right

4. Create, Preview, Download, or Delete Documents on a Single Order

Every WooCommerce order edit screen includes a PDF Invoice by WPWing panel in the sidebar where you can manage all five document types plus UBL 2.1 XML e-invoices.

  1. Go to WP Admin > WooCommerce > Orders and click any order to open it.
  2. Locate the PDF Invoice by WPWing box on the right side of the screen.
  3. For any document (Invoice, Proforma, Packing Slip, Delivery Note, or Shipping Label):
  • Click Create to generate and save the PDF.
  • Once created, click View to download or open the PDF (depending on your PDF invoice button behaviour setting).
  • Click Preview to inspect the document layout in your browser as HTML.
  • On Invoice, click UBL XML to download the structured EN 16931 / Peppol UBL 2.1 XML e-invoice file.
  • Click Delete (and confirm the prompt) to remove a generated document from the order.
WooCommerce order edit screen showing the PDF Invoice by WPWing sidebar metabox
WooCommerce order edit screen showing the PDF Invoice by WPWing sidebar metabox

What Each Document Looks Like

  • PDF Invoice – Full tax invoice with company branding, billing/shipping addresses, invoice number, item table, totals, and optional QR code:
PDF Invoice document preview
PDF Invoice document preview
  • Proforma Invoice – Pre-payment invoice with a prominent PROFORMA INVOICE banner and PRO- reference number (does not consume your sequential tax invoice number):
Proforma Invoice document preview
Proforma Invoice document preview
  • Packing Slip – Price-free warehouse picking list showing products, thumbnails, SKUs, weights, and quantities:
Packing Slip document preview
Packing Slip document preview
  • Delivery Note – Price-free parcel insert addressed to the recipient's shipping address with optional customer order notes:
Delivery Note document preview
Delivery Note document preview
  • Shipping Label – Print-ready shipping card highlighting the DELIVER TO address, total order weight, shipping method, and optional QR code:
Shipping Label document preview
Shipping Label document preview

5. Bulk Generate or Download Documents and Search by Invoice Number

From the main WooCommerce Orders list, you can check invoice numbers at a glance, search orders by invoice number, and generate or download documents in bulk.

  1. Go to WP Admin > WooCommerce > Orders.
  2. In the Invoice column:
  • Orders with an invoice show the clickable invoice number to view or download the PDF.
  • Orders without an invoice show a + icon to create the invoice in one click.
  1. To find an order by invoice number, type the invoice number into the Search orders box at the top right and click Search orders.
  2. To run a bulk action:
  • Check the boxes next to the orders you want to process.
  • Open the Bulk actions dropdown and choose an action (for example, Generate Invoices, Download Invoices (ZIP), Download Invoices (Merged PDF), Download Packing Slips (Merged PDF), Download Shipping Labels (ZIP), or Download Invoices (UBL 2.1 XML ZIP)).
  • Click Apply.
WooCommerce Orders list showing the Invoice column and Bulk Actions dropdown
WooCommerce Orders list showing the Invoice column and Bulk Actions dropdown

Note: Any missing documents are automatically generated when you run a bulk download. To prevent server timeouts on shared hosting, Merged PDF downloads process up to 30 orders per batch and ZIP downloads process up to 50 orders per batch.


6. Let Customers Download Their Invoices

Customers can download their invoices in two ways:

  1. My Account > Orders (Automatic): Whenever an order has an invoice (or a proforma invoice if no final invoice exists yet), an Invoice (or Proforma) button appears automatically in the Actions column of the customer's My Account > Orders table.
Customer My Account Orders page showing the Invoice download button
Customer My Account Orders page showing the Invoice download button
  1. Anywhere on Your Site ([wpwing_invoice] Shortcode):
  • Add [wpwing_invoice] to your Thank You (Order Received) page or My Account order details page using a Shortcode block. It automatically detects the current order, including guest orders on the Thank You page.
  • To customize the link text, use [wpwing_invoice label="Download Your Invoice"].
  • To link to a specific order on another page, use [wpwing_invoice order_id="123"].

7. Check System Status and Copy Support Information

To check your server environment, folder permissions, and PDF storage usage:

  1. Go to WP Admin > WPWing > Invoice Settings > System Status.
  2. Review the System Information table for Plugin, WordPress, PHP, WooCommerce, and Dompdf versions, writable folder badges, storage usage, and active document types.
  3. If you ever contact support, click Copy system info to copy a clean plain-text summary to your clipboard.
System Status tab showing versions, writable folder status, and storage diagnostics
System Status tab showing versions, writable folder status, and storage diagnostics

Settings Reference Table

General Tab (WP Admin > WPWing > Invoice Settings > General)

Setting LabelDefault ValueWhat It Does
Next invoice number(empty – starts at 1)Sets the sequential number that will be assigned to the next invoice created.
Invoice number format{number}Controls how invoice numbers are formatted using tokens: {number}, {year}, {month}, and {day}.
Invoice date format(empty – uses d/m/Y)Sets the date format shown on generated documents (standard WordPress/PHP date format such as d/m/Y or Y-m-d).
Payment due within (days)0Number of days after the order creation date until payment is due. Set to 0 or leave empty to hide the due date.
Reset invoice number yearlyUnchecked (No)Automatically resets the invoice counter back to 1 at the start of each calendar year.
PDF invoice button behaviourDownload PDFChoose whether clicking View downloads the PDF file directly (Download PDF) or opens it in a browser tab (Open PDF on Browser).
Paper sizeA4Sets the page size for all generated PDFs (A4 or Letter).
PDF filename format(empty – default names)Customizes filenames for newly generated PDFs using {{doc_type}}, {{order_number}}, and {{invoice_date}}.
PDF storage retentionNever (retain indefinitely)Automatically deletes saved PDF and XML files older than 30, 60, 90, 180, or 365 days via a daily background task.
Disable invoice for free ordersUnchecked (No)Skips invoice generation and invoice/UBL email attachments for orders with a $0.00 total.
Auto-generate invoice on statusNone selectedAutomatically creates an invoice (once per order) when an order changes to any checked status.
Auto-generate packing slip on statusNone selectedAutomatically creates a packing slip when an order changes to any checked status.
Auto-generate delivery note on statusNone selectedAutomatically creates a delivery note when an order changes to any checked status.
Auto-generate shipping label on statusNone selectedAutomatically creates a shipping label when an order changes to any checked status.
Auto-generate proforma invoice on statusPending payment, On holdAutomatically creates a proforma invoice when an order changes to any checked status.
Attach invoice PDF to emailsNone selectedAttaches the invoice PDF to selected WooCommerce emails (Processing Order, Completed Order, Customer Invoice / Order Details, Order On-Hold). Creates the invoice first if needed.
Attach proforma PDF to emailsNone selectedAttaches the proforma invoice PDF to selected WooCommerce emails. Creates the proforma first if needed.
Attach UBL 2.1 XML to emailsNone selectedAttaches the UBL 2.1 e-invoice XML file to selected WooCommerce emails alongside the invoice PDF.

Template Tab (WP Admin > WPWing > Invoice Settings > Template)

Setting LabelDefault ValueWhat It Does
Invoice templateDefaultSelects the visual layout (Default or Modern) for PDF invoices.
Packing slip templateDefaultSelects the visual layout (Default or Modern) for packing slips.
Delivery note templateDefaultSelects the visual layout (Default or Modern) for delivery notes.
Show customer order note on delivery noteUnchecked (No)Displays the note entered by the customer at checkout on delivery notes.
Shipping label templateDefaultSelects the visual layout (Default or Modern) for shipping labels.
Proforma invoice templateDefaultSelects the visual layout (Default or Modern) for proforma invoices.
Show QR code on shipping labelUnchecked (No)Prints a scannable QR code linking back to the order view page on shipping labels.
Preview invoice(Action button)Opens the live interactive preview panel using your most recent WooCommerce order.
Show QR code on invoiceUnchecked (No)Displays a scannable QR code beside the totals summary on invoices.
QR code contentOrder view URLChoose whether the invoice QR code encodes the customer's Order view URL or Custom text.
QR custom text(empty)Text encoded in the invoice QR code when Custom text is selected. Supports {order_number} and {invoice_number}.
Show company name on invoiceUnchecked (No)Displays your company name in the document header.
Company name(empty)Your store or business name printed in the header (and used as the seller name in UBL XML).
Show company logo on invoiceUnchecked (No)Displays your company logo in the top-right corner of documents.
Company logo(empty)Logo image URL or uploaded image from your Media Library via Upload Logo.
Show company details on invoiceUnchecked (No)Displays your business address, phone, email, and VAT/Tax ID in the document header.
Street address(empty)Your company street address.
City(empty)Your company city.
ZIP / Postcode(empty)Your company postal/ZIP code.
Country(empty)Your company country.
Phone(empty)Your company contact phone number (prefixed with Tel: on PDFs).
Company email(empty)Your company contact email address (prefixed with Email: on PDFs).
VAT / Tax ID(empty)Your business VAT or tax registration number (prefixed with VAT: on PDFs and included in UBL XML).
Company registration / Trade register number(empty)Commercial register number (CRN / SIREN / HRB) included in UBL 2.1 e-invoices.
Tax scheme codeVATTax scheme identifier included in UBL 2.1 e-invoices.
Show notes on invoiceUnchecked (No)Displays a custom notes box above the footer on documents.
Your notes(empty)Text shown inside the Notes box (for example, bank details or return instructions).
Show footer on invoiceUnchecked (No)Displays a centered footer line at the bottom of documents.
Footer text(empty)Text shown in the document footer.
Show shipping address on invoiceUnchecked (No)Prints a Ship To address below the billing address on invoices and proforma invoices.
Show product imageUnchecked (No)Adds an Image column with product thumbnails to item tables across all document types.
Product image dimension32 x 32 pxSets the thumbnail size (32 x 32 px, 48 x 48 px, or 64 x 64 px) when Show product image is enabled.
Show product SKUUnchecked (No)Adds an SKU column to item tables across all document types.
Show product weightUnchecked (No)Adds a Weight column (using your WooCommerce weight unit) to item tables across all document types.
Show customer order note on invoiceUnchecked (No)Displays the customer's checkout note below the totals on invoices.
Show tax breakdown in totalsChecked (Yes)Shows each WooCommerce tax rate on its own line in invoice totals; uncheck to combine all taxes into a single Tax line.
Custom CSS(empty)Optional CSS styling rules applied after the template stylesheet on all five document types.

System Status Tab (WP Admin > WPWing > Invoice Settings > System Status)

This tab is read-only and displays: Plugin version, WordPress version, PHP version, WooCommerce version, Dompdf version, Document save folder (with writable check), Font cache folder (with writable and ready status), Storage usage & retention, Active document types, and the Copy system info button.


Common Troubleshooting and FAQs

1. My company logo or address is not appearing on generated PDFs

Make sure you have checked the matching visibility box on WP Admin > WPWing > Invoice Settings > Template (Show company name on invoice, Show company logo on invoice, or Show company details on invoice) and clicked Save Changes. Existing PDFs are saved on disk when first created – to see your updated branding on an older order, click Delete in the order's PDF Invoice by WPWing box and then click Create again.

2. Why did my currency symbol appear as a blank box on an invoice?

The plugin bundles a dedicated currency font to render international symbols (including ৳, ₹, ฿, ₱, ₾, and more). If symbols render as boxes, go to WP Admin > WPWing > Invoice Settings > System Status and check that Font cache folder shows Writable and Ready. If it shows Not writable, update the permissions on your wp-content/uploads/ directory so WordPress can write to it.

3. Customers are not receiving PDF invoices in their order emails

Check two places under WP Admin > WPWing > Invoice Settings > General:

  • Under Attach invoice PDF to emails, confirm that the WooCommerce email you expect (for example, Processing Order or Completed Order) is checked and saved.
  • If the test order had a $0.00 total, check whether Disable invoice for free orders is turned on, as that setting prevents invoices from attaching to free orders.

4. Why does the [wpwing_invoice] shortcode show nothing on a page?

For security, [wpwing_invoice] only displays a link when all three conditions are met:

  1. It can identify an order (automatically on the WooCommerce Thank You or My Account View Order page, or via order_id="123" elsewhere).
  2. An invoice has already been generated for that order.
  3. The visitor is logged in as the order's customer, is a store manager, or is a guest viewing the Thank You page with the valid WooCommerce order key in the URL.

5. I selected more than 30 orders for Merged PDF bulk download and some were skipped

To prevent PHP out-of-memory errors on shared hosting during busy sales periods, Merged PDF downloads process up to 30 orders per batch. For larger batches, either run the action again on the remaining orders or choose Download Invoices (ZIP), which streams pre-generated PDFs directly with minimal memory usage.