PDF Invoice, Packing Slips & Credit Notes is a WooCommerce invoice plugin that creates a PDF invoice, a packing slip, and a credit note for every order. It attaches them to the WooCommerce emails you choose, gives each invoice a sequential invoice number, and lets customers download their own documents. It’s built for stores that need VAT-ready invoices, print packing slips for their own shipping, or sell in several languages. View the product page.
Quick start
↑ Back to topSend your first automatic invoice in five steps:
- Go to WooCommerce > Settings > PDF Invoices.
- In Company & branding, add your company name, address, and logo, then select Save changes.
- In Numbering, set Invoice number to Sequential invoice number and save.
- In Emails, make sure Invoice is ticked for Processing order or Completed order, then save.
- Open any order and select Download next to Invoice in the PDF Documents box to check the result.

The Get started with PDF invoices checklist at the top of the settings screen tracks the same steps. Select Dismiss to hide it once you’re done.
Installation
↑ Back to topTo start using a product from WooCommerce.com, you can use the โAdd to storeโ functionality on the order confirmation page or the My subscriptions section in your account.
- Navigate to My subscriptions.
- Find the Add to store button next to the product youโre planning to install.
- Follow the instructions on the screen, and the product will be automatically added to your store.
Alternative options and more information at:
Managing WooCommerce.com subscriptions.
Requirements
↑ Back to top- WordPress 6.5 or later.
- WooCommerce 8.5 or later.
- PHP 7.4 or later.
- A writable uploads folder (wp-content/uploads). Email attachments are created there as temporary files and deleted after the email is sent.
- The PHP Zip extension, only for the Download invoices (ZIP) bulk action. Without it, that action is hidden and everything else works.
- A company logo in PNG, JPG, or GIF format from your Media Library. WebP, SVG, and images from other websites can’t be used in PDFs.
The plugin works with High-Performance Order Storage (HPOS), the legacy order storage, the Checkout block, and the classic checkout. The PDF engine is bundled, so you don’t need any other software or service.
Setup and configuration
↑ Back to topAll settings are in WooCommerce > Settings > PDF Invoices, in six sections: Company & branding, Documents, Numbering, Customer access, Emails, and Tools. The header links to this documentation and to support.
Company & branding
↑ Back to topThese details appear in the header of every invoice, packing slip, and credit note.

- Company name: The name printed on your documents. Defaults to your site title.
- Company address: Your address, one line per row.
- Company email: The email address printed under your address.
- VAT / tax ID: Printed under your address, for example “VAT ID: PL1234567890”. Leave it empty to hide it.
- Company logo: Select Upload logo to choose an image from the Media Library, or Remove logo to clear it. Use PNG, JPG, or GIF, ideally 600 ร 200 px or smaller.
- Accent color: The color of headings and table headers in the Modern template.
- Footer text: Text printed at the bottom of each document, such as payment terms, bank details, or a thank-you note.
Live preview
↑ Back to topBelow the Company & branding and Documents settings, Live preview shows a real order with the settings currently on screen, before you save. Choose an Order and a Document, then select Update preview. Previews never assign invoice numbers, so you can try settings safely.

Documents
↑ Back to topChoose the invoice template and the layout of all documents.

- Template: Modern (accent color headers) or Simple. Developers can override any template from the theme, see Developer notes.
- Paper size: A4 (default) or US Letter.
- Font: Automatic (recommended) switches to the bundled Unicode font when a document contains characters such as Polish, Czech, Greek, Cyrillic, Arabic, or Hebrew. You can also force Helvetica (Western European only) or DejaVu Sans (Unicode).
- Text direction: Automatic (follows the document language), Left to right, or Right to left (Arabic, Hebrew).
- Product SKU: Show the SKU under each product name. On by default.
- Tax column: Show the tax amount of each line on invoices and credit notes. Off by default.
An invoice made with the Modern template, US Letter, and the tax column on:

Numbering
↑ Back to topSet the format of your invoice numbers and credit note numbers.

