=== BelegDachs Invoice Generator for WooCommerce ===
Contributors: oadev
Tags: invoice, woocommerce, pdf, german, languages
Requires at least: 6.5
Tested up to: 7.1
Requires PHP: 8.1
Requires Plugins: woocommerce
WC requires at least: 9.4
WC tested up to: 11.0.0
Stable tag: 1.0.1
License: GPLv2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html

Generate PDF invoices for WooCommerce orders with German business invoice fields.

== Description ==

BelegDachs Invoice Generator for WooCommerce generates PDF invoices for your WooCommerce orders — including German business invoice fields and accurate VAT routing.

= Why BelegDachs Invoice Generator for WooCommerce? =

German merchants are legally required to issue proper invoices for every sale. BelegDachs Invoice Generator for WooCommerce makes this easy: it generates a professional PDF invoice for each order, numbers them sequentially, and stores every invoice in your WordPress database.

= Features =

* **PDF invoices** – Clean, professional invoice PDFs generated from your order data.
* **German business invoice fields** – Mandatory German requirements (business ID, VAT ID, bank details, invoice number, issue date) are built in.
* **Accurate VAT** – Tax rates are read directly from WooCommerce tax data, so invoices always show the correct VAT.
* **Sequential invoice numbering** – Automatic numbering with configurable prefix; numbering survives plugin reactivation.
* **Manual creation** – Create an invoice for any order directly from the order actions or the order metabox.
* **Order overview** – Invoice status column in the order list so you always know what has been billed.
* **Order-to-invoice linking** – Every invoice is linked to its original WooCommerce order.
* **Settings page** – Configure your company details, invoice numbering, and defaults in one place.
* **Translation ready** – Fully internationalized for translation through WordPress.org.

= Premium upgrade =

A premium add-on is offered outside WordPress.org (via the upgrade button in settings, using an external checkout service). It adds:

* Automatic invoice generation when orders reach a chosen status
* ZUGFeRD and XRechnung XML e-invoices (EN 16931) alongside your PDFs
* Automatic email delivery of invoice PDFs and XML
* Cancellation invoices
* Credit note invoices

== External Service ==

This plugin offers an optional premium upgrade. The upgrade offer is **disabled by default**. When enabled via the "Premium Upgrade Offer" checkbox on the Settings page, the plugin loads the Freemius Checkout service (checkout.freemius.com) to display a payment overlay. This service is operated by [Freemius Inc.](https://freemius.com/).

Data collected by Freemius during checkout:
* Email address, first name, last name (entered by the user)
* Billing information (credit card or PayPal, entered by the user)
* Site URL (for license activation)

No personal data is sent to Freemius until a user voluntarily enables the upgrade offer and completes the checkout form. The plugin does not send telemetry, usage data, or license validation requests to any external service.

* Freemius Terms of Service: https://freemius.com/terms/
* Freemius Privacy Policy: https://freemius.com/privacy/

== Installation ==

1. Upload the `belegdachs-for-woocommerce` folder to `/wp-content/plugins/`
2. Activate the plugin through the Plugins menu
3. Go to BelegDachs > Settings to configure your company details
4. Start creating invoices for your orders

== Changelog ==

= 1.0.1 =
* Prevent a fatal error when the bundled Composer dependencies are missing and show an actionable admin notice.
* Verify the Composer autoloader is included in release ZIPs.

= 1.0.0 =
* Initial release
* PDF invoice generation
* WooCommerce order integration
* Settings page
* Invoice metabox
* Order column
* "Create Invoice Now" includes the metabox Company Name / VAT ID fields in the generated invoice PDF
