Title: Dotes Fiscal
Author: Luiz Jr. Fernandes
Published: <strong>November 27, 2026</strong>
Last modified: November 27, 2026

---

Search plugins

![](https://ps.w.org/dotes-fiscal/assets/banner-772x250.png?rev=3829585)

![](https://ps.w.org/dotes-fiscal/assets/icon-256x256.png?rev=3829585)

# Dotes Fiscal

 By [Luiz Jr. Fernandes](https://profiles.wordpress.org/dotes/)

[Download](https://downloads.wordpress.org/plugin/dotes-fiscal.1.1.0.zip)

 * [Details](https://wordpress.org/plugins/dotes-fiscal/#description)
 * [Reviews](https://wordpress.org/plugins/dotes-fiscal/#reviews)
 *  [Installation](https://wordpress.org/plugins/dotes-fiscal/#installation)
 * [Development](https://wordpress.org/plugins/dotes-fiscal/#developers)

 [Support](https://wordpress.org/support/plugin/dotes-fiscal/)

## Description

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

 * A **Fiscal** tab on simple and variable products, and the same fields on each
   variation: NCM, origin (0 to 8), CEST, commercial unit, GTIN/EAN, CFOP within
   the state and to other states, CSOSN and FCP.
 * Variations only override: an empty field of a variation uses the value of the
   product (except the GTIN, which belongs to each variation).
 * **NCM checked against the official table** of Siscomex, embedded in the plugin(
   10,516 codes, table in force on 19/11/2026, Resolução Gecex nº 926/2026), with
   the official description under the field and a code search by number or words.
 * A **Fiscal** column in the products list (OK, missing NCM, missing origin, invalid
   NCM) and a **Missing fiscal data** filter.
 * **Bulk editing**: the fiscal fields are in the WooCommerce bulk edit panel, and**
   Apply to a category** sets them on every product of a category, with a preview
   of how many products change and a confirmation, optionally only where a field
   is empty.

#### Tax reform (IBS/CBS)

 * A **cClassTrib (IBS/CBS)** field, the tax classification of the tax reform (LC
   214/2025), on products and variations, checked against the **official table of
   the Receita Federal** embedded in the plugin (170 classifications in force, version
   V0073 of 09/11/2026).
 * The official description and CST under the field, and a search by code or words
   in the Products tab.
 * Classifications that only apply to some NCM codes (food, medical and accessibility
   devices, hygiene products, farm inputs and others) are checked against the NCM
   of the product, with the same rule as the official calculator of the Receita:“
   The classification 200003 only applies to the NCM codes of its list; the NCM 
   9405.29.00 is not in it.”
 * In the bulk edit panel and in Apply to a category, a filter **Without tax classification(
   IBS/CBS)** in the products list and a yellow item in the checklist.
 * Optional for now: an empty classification never makes a product incomplete.

#### A1 digital certificate

 * Upload the `.pfx`/`.p12` file and its password. It is read right away with the
   OpenSSL extension of PHP: holder, CNPJ, valid until and days left.
 * Clear messages for a wrong password, a file that is not an A1 certificate, an
   expired certificate, a certificate of another CNPJ, and the old RC2-40 cipher
   that OpenSSL 3 refuses (with the commands to export it again with AES).
 * The file is stored with a random name in a private folder (`wp-content/dotes-
   fiscal-privado/`, closed by `.htaccess`), or anywhere you set with the `DOTES_FISCAL_DIR`
   constant, ideally outside the public folder. The plugin checks that the folder
   really is closed and, on Nginx, shows the rule to add.
 * The password is stored encrypted with the security keys of your `wp-config.php`(
   libsodium), or read from the `DOTES_NFE_CERT_SENHA` constant.
 * **Expiry alerts**: an admin notice and an e-mail to the site administrator 30,
   15 and 7 days before and on the day the certificate expires.

#### 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/

### External services

This plugin does not connect to any external service. It sends no data to Dotes,
SEFAZ, Siscomex, the Receita Federal or anyone else, and loads no scripts, fonts
or images from other sites. The NCM table and the IBS/CBS classification table are
embedded in the plugin.

The only HTTP request it makes is to **your own site**: after preparing the private
folder of the certificate, it asks your site for a temporary test file of that folder,
to check that the server refuses to serve it.

The DOTES logo, the Dotes NF-e tab and the Support tab have plain links to `https://
dotes.com.br/`, to `https://wordpress.org/` and to the Brazilian Market on WooCommerce
page on WordPress.org. They are opened only when you click them.

### Privacy

Dotes Fiscal stores no personal data of customers or visitors. It stores on your
site: the fiscal fields of the products (post meta), the company CNPJ, state registration
and legal name you type, the certificate file in a private folder, the data read
from it (holder, CNPJ, dates, fingerprint) and its password, encrypted. Expiry alerts
are e-mailed only to the site administration address (filter `dotes_fiscal_expiry_recipients`).

## Screenshots

[⌊Ready for NF-e?: each item of the store checklist with what was found and the 
action that fixes it.⌉⌊Ready for NF-e?: each item of the store checklist with what
was found and the action that fixes it.⌉[

Ready for NF-e?: each item of the store checklist with what was found and the action
that fixes it.

[⌊The Fiscal tab of a product: NCM checked against the official table, origin, CEST,
unit, GTIN, CFOP and CSOSN.⌉⌊The Fiscal tab of a product: NCM checked against the
official table, origin, CEST, unit, GTIN, CFOP and CSOSN.⌉[

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 products list with the Fiscal column and the "Missing fiscal data" filter.⌉[

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.⌉⌊The A1 certificate: holder, CNPJ, validity and days left, with the password
stored encrypted.⌉[

The A1 certificate: holder, CNPJ, validity and days left, with the password stored
encrypted.

## Installation

 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.

## FAQ

### 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.

## Reviews

There are no reviews for this plugin.

## Contributors & Developers

“Dotes Fiscal” is open source software. The following people have contributed to
this plugin.

Contributors

 *   [ Luiz Jr. Fernandes ](https://profiles.wordpress.org/dotes/)

[Translate “Dotes Fiscal” into your language.](https://translate.wordpress.org/projects/wp-plugins/dotes-fiscal)

### Interested in development?

[Browse the code](https://plugins.trac.wordpress.org/browser/dotes-fiscal/), check
out the [SVN repository](https://plugins.svn.wordpress.org/dotes-fiscal/), or subscribe
to the [development log](https://plugins.trac.wordpress.org/log/dotes-fiscal/) by
[RSS](https://plugins.trac.wordpress.org/log/dotes-fiscal/?limit=100&mode=stop_on_copy&format=rss).

## Changelog

#### 1.1.0

 * New: Tax classification (IBS/CBS) field (cClassTrib of the tax reform) on products
   and variations, with the official table of the Receita Federal (version V0073),
   description and CST under the field, search in the Products tab and the check
   against the NCM for classifications restricted to some codes.
 * New: the classification in the Fiscal column, the “Without tax classification(
   IBS/CBS)” filter, bulk edit, Apply to a category and a checklist item. Optional:
   it does not make a product incomplete.
 * New: dotes_fiscal_produto_fiscal() returns the cclasstrib key.

#### 1.0.0

 * First release: fiscal fields on products and variations with the official NCM
   table, Fiscal column and filter, bulk edit and Apply to a category, A1 certificate
   upload with encrypted password and private folder check, expiry alerts by notice
   and e-mail, the “Ready for NF-e?” checklist and a getting started checklist.

## Meta

 *  Version **1.1.0**
 *  Last updated **23 minutes ago**
 *  Active installations **Fewer than 10**
 *  WordPress version ** 6.3 or higher **
 *  Tested up to **7.1.5**
 *  PHP version ** 7.4 or higher **
 * Tags
 * [nf-e](https://wordpress.org/plugins/tags/nf-e/)[woocommerce](https://wordpress.org/plugins/tags/woocommerce/)
 *  [Advanced View](https://wordpress.org/plugins/dotes-fiscal/advanced/)

## Ratings

No reviews have been submitted yet.

[Your review](https://wordpress.org/support/plugin/dotes-fiscal/reviews/#new-post)

[See all reviews](https://wordpress.org/support/plugin/dotes-fiscal/reviews/)

## Contributors

 *   [ Luiz Jr. Fernandes ](https://profiles.wordpress.org/dotes/)

## Support

Got something to say? Need help?

 [View support forum](https://wordpress.org/support/plugin/dotes-fiscal/)