Invoice numbers:
- Invoice number: Sequential invoice number (recommended for VAT invoices) or Same as the order number (default).
- Prefix and Suffix: Text before and after the number. You can use the placeholders {Y} (year), {y} (two-digit year), {m} (month), and {d} (day). For example, INV-{Y}- gives INV-2026-0001.
- Minimum digits: Pads the number with zeros, from 0 to 12. For example, 4 gives 0001.
- Reset: Never (one continuous sequence) or Every year on January 1.
- Next invoice number: The number the next invoice will get. The description under the field shows the full example, such as INV-2026-0026.
Credit note numbers:
- Prefix and Suffix: Default CN- and empty, with the same placeholders.
- Next credit note number: The number the next credit note will get.
Credit notes use their own sequence with the same minimum digits and reset rule. They’re numbered when sequential numbering is on.
Customer access
↑ Back to topControl what customers can download and where.

- Customer downloads: Allow customers to download PDFs from their account. Off by default.
- Documents customers can download: Any of Invoice, Packing slip, and Credit note.
- Guest download links: Let guest customers download their documents with a private link secured by the order key. Off by default.
- Order pages: Show a “Documents” list on the order received (thank you) page and the view order page. On by default.
- Links in emails: Add download links to customer order emails. This needs guest download links.
- Customer VAT number: Add an optional “VAT number” field to checkout and print it on invoices. It works on the classic checkout and the Checkout block, and you can edit it in the order’s billing details.
Customers can only download documents of processing, completed, on-hold, and refunded orders. Packing slips and invoices of unpaid orders are never offered.
Emails
↑ Back to topChoose which documents are attached to each WooCommerce email, including emails sent to the store.

Tick Invoice, Packing slip, or Credit note in the row of each email. On a new install, the invoice is attached to Processing order, Completed order, and Order details, and the credit note to Refunded order. Refund emails attach the credit note of the refund that was just made, including partial refunds. Untick everything in a row to stop attaching documents to that email.
Tools
↑ Back to top
- Test a document: Choose an order and a document, then select Generate & download. Downloading an invoice assigns its number when sequential numbering is on. Errors are written to WooCommerce > Status > Logs (source: pdf-invoice).
- Delete data on uninstall: When the plugin is deleted, also remove its settings, the invoice and credit note numbers stored on orders, and the number counters. Leave this off to keep your invoice history.
How-to guides
↑ Back to topHow to send a WooCommerce invoice automatically with order emails
↑ Back to top- Go to WooCommerce > Settings > PDF Invoices > Emails.
- Tick Invoice in the row of the email that should carry the invoice, for example Completed order.
- Select Save changes.
- When that email is sent, the PDF invoice is generated, attached, and numbered (if it has no number yet).
To send an invoice on request, open the order, choose Send order details to customer in Order actions, and select Update. Make sure Invoice is ticked for Order details in the Emails section.
How to set up sequential invoice numbers and continue from your old system
↑ Back to top- Go to WooCommerce > Settings > PDF Invoices > Numbering.
- Set Invoice number to Sequential invoice number.
- Enter a Prefix, such as INV-{Y}-, and the Minimum digits, such as 4.
- Choose Every year on January 1 in Reset if your numbers should restart each year.
- To continue from another invoice plugin, enter your next number in Next invoice number, then select Save changes.
Orders whose invoice was never created keep showing the order number until their invoice is created. Existing invoices are never renumbered.
How to print packing slips in bulk
↑ Back to top- Go to WooCommerce > Orders.
- Select the orders you want to ship.
- Choose Print packing slips (PDF) in Bulk actions and select Apply.

You get one PDF with a packing slip per order. Packing slips list the items and quantities, without prices. The same menu has Print invoices (PDF) and Download invoices (ZIP), which gives one invoice file per order. You can process up to 200 orders at a time. The PDF Documents column on the Orders screen also has an invoice and packing slip button for each order.

How to create a credit note for a refund
↑ Back to top- Open the order and refund it as usual with WooCommerce’s Refund button. Enter a Reason for refund if you want it printed.
- The credit note appears in the PDF Documents box of the order, one for each refund.
- Select Download next to the credit note. If Credit note is ticked for Refunded order in the Emails section, the customer also gets it with the refund email.

The credit note shows the refunded items as positive amounts, the refund reason, and the original invoice number.

