Published
The official Lucanto plugin for WooCommerce connects your online store directly to Lucanto with no third-party bridge add-ons required. On each new order it can issue a pro forma or final invoice with automatic cross-border VAT classification, record confirmed Stripe payments, deduplicate guest contacts, and issue credit notes on refunds.
What you will need
- WordPress 6.9+, WooCommerce 10.8+, and PHP 8.3+. For Stripe payment rules, WooCommerce 11.0+ and the official WooCommerce Stripe Payment Gateway are required.
- A Lucanto Workspace with country and supplier VAT status configured (the PRO plan is recommended for full store automation and document email delivery).
- The plugin installer ZIP. During pilot access, request the package via our contact form.
- A host cron running
wp cron event run --due-nowso background queue operations execute reliably.
Install the plugin and verify the connection
- In WordPress, go to Plugins → Add New → Upload Plugin, select the
lucanto-woocommerceZIP archive, and activate it. - Open WooCommerce → Settings → Integration → Lucanto.
- Copy your Workspace ID (starting with
ws_) from Lucanto and generate a Workspace API token using the WooCommerce preset. You can also supply the token outside the WordPress database via theLUCANTO_WC_API_TOKENconstant. - Click Verify connection.
The Current plan card immediately confirms whether sending emails from Lucanto and attaching PDFs to WooCommerce emails are available on your plan.
Invoicing rules, bank account, and delivery
In the middle section you configure which payment methods trigger which documents and how PDFs reach customers.
- Bank transfer: creates a pro forma invoice when the order is placed. Lucanto monitors incoming transfers on the chosen bank account by variable symbol; once matched, you confirm the final invoice in Lucanto.
- Stripe payment gateway: issues the final invoice after a confirmed Stripe capture and optionally records the settled payment in Lucanto against the invoice's bank account.
- Document delivery and numbering: choose the delivery channel (Manual PDF, Email from Lucanto, or PDF in WooCommerce email) and number series separately for pro forma invoices, final invoices, and credit notes.
- Credit notes on refunds: manual via the order panel button by default, with an optional automatic mode for full and itemized refunds (manual partial amount-only refunds without line items remain manual in Lucanto).
- Automate invoicing for new orders: enable this checkbox only after verifying your connection, number series, and automatic delivery channel for bank transfers.
Billing fields, zero-total orders, and pausing writes
- Company ID, Tax ID, and VAT ID fields: leave blank to detect WooCommerce Blocks Additional Checkout Fields and common meta keys automatically, or specify an exact field ID or order meta key.
- Zero-total orders: decide whether 100% coupon or voucher orders are skipped without a document or flagged for review.
- Processing: use Pause Lucanto writes and automatic delivery whenever restoring a backup or updating the plugin.
Tracking documents on orders and in diagnostics
The WooCommerce orders table gains a Documents column showing linked pro forma, final invoice, and credit note numbers alongside any uncovered refund alert.
Inside each order, the Lucanto documents panel on the right displays document and payment statuses, the variable symbol, amount due, and Open in Lucanto / Download PDF links.
If an order needs attention — for instance, a business customer entered a company name without a registration ID — you can inspect the reason and request_id under WooCommerce → Lucanto (Diagnostics) and use Retry directly in the order panel once fixed.
Cross-border VAT, contact deduplication, and credit notes
- Cross-border VAT: based on your Lucanto Workspace supplier VAT status (§4 VAT payer, §7/§7a, or non-VAT payer), billing/shipping countries, and customer VAT ID, the plugin automatically applies domestic VAT, EU B2B reverse charge (services Art. 44 / goods Art. 138), or non-EU export treatment. Foreign EU OSS rates or mixed physical-and-virtual cross-border orders are safely stopped in Diagnostics for manual review.
- Private-customer contact deduplication: repeat purchases — including guest checkouts — reuse existing Lucanto private-person contacts by exact email, name, and billing address match while serializing concurrent orders so duplicate contacts are never created.
- Credit notes on refunds: orders with an issued invoice show an Issue credit note button in the Lucanto documents panel for each eligible full or itemized refund (or issue automatically when enabled). The plugin supports multiple partial credit notes per order, inherits the buyer, VAT regime, and bank account from the original invoice, and checks Lucanto for existing credit notes to prevent duplicates.