=== Alegra Invoicing for WooCommerce === Contributors: tmdintegrations Tags: woocommerce, invoicing, alegra, checkout, accounting Requires at least: 6.0 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 Capture tax identification data in WooCommerce checkout so Alegra can generate compliant invoices automatically. == Description == Automate your invoicing workflow with Alegra. This plugin adds identification fields to your WooCommerce checkout so Alegra can issue compliant invoices automatically after each sale. = How does it work? = 1. The plugin adds document number and document type fields to your checkout. 2. You connect WooCommerce from your Alegra account. 3. Alegra receives the order data and generates the invoice automatically. = Key features = * Compatible: Works with both classic WooCommerce checkout and WooCommerce Blocks. * Secure: Processing happens in Alegra, without adding heavy tasks to your web server. * Configurable: Customize the document number label and choose whether the fields are required. == Installation == 1. Upload the plugin folder to `/wp-content/plugins/`, or install it from the WordPress plugins screen. 2. Activate the plugin from the `Plugins` screen in WordPress. 3. Go to `WooCommerce > Settings > General` and find the `Alegra - Electronic Invoicing` section. 4. Configure the document number label, document type label, and whether the fields are required. 5. Sign in to your Alegra account, open `Marketplace` or `Integrations`, find WooCommerce, and follow the connection steps. == Frequently Asked Questions == = Does this plugin issue invoices directly from WordPress? = No. The plugin prepares your store to capture the tax information required for invoicing. Invoice issuance and accounting happen automatically in your Alegra account. = Does it work in my country? = The integration is primarily designed to support Mexico (SAT) and Colombia (DIAN), but you can use the checkout field in any country available in Alegra. = I installed the plugin, why do I not see invoices yet? = Installing the plugin is only the first step. To see invoices, go to your Alegra account and complete the WooCommerce connection to activate synchronization. == Changelog == = 1.0.2 = * Fix: the customer document is now saved and sent correctly on stores using High-Performance Order Storage (HPOS), preventing orders from being invoiced to "Consumidor final". * Compatibility: declared support for WooCommerce High-Performance Order Storage (custom order tables). = 1.0.1 = * Fix: document fields now also render on the classic (shortcode) checkout, not only on WooCommerce Blocks. * Fix: document data captured on the block checkout is now sent correctly to Alegra. * Change: document type options are now shown in Spanish (Colombia and Mexico). * New: added the "Permiso especial de permanencia (PEP)" document type for Colombia. = 1.0.0 = * Initial public release. * Support for document capture in WooCommerce Blocks and classic checkout. * Settings integration in WooCommerce general settings.