How to let customers download their PDF invoice
↑ Back to top- Go to WooCommerce > Settings > PDF Invoices > Customer access.
- Turn on Customer downloads and choose the documents customers can download.
- Turn on Guest download links if you accept guest orders, and Links in emails to add the links to customer emails.
- Select Save changes.
Logged-in customers see the buttons in My account > Orders.

The order received page and the view order page also show a “Documents” list when Order pages is on.

Video
↑ Back to topFrequently asked questions
↑ Back to topHow do I generate an invoice in WooCommerce?
↑ Back to topOpen the order and select Download next to Invoice in the PDF Documents box, or let the plugin attach it to WooCommerce emails automatically. The invoice is created the first time it’s needed.
When does an invoice get its invoice number?
↑ Back to topThe first time the invoice is created: by email, download, bulk print, or customer download. The number and invoice date are then stored on the order and never change, even if you change the format later.
Can I change the invoice template?
↑ Back to topChoose Modern or Simple, A4 or US Letter, your logo, accent color, and footer text, then check the live preview. Developers can copy any template file into their theme.
Can I add the customer’s VAT number to the invoice?
↑ Back to topYes. Turn on Customer VAT number in Customer access. Customers get an optional “VAT number” field at checkout, and it prints on the invoice next to your own VAT or tax ID.
Does it work with the Checkout block and HPOS?
↑ Back to topYes. The plugin declares compatibility with High-Performance Order Storage and the Checkout block, and the bulk actions work on both order screens.
Does it support other languages and right-to-left text?
↑ Back to topYes. Documents follow the customer’s language, including WPML order languages. The bundled Unicode font is used automatically for non-Western characters, with right-to-left layout for Arabic and Hebrew. Chinese, Japanese, and Korean need a custom font, see Developer notes.
What happens to my invoices if I delete the plugin?
↑ Back to topYour settings and invoice numbers are kept unless you turn on Delete data on uninstall in the Tools section first.
Troubleshooting
↑ Back to topThe invoice isn’t attached to the email
↑ Back to top- Check that the document is ticked in the row of that exact email in Emails. WooCommerce sends different emails for processing and completed orders.
- Make sure the uploads folder is writable.
- Look for errors in WooCommerce > Status > Logs (source: pdf-invoice).
My logo doesn’t show on the PDF
↑ Back to topThe logo must be a PNG, JPG, or GIF from your Media Library. A message under Company logo tells you when the current logo can’t be used. Upload the logo again in a supported format.
Characters show as question marks or boxes
↑ Back to topLeave Font on Automatic (recommended) or choose DejaVu Sans (Unicode). Chinese, Japanese, and Korean need a custom font.
The invoice shows the order number instead of a sequential number
↑ Back to topInvoice number is set to Same as the order number, or the invoice was created before you turned on sequential numbering. Numbers already assigned never change. New invoices get sequential numbers.
A customer can’t see the download buttons
↑ Back to topCheck that Customer downloads is on and the document is allowed in Documents customers can download. Downloads are only offered for processing, completed, on-hold, and refunded orders, and a credit note only when the order has a refund.
Known limitations
↑ Back to top- Footer text is the same on all documents, so payment terms also print on packing slips and credit notes. Keep the footer general if you print packing slips.
- On narrow screens, some themes squeeze the document buttons in the Actions row of the view order page. The “Documents” list under the order details has the same links.
- Chinese, Japanese, and Korean text needs a custom font added by a developer.
- Packing slips use the headings “Billing address” and “Ship to”. Invoices and credit notes use “Bill to” and “Shipping address”.
Developer notes
↑ Back to topTemplate overrides
↑ Back to topCopy a file from the plugin’s templates folder to your theme to change it, keeping the style folder:
yourtheme/pdf-invoice/modern/invoice.php
yourtheme/pdf-invoice/modern/packing-slip.php
yourtheme/pdf-invoice/modern/credit-note.php
yourtheme/pdf-invoice/modern/document.php
Use the simple folder for the Simple template. The plugin looks in the child theme first, then the parent theme, then its own templates.
Actions
↑ Back to toppdf_invoice_before_document($document, $order): Start of the document template.pdf_invoice_after_header($document, $order): After the header.pdf_invoice_after_addresses($document, $order): After the addresses.pdf_invoice_before_items($document, $order): Before the items table.pdf_invoice_after_items($document, $order): After the items table.pdf_invoice_after_totals($document, $order): After the totals.pdf_invoice_after_document($document, $order): End of the document template.pdf_invoice_pdf_init($pdf, $document): After the PDF is set up, before content is written.pdf_invoice_before_output($pdf, $order, $type, $parts): Before the PDF is output, for example to add pages.pdf_invoice_number_assigned($number, $type, $order): After an invoice or credit note number is assigned.pdf_invoice_upgraded($summary): After the plugin’s upgrade routine runs.
Filters
↑ Back to toppdf_invoice_document_data($data, $order, $type, $refund): All data passed to the template.pdf_invoice_document_item($row, $item, $order): One line item row.pdf_invoice_item_meta($rows, $item): Item meta shown under a product.pdf_invoice_customer_vat_meta_keys($keys): Order meta keys read as the customer VAT number.pdf_invoice_document_html($html, $order, $type, $document): The HTML before it becomes a PDF.pdf_invoice_document_settings($settings): Settings used for documents.pdf_invoice_pdf_output($pdf, $order, $type): The final PDF content.pdf_invoice_filename($name, $order, $type, $refund): The PDF file name.pdf_invoice_number_config($config, $type): Prefix, suffix, digits, and reset.pdf_invoice_number($number, $sequence, $type, $order): The formatted number.pdf_invoice_assign_number($assign, $order, $type): Whether a number is assigned.pdf_invoice_email_map($map): Which documents go with which email.pdf_invoice_delete_attachments_after_send($delete): Whether temporary attachments are deleted after sending.pdf_invoice_tmp_file_max_age($seconds): When leftover temporary files are cleaned up.pdf_invoice_user_can_manage_documents($can, $order): Admin access to documents.pdf_invoice_customer_document_types($types): Documents customers can download.pdf_invoice_customer_order_statuses($statuses): Order statuses with customer downloads.pdf_invoice_customer_may_get_document($ok, $order, $type): One customer download.pdf_invoice_customer_document_links($links, $order, $owner): Links in the “Documents” list.pdf_invoice_font($font, $html): The font family.pdf_invoice_document_locale($locale, $order): The document language.pdf_invoice_rtl($rtl, $order, $type): Right-to-left layout.pdf_invoice_logo_path($path, $attachment_id, $url): The logo file used.pdf_invoice_allow_remote_images($allow, $path): Whether remote images are allowed (default false).pdf_invoice_template_styles($styles): Available templates.pdf_invoice_template_roots($roots): Folders searched for templates.pdf_invoice_template_names($names): Template file names.pdf_invoice_template_path($path, $name, $style, $context): The template file used.
Chinese, Japanese, and Korean fonts
↑ Back to topUpload a TrueType font that covers your language (for example, a Noto Sans CJK font) to wp-content/uploads/pdf-fonts/, then add this snippet to a custom plugin or your child theme’s functions.php. Replace the file name with your font. The font is converted the first time a document is created.
add_action( 'pdf_invoice_pdf_init', function ( $pdf ) {
$dir = WP_CONTENT_DIR . '/uploads/pdf-fonts/';
$font = TCPDF_FONTS::addTTFfont( $dir . 'NotoSansSC-Regular.ttf', 'TrueTypeUnicode', '', 96, $dir );
if ( $font ) {
$pdf->AddFont( $font, '', $dir . $font . '.php' );
$pdf->AddFont( $font, 'B', $dir . $font . '.php' );
$pdf->SetFont( $font, '', 10 );
}
} );
Works great with
↑ Back to top- B2B Pricing: offer “Pay by invoice” to trade accounts, then send them a numbered PDF invoice.
- Quote Offer: turn an agreed quote into an order, then invoice it.
- Address Autocomplete for Google Maps: correct shipping addresses on every packing slip.
- Donations & Fundraising: a PDF invoice for donation orders placed through your checkout.
Support
↑ Back to topNeed help? Contact WooCommerce.com support for PDF Invoice, Packing Slips & Credit Notes. Include your WordPress, WooCommerce, and plugin versions and any messages from WooCommerce > Status > Logs (source: pdf-invoice).
