Linux 软件免费装
Banner图

NFE.io Nota Fiscal for WooCommerce

开发者 nfe
更新时间 2026年10月29日 07:56
PHP版本: 8.2 及以上
WordPress版本: 7.1
版权: GPLv2 or later
版权网址: 版权信息

标签

invoice brazil nota fiscal nfe nfse

下载

1.5.3

详情介绍:

This plugin connects your store to NFE.io, a Brazilian service that issues electronic service invoices (NFS-e) with city halls across Brazil. You configure which company issues the invoices and when they should be issued. From then on, an invoice can be requested automatically when an order reaches a given status, by you from the order screen, or by the customer from their account page. NFE.io issues the document with the city hall and reports back; the plugin records the result on the order and lets the customer download the PDF. What it does What you need External services This plugin sends data to NFE.io, a third-party service, because that is what issuing an invoice requires: the document is produced by NFE.io and filed with the city hall. Nothing is sent unless an invoice is requested for an order. api.nfe.io — issuing and managing invoices. open.nfe.io — postal code lookup. Notifications back to your site. After an invoice is requested, NFE.io reports the outcome to your site over HTTPS. These deliveries are authenticated with a shared secret the plugin generates; anything unsigned is rejected. No personal data leaves your site in this exchange — your site only receives. Your use of the NFE.io service is governed by its terms of service and privacy policy. This plugin is published by NFE.io, the owner of the NFE.io service and trademark, to connect that service to WooCommerce.

安装:

  1. Install and activate WooCommerce and Brazilian Market on WooCommerce.
  2. Install this plugin through Plugins > Add New, or upload its folder to wp-content/plugins.
  3. Activate it through the Plugins menu.
  4. Go to WooCommerce > Settings > Integration > Receipts (NFE.io).
  5. Enter your NFE.io API key and choose the company that issues the invoices.
  6. Choose when invoices should be issued, and set the service codes your city hall requires.
The plugin registers its notification endpoint with NFE.io on its own as soon as an API key is saved. If anything goes wrong there, the settings screen tells you and offers to try again.

屏幕截图:

  • Order list with the receipt status of every order at a glance, and bulk actions to issue or cancel.
  • Order screen showing the issued receipt: number, verification code, issue date and a link to the document.
  • The customer's account page, where each order with a receipt offers the PDF for download.

常见问题:

Where do I configure the integration?

Open WooCommerce > Settings > Integration > Receipts (NFE.io). This is where you configure the API key, issuing company, invoice issuance mode and fiscal defaults.

Do I need to configure a webhook?

No -- the plugin registers it for you. It generates a secret, registers the webhook with NFE.io and starts verifying signatures as soon as an API key is saved. The settings screen shows whether it is active, and offers a link to register it again if you ever need to. The webhook is what keeps your store in sync with invoice status changes, including issuance and cancellation. Every delivery is authenticated with an HMAC signature: anything unsigned, or signed with the wrong secret, is rejected without touching your orders.

Does the plugin support the tax reform (RTC) fields?

Yes. It supports nbsCode, ibsCbs.operationIndicator and ibsCbs.classCode, with fallback priority across variation, simple product, and global integration settings.

How do I test without issuing real invoices?

The plugin always talks to the production API, and that is deliberate: NFE.io has no separate sandbox host, so an "environment" switch in these settings would promise an isolation that does not exist -- and a fiscal document issued by mistake is not something you can take back. Isolation comes from the account instead. Use an API key from a development account and select a company configured outside the production environment. Invoices issued that way carry no fiscal validity, and the plugin refuses to record an invoice whose environment does not match the company you selected.

I am upgrading from the older plugin. What changes?

This plugin was renamed, so WordPress treats it as a new plugin rather than an update. Install this one and deactivate the older "NFe for Woocommerce". Your settings and the invoices already recorded on your orders are kept -- both read the same data. Do not leave both active. Two copies would each request invoices for the same order, and a duplicate NFS-e has to be cancelled by hand. If the older plugin is still active, this one refuses to start and tells you so.

Will I miss invoice updates while upgrading?

The new, signed webhook is registered before the old one is retired, so there is no gap where nothing is listening. During the short window in between, deliveries from the old unsigned webhook are refused -- NFE.io retries them, and the new webhook picks them up. If the API key is not configured when you upgrade, registration waits until you save one. Until that happens the plugin tells you, in the admin area, that invoice status updates are not being applied.

更新日志:

1.5.3 1.5.2 1.5.1 1.5.0 1.4.0-beta 1.0.0 1.0.1 1.0.2 1.0.3 1.0.4 1.2.5 1.2.6 1.2.7 1.2.8 1.2.9 1.3.0 Testing support to newer wordpress versions 1.3.1 Adjusting trademarking issues