﻿=== Invoicepress ===
Contributors: fahadmahmood, creavince, invoicepress  
Tags: invoice, billing, quotation, pdf invoice, pdf download, woocommerce pdf, woocommerce invoice, invoice generator, invoice builder  
Requires at least: 5.0  
Tested up to: 6.8  
Requires PHP: 7.2  
Stable tag: 1.0.6  
License: GPLv2 or later  
License URI: https://www.gnu.org/licenses/gpl-2.0.html  

Generate professional PDF invoices and quotations directly from your WordPress site — with or without WooCommerce. Fully customizable layout, shortcode-based forms, and frontend preview support.

== Description ==

**Author:** [Fahad Mahmood](https://www.androidbubbles.com/contact)  
**Plugin Site:** [https://www.invoicepress.com](https://www.invoicepress.com)  
**Blog:** [Android Bubbles WordPress Blog](http://androidbubble.com/blog/category/website-development/php-frameworks/wordpress)

**Invoicepress** is a simple yet powerful invoicing solution for WordPress. Whether you're using WooCommerce or not, you can easily create, render, and download invoices in PDF format. Offer downloadable invoices to your users — or generate them manually using a shortcode-powered form.

**Highlights:**

- &#10003; Works standalone (no WooCommerce required)  
- &#10003; WooCommerce support with automatic order-to-invoice mapping  
- &#10003; [INVOICEPRESS-FORM] shortcode for public invoice generation  
- &#10003; Generate beautiful, print-ready PDF invoices  
- &#10003; Dynamic fields (product notes, custom data, etc.)  
- &#10003; Optional logo, currency, and business info customization  
- &#10003; Auto-cleanup of old invoice files  
- &#10003; Multi-language ready with `.pot` file  
- &#10003; Developer-friendly and GPL-licensed

== Installation ==

To install **Invoicepress**, you will need:

- A working WordPress site (version 5.0 or later)  
- Admin access to install plugins

= Method A: Automatic =

1. Go to **Plugins → Add New**  
2. Upload and install the plugin ZIP  
3. Activate Invoicepress  
4. Access via **Settings → Invoicepress**, or **WooCommerce → Invoicepress** if WooCommerce is active

= Method B: Manual =

1. Upload the extracted plugin folder to `/wp-content/plugins/invoicepress/`  
2. Activate the plugin from **Plugins → Installed Plugins**  
3. Visit **Settings → Invoicepress**

== Frequently Asked Questions ==

= Does this plugin require WooCommerce? =  
No. Invoicepress can work entirely without WooCommerce for custom invoice creation.

= What if WooCommerce is installed? =  
Invoicepress will automatically integrate and add a "Download Invoice" button to customer account pages. It can link invoices to WooCommerce orders.

= Is the PDF layout customizable? =  
Yes. You can override the invoice HTML template, adjust currency, add logos, and change styles.

= Where are invoices stored? =  
In the `uploads/invoicepress/` directory. You can auto-clean these based on age and type.

= Can I show a public invoice form to visitors? =  
Yes! Use the `[INVOICEPRESS-FORM]` shortcode on any post/page. It works even for non-logged-in users and does not save data to the database.

= Are the invoices GDPR-compliant? =  
Yes. No personal data is stored unless you explicitly save it using admin tools.

== Screenshots ==

1. Invoice template with branding  
2. Admin settings and customization  
3. WooCommerce integration (Download button)  
4. Frontend form for guest users  
5. PDF output sample  
6. Dynamic field options

== Changelog ==

= 1.0.6 =
* Added public shortcode `[INVOICEPRESS-FORM]` with HTML/PDF preview  
* Read-only public form mode (no DB writes)  
* Integrated WooCommerce order field mapping  
* Dynamic invoice fields with label/placeholder options  
* Cleaned file structure and optimized global path usage

= 1.0.5 =
* Dynamic field builder (checkbox + text inputs)  
* AJAX-based save for custom textarea fields  
* Bootstrap support and improved frontend styling  

= 1.0.4 =
* WooCommerce order selector with search + autofill  
* QR code generation for invoice data  
* PDF style improvements with cleaner layout

= 1.0.3 =
* My Account PDF download button  
* AJAX PDF generator  
* File statistics and cleanup schedule

= 1.0.2 =
* Custom post type `invoicepress`  
* Template-based invoice design  
* Printable layout added

= 1.0.1 =
* WooCommerce invoice logic started  
* Settings panel integrated under admin  

= 1.0.0 =
* Initial release  
* Manual invoice creation  
* Static PDF output with branding

== Upgrade Notice ==

= 1.0.6 =
Recommended update — adds public shortcode, WooCommerce sync, and PDF preview features.

== License ==

This plugin is licensed under GPLv2 or later.  
You're free to modify, redistribute, and use it commercially.  
See https://www.gnu.org/licenses/gpl-2.0.html

== Credits ==

Crafted with code and care by [Fahad Mahmood](https://www.androidbubbles.com), with support from the open-source community.