Linux 软件免费装
Banner图

FreeInvoice API

开发者 cloudfinance
更新时间 2026年7月29日 17:43
PHP版本: 7.2 及以上
WordPress版本: 6.9
版权: GPLv2 or later
版权网址: 版权信息

标签

woocommerce invoice sdi fattura xml fatturazione elettronica fattura elettronica ordini codice destinatario ricevute

下载

1.0 1.0.1 1.0.2 1.0.3 1.1.0 1.1.1 1.2.1

详情介绍:

FreeInvoice API connects your WooCommerce store to the FreeInvoice service, automating the generation and transmission of Italian electronic invoices and commercial documents. Key Features Prerequisites Documentation

安装:

Minimum requirements Automatic installation
  1. Go to Plugins → Add New in your WordPress admin.
  2. Search for "FreeInvoice API".
  3. Click Install Now and then Activate.
Manual installation via WordPress admin
  1. Download the plugin zip file.
  2. Go to Plugins → Add New → Upload Plugin.
  3. Choose the zip file and click Install Now.
  4. Click Activate.
Manual installation via FTP
  1. Download and unzip the plugin.
  2. Upload the freeinvoice-api folder to /wp-content/plugins/.
  3. Activate the plugin from the Plugins menu.
After activation
  1. Go to WooCommerce → Settings → FreeInvoice API.
  2. Enter your FreeInvoice API credentials.
  3. Configure your seller data, tax regime, and VAT rates.
  4. Choose whether to use sandbox or production mode.

屏幕截图:

  • Seller data configuration
  • Invoice management setup
  • 0% VAT rate management
  • Payment method configuration
  • Invoice/document send dialog
  • Invoice batch purchase
  • Invoice numbering settings
  • Fiscal fields during WooCommerce checkout
  • Fiscal data in WooCommerce order detail
  • Invoice/document status in WooCommerce orders list

升级注意事项:

1.2.0 Improves FatturaPA XML pricing compatibility for tax-inclusive WooCommerce catalogs and admin fiscal-data prefill before manual sends. Verify staging orders with sale prices/coupons before production rollout. 1.1.1 Bugfix release: fixes an incorrect split payment flag in zero-VAT/Natura XML summaries sent to SDI. 1.1.0 Major update: adds WooCommerce Checkout Block support, HPOS compatibility, FreeInvoice document flow (ordini/ricevute), auto-send on order completion, and ricevute for private customers without fiscal code. Please review your plugin settings after upgrading.

常见问题:

What do I need to use this plugin?

You need a WordPress site with WooCommerce installed and an active FreeInvoice API account. You can sign up at cloudfinance.it.

Does this plugin support the WooCommerce Checkout Block?

Yes. The plugin uses the WooCommerce Additional Checkout Fields API to add the private-customer invoice opt-in and fiscal fields to both the classic checkout and the WooCommerce Checkout Block. For private customers, fiscal fields appear when "Richiedo fattura" is selected and then adapt by customer type. For companies/entities/professionals, invoicing is mandatory: the opt-in checkbox is hidden/forced on and saved fiscal data is shown directly in a preview card with "Modifica". WooCommerce Blocks currently expose only the contact, address, and order Additional Checkout Fields locations, so the plugin places these fields in the supported order location rather than forcing an unsupported slot between shipping and payment.

What is HPOS and is it supported?

HPOS (High-Performance Order Storage) is WooCommerce's modern order data storage system. This plugin fully supports HPOS and works correctly with it enabled or disabled.

What types of documents can I send?

The plugin supports three document types:

  • SDI Invoices (fatture elettroniche) — sent through the SDI, for companies and private individuals with a fiscal code.
  • Ordini (orders) — sent through the FreeInvoice document flow, for companies and private individuals with a fiscal code.
  • Ricevute (receipts) — sent through the FreeInvoice document flow, for private individuals without a fiscal code.

How does the ricevute flow work for private customers without invoice opt-in?

When a private customer leaves "Richiedo fattura" off at checkout, the plugin can route the document as a ricevuta. The FreeInvoice backend creates or matches a Lead receiver using the customer's email address — no fake fiscal code is used. If the customer turns "Richiedo fattura" on as a private customer, a valid fiscal code is required.

When are fiscal fields used for the current order?

For private customers, only when they select the dedicated "Richiedo fattura" checkbox at checkout. When a private customer leaves it off, saved fiscal profile data such as CF, PIVA, SDI, or PEC is not used for current order routing, and the order remains eligible for the safe ricevuta/non-invoice path. For companies/entities/professionals, invoicing is mandatory and the fiscal data is used for the order.

Can I test the plugin before going live?

Yes. Enable sandbox mode in the plugin settings to test the entire invoice and document flow against the FreeInvoice sandbox environment. No real invoices will be transmitted.

Does the plugin send invoices automatically?

Yes, if auto-send is enabled in the settings, the plugin will automatically send the appropriate invoice or document when a WooCommerce order is marked as completed. You can also send manually from the order admin screen at any time; the admin selector can choose between SDI invoice, ordine, and ricevuta when the order fiscal data supports those send types.

How do I track invoice status?

Invoice and document status is updated in real time via webhook. You can see the current status in the WooCommerce order admin screen and in the orders list.

Can I disable invoicing for private individuals?

Yes. In the plugin settings you can enable or disable electronic invoicing for private individuals. When disabled, the fiscal fields will not appear for private customers during checkout.

Where can I manage the tax regime?

In the plugin settings (WooCommerce → Settings → FreeInvoice API) you can select your business tax regime from a drop-down list.

Does the plugin generate PDF invoices?

No. The plugin generates FatturaPA XML and transmits it through the FreeInvoice service. PDF invoices are available on your FreeInvoice account.

Can I manage 0% VAT rates?

Yes. The plugin settings include a dedicated section for managing 0% VAT rates with their corresponding FatturaPA natura codes.

Where can I configure invoice numbering?

Invoice numbering settings are available in the plugin settings. You can choose between automatic or manual numbering.

更新日志:

1.2.1 1.2.0 1.1.1 1.1.0 1.0.3 1.0.0