=== Order Invoice PDF Generator ===
Contributors: devpriyanshu
Tags: invoice, pdf, woocommerce, billing, orders
Requires at least: 5.8
Tested up to: 6.9
Requires PHP: 7.4
Stable tag: 1.0.2
License: GPLv2 or later
License URI: [https://www.gnu.org/licenses/gpl-2.0.html](https://www.gnu.org/licenses/gpl-2.0.html)

Generate clean, professional, and printable PDF invoices for WooCommerce orders with global tax support and RTL compatibility.

== Description ==

**Order Invoice PDF Generator** allows store owners to generate professional PDF invoices for WooCommerce orders directly from the admin order screen.

The plugin is built to work globally and supports RTL languages, Unicode characters, and country-based tax labels (GST, VAT, Tax ID) without enforcing any legal rules.

This plugin focuses on simplicity, performance, and compatibility with modern WooCommerce versions.

**Key Features:**

* Generate PDF invoices for WooCommerce orders
* One-click invoice generation from order list and order details
* Clean, professional invoice layout
* Upload and display store logo on invoices
* Store address and custom thank-you message
* Country-aware tax label (GST / VAT / Tax Number)
* Shipping cost displayed correctly
* RTL language support (Arabic, Hebrew, etc.)
* Unicode font support
* Uses WooCommerce order data only
* No external services or APIs

== Why Choose Order Invoice PDF Generator? ==

* Lightweight and fast
* No complex configuration
* Works worldwide
* Safe for WordPress.org guidelines

== Installation ==

1. Upload the plugin files to the `/wp-content/plugins/order-invoice-pdf-generator` directory, or install the plugin through the WordPress Plugins screen.
2. Activate the plugin through the 'Plugins' screen in WordPress.
3. Make sure WooCommerce is installed and activated.

== Usage ==

1. Go to **WooCommerce → Orders**.
2. Click the PDF icon next to an order to generate the invoice.
3. To configure invoice details, go to **WooCommerce → Invoice PDF**.
4. Upload your store logo, add address, tax number, and thank-you message.

== Frequently Asked Questions ==

= Does this plugin calculate taxes? =

No. The plugin only displays tax data already calculated by WooCommerce.

= Is this plugin legally compliant in my country? =

The plugin does not enforce legal compliance. It displays invoice information provided by the store owner. Please consult local regulations for legal requirements.

= Does it support RTL languages? =

Yes. The plugin supports RTL layouts and Unicode fonts for Arabic, Hebrew, and other RTL languages.

= Does it support shipping costs? =

Yes. Shipping costs are displayed correctly if they exist in the order.

= Does this plugin require an external service? =

No. All PDFs are generated locally on your server.

== Screenshots ==

1. Invoice PDF layout
2. Invoice settings page
3. PDF invoice button in WooCommerce orders

== Changelog ==

= 1.0.2 =

* Minor improvements and code optimizations

= 1.0.1 =

* Added HPOS (High-Performance Order Storage) compatibility
* Added invoice button to order edit screen
* Fixed text domain loading for translations
* Code cleanup and improvements

= 1.0.0 =

* Initial release
* PDF invoice generation for WooCommerce orders
* Global-ready invoice layout with RTL support
* Country-aware tax labels

== Upgrade Notice ==

= 1.0.2 =
Minor improvements and optimizations.

= 1.0.1 =
Bug fixes and improvements. Now compatible with WooCommerce HPOS.

= 1.0.0 =
Initial public release.
