WooCommerce PDF Invoices & Packing Slips


This WooCommerce extension automatically adds a PDF invoice to the order confirmation emails sent out to your customers. Includes a basic template (additional templates are available from WP Overnight) as well as the possibility to modify/create your own templates. In addition, you can choose to download or print invoices and packing slips from the WooCommerce order admin.

المميزات الرئيسية

  • قم بإرفاق فاتورة PDF تلقائيًا برسائل WooCommerce الإلكترونية التي تختارها
  • Download the PDF invoice / packing slip from the order admin page
  • Generate PDF invoices / packings slips in bulk
  • قوالب فواتير HTML / CSS قابلة للتخصيص بالكامل
  • تنزيل الفواتير من صفحة حسابي (my-account)
  • أرقام الفواتير المتسلسلة – بتنسيق مخصص
  • Available in: Czech, Dutch, English, Finnish, French, German, Hungarian, Italian, Japanese (see FAQ for adding custom fonts!), Norwegian, Polish, Romanian, Russian, Slovak, Slovenian, Spanish, Swedish & Ukrainian

In addition to this, we offer several premium extensions:

قابل للتخصيص بالكامل

In addition to a number of default settings (including a custom header/logo) and several layout fields that you can use out of the box, the plugin contains HTML/CSS based templates that allow for customization & full control over the PDF output. Copy the templates to your theme folder and you don’t have to worry that your customizations will be overwritten when you update the plugin.

  • Insert customer header image/logo
  • Modify shop data / footer / disclaimer etc. on the invoices & packing slips
  • تحديد حجم الورق (Letter أو A4)
  • مهيّأ للترجمة

لقطات الشاشة

  • فاتورة PDF بسيطة
  • قسيمة PDF تعبئة بسيطة
  • طباعة الفواتير الفردية أو إيصالات التعبئة بسرعة من قائمة الطلبات
  • طباعة الفواتير أو إيصالات التعبئة بكميات كبيرة
  • أرفق الفواتير بأي بريد إلكتروني لـ WooCommerce
  • تعيين اسم المتجر والعنوان وشعار العنوان وما إلى ذلك.


الحد الأدنى من المتطلبات

  • WooCommerce 2.2 أو أحدث
  • ووردبريس 3.5 أو أحدث

التنصيب التلقائي

Automatic installation is the easiest option as WordPress handles the file transfers itself and you don’t even need to leave your web browser. To do an automatic install of WooCommerce PDF Invoices & Packing Slips, log in to your WordPress admin panel, navigate to the Plugins menu and click Add New.

In the search field type “WooCommerce PDF Invoices & Packing Slips” and click Search Plugins. You can install it by simply clicking Install Now. After clicking that link you will be asked if you’re sure you want to install the plugin. Click yes and WordPress will automatically complete the installation. After installation has finished, click the ‘activate plugin’ link.

التنصيب اليدوي من خلال واجهة ووردبريس

  1. قم بتنزيل الملف المضغوط للإضافة على جهاز الكمبيوتر الخاص بك
  2. Go to the WordPress admin panel menu Plugins > Add New
  3. اختيار رفع
  4. قم برفع الملف المضغوط للإضافة، وسيتم الآن تنصيبها
  5. بعد انتهاء التنصيب، انقر فوق رابط “تنشيط الإضافة”

التنصيب اليدوي عبر FTP

  1. قم بتنزيل ملف الإضافة على جهازك وفك ضغطه
  2. Using an FTP program, or your hosting control panel, upload the unzipped plugin folder to your WordPress installation’s wp-content/plugins/ directory.
  3. تفعيل الإضافة من خلال “إضافات” بلوحة تحكم الووردبريس.

الأسئلة المتكررّة

Where can I find the documentation?

WooCommerce PDF Invoices & Packing Slips documentation

إنها لا تعمل!

تحقق من إرشاداتنا التشخيصية خطوة بخطوة هنا: https://wordpress.org/support/topic/read-this-first-9/

أين يمكنني أن أجد المزيد من القوالب؟

Go to wpovernight.com to checkout more templates! These include templates with more tax details and product thumbnails. Need a custom templates? Contact us at support@wpovernight.com for more information.

هل يمكنني إنشاء / إرسال فاتورة أولية أو إشعار دائن؟

