Invoices for WooCommerce
by Bas Elbers 4.7 (469 reviews)

Invoices for WooCommerce

Automatically generate and attach customizable PDF Invoices and PDF Packing Slips for WooCommerce to emails.

Tested up to WP 6.7 (Current: 7.0.2)
v3.2.1 Current Version v3.2.1
Updated 1 year ago Last Update on 08 Feb, 2025
Refreshed 7 hours ago Last Refreshed on
View on WordPress.org
Rank
#2,089
+1 this week
Active Installs
10K+
No change
KW Avg Position
31
No change
Downloads
704.4K
+10 today
Support Resolved
0%
No change
Rating
94%
Review 4.7 out of 5
4.7 (469 reviews)

Next Milestone 20K

Total Progress 17.1%
10K+ 20K+
647
Ranks to Climb
-
Growth Needed
8,000,000
Active Installs
Pro

Unlock Exact Install Count

See the precise estimated active installs for this plugin, calculated from real-time ranking data.

  • Exact install estimates within tiers
  • Track install growth over time
  • Milestone progress predictions
Upgrade to Pro
Need 8,295 more installs to reach 20K+

Rank Changes

1,985 2,037 2,090 2,143 2,195 18-07-2026 19-07-2026 20-07-2026 21-07-2026 22-07-2026 23-07-2026 24-07-2026 25-07-2026
1,982 2,035 2,089 2,142 2,195 10-07-2026 11-07-2026 12-07-2026 13-07-2026 14-07-2026 15-07-2026 16-07-2026 17-07-2026 18-07-2026 19-07-2026 20-07-2026 21-07-2026 22-07-2026 23-07-2026 24-07-2026 25-07-2026
2,076 2,081 2,086 2,091 2,096 25-06-2026 26-06-2026 27-06-2026 28-06-2026 29-06-2026 30-06-2026 01-07-2026 02-07-2026 03-07-2026 04-07-2026 05-07-2026 06-07-2026 07-07-2026 08-07-2026 09-07-2026 10-07-2026 11-07-2026 12-07-2026 13-07-2026 14-07-2026 15-07-2026 16-07-2026 17-07-2026 18-07-2026 19-07-2026 20-07-2026 21-07-2026 22-07-2026 23-07-2026 24-07-2026 25-07-2026
2,054 2,065 2,075 2,086 2,096 26-04-2026 27-04-2026 28-04-2026 29-04-2026 30-04-2026 01-05-2026 02-05-2026 03-05-2026 04-05-2026 05-05-2026 06-05-2026 07-05-2026 08-05-2026 09-05-2026 10-05-2026 11-05-2026 12-05-2026 13-05-2026 14-05-2026 15-05-2026 16-05-2026 17-05-2026 18-05-2026 19-05-2026 20-05-2026 21-05-2026 22-05-2026 23-05-2026 24-05-2026 25-05-2026 26-05-2026 27-05-2026 28-05-2026 29-05-2026 30-05-2026 31-05-2026 01-06-2026 02-06-2026 03-06-2026 04-06-2026 05-06-2026 06-06-2026 07-06-2026 08-06-2026 09-06-2026 10-06-2026 11-06-2026 12-06-2026 13-06-2026 14-06-2026 15-06-2026 16-06-2026 17-06-2026 18-06-2026 19-06-2026 20-06-2026 21-06-2026 22-06-2026 23-06-2026 24-06-2026 25-06-2026 26-06-2026 27-06-2026 28-06-2026 29-06-2026 30-06-2026 01-07-2026 02-07-2026 03-07-2026 04-07-2026 05-07-2026 06-07-2026 07-07-2026 08-07-2026 09-07-2026 10-07-2026 11-07-2026 12-07-2026 13-07-2026 14-07-2026 15-07-2026 16-07-2026 17-07-2026 18-07-2026 19-07-2026 20-07-2026 21-07-2026 22-07-2026 23-07-2026 24-07-2026 25-07-2026
Current #2,089
Change
Best #

Upgrade to Pro

Unlock 30-day and 90-day rank history charts with a Pro subscription.

Upgrade Now

Active Installs Growth

Active Installs 0,000,000+
Growth +0.0%
Peak 0,000,000

Downloads Growth

10 20 30 40 18-07-2026 19-07-2026 20-07-2026 21-07-2026 22-07-2026 23-07-2026 24-07-2026 25-07-2026
10 20 30 40 10-07-2026 11-07-2026 12-07-2026 13-07-2026 14-07-2026 15-07-2026 16-07-2026 17-07-2026 18-07-2026 19-07-2026 20-07-2026 21-07-2026 22-07-2026 23-07-2026 24-07-2026 25-07-2026
0 10 20 30 40 25-06-2026 26-06-2026 27-06-2026 28-06-2026 29-06-2026 30-06-2026 01-07-2026 02-07-2026 03-07-2026 04-07-2026 05-07-2026 06-07-2026 07-07-2026 08-07-2026 09-07-2026 10-07-2026 11-07-2026 12-07-2026 13-07-2026 14-07-2026 15-07-2026 16-07-2026 17-07-2026 18-07-2026 19-07-2026 20-07-2026 21-07-2026 22-07-2026 23-07-2026 24-07-2026 25-07-2026
0 10 20 30 40 50 26-04-2026 29-04-2026 02-05-2026 05-05-2026 08-05-2026 11-05-2026 14-05-2026 17-05-2026 20-05-2026 23-05-2026 26-05-2026 29-05-2026 01-06-2026 04-06-2026 07-06-2026 10-06-2026 13-06-2026 16-06-2026 19-06-2026 22-06-2026 25-06-2026 28-06-2026 01-07-2026 04-07-2026 07-07-2026 10-07-2026 13-07-2026 16-07-2026 19-07-2026 22-07-2026 25-07-2026
0 50 100 150 200 250 25-07-2025 06-08-2025 18-08-2025 30-08-2025 11-09-2025 23-09-2025 05-10-2025 17-10-2025 29-10-2025 10-11-2025 22-11-2025 04-12-2025 16-12-2025 28-12-2025 09-01-2026 21-01-2026 02-02-2026 14-02-2026 26-02-2026 10-03-2026 22-03-2026 03-04-2026 15-04-2026 27-04-2026 09-05-2026 21-05-2026 02-06-2026 14-06-2026 26-06-2026 08-07-2026 20-07-2026 25-07-2026
Downloads
Growth
Peak

Upgrade to Pro

Unlock 30-day, 90-day, and yearly download history charts with a Pro subscription.

Upgrade Now

Reviews & Ratings

4.7
469 reviews
Overall 94%
5
410 (87%)
4
31 (7%)
3
7 (1%)
2
6 (1%)
1
15 (3%)

Tracked Keywords

Showing 3 of 3
Keyword Position Change Type Updated
pdf invoices 19 Tag 20 hours ago
invoices 32 Tag 20 hours ago
packing slips 42 Tag 20 hours ago

Unlock Keyword Analytics

Track keyword rankings, search positions, and discover new ranking opportunities with a Pro subscription.

  • Full keyword position tracking
  • Historical ranking data
  • Competitor keyword analysis
Upgrade to Pro

Track This Plugin

Get detailed analytics, keyword tracking, and position alerts delivered to your inbox.

Start Tracking Free

Plugin Details

Version
3.2.1
Last Updated
Feb 08, 2025
Requires WP
0+
Tested Up To
6.7
PHP Version
7.4 or higher
Author
Bas Elbers

Support & Rating

Rating
★ ★ ★ ★ ★ 4.7
Reviews
469
Support Threads
0
Resolved
0%

Keywords

Upgrade to Pro

Unlock keyword rankings, search positions, and detailed analytics with a Pro subscription.

Upgrade Now

Frequently Asked Questions

Common questions about Invoices for WooCommerce

Copy the default template files (including folder) you'll find in plugins/woocommerce-pdf-invoices/includes/templates/invoice/simple to uploads/woocommerce-pdf-invoices/templates/invoice/simple. The plugin will automatically detect the template and makes it available for selection within the Template Settings. Now go ahead and start making some changes to the template files! :) Important: Before you update the plugin, always have a look at the Changelog if their have been any changes to the template files. There will be updates that require updating your custom template!
To add a fee to WooCommerce and your invoice, simply add the following action to your themes functions.php. function add_woocommerce_fee() { global $woocommerce; if ( is_admin() && ! defined( 'DOING_AJAX' ) ) return; $amount = 5; $woocommerce->cart->add_fee( 'FEE_NAME', $amount, true, 'standard' ); } add_action( 'woocommerce_cart_calculate_fees','add_woocommerce_fee' );
To hide order item meta from the invoice, simply add the following filter to your themes functions.php. /** * Hide order itemmeta on Invoices for WooCommerce' invoice template. * * @param array $hidden_order_itemmeta itemmeta. * * @return array */ function bewpi_alter_hidden_order_itemmeta( $hidden_order_itemmeta ) { $hidden_order_itemmeta[] = '_wc_cog_item_cost'; $hidden_order_itemmeta[] = '_wc_cog_item_total_cost'; $hidden_order_itemmeta[] = '_subscription_interval'; $hidden_order_itemmeta[] = '_subscription_length'; // end so on.. return $hidden_order_itemmeta; } add_filter( 'bewpi_hidden_order_itemmeta', 'bewpi_alter_hidden_order_itemmeta', 10, 1 );
To change the more common options of the PDF, use below example. function custom_bewpi_mpdf_options( $options ) { $options['mode'] = ''; $options['format'] = ''; // use [format]-L or [format]-P to force orientation (A4-L will be size A4 with landscape orientation) $options['default_font_size'] = 0; $options['default_font'] = 'opensans'; $options['margin_left'] = 14; $options['margin_right'] = 14; $options['margin_top'] = 14; $options['margin_bottom'] = 0; $options['margin_header'] = 14; $options['margin_footer'] = 6; $options['orientation'] = 'P'; // Also try to force with format option return $options; } add_filter( 'bewpi_mpdf_options', 'custom_bewpi_mpdf_options' );
To fully customize the PDF, use below code. This filter gives you full control over the mPDF library. Check the mPDF manual for more info. function bewpi_mpdf( $mpdf, $document ) { // change the direction of the invoice to RTL $mpdf->SetDirectionality( 'rtl' ); return $mpdf; } add_filter( 'bewpi_mpdf', 'bewpi_mpdf', 10, 2 );
Add below code for example to your "thankyou" page or "customer-completed-order" email template. echo do_shortcode( '[bewpi-download-invoice title="Download (PDF) Invoice {formatted_invoice_number}" order_id="' . $order->get_id() . '"]' ); For use in WordPress editor use below shortcode. This will only work if you replace "ORDER_ID" with an actual order id. [bewpi-download-invoice title="Download (PDF) Invoice {formatted_invoice_number}" order_id="ORDER_ID"] Note: Download button will only be displayed when PDF exists and order has been paid.
Add the name of the payment method to the array. function bewpi_attach_invoice_excluded_payment_methods( $payment_methods ) { return array( 'bacs', 'cod', 'cheque', 'paypal' ); } add_filter( 'bewpi_attach_invoice_excluded_payment_methods', 'bewpi_attach_invoice_excluded_payment_methods', 10, 2 );
Add below function to your themes 'functions.php' file. function bewpi_skip_invoice_generation( $skip, $status, $order ) { // Do your stuff based on the order. return true; // True to skip. } add_filter( 'bewpi_skip_invoice_generation', 'bewpi_skip_invoice_generation', 10, 3 );
Add the name of the role to the array. By default shop managers and administrators are allowed to download invoices. function bewpi_allowed_roles_to_download_invoice($allowed_roles) { // available roles: shop_manager, customer, contributor, author, editor, administrator $allowed_roles[] = "editor"; // end so on.. return $allowed_roles; } add_filter( 'bewpi_allowed_roles_to_download_invoice', 'bewpi_allowed_roles_to_download_invoice', 10, 2 );
Add following filter function to your 'functions.php' within your theme. function alter_formatted_invoice_number( $formatted_invoice_number, $document_type ) { if ( $document_type === 'invoice/global' ) { // 'simple' or 'global'. // add M for global invoices. return 'M' . $formatted_invoice_number; } return $formatted_invoice_number; } add_filter( 'bewpi_formatted_invoice_number', 'alter_formatted_invoice_number', 10, 2 );

Sign In / Register

You need to sign in or register to use this feature.