| 开发者 | sanbazar |
|---|---|
| 更新时间 | 2026年12月3日 04:31 |
| PHP版本: | 8.0 及以上 |
| WordPress版本: | 7.1 |
| 版权: | GPLv2 or later |
| 版权网址: | 版权信息 |
psr/log 3.x, used by the NFePHP stack) are published for PHP 8.0 or newer, and their Composer autoloader already stops with a clear message on older PHP. The header declares it so WordPress shows the requirement before installing.assets/fonts/); nothing is loaded from external font services.
sanbar-express-nfe-pdv-br folder to /wp-content/plugins/, or install via Plugins → Add New → Upload.No. The plugin signs and sends the invoices to SEFAZ itself, using your A1 certificate.
The invoice engine follows the regime set in the settings (CRT). Its validation rules are focused on MEI (CRT 4) and Simples Nacional (CRT 1).
In the WordPress database (the XML files compressed), never in a public folder of the site — so they are included in your regular database backups and are not lost when the plugin is updated. Keep the XML files for at least 5 years, as required by law.
Nothing is removed. Deleting the plugin leaves this in the database, on purpose:
{prefix}nfbr_arquivos) and the plugin settings.sanbar_certificado). It is shared with SanBar EXPress Fiscal Check-BR, which may still need it, and whether to remove it is your choice.sanbar_certificado (and nfbr_certificado, if it still exists) from the {prefix}options table of the database.
Why the invoices are kept: the issuer must keep the invoice's digital file for the period set by the tax legislation, and make it available to the tax authority on request. Deleting a plugin must not destroy documents you are legally required to keep.
{prefix}nfbr_arquivos and the options starting with nfbr_ by hand.
Some older A1 certificates (.pfx) use RC2/3DES encryption that current servers (OpenSSL 3) cannot read. This plugin then tries to convert the file by itself (see the next question). If the server does not allow it, convert it on your computer and upload the new file. There is also a "?" help next to the upload with these steps:
openssl pkcs12 -legacy -in old.pfx -nodes -out temp.pemopenssl pkcs12 -export -in temp.pem -out new.pfxrm temp.pemtemp.pem holds your private key without protection, so delete it right away (on the Windows Command Prompt use del temp.pem). If you get "unknown option -legacy", your OpenSSL is old: remove -legacy. On Windows, Git for Windows includes OpenSSL in Git Bash. You can also ask your certificate authority to re-issue or export the A1 in the new format. Keep the original file, and never send the certificate or its password by e-mail or chat.
Only one, and only in the case above: when you upload an old-format certificate, this plugin runs the server's openssl program (PHP exec) to re-encode the file you just sent.
escapeshellarg.exec is disabled or openssl is missing, nothing runs and you are told how to convert the file yourself.Yes. There is one certificate per site, kept in the site vault (the option sanbar_certificado), and both plugins read and write the same one:
wp-config.php). Anything altered in the database is refused. If you change the site's security keys the certificate can no longer be opened: the plugin says so and you send it again.wp-config.php, the certificate can no longer be opened. The plugin then says so on the Settings screen and when issuing, and asks you to restore the previous keys or upload the certificate again. Keep a copy of your .pfx file.Yes, only to show the plugin's own screens inside the plugin's home screen, and to open a WooCommerce order inside the Orders screen. Every frame loads a page of your own site's admin (same address, same login session and the same user permissions); no external site or remote content is ever framed. Without the right permission, the page inside the frame shows the usual WordPress access error.
No. Issuing, cancelling, correcting and voiding NF-e/NFC-e are fully available.