Rocky PDF Invoice Builder creates PDF invoices, receipts, packing slips and credit notes for your WooCommerce orders. You design each document in a drag-and-drop editor, and the plugin fills it with the order data, attaches it to WooCommerce emails and lets customers download it from My Account.
Overview
↑ Back to topEvery document is built from a template: a page with a header, content, and footer section that you fill with elements such as a logo, the billing address, the products table and the totals. Each element reads its value from the order, so one template serves every order. There are four document types:
| Document | What it is for | How it reaches the customer |
|---|---|---|
| Invoice | The bill for an order | Email attachment, My Account download |
| Receipt | Proof that an order was paid | Email attachment, printed from the order screens |
| Packing slip | A list of items for packing, without prices | Printed from the order screens |
| Credit note | A record of a refund, one per refund | Refund email attachment, My Account download |
Everything lives under WooCommerce > Invoices, which has three tabs: Dashboard (invoice counts, a getting-started checklist and recent orders), Templates and Settings.
Requirements
↑ Back to top- WordPress 6.2 or later
- WooCommerce 8.0 or later
- PHP 7.4 or later (8.1 or later recommended)
- PHP extensions: mbstring, dom, and gd or imagick
- PHP memory limit of 128 MB minimum, 256 MB recommended
- A current version of Chrome, Firefox, Safari, or Edge for the editor
To check your server, go to Tools > Site Health > Info and open the Server section. The plugin supports both High-Performance Order Storage (HPOS) and legacy order storage.
Setup wizard
↑ Back to topThe setup wizard opens after you activate the plugin. Every choice can be changed later.
- Getting started: the welcome screen. Click Continue.
- Template: pick a bundled design or the Blank Template (the magnifier opens a larger preview), then click Continue. It becomes your default invoice template.
- Company: enter your company name, address, phone, email, and Tax ID / VAT number (optional). Fetch from WooCommerce fills in the name and address from your WooCommerce store settings.
- Email and Automation: – Attach invoice PDF to emails, and choose which WooCommerce emails carry it: Completed Order, Processing Order, Customer Invoice, On-Hold Order. – Attach receipt PDF to emails. It stays off and locked until you design a receipt template. Turn it on later in Settings > Email Settings. – Auto-generate invoice number when an order reaches the statuses you select (Pending Payment, Processing, On Hold, Completed). – Enable customer downloads in My Account.
- Done: a summary of what was saved. Click Go to Dashboard.
You can leave at any point with Skip setup wizard. To run it again, open WooCommerce > Invoices > Settings and click Run Setup Wizard Again.

Templates
↑ Back to topGo to WooCommerce > Invoices > Templates. The links above the list filter it by Invoices, Receipts, Credit Notes, Packing Slips or Trash, and the default template of each type carries a Default badge.
Every document type has a blank template (Blank Template, Blank Receipt, Blank Packing Slip, Blank Credit Note) that cannot be deleted. A template with no elements is never attached to an email, so a document type does nothing until you design a template for it.

Bundled designs
↑ Back to topThe plugin includes 30 invoice designs plus a packing slip for the Hello Pro design. They are stored inside the plugin, and a design’s images are added to your Media Library when you use it. Treat a design as a starting point:
- The company name and contact lines come from Settings > Company Details through variables, so fill those in first.
- Most designs show a demo logo. Click it in the editor and choose your own image in the properties panel.
- The Payment Details element is empty until you enter your bank details, and it stays off the PDF until then.
Choosing default templates
↑ Back to topHover over a template and click Set as Default. Each document type has one default. The first template you create for a type becomes its default if the type has none yet. A default template cannot be trashed, so set another one as default first.
Creating a template
↑ Back to top- Click Add New Template.
- Enter a Template Name and choose the Type: Invoice, Receipt, Packing Slip or Credit Note.
- Under Choose a Template, pick Blank Template or a design. The category links (Minimal, Professional, Modern, Colorful, Classic, Creative) filter the designs.
- Click Create Template. The editor opens with the new template.
A packing slip created from an invoice design has its prices, totals, and payment elements removed. Hello Pro uses its own packing slip design.
Managing templates
↑ Back to topHover over a template for Edit, Quick Edit (rename), Duplicate, Set as Default, Preview and Trash. Invoice templates also have three actions that copy the invoice into another document type with the same look:
| Action | Changes made to the copy |
|---|---|
| Generate Receipt | The title becomes Receipt, number and date labels such as “Invoice #:” become “Receipt #:”, due date removed |
| Generate Packing Slip | The title becomes Packing Slip, number labels become “Order #:”, prices hidden, totals and payment elements removed |
| Generate Credit Note | The title becomes Credit Note, number labels become “Credit Note #:”, due date, payment status and payment details removed |
The title is found wherever it sits, including inside columns, and keeps its case, so INVOICE becomes RECEIPT. Longer text that mentions an invoice, such as “Please keep this invoice for your records”, is left for you to adjust in the editor.
If the type has no default template yet, the generated one becomes the default.
Import and export
↑ Back to topImport and export are in the editor toolbar.
- Export offers With Images (ZIP), which bundles the template and its images, or JSON Only. Use ZIP to move a template to another site.
- Import accepts a JSON or ZIP file from Local File, or any bundled design from Predefined Templates. Under Import Mode, choose Import as New Template to keep the current template, or Replace Current Template to overwrite its content. Replacing cannot be undone.
- Save As copies the open template under a new name.
Trash and restore
↑ Back to topTrash moves a template to the Trash view, where it stays until you act on it. There, Restore brings it back, Delete Permanently removes it and Empty Trash deletes everything. To trash several templates, tick them and choose Move to Trash from Bulk Actions.
Visual editor
↑ Back to topOpen the editor with Edit on any template.

Editor layout
↑ Back to top- Toolbar (top): back to templates, template name, undo, and redo, zoom, Portrait, or Landscape, light, dark, or system theme, Import, Export, Save As, Preview and Save. An asterisk next to the name means there are unsaved changes.
- Sidebar (left): the elements, grouped as Common, Header, Customer, Invoice, Products, and Footer. Drag an element onto the canvas to add it. The sidebar only offers elements that fit the document type, so a packing slip has no prices or totals.
- Canvas (center): the page. A selected element shows a Clone and a Delete button.
- Properties panel (right): the settings of whatever is selected.
Sections
↑ Back to topThe Header holds the logo, addresses, document number and dates. The Content section holds the products table and totals, and grows with the number of order lines. The Footer holds payment details, the thank-you message and terms, and is pinned to the bottom of the page in the PDF. Click a section’s label, or an empty part of it, to edit its padding, background color and background image.
Properties panel
↑ Back to topWith an element selected, the panel shows its options (see Elements below) plus typography, color, alignment, and margin. Justify alignment places the label and value apart on one line, which suits dates and totals.
Navigator
↑ Back to topClick the Navigator icon at the top of the sidebar to see every element as a tree, grouped by section and column. Click an item to select it, or drag it to reorder elements or move them between sections and columns.
Document settings
↑ Back to topClick the gray area around the page, or press Escape, to see the document settings:
- Preview Order: show a real order on the canvas instead of sample data. The choice is saved with the template.
- Default Typography: font family, size, line height, weight, style, text color and heading color. Elements use these values unless you change them on the element.
- Page Padding (mm): the space at each edge of the page.
- Background: page background color and border.
- Watermark: an image behind the content, with opacity, scale, rotation, and position.
Dynamic variables
↑ Back to topText fields accept variables in curly braces, which are replaced with the order’s values. Click Insert variable next to a text field to pick one from a searchable list, or type it, for example Thank you for order {order_id}, {customer_first_name}.
| Variable | Shows |
|---|---|
{order_id} | Order number |
{order_date} | Order date, in your WordPress date format |
{order_total} | Order total with currency |
{payment_method} | Payment method title |
{order_notes} | Note the customer left at checkout |
{customer_name} | Billing first and last name |
{customer_first_name} | Billing first name |
{customer_email} | Billing email |
{billing_address} | Full billing address |
{shipping_address} | Full shipping address |
{company_name} | Company name from Settings |
{company_address} | Company address from Settings |
{company_email} | Company email from Settings |
{company_tax_id} | Tax ID / VAT number from Settings |
{company_website} | Your site address |
{original_invoice_number} | Credit notes only: number of the refunded invoice |
{refund_reason} | Credit notes only: reason entered with the refund |
The editor’s list has more, including the order status, phone numbers and single address parts such as {billing_city}.
Preview
↑ Back to topPreview shows the template as a finished page, with zoom and a Print button. It uses sample data unless you chose a preview order in the document settings. The Preview Mode icon at the top of the sidebar gives a clean view of the canvas.
Keyboard shortcuts
↑ Back to top| Shortcut | Action |
|---|---|
| Ctrl+S | Save |
| Ctrl+Z | Undo |
| Ctrl+Shift+Z or Ctrl+Y | Redo |
| Ctrl+P | Open the preview |
| Ctrl+Shift+P | Toggle preview mode |
| Delete or Backspace | Delete the selected element |
| Escape | Deselect |
| Ctrl+Plus, Ctrl+Minus, Ctrl+0 | Zoom in, zoom out, reset zoom |
| ? | Show the shortcut list |
Elements
↑ Back to topAll elements also have typography, color, alignment, and margin settings. Labels such as “Invoice #:” can be edited and accept variables.
| Element | What it shows | Key options |
|---|---|---|
| Logo | An image logo. With no image of its own it uses the logo from Settings > Company Details | Image, link URL, maximum width |
| Text Logo | Your company name as styled text | Text |
| Invoice Heading | The document title, such as INVOICE | Text |
| Company Details | Name, address, phone, email and Tax ID from Settings > Company Details | Label, show or hide each line |
| Customer Billing | Billing name and address | Label, show name, address, city, country |
| Customer Shipping | Shipping name and address | Same as Customer Billing |
| Invoice Number | The document number (see Settings > Numbering) | Label |
| Issue Date | The order date | Label, date format |
| Due Date | The issue date plus a number of days | Days after issue date (default 30), date format |
| Payment Method | The payment method title | Label |
| Payment Date | The date the order was paid | Label, date format |
| Transaction ID | The payment gateway’s transaction ID | Label |
| Shipping Method | The shipping method name | Label |
| Tracking Number | The tracking number saved by a supported shipment tracking extension | Label |
| Products Table | Item, quantity, unit price and line total for each order line | Hide prices, SKU column, product image, sale price, header and border styling, alternate row color |
| Subtotal, Discount, Shipping, Fees, Tax, Total | The order totals (see Totals below) | Label, Hide when zero, Total background and border |
| Payment Status | A badge from the order status: PAID, PROCESSING, ON HOLD, PENDING, REFUNDED and others | Label, badge styling |
| Payment Details | Your bank name and account details. Left off the PDF while both are empty | Label, bank name, bank details |
| Thank You Message | A closing line | Text |
| Terms & Conditions | Your terms | Text |
| Customer Notes | The note the customer left at checkout | Label |
| Columns | One to four side-by-side columns that hold other elements | Column count, widths, gap |
| Divider | A horizontal line | Style, thickness, width, color |
| Icon + Text | An icon beside a short text, for example a phone number | Icon, size, colors, gap |
| Custom Text | Any text, including variables | Text |
| Image | Any image from the Media Library | Image, maximum width |

Totals
↑ Back to topThe six totals elements read their amounts straight from the WooCommerce order, in your WooCommerce currency format. The plugin does no calculation of its own.
Place them in the order WooCommerce adds them up: Subtotal, Discount, Shipping, Fees, Tax, Total. The products table shows line amounts before coupons and the Discount line takes the coupon off, so the lines on the page add up to the total.
Discount, Shipping, Fees, and Tax have a Hide when zero checkbox. With it ticked, the line is left out of any document where that amount is zero, while the canvas keeps showing it so you can edit it.
Emails and My Account
↑ Back to topEmail attachments
↑ Back to topThe plugin attaches PDFs to the emails WooCommerce already sends, without changing their content. Configure this in Settings > Email Settings:
| Document | Default | Emails it can attach to |
|---|---|---|
| Invoice | On, Completed Order | Completed Order, Processing Order, Customer Invoice, On-Hold Order |
| Receipt | On, Completed Order and Processing Order | Same as invoice |
| Credit note | Off | Refunded Order |
A document is attached only when its template has elements, so receipts start going out once you design a receipt template. The WooCommerce email itself must be enabled under WooCommerce > Settings > Emails. To send an invoice on demand, tick Customer Invoice, open the order and choose Send order details to customer from Order actions.
Invoices use the template from Settings > Template Assignments when one matches the order’s products, otherwise the default invoice template.
Note: The PDF attached to emails is stored the first time it is created and reused after that. If you change the template or the order and want later emails to carry the new version, click Regenerate next to that document in the order’s Invoice box.
My Account downloads
↑ Back to topWith Enable Customer Downloads on (the default), customers can open their invoices from their account:
- My Account > Orders shows an Invoice button for processing and completed orders.
- The order details page shows View Invoice, which opens a viewer with Print, Download, and zoom controls, and Download Invoice.
- If an order has refunds, the order details page also shows a Download button for each credit note, including on fully refunded orders.
The invoice buttons appear once your default invoice template has elements, and the credit note buttons once your default credit note template has elements. Customers must be logged in and see only their own orders, so guests get their invoice by email only.

Order screens and bulk print
↑ Back to topOrder edit screen
↑ Back to topOpen any order in WooCommerce > Orders. The Invoice box in the right-hand column shows:
- Invoice: the invoice number and date, or “No invoice generated yet.” View opens the invoice in a new tab with Print, Download, and zoom. Download saves the PDF. Regenerate rebuilds the stored PDF from the current template and keeps the invoice number. Viewing or downloading gives the order an invoice number if it has none.
- Receipt: View, Download and Regenerate, once your default receipt template has elements.
- Packing Slip: View and Download, once you have a default packing slip template.
- Credit Notes: one row per refund with its number and amount, each with View, Download and Regenerate.

Orders list and bulk print
↑ Back to topThe orders list gains an Invoice column with a view icon and a Print Invoice button in the Actions column. If you do not see them, enable them under Screen Options. To print many documents at once:
- Tick the orders in WooCommerce > Orders.
- From Bulk actions, choose Print Invoices, Print Packing Slips, Print Credit Notes or Print Receipts (listed once your receipt template has elements), then click Apply.
- A page opens with all the documents. Click Print All to print them, or Download All to get a ZIP file with one PDF per document.
Print Credit Notes includes every numbered refund of the selected orders and skips orders without refunds. The Recent Orders list on the Dashboard tab has Bulk Print and Bulk Print Packing Slips buttons too.

Credit notes
↑ Back to topEvery refund you issue in WooCommerce, full, or partial, gets a credit note with its own number from the credit note sequence (CN-0001, CN-0002, and so on by default), separate from invoice numbers.
- On the Templates tab, choose Generate Credit Note under your invoice template, or create a template of the type Credit Note. Do this before you issue refunds, so the documents are not empty.
- Edit it if needed. Amounts show the refunded values, customer details come from the original order, and
{original_invoice_number}and{refund_reason}are available in text fields. - To email credit notes, turn on Attach Credit Note to Emails in Settings > Email Settings. They go out with the Refunded Order email.
Credit notes can be opened from the order’s Invoice box, printed with Print Credit Notes, and downloaded by customers in My Account.
Settings
↑ Back to topGo to WooCommerce > Invoices > Settings. Click Save Settings after changing a tab.
Company details
↑ Back to topEnter Company Name, Address, Phone, Email and Tax ID / VAT Number, and upload a Company Logo (300 x 100 pixels is a good size). Fetch WooCommerce Info fills in the name and address from your WooCommerce store settings. These values feed the Company Details element, the Logo element when it has no image of its own, and the company variables.
Numbering
↑ Back to topInvoice Number Mode is either Use WooCommerce Order Number (the default) or Custom Invoice Number. A custom number is built from:
- Prefix, for example INV- (the default) or INV-2026-
- Starting Number
- Number Padding, the number of digits (4 gives 0001)
- Suffix
- Reset Counter: Never, Yearly, or Monthly
Preview shows the next number as you type. Credit Note Numbering has the same fields for its own sequence. An invoice number is assigned once per order and never changes, so new settings only affect orders that do not have a number yet.

Email settings
↑ Back to top- Attach Invoice to Emails, Attach Receipt to Emails and Attach Credit Note to Emails, each with its Email Types (see Emails and My Account above).
- Auto-Generate: assign the invoice number when an order reaches a selected status: Pending Payment, Processing, On Hold or Completed (Processing and Completed by default). Keep ticked the statuses whose emails carry the invoice.
- Enable Customer Downloads: show invoice and credit note buttons in My Account.
PDF settings
↑ Back to top- Paper Size (A4, A3, Letter, or Legal; A4 by default) applies to every invoice, receipt, packing slip and credit note PDF, and to printing from the document viewer.
- Default Orientation (Portrait or Landscape) is the orientation new templates start with. Each template keeps its own orientation, which you change with Portrait or Landscape in the editor toolbar.
The editor shows the page in A4 proportions whatever the paper size, so check a Letter or Legal layout with Download on a real order.
Template assignments
↑ Back to topUse a different invoice template for certain product categories:
- Under Add New Assignment, choose a Product Category and an Invoice Template.
- Set a Priority. When an order contains products from several assigned categories, the assignment with the highest priority wins.
- Click Add Assignment.
Orders that match no assignment use the default invoice template. Remove an assignment with Delete in the Current Assignments table.
Fonts
↑ Back to topUpload Font adds your own font files (.ttf, .woff, .woff2 or .otf, up to 5 MB each) to the font list in the editor. For fonts that must appear in the PDF, upload .ttf or .otf, because the PDF engine cannot read .woff or .woff2.
Enable Google Fonts (on by default) adds the Google Fonts library to the editor’s font list. The fonts are loaded from Google when the editor, the document viewer or a PDF needs them. When the option is off, the plugin makes no requests to Google, and documents that use a Google font fall back to a standard font.
Advanced
↑ Back to topKeep my invoice data and settings is on by default, so your templates, company details, numbering and invoice history stay in the database if you delete the plugin, and a reinstall picks up where you left off. With it off, deleting the plugin removes that data permanently. Stored PDF files and invoice numbers saved on orders are kept either way. Only users who can activate plugins see this tab.
Troubleshooting
↑ Back to topNo PDF attached to an email, or a blank PDF
↑ Back to top- Check that the template the order uses has elements. Blank templates are never attached. For receipts and credit notes, design a template of that type first.
- In Settings > Email Settings, check that the attachment is switched on and the email type is ticked. Credit note attachments are off by default.
- Check that the email is enabled in WooCommerce > Settings > Emails.
- A failed PDF never stops the email from being sent. Look in WooCommerce > Status > Logs for the error.
An emailed invoice shows an old design
↑ Back to topEmails reuse the stored PDF. Click Regenerate next to the invoice, receipt or credit note in the order’s Invoice box. View and Download always use the current template.
Fonts look different in the PDF
↑ Back to topThe PDF is built on the server. System fonts such as Calibri or Segoe UI exist only on your computer, so the PDF engine substitutes a standard font. Use a Google font, or upload the font as .ttf or .otf. If accented letters or other scripts show as boxes, choose a font that contains those characters.
Images do not show in the PDF
↑ Back to topThe server loads each image by its URL, so use images from your Media Library. Loading can fail on a password-protected staging site, on a server that blocks requests to its own address, or with an invalid SSL certificate. PNG and JPG are the safest formats, so convert a WebP or SVG image that does not appear.
The layout differs between the editor and the PDF
↑ Back to topThe editor draws the page in your browser, while the PDF uses its own layout engine, so spacing can differ slightly. Leave some room between elements, use Columns for side-by-side content, and check the result with Download on a real order that has several lines.
The invoice button is missing in My Account
↑ Back to top- Enable Customer Downloads must be on.
- The default invoice template must have elements.
- The order must be processing or completed.
- The customer must be logged in and own the order. Guest orders show no buttons.
- If the invoice viewer shows a “page not found” error, go to Settings > Permalinks and click Save Changes.
PDF creation stops or times out
↑ Back to topLarge images and bulk printing need memory and time. Raise the PHP memory limit to 256 MB, for example with define( 'WP_MEMORY_LIMIT', '256M' ); in wp-config.php, and the PHP maximum execution time to 60 seconds or more, or ask your host to. If a bulk print still stops, print fewer orders at a time.
Frequently asked questions
↑ Back to topCan I use the WooCommerce order number as the invoice number?
↑ Back to topYes. That is the default mode in Settings > Numbering. Switch to Custom Invoice Number for your own sequence with a prefix and padding.
Will changing the numbering renumber existing invoices?
↑ Back to topNo. An invoice number is saved on the order the first time it is assigned. New settings apply to orders that do not have a number yet.
Can guest customers download their invoices?
↑ Back to topNot from My Account, because a guest order has no account. Attach the invoice to the order emails instead.
Does the plugin connect to outside services?
↑ Back to topThe bundled designs and the font list are stored in the plugin. Fonts are loaded from Google only while Enable Google Fonts is on.
What happens to my data if I delete the plugin?
↑ Back to topBy default your templates, settings and invoice history are kept. You can change this in Settings > Advanced.
Where can I get help?
↑ Back to topOpen a ticket from your WooCommerce.com account under My Account > Support.