{"id":413792,"date":"2026-11-27T13:04:22","date_gmt":"2026-11-27T13:04:22","guid":{"rendered":"https:\/\/wordpress.org\/plugins\/dotes-fiscal\/"},"modified":"2026-11-27T13:11:41","modified_gmt":"2026-11-27T13:11:41","slug":"dotes-fiscal","status":"publish","type":"plugin","link":"https:\/\/wordpress.org\/plugins\/dotes-fiscal\/","author":23221445,"comment_status":"closed","ping_status":"closed","template":"","meta":{"version":"1.1.0","stable_tag":"1.1.0","tested":"7.1.5","requires":"6.3","requires_php":"7.4","requires_plugins":null,"header_name":"Dotes Fiscal","header_author":"Dotes","header_description":"Brazilian fiscal data for WooCommerce: NCM, origin, CEST, CFOP, IBS\/CBS tax classification and more on products and variations, bulk editing, an A1 digital certificate monitor with expiry alerts and a \"ready for NF-e\" store checklist.","last_updated":"2026-11-27 13:11:41","external_support_url":"","external_repository_url":"","donate_link":"","header_plugin_uri":"https:\/\/dotes.com.br\/plugins\/dotes-fiscal-nfe\/","header_author_uri":"https:\/\/dotes.com.br\/","rating":0,"author_block_rating":0,"active_installs":0,"downloads":14,"num_ratings":0,"support_threads":0,"support_threads_resolved":0,"author_block_count":0,"sections":["description","installation","faq","changelog"],"tags":{"1.1.0":{"tag":"1.1.0","author":"dotes","date":"2026-11-27 13:11:41","revision":3829606}},"upgrade_notice":[],"ratings":[],"assets_icons":{"icon-128x128.png":{"filename":"icon-128x128.png","revision":3829585,"resolution":"128x128","location":"assets","locale":"","width":128,"height":128},"icon-256x256.png":{"filename":"icon-256x256.png","revision":3829585,"resolution":"256x256","location":"assets","locale":"","width":256,"height":256}},"assets_banners":{"banner-1544x500.png":{"filename":"banner-1544x500.png","revision":3829585,"resolution":"1544x500","location":"assets","locale":"","width":1544,"height":500},"banner-772x250.png":{"filename":"banner-772x250.png","revision":3829585,"resolution":"772x250","location":"assets","locale":"","width":772,"height":250}},"assets_blueprints":{},"all_blocks":[],"tagged_versions":["1.1.0"],"block_files":[],"assets_screenshots":{"screenshot-1.png":{"filename":"screenshot-1.png","revision":3829585,"resolution":"1","location":"assets","locale":"","width":1440,"height":900},"screenshot-2.png":{"filename":"screenshot-2.png","revision":3829585,"resolution":"2","location":"assets","locale":"","width":1440,"height":900},"screenshot-3.png":{"filename":"screenshot-3.png","revision":3829585,"resolution":"3","location":"assets","locale":"","width":1440,"height":900},"screenshot-4.png":{"filename":"screenshot-4.png","revision":3829585,"resolution":"4","location":"assets","locale":"","width":1440,"height":900}},"screenshots":{"1":"Ready for NF-e?: each item of the store checklist with what was found and the action that fixes it.","2":"The Fiscal tab of a product: NCM checked against the official table, origin, CEST, unit, GTIN, CFOP and CSOSN.","3":"The products list with the Fiscal column and the \"Missing fiscal data\" filter.","4":"The A1 certificate: holder, CNPJ, validity and days left, with the password stored encrypted."}},"plugin_section":[],"plugin_tags":[295897,295895,286568,295896,286],"plugin_category":[45],"plugin_contributors":[239183],"plugin_business_model":[],"class_list":["post-413792","plugin","type-plugin","status-publish","hentry","plugin_tags-certificado-digital","plugin_tags-ncm","plugin_tags-nf-e","plugin_tags-reforma-tributaria","plugin_tags-woocommerce","plugin_category-ecommerce","plugin_contributors-dotes","plugin_committers-dotes"],"banners":{"banner":"https:\/\/ps.w.org\/dotes-fiscal\/assets\/banner-772x250.png?rev=3829585","banner_2x":"https:\/\/ps.w.org\/dotes-fiscal\/assets\/banner-1544x500.png?rev=3829585","banner_rtl":false,"banner_2x_rtl":false},"icons":{"svg":false,"icon":"https:\/\/ps.w.org\/dotes-fiscal\/assets\/icon-128x128.png?rev=3829585","icon_2x":"https:\/\/ps.w.org\/dotes-fiscal\/assets\/icon-256x256.png?rev=3829585","generated":false},"screenshots":[{"src":"https:\/\/ps.w.org\/dotes-fiscal\/assets\/screenshot-1.png?rev=3829585","caption":"Ready for NF-e?: each item of the store checklist with what was found and the action that fixes it."},{"src":"https:\/\/ps.w.org\/dotes-fiscal\/assets\/screenshot-2.png?rev=3829585","caption":"The Fiscal tab of a product: NCM checked against the official table, origin, CEST, unit, GTIN, CFOP and CSOSN."},{"src":"https:\/\/ps.w.org\/dotes-fiscal\/assets\/screenshot-3.png?rev=3829585","caption":"The products list with the Fiscal column and the \"Missing fiscal data\" filter."},{"src":"https:\/\/ps.w.org\/dotes-fiscal\/assets\/screenshot-4.png?rev=3829585","caption":"The A1 certificate: holder, CNPJ, validity and days left, with the password stored encrypted."}],"raw_content":"<!--section=description-->\n<p>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.<\/p>\n\n<h4>Fiscal data of the products<\/h4>\n\n<ul>\n<li>A <strong>Fiscal<\/strong> 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.<\/li>\n<li>Variations only override: an empty field of a variation uses the value of the product (except the GTIN, which belongs to each variation).<\/li>\n<li><strong>NCM checked against the official table<\/strong> of Siscomex, embedded in the plugin (10,516 codes, table in force on 19\/11\/2026, Resolu\u00e7\u00e3o Gecex n\u00ba 926\/2026), with the official description under the field and a code search by number or words.<\/li>\n<li>A <strong>Fiscal<\/strong> column in the products list (OK, missing NCM, missing origin, invalid NCM) and a <strong>Missing fiscal data<\/strong> filter.<\/li>\n<li><strong>Bulk editing<\/strong>: the fiscal fields are in the WooCommerce bulk edit panel, and <strong>Apply to a category<\/strong> 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.<\/li>\n<\/ul>\n\n<h4>Tax reform (IBS\/CBS)<\/h4>\n\n<ul>\n<li>A <strong>cClassTrib (IBS\/CBS)<\/strong> field, the tax classification of the tax reform (LC 214\/2025), on products and variations, checked against the <strong>official table of the Receita Federal<\/strong> embedded in the plugin (170 classifications in force, version V0073 of 09\/11\/2026).<\/li>\n<li>The official description and CST under the field, and a search by code or words in the Products tab.<\/li>\n<li>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.\"<\/li>\n<li>In the bulk edit panel and in Apply to a category, a filter <strong>Without tax classification (IBS\/CBS)<\/strong> in the products list and a yellow item in the checklist.<\/li>\n<li>Optional for now: an empty classification never makes a product incomplete.<\/li>\n<\/ul>\n\n<h4>A1 digital certificate<\/h4>\n\n<ul>\n<li>Upload the <code>.pfx<\/code>\/<code>.p12<\/code> file and its password. It is read right away with the OpenSSL extension of PHP: holder, CNPJ, valid until and days left.<\/li>\n<li>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).<\/li>\n<li>The file is stored with a random name in a private folder (<code>wp-content\/dotes-fiscal-privado\/<\/code>, closed by <code>.htaccess<\/code>), or anywhere you set with the <code>DOTES_FISCAL_DIR<\/code> constant, ideally outside the public folder. The plugin checks that the folder really is closed and, on Nginx, shows the rule to add.<\/li>\n<li>The password is stored encrypted with the security keys of your <code>wp-config.php<\/code> (libsodium), or read from the <code>DOTES_NFE_CERT_SENHA<\/code> constant.<\/li>\n<li><strong>Expiry alerts<\/strong>: an admin notice and an e-mail to the site administrator 30, 15 and 7 days before and on the day the certificate expires.<\/li>\n<\/ul>\n\n<h4>Is my store ready for NF-e?<\/h4>\n\n<p>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.<\/p>\n\n<p><strong>Getting started<\/strong>: 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 <em>Dismiss<\/em> hides it for good.<\/p>\n\n<h4>For developers<\/h4>\n\n<p>Existing data keeps working: the fields use the <code>_dotes_nfe_*<\/code> meta keys of Dotes NF-e (<code>_dotes_nfe_ncm<\/code>, <code>_dotes_nfe_origem<\/code>, <code>_dotes_nfe_cest<\/code>, <code>_dotes_nfe_unidade<\/code>, <code>_dotes_nfe_gtin<\/code>, <code>_dotes_nfe_cfop_interno<\/code>, <code>_dotes_nfe_cfop_interestadual<\/code>, <code>_dotes_nfe_csosn<\/code>, <code>_dotes_nfe_fcp<\/code>, <code>_dotes_nfe_cclasstrib<\/code>).<\/p>\n\n<p>Functions: <code>dotes_fiscal_certificado_caminho()<\/code>, <code>dotes_fiscal_certificado_senha()<\/code>, <code>dotes_fiscal_certificado_info()<\/code>, <code>dotes_fiscal_produto_fiscal( $product )<\/code>, <code>dotes_fiscal_emitente()<\/code>; constant <code>DOTES_FISCAL_VERSION<\/code>. See <code>includes\/api.php<\/code>.<\/p>\n\n<p>Filters: <code>dotes_fiscal_capability<\/code>, <code>dotes_fiscal_diagnostic_items<\/code>, <code>dotes_fiscal_expiry_recipients<\/code>, <code>dotes_fiscal_product_fields_enabled<\/code>, <code>dotes_fiscal_admin_tabs<\/code>, <code>dotes_fiscal_nfe_url<\/code>.<\/p>\n\n<h4>Dotes NF-e<\/h4>\n\n<p>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\/<\/p>\n\n<h3>External services<\/h3>\n\n<p>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.<\/p>\n\n<p>The only HTTP request it makes is to <strong>your own site<\/strong>: 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.<\/p>\n\n<p>The DOTES logo, the Dotes NF-e tab and the Support tab have plain links to <code>https:\/\/dotes.com.br\/<\/code>, to <code>https:\/\/wordpress.org\/<\/code> and to the Brazilian Market on WooCommerce page on WordPress.org. They are opened only when you click them.<\/p>\n\n<h3>Privacy<\/h3>\n\n<p>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 <code>dotes_fiscal_expiry_recipients<\/code>).<\/p>\n\n<!--section=installation-->\n<ol>\n<li>Install and activate WooCommerce, then install and activate Dotes Fiscal.<\/li>\n<li>Go to <strong>Dotes Fiscal &gt; Ready for NF-e?<\/strong> and follow the checklist.<\/li>\n<li>Fill the fiscal data of the products (Fiscal tab, bulk edit, or Products &gt; Apply to a category).<\/li>\n<li>Upload the A1 certificate in <strong>Dotes Fiscal &gt; Certificate<\/strong>.<\/li>\n<li>Optional, recommended: in <code>wp-config.php<\/code>, define <code>DOTES_FISCAL_DIR<\/code> with a folder outside the public folder of the site, and <code>DOTES_NFE_CERT_SENHA<\/code> with the certificate password.<\/li>\n<\/ol>\n\n<!--section=faq-->\n<dl>\n<dt id=\"does%20dotes%20fiscal%20issue%20invoices%3F\"><h3>Does Dotes Fiscal issue invoices?<\/h3><\/dt>\n<dd><p>No. It prepares the catalog, the company data and the certificate for the NF-e issuer you use.<\/p><\/dd>\n<dt id=\"do%20variations%20need%20their%20own%20fiscal%20data%3F\"><h3>Do variations need their own fiscal data?<\/h3><\/dt>\n<dd><p>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.<\/p><\/dd>\n<dt id=\"where%20is%20the%20certificate%20password%20kept%3F\"><h3>Where is the certificate password kept?<\/h3><\/dt>\n<dd><p>Encrypted in the database (<code>sodium_crypto_secretbox<\/code>, key derived from <code>AUTH_KEY<\/code> and <code>SECURE_AUTH_KEY<\/code>). If you define <code>DOTES_NFE_CERT_SENHA<\/code> in <code>wp-config.php<\/code>, 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.<\/p><\/dd>\n<dt id=\"the%20password%20is%20right%2C%20but%20the%20certificate%20does%20not%20open.\"><h3>The password is right, but the certificate does not open.<\/h3><\/dt>\n<dd><p>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.<\/p><\/dd>\n<dt id=\"my%20server%20is%20nginx.\"><h3>My server is Nginx.<\/h3><\/dt>\n<dd><p>Nginx ignores <code>.htaccess<\/code>. The Certificate tab checks the folder and shows the Nginx rule to add, or use <code>DOTES_FISCAL_DIR<\/code> to keep the certificate outside the public folder.<\/p><\/dd>\n<dt id=\"how%20up%20to%20date%20is%20the%20ncm%20table%3F\"><h3>How up to date is the NCM table?<\/h3><\/dt>\n<dd><p>It is the official Siscomex table in force on 19\/11\/2026 (Resolu\u00e7\u00e3o Gecex n\u00ba 926\/2026), updated with each plugin release. Your accountant has the final word on the code of each product.<\/p><\/dd>\n<dt id=\"do%20i%20have%20to%20fill%20in%20the%20tax%20classification%20%28cclasstrib%29%20now%3F\"><h3>Do I have to fill in the tax classification (cClassTrib) now?<\/h3><\/dt>\n<dd><p>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.<\/p><\/dd>\n<dt id=\"where%20does%20the%20classification%20table%20come%20from%3F\"><h3>Where does the classification table come from?<\/h3><\/dt>\n<dd><p>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.<\/p><\/dd>\n<dt id=\"what%20happens%20to%20my%20data%20if%20i%20delete%20the%20plugin%3F\"><h3>What happens to my data if I delete the plugin?<\/h3><\/dt>\n<dd><p>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.<\/p><\/dd>\n\n<\/dl>\n\n<!--section=changelog-->\n<h4>1.1.0<\/h4>\n\n<ul>\n<li>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.<\/li>\n<li>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.<\/li>\n<li>New: dotes_fiscal_produto_fiscal() returns the cclasstrib key.<\/li>\n<\/ul>\n\n<h4>1.0.0<\/h4>\n\n<ul>\n<li>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.<\/li>\n<\/ul>","raw_excerpt":"Brazilian fiscal data for WooCommerce: NCM, origin, CFOP, IBS\/CBS classification, bulk editing, A1 certificate monitor and NF-e checklist.","jetpack_sharing_enabled":true,"_links":{"self":[{"href":"https:\/\/wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin\/413792","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin"}],"about":[{"href":"https:\/\/wordpress.org\/plugins\/wp-json\/wp\/v2\/types\/plugin"}],"replies":[{"embeddable":true,"href":"https:\/\/wordpress.org\/plugins\/wp-json\/wp\/v2\/comments?post=413792"}],"author":[{"embeddable":true,"href":"https:\/\/wordpress.org\/plugins\/wp-json\/wporg\/v1\/users\/dotes"}],"wp:attachment":[{"href":"https:\/\/wordpress.org\/plugins\/wp-json\/wp\/v2\/media?parent=413792"}],"wp:term":[{"taxonomy":"plugin_section","embeddable":true,"href":"https:\/\/wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_section?post=413792"},{"taxonomy":"plugin_tags","embeddable":true,"href":"https:\/\/wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_tags?post=413792"},{"taxonomy":"plugin_category","embeddable":true,"href":"https:\/\/wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_category?post=413792"},{"taxonomy":"plugin_contributors","embeddable":true,"href":"https:\/\/wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_contributors?post=413792"},{"taxonomy":"plugin_business_model","embeddable":true,"href":"https:\/\/wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_business_model?post=413792"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}