Linux 软件免费装
Banner图

Dotes Fiscal

开发者 dotes
更新时间 2026年11月27日 21:11
PHP版本: 7.4 及以上
WordPress版本: 7.1
版权: GPLv2 or later
版权网址: 版权信息

标签

woocommerce nf-e ncm reforma tributaria certificado digital

下载

1.1.0

详情介绍:

Every Brazilian WooCommerce store that sells physical goods needs fiscal data on its catalog and a valid A1 digital certificate, whatever NF-e issuer it uses (Bling, Tiny, eNotas, Dotes NF-e or another). Dotes Fiscal does exactly that. Fiscal data of the products Tax reform (IBS/CBS) A1 digital certificate Is my store ready for NF-e? A checklist with green, yellow and red items and the action that fixes each one: store address, company CNPJ and state registration, products missing NCM or origin, CPF/CNPJ, number and neighborhood fields at checkout (it detects Brazilian Market on WooCommerce and recommends it when missing), certificate and private folder. Getting started: until everything is done, a four-step checklist (company data, certificate, fiscal data of the products, store ready) shows the next step and opens the right screen. It stays at the top of the plugin page and appears on the plugins and products screens, where Dismiss hides it for good. For developers Existing data keeps working: the fields use the _dotes_nfe_* meta keys of Dotes NF-e (_dotes_nfe_ncm, _dotes_nfe_origem, _dotes_nfe_cest, _dotes_nfe_unidade, _dotes_nfe_gtin, _dotes_nfe_cfop_interno, _dotes_nfe_cfop_interestadual, _dotes_nfe_csosn, _dotes_nfe_fcp, _dotes_nfe_cclasstrib). Functions: dotes_fiscal_certificado_caminho(), dotes_fiscal_certificado_senha(), dotes_fiscal_certificado_info(), dotes_fiscal_produto_fiscal( $product ), dotes_fiscal_emitente(); constant DOTES_FISCAL_VERSION. See includes/api.php. Filters: dotes_fiscal_capability, dotes_fiscal_diagnostic_items, dotes_fiscal_expiry_recipients, dotes_fiscal_product_fields_enabled, dotes_fiscal_admin_tabs, dotes_fiscal_nfe_url. Dotes NF-e Dotes NF-e is a separate plugin by Dotes that issues NF-e from WooCommerce orders using the data set in Dotes Fiscal. Dotes Fiscal works the same with any issuer. https://dotes.com.br/plugins/dotes-fiscal-nfe/

安装:

  1. Install and activate WooCommerce, then install and activate Dotes Fiscal.
  2. Go to Dotes Fiscal > Ready for NF-e? and follow the checklist.
  3. Fill the fiscal data of the products (Fiscal tab, bulk edit, or Products > Apply to a category).
  4. Upload the A1 certificate in Dotes Fiscal > Certificate.
  5. Optional, recommended: in wp-config.php, define DOTES_FISCAL_DIR with a folder outside the public folder of the site, and DOTES_NFE_CERT_SENHA with the certificate password.

屏幕截图:

  • The Fiscal tab of a product: NCM checked against the official table, origin, CEST, unit, GTIN, CFOP and CSOSN.
  • The products list with the Fiscal column and the "Missing fiscal data" filter.
  • The A1 certificate: holder, CNPJ, validity and days left, with the password stored encrypted.

常见问题:

Does Dotes Fiscal issue invoices?

No. It prepares the catalog, the company data and the certificate for the NF-e issuer you use.

Do variations need their own fiscal data?

No. An empty field of a variation uses the value of the product. Fill it only when the variation differs. The GTIN is the exception: each variation has its own barcode.

Where is the certificate password kept?

Encrypted in the database (sodium_crypto_secretbox, key derived from AUTH_KEY and SECURE_AUTH_KEY). If you define DOTES_NFE_CERT_SENHA in wp-config.php, the plugin uses it and stores nothing. If the security keys change, type the password again. The password is never shown, logged, e-mailed or exported.

The password is right, but the certificate does not open.

Many A1 certificates use the old RC2-40 cipher, which OpenSSL 3 refuses. The upload message shows the two OpenSSL commands to export it again with AES.

My server is Nginx.

Nginx ignores .htaccess. The Certificate tab checks the folder and shows the Nginx rule to add, or use DOTES_FISCAL_DIR to keep the certificate outside the public folder.

How up to date is the NCM table?

It is the official Siscomex table in force on 19/11/2026 (Resolução Gecex nº 926/2026), updated with each plugin release. Your accountant has the final word on the code of each product.

Do I have to fill in the tax classification (cClassTrib) now?

Not yet: the IBS/CBS group of the NF-e has its own schedule, and companies in the Simples Nacional have a different one. Ask your accountant when it applies to your company. Filling it in now leaves the catalog ready, and the plugin already checks each code against the official table and the NCM.

Where does the classification table come from?

From the tables the Receita Federal publishes, under the MIT license, with its official IBS/CBS calculator (github.com/ReceitaFederal/calculadora-rtc-regime-regular). It is embedded in the plugin and updated with each release; the plugin never downloads it.

What happens to my data if I delete the plugin?

The product fiscal fields are always kept. The settings, the certificate and its password are deleted only if you turn on that option in the Settings tab.

更新日志:

1.1.0 1.0.0