This is a feature of our Professional extension, which can be found at wpovernight.com

هل يمكنني المساهمة في الكود؟

You’re more than welcome! This plugin is hosted on github, where you can post issues or make pull requests.

كيف يمكنني عرض مصدر HTML / CSS لتصحيح / تطوير القوالب؟

There’s a setting on the Status tab of the settings page that allows you to toggle HTML output. Don’t forget to turn if off after you’re done testing!


5 مايو، 2021
This Plugin is easy to setup and is the perfect solution for archive pdf invoices for us as a company and for our costumers. Easy Design Changes and very handy overlay to use the plugin from the dashboard. Thank you very much! And also can i say that the support, answers questions immediately.
4 مايو، 2021
The best product without the necessary support doesn't feel that great! Not the case here, not only is the product great, but the support is responsive and extremely helpful. A very highly recommended plugin to improve the Woocommerce experience.
3 مايو، 2021
Plugin works great, it's free and when I needed a customization that was readily available through an option in the premium version, support gave me a free alternative with the use of a code snippet!
3 مايو، 2021
We use this every time we receive an order. It never fails and works flawlessly. Well deserved 5 star rating!
إقرأ جميع المراجعات 1٬154

المساهمون والمطوّرون

“WooCommerce PDF Invoices & Packing Slips” هو برنامج مفتوح المصدر. وقد ساهم هؤلاء الأشخاص بالأسفل في هذه الإضافة.


لقد تم ترجمة ”WooCommerce PDF Invoices & Packing Slips“ إلى 32 لغة. شكراً إلى جميع المُترجمين لمُساهماتهم.

ترجمة ”WooCommerce PDF Invoices & Packing Slips“ إلى لغتك.

مُهتم بالتطوير؟

تصفّح الشفرة، تحقق من مستودع SVN، أو الاشتراك في سجل التطوير بواسطة RSS.

سجل التغييرات


  • New: Allow filtering action button classes
  • Fix: Error when no order data passed to filename function
  • Fix: During first install, only set defaults if not already (pre-) configured
  • Fix: Use WC()->template_path() instead of WC_TEMPLATE_PATH for theme template overrides
  • Fix: Checks existence of document data number and date for order metabox fields
  • Fix: Prevent WooCommerce deprecation notices for non-product item types
  • Fix: jQuery deprecation notices
  • Tweak: Show instructions for emails metabox
  • Marked tested up to WooCommerce 5.2 and WordPress 5.7


  • Fix: Layout issues with totals for documents with more than 1 page
  • Fix: Allow setting an Invoice number and date manually
  • Fix: Prevent errors on PHP8.0 when order not loaded for a document


  • Fix: Images and fonts loading from custom locations for uploads and temporary folders


  • Fix: Support for PHP8.0, deprecating support for PHP7.0 or older (separate addon available for backwards compatibility)
  • Fix: Setup wizard crash when 3rd party plugins/themes check screen object
  • Dev: Use internal date formatting function, allowing easier PDF specific date format overrides
  • Dev: Introduced new action hook wpo_wcpdf_document_created_manually
  • Marked tested up to WooCommerce 5.0


  • New: Show notice if incompatible MailPoet mailing service is used
  • New: WooCommerce webhook topic for document saves
  • Fix: Don’t reverse order of bulk document if already sorted oldest to newest
  • Marked tested up to WooCommerce 4.9


  • New: Support for line breaks in invoice notes
  • Fix: Only pass opened edit fields when regenerating document
  • Fix: Words in table headers could be broken up
  • Deprecated: legacy translations (pre-2.0) are no longer read automatically (can be enabled in the Status tab)


  • Fix: Update invoice number and date when regenerating document from edit mode
  • Fix: Prevent infinite loop when temporary folder is not writable
  • Fix: Prevent layout issues when custom order data exceeds column width
  • Fix: Error when PHP Ctype extension is not installed
  • Tested up to WooCommerce 4.8 & WP 5.6


  • New: Redesigned action buttons
  • New: Randomized temporary folder name for easier protection
  • New: Setting to enable/disable customer notes
  • New: Completely disable free invoice when that setting is enabled (not just attachments)
  • New: Template action hooks before and after shop name and address
  • New: Filter to set starting number for yearly reset
  • Fix: Errors on third party products without weight/sku/dimensions
  • Fix: Uneven spacing between action icons
  • Fix: Missing $email_to_send parameter for woocommerce_before_resend_order_emails hook
  • Fix: Break long words in billing address
  • Tested up to WooCommerce 4.7


  • New: Add per-order notes to invoices (requires template update if you have a custom template)
  • New: Show notice with instructions for protecting the invoice folder on NGINX setups
  • Fix: Show correct “next number” on settings page for sites using MySQL 8+
  • Tested up to WooCommerce 4.6


  • Fix: Load custom documents once rather than on every document request
  • Tweak: execute wpo_wcpdf_init_document action in invoice too
  • تم الاختبار حتى WooCommerce 4.5


  • Feature: More advanced address visibility options
  • Fix: Deprecation notice in WooCommerce 4.4


  • Fix: check for existence of WooCommerce functions preventing incidental crashes in specific deployment setups
  • Fix: documents could still be generated programmatically when document disabled and not specifically checking for $documment->is_allowed()
  • Dev: Filter to disable reloading attachment translations
  • Tested up to WooCommerce 4.4 & WP 5.5


  • Fix: WP5.5 compatible PHPMailer integration
  • تم الاختبار حتى WooCommerce 4.3


  • Fix: ImageMagick version conflict
  • Translations: Updated POT


  • Fix: Correct integration with permalink settings for [wcpdf_download_invoice] shortcode
  • Fix: Plugin assets versioning


  • Feature: Manually regenerate individual documents with latest settings (shop address/footer/etc)
  • Feature: Shortcode to download invoice: [wcpdf_download_invoice]
  • Feature: Logo height setting
  • Fix: textdomain fallback would fail on specific site domains including .mo
  • Fix: Unnecessary extra page on edge case table heights
  • Fix: Settings disappearing when overriding document titles to empty string
  • Fix: check if header logo file still exists before loading
  • Fix: If document is already created, disregard ‘disable for:’ setting
  • Fix: Reading document settings & number when stored incorrectly (by external plugins)
  • تم الاختبار حتى WooCommerce 4.2


  • تم الاختبار حتى WooCommerce 4.1


  • إصلاح: التوافق مع الإصدارات السابقة مع WooCommerce 2.6
  • إصلاح: وصف الإعداد الخاص بتعطيل الفاتورة للطلبات المجانية
  • Changed: shorter my account button text (“Invoice” instead of “Download Invoice (PDF)”)


  • Dev: Added wpo_wcpdf_pdf_data filter for direct loading of PDF data
  • Dev: Added is_bulk property to bulk documents


  • Fix: missing order number in filename when invoice number not enabled
  • Dev: Added action hook for document save method (wpo_wcpdf_save_document)
  • Dev: Added action hook for printing custom data in PDF invoice data panel (wpo_wcpdf_meta_box_after_document_data)
  • Tested up to WooCommerce 4.0 & WP 5.4


  • Fix: Locale determination for admins on their own my account page
  • Fix: Action buttons icon alignment in WP5.3+
  • Fix: Add bulk actions via native WP methods
  • Tweak: minimize calls to WooCommerce mailer class when loading settings


  • Fix: Prevent errors for subscription tax fallback on refunds


  • Fix: German Market thumbnail settings conflict
  • Fix: Correctly sanitize wizard text input
  • Fix: Link to documentation for increasing memory
  • Fix: Fallback for subscription renewal tax rates


  • إصلاح: منع الأخطاء التي تؤدي إلى عدم ضبط إعدادات غير موجودة
  • إصلاح: عطل محتمل في المستندات التي تم بدء تشغيلها بشكل غير صحيح
  • إصلاح: وسيطات حساب معدل الضريبة المعكوسة
  • إصلاح: دعم وظائف معدل الضريبة للعناصر غير الخطية
  • إصلاح: وضع الفاصلة على معدلات الضرائب المتعددة
  • Fix: Setup wizard styles
  • Translations: Added lv locale for Latvian (keeping lv_LV as fallback)
  • Translations: Updated bundled Czech translations
  • تم الاختبار حتى WooCommerce 3.9


  • Fix: ‘No’ option in new date & number visibility setting
  • Fix: Resetting headers caused unintended caching of PDF files on some hosts


  • Fix: Creating invoices for draft orders would crash plugin
  • Tweak: Include time in default invoice date


  • Feature: Option to use order number & date for invoice number & date
  • Fix: prevent errors during update when WC not active
  • Fix: don’t auto create invoice number when manually entered & directly changing order status
  • Fix: invoice tax amount for refunded orders (in combination with WooCommerce tax setting “as a single total”)
  • Tweak: Default to today’s date when editing empty invoice date


  • Feature: Accept single order ID for wcpdf_get_document function
  • Feature: Filter to change number store for invoice
  • Tweak: Always prefer WC() function over global for WC3.0+
  • إصلاح: لا يمكن إعادة تعيين إعدادات المرفقات المخزنة بشكل غير صحيح
  • Fix: Prevent error notices during setup wizard
  • تم الاختبار حتى WooCommerce 3.8


  • Fix: Prevent duplicate invoice numbers for multiple attachment setups
  • Fix: Apply email order filter for each email separately


  • Tweak: Move filter to override order object to document level (rather than per email)


  • إصلاح: تحميل أنماط التحديد المحسنة في صفحة الإعدادات
  • Fix: WC Bookings email attachment
  • Tweak: Use WooCommerce 3.7 tax rate data when available.


  • إصلاح: أخطاء أرقام الفواتير المنسقة المصفاة


  • Feature: Setting to disable invoices globally for specific order statuses
  • Feature: Control action buttons visibility from settings wizard.
  • Feature: Allow loading of existing PDF file instead of generating on the fly via filter (wpo_wcpdf_load_pdf_file_path)
  • Fix: Check if temp folder exists before creating
  • Fix: Newlines in address from settings wizard
  • إصلاح: مشكلة الصور المزدوجة مع WooCommerce German Market
  • Fix: Only store document settings when creating one
  • تم الاختبار مع WooCommerce 3.7


  • Fix: Set default PHPMailer validator to ‘php’ (fixing ‘setFrom’ errors on PHP 7.3)
  • Fix: Attachment path for file lock check
  • Tweak: Don’t wait for file lock if locking disabled
  • Tweak: JIT loading of core documents for early requests (before init 15)


  • Feature: Better order notes formatting & optional filter for system notes
  • Feature: add email object to attachment hook and allow order object filtering
  • Fix: WooCommerce Chained Products row classes
  • Fix: Issues with locked attachment files preventing the email from being sent correctly


  • Tested up to WC3.6
  • Fix: Prevent infinite loop on temporary folder creation for partially migrated sites or write permission issues
  • Tweak: Removed height & width attributes from logo image (+filter wpo_wcpdf_header_logo_img_element)
  • Dev: Enable guest access to PDF with order key in URL


  • Fix: Fatal error on orders with multiple refunds


  • إصلاح: تعارض محتمل مع أحدث الاشتراكات
  • Fix: Load correct translations when admin user profile language is set to different locale
  • Fix: Use file lock to prevent parallel processes creating the same attachment file
  • Fix: Prevent notices for incorrectly loaded email classes
  • Feature: Allow different invoice number column sorting methods by filter
  • Feature: Filter for global prevention of creating specific document (wpo_wcpdf_document_is_allowed)


  • خاصية: تمت إضافة بريد إلكتروني لملاحظة العميل إلى خيارات المرفقات
  • Fix: Prevent empty invoice dates from being saved as 1970 (fallback to current date/time)


  • تم اختباره حتى WP5.1
  • Tweak: Re-use attachment file if not older than 60 seconds (tentative fix for parallel read & write issues)
  • Dev: Added URL overrides to switch between output mode (&output=html) and debug (&debug=true)


  • Fix: Hardened permissions & security checks on several admin actions (audit by pluginvulnerabilities.com)
  • Feature: Show checkmarks for existing documents on order details page buttons too
  • Tweak: Product Bundles compatibility, hide items by default, following bundle settings (Simple Template)
  • Tweak: Fallback to billing address on packing slip for orders without shipping address


  • إصلاح: الشحن إلى عنوان مختلف للتحقق من عناوين الشحن الفارغة
  • Fix: Fix notice when using invoice number by plugin
  • الإصلاح: وضع خط التسطير
  • إصلاح: توافق PHP 7.3
  • Tweak: Updated dompdf to 0.8.3
  • Tweak: move admin menu item to the end of WooCommerce menu
  • Tweak: pass document object to paper format & orientation filters


  • Feature: Check marks to indicate whether a document exists
  • Feature: Test mode to automatically apply updated settings to existing documents
  • Feature: Admin bar indicator for debug mode setting
  • إصلاح: استخدم دائمًا أحدث إعدادات البريد الإلكتروني
  • Fix: WooCommerce Composit Products item name compatibility
  • Fix: Use woocommerce_thumbnail for WC3.3+
  • Tweak: apply woocommerce_order_item_name filter (fixes compatibility with WooCommerce Product Addons 3.0)
  • Tweak: Use WooCommerce date format instead of WP date format


  • Fix: excluding some display options from historical settings
  • Fix: fix notices when requesting properties as custom fields (in a custom template)


  • إصلاح: مشاكل قراءة إعدادات المتجر


  • Feature: Added option to always use most current settings for the invoice
  • Fix: Double check for empty document numbers on initialization
  • New filter: wpo_wcpdf_output_format to set output per document type


  • Fix: potential number formatting issues with wpo_wcpdf_raw_document_number filter
  • إصلاح: منع التحميل المباشر لملفات القالب


  • Feature: Document settings are now saved per order – changing settings after a PDF has been created will no longer affect the output
  • Feature: Button to delete invoice or packing slip
  • Feature: Better error handling and logging via WC Logger (WooCommerce > Status > Logs)
  • Fix: Broader payment gateway compatibility (lower priority for documents initialization)
  • Fix: undefined variable in construct when loading document programmatically (props to Christopher)
  • Fix: compatibility with renamed WooCommerce plugins (settings page detection)
  • Tweak: Reload translations before creating attachment
  • Translations: Updated translations POT


  • Feature: Include invoice number and date in WooCommerce data remover and exporter
  • Fix: Row class for Chained Products compatibility
  • Fix: Improved compatibility with Advanced Custom Fields
  • Fix: Setting for diabling for free invoices should be applied even when other plugins are applying rules


  • Feature: Automatic cleanup of temporary attachments folder (settings in Status tab)
  • Fix: prevent infinite loop on sites without uploads folder
  • Fix: tag replacements for externally hosted images (CDN)


  • Fix: Fatal error on PHP 5.X


  • Feature: add [order_number] placeholder for number format
  • Feature: $order and $order_id variables now available directly template (without needing the document object)
  • Feature: add actions before & after addresses
  • Fix: Sorting orders by invoice number
  • Fix: Aelia Currency Switcher – use decimal & Thousand separator settings
  • Fix: fix jquery migrate warnings for media upload script
  • Tweak: add calculated tax rate to item data


  • Fix: Extended currency symbol setting for WooCommerce Currency Switcher by realmag777
  • إصلاح: تطبيق إعدادات WooCommerce العشرية على معدلات الضرائب ذات الكسور العشرية
  • Tweak: Pass document object to wpo_wcpdf_email_attachment filter


  • Feature: Filter for number store table (wpo_wcpdf_number_store_table_name)
  • Fix: prevent accessing order properties as custom field/order meta
  • Fix: prevent wrong application of wpo_wcpdf_filename filter
  • Fix: Improved tax rate calculation fallback


  • إصلاح: أزرار إجراءات WooCommerce 3.3
  • Feature: Added row classes for WooCommerce Composite Products


  • Fix: Fatal PHP error on My Account page.


  • Feature: New action wpo_wcpdf_init_document
  • Fix: Use title getters for my-account and backend buttons
  • Fix: Legacy Premium Templates reference
  • Tweak: Skip documents overview in settings, default to invoice


  • Fix: WooCommerce Order Status & Actions Manager emails compatibility
  • خاصية: فرز الطلبات حسب عمود رقم الفاتورة
  • Tweak: pass document object to title filters
  • Tweak: use title getter in template files (instead of title string)


  • Feature: WooCommerce Order Status & Actions Manager emails compatibility
  • Fix: Better url fallback for images stored in cloud
  • Update: dompdf library updated to 0.8.2 – DOMDocument parser set to default again


  • Fix: Prevent saving invoice number/date from order details page when not edited


  • Feature: Manually resend specific order emails in WooCommerce 3.2+
  • Tweak: Show full size logo preview in settings
  • Tweak: Custom field fallback to underscore prefixed meta key
  • Dev: added wpo_wcpdf_before_sequential_number_increment action


  • Fix: Minor XSS issue on settings screens by escaping and sanitizing ‘tab’ & ‘section’ GET variables. Discovered by Detectify.
  • Fix: Pakistani Rupee Symbol
  • Feature: Automatically enable extended currency symbol support for currencies not supported by Open Sans
  • Dev: added wpo_wcpdf_document_number_settings filter


  • Option: Use different HTML parser (debug settings)


  • Fix: Improved fonts update routine (now preserves custom fonts)
  • Fix: Enable HTML5 parser by default (fixes issues with libxml)
  • Tweak: Show both PHP & WP Memory limit in Status tab


  • Fix: Set invoice number backend button
  • إصلاح: مسارات الصور المصغرة
  • Tweak: Make dompdf options filterable


  • Feature: use [invoice_date="ymd"] in invoice number prefix or suffix to include a specific date format in the invoice number
  • Fix: Postmeta table prefix for invoice counter
  • Fix: 0% tax rates


  • Feature: Add support for Bedrock / alternative folder structures
  • Dev: Filter for merged documents
  • Fix: Better attributes fallback for product variations


  • Feature: Added button to delete legacy settings
  • Feature: Option to enable font subsetting
  • Fix: Invoice number sequence for databases with alternative auto_increment_increment settings
  • Fix: Fallback function for MB String (mb_stripos)


  • Feature: Improved third party invoice number filters (wpo_wcpdf_external_invoice_number_enabled & wpo_wcpdf_external_invoice_number)
  • Fix: Underline position for Open Sans font
  • Fix: Invoice number auto_increment for servers that restarted frequently
  • Fix: Dompdf log file location (preventing open base_dir notices breaking PDF header)
  • Fix: 1.6.6 Settings migration duplicates merging
  • Tweak: Clear fonts folder when manually reinstalling fonts


  • Feature: Remove temporary files (Status tab)
  • إصلاح: استبدال رقم الصفحة
  • Tweak: Fallback functions for MB String extension
  • Tweak: Improved wpo_wcpdf_check_privs usability for my account privileges
  • Legacy support: added wc_price alias for format_price method in document


  • Fix: Apply filters for custom invoice number formatting in document too
  • Fix: Parent fallback for missing dates from refunds


  • Fix: Better support for legacy invoice number filter (wpo_wcpdf_invoice_number – replaced by wpo_wcpdf_formatted_document_number)
  • Fix: Document number formatting fallback to order date if no document date available
  • Fix: Updated classmap: PSR loading didn’t work on some installations
  • Fix: Prevent order notes from all orders showing when document is not loaded properly in filter
  • Tweak: Disable deprecation notices during email sending
  • Tweak: ignore outdated language packs


  • إصلاح: طلب الملاحظات باستخدام order_id الصحيح
  • Fix: WC3.0 deprecation notice for currency
  • Fix: Avoid crashing on PHP5.2 and older
  • Fix: Only use PHP MB String when present
  • إصلاح: الصور البعيدة
  • إصلاح: خيار التنزيل


  • Fix: PHP 5.4 issue


  • New: Better structured & more advanced settings for documents
  • New: Option to enable & disable Packing Slips or Invoices
  • New: Invoice number sequence stored separately for improved speed & performance
  • New: Completely rewritten codebase for more flexibility & better reliability
  • New: Updated PDF library to DOMPDF 0.8
  • New: PDF Library made pluggable (by using the wpo_wcpdf_pdf_maker filter)
  • New: lots of new functions & filters to allow developers to hook into the plugin
  • Changed: $wpo_wcpdf variable is now deprecated (legacy mode available & automatically enabled on update)
  • Fix: Improved PHP 7 & 7.1 support
  • Fix: Positive prices for refunds
  • Fix: Use parent for attributes retrieved for product variations
  • Fix: Set content type to PDF for download


  • Feature: Facilitate downgrading from 2.0 (re-installing fonts & resetting version)
  • Fix: Update currencies font (added Georgian Lari)
  • Translations: Added Indonesian