This guide walks you through setting up invoicing for your WooCommerce store, so you can generate professional PDF invoices for every order automatically. You’ll learn how to configure invoice numbers, choose a template, and send invoices to customers—no coding required. Before you start, make sure you have WordPress admin access and a working WooCommerce store with at least one test order.
What You’ll Need
- A WordPress site with WooCommerce installed and active.
- Administrator access to the WordPress dashboard.
- An FTP client or file manager access (only if you plan to customize templates manually).
- A PDF viewer to check the generated invoices.
Step-by-Step
- Install an invoicing plugin. In your WordPress admin, go to Plugins → Add New. Search for “WooCommerce PDF Invoices� or “WooCommerce Invoicing�. Choose a reputable plugin with good ratings and regular updates (e.g., “PDF Invoices & Packing Slips for WooCommerce� or “WooCommerce PDF Invoices & Packing Slips�). Click Install Now, then Activate.
- Open the plugin settings. After activation, you’ll see a new menu item like PDF Invoices or Invoices in your WordPress admin sidebar. Click it to open the settings page.
- Configure invoice numbering. In the settings, find the “Invoice number� section. Set the starting number (usually 1) and choose a prefix/suffix if desired (e.g., “INV-2024-�). Enable “Sequential numbering� so each order gets a unique invoice number. Save your changes.
- Set up the invoice template. Go to the “Template� or “Documents� tab. Choose a template style (simple, modern, or classic). Customize the header text, logo, and footer text. Upload your company logo if you haven’t already. You can also set the default payment terms (e.g., “Due on receipt�) and a thank-you message.
- Choose when to generate invoices. In the “Processing� or “Order status� settings, decide when an invoice should be created. Common choices are “On order completion� or “On processing�. You can also enable “Create invoices automatically� for all orders. If you want to send invoices manually, leave the auto-send toggle off.
- Enable email attachments. Under the “Email� settings, check the boxes for “Attach PDF to new order email� and “Attach PDF to order completed email�. This ensures customers receive the invoice as a PDF attachment with their order notifications.
- Test with a sample order. Place a test order (or use an existing order) and go to WooCommerce → Orders. Click the order to open its details. Look for a button like “Invoice� or “PDF� in the order actions. Click it to generate and download the invoice. Verify that the invoice number, totals, and customer details appear correctly.
- Customize the invoice content (optional). If you need to add custom fields (like a PO number or VAT number), use the plugin’s custom fields feature or a small snippet of code. Many plugins allow you to add custom meta fields to the invoice template.
- Save and test again. After any changes, generate a new invoice to ensure everything looks good. Check the PDF on different devices (phone, desktop) to confirm formatting is consistent.
- Go live. Once you’re satisfied, your invoices are ready. Your store will now generate and send invoices automatically based on your settings.
Common Mistakes
- Not enabling sequential numbering – Without this, invoice numbers may repeat or be based on order IDs, which can cause confusion with tax authorities.
- Forgetting to attach the PDF to emails – If you don’t enable email attachment, customers won’t receive the invoice automatically, defeating the purpose.
- Using the wrong order status trigger – If you set the invoice to generate only on “Completed� but your store uses “Processing� as the final status, invoices will never be created.
- Overlooking logo size – A huge logo can distort the invoice layout. Use a compressed image with a transparent background.
- Not testing after updates – After a plugin update, the invoice format might change. Always test with a sample order after updating.
Tips
- Use a dedicated invoice plugin – Free plugins like “PDF Invoices & Packing Slips for WooCommerce� are reliable and widely used. Avoid custom coding unless you have a specific need.
- Set a professional footer – Include your business address, tax ID, and payment details in the footer. This makes the invoice look official.
- Enable “Send invoice on order completion� – This ensures customers get their invoice right after payment, reducing support requests.
- Use placeholders for dynamic data – Most plugins support placeholders like {order_number}, {billing_name}, {order_total}. Use them to keep the template flexible.
- Keep backups – Before making major changes, export your plugin settings or back up your site. This helps you revert if something breaks.
Troubleshooting
- Invoice PDF shows “Cannot compute� or blank – This usually happens when the order has no items or the plugin can’t find the template. Re-check the order status and ensure the plugin is activated. Try regenerating the invoice from the order page.
- Invoice numbers are not sequential – Go to the plugin settings and verify that “Sequential numbering� is enabled. If you’ve already generated invoices, you may need to reset the counter (use a plugin option to set the next number).
- PDF not attaching to emails – Check the email settings in the plugin and ensure the “Attach PDF� boxes are checked for the specific email types (new order, completed, etc.). Also, confirm that the email is being sent via SMTP or a reliable mail service; sometimes the default mail function fails.
- Invoice layout looks broken – Clear any caching plugins (like WP Rocket or W3 Total Cache) and regenerate the PDF. If the issue persists, switch to a default WordPress theme temporarily to see if it’s a theme conflict.
- Cannot find the invoice button on orders – Some plugins hide the button if the order status is not set to generate invoices. Go to the plugin settings and set the “Generate on� status to something like “Processing� or “Completed�.
- Invoice numbers start at 0 or duplicate – If you imported orders, the plugin might not assign numbers automatically. Use the plugin’s “Set next invoice number� option to correct it.
Frequently Asked Questions
Do I need a paid plugin to create invoices in WooCommerce?
No. Free plugins like “PDF Invoices & Packing Slips for WooCommerce� offer all the essential features: sequential numbering, PDF generation, and email attachments. Paid plugins add more templates and advanced customization.
Can I customize the invoice number format?
Yes. Most invoicing plugins let you set a prefix, suffix, and starting number. For example, you can use “INV-2024-� as a prefix and the number will appear as INV-2024-001.
Will the invoice be sent automatically to the customer?
Yes, if you enable the “Attach PDF to email� option in the plugin settings, the invoice will be sent as a PDF attachment with the order confirmation and/or completion emails.
What if I need to add a VAT or tax number to the invoice?
Most plugins allow you to add custom fields in the template. You can also use a plugin like “WooCommerce EU VAT Number� to collect VAT numbers, and then display them using a placeholder.
Can I generate invoices for past orders?
Yes. Go to the order page and click the “Invoice� button (if available) to generate a PDF for that order. Some plugins also have a bulk generation tool for existing orders.
Is it possible to send a separate invoice email manually?
Yes. You can manually generate the PDF and attach it to any email from the order page, or use the plugin’s “Send invoice� button if it has one.
Related
Method: the standard formula for this calculation, rounded as each result states. See how the calculators work or report an error.
More cards in this drawer
- Blockchain vs Database: When Does Distributed Trust Win?
- GTA 6 and Call of Duty on Same Console?
- MCP in Production: Security Failures Behind the Backdoor Label
- Nothing Phone 2 Waterproof? IP54 Rating Explained
- Satellite Internet Equipment & Installation Guide
- Infinix GT 20 Pro vs AI Nova 2 Ultra 5G: Which Fits?