{"id":391710,"date":"2026-11-09T21:51:31","date_gmt":"2026-11-09T21:51:31","guid":{"rendered":"https:\/\/wordpress.org\/plugins\/sudrel-nfs-e-for-woocommerce\/"},"modified":"2026-11-09T21:51:14","modified_gmt":"2026-11-09T21:51:14","slug":"sudrel-nfse-for-woocommerce","status":"publish","type":"plugin","link":"https:\/\/wordpress.org\/plugins\/sudrel-nfse-for-woocommerce\/","author":23591484,"comment_status":"closed","ping_status":"closed","template":"","meta":{"version":"1.0.0","stable_tag":"1.0.0","tested":"7.1.4","requires":"6.5","requires_php":"7.4","requires_plugins":null,"header_name":"Sudrel NFS-e for WooCommerce","header_author":"Sudrel","header_description":"Issues an NFS-e (Brazilian service invoice) for every paid WooCommerce order, through Sudrel. Creates and maintains the store webhook for you.","last_updated":"2026-11-09 21:51:14","external_support_url":"","external_repository_url":"","donate_link":"","header_plugin_uri":"https:\/\/sudrel.com.br\/emissao-nfs-e-woocommerce","header_author_uri":"https:\/\/sudrel.com.br","rating":0,"author_block_rating":0,"active_installs":0,"downloads":108,"num_ratings":0,"support_threads":0,"support_threads_resolved":0,"author_block_count":0,"sections":["description","installation","faq","changelog"],"tags":{"1.0.0":{"tag":"1.0.0","author":"sudrel","date":"2026-11-09 21:51:14","revision":3793318}},"upgrade_notice":[],"ratings":[],"assets_icons":[],"assets_banners":[],"assets_blueprints":{},"all_blocks":[],"tagged_versions":["1.0.0"],"block_files":[],"assets_screenshots":[],"screenshots":[]},"plugin_section":[],"plugin_tags":[8287,12480,291712,229413,46346],"plugin_category":[45],"plugin_contributors":[291713],"plugin_business_model":[],"class_list":["post-391710","plugin","type-plugin","status-publish","hentry","plugin_tags-brazil","plugin_tags-invoice","plugin_tags-nfs-e","plugin_tags-nfse","plugin_tags-nota-fiscal","plugin_category-ecommerce","plugin_contributors-sudrel","plugin_committers-sudrel"],"banners":[],"icons":{"svg":false,"icon":"https:\/\/s.w.org\/plugins\/geopattern-icon\/sudrel-nfse-for-woocommerce.svg","icon_2x":false,"generated":true},"screenshots":[],"raw_content":"<!--section=description-->\n<p>Sudrel issues NFS-e (Nota Fiscal de Servi\u00e7o eletr\u00f4nica) in any Brazilian city through the national standard (Sistema Nacional NFS-e). This plugin connects your WooCommerce store to Sudrel:<\/p>\n\n<ul>\n<li>When an order becomes <strong>Processing<\/strong> or <strong>Completed<\/strong>, Sudrel issues the NFS-e for the customer who paid.<\/li>\n<li>One invoice per order, even if the order is updated again.<\/li>\n<li>The plugin creates and maintains a native WooCommerce webhook, signed with a secret it generates. You only copy one URL from Sudrel and one secret back to Sudrel.<\/li>\n<li>In Sudrel you choose when the order becomes an invoice: on payment, some days after it, or manually.<\/li>\n<\/ul>\n\n<p>The plugin does not change your checkout, your orders or your emails. It only creates the webhook.<\/p>\n\n<p><strong>Em portugu\u00eas:<\/strong> cada pedido pago no WooCommerce vira NFS-e pela Sudrel, para o cliente que pagou. O plugin cria e mant\u00e9m o webhook da loja: voc\u00ea copia uma URL da Sudrel e cola o segredo de volta na Sudrel.<\/p>\n\n<h4>What you need<\/h4>\n\n<ul>\n<li>A Sudrel account with the issuing company registered, its A1 digital certificate and fiscal settings (<a href=\"https:\/\/sudrel.com.br\">sudrel.com.br<\/a>). Sudrel is a paid service.<\/li>\n<li>The customer CPF or CNPJ at checkout. WooCommerce does not ask for it by default; the free \"Brazilian Market on WooCommerce\" plugin does. Without CPF\/CNPJ there is no NFS-e.<\/li>\n<\/ul>\n\n<h3>External services<\/h3>\n\n<p>This plugin sends data to <strong>Sudrel<\/strong> (api.sudrel.com.br), the service that issues the invoices. Nothing is sent until you paste a Sudrel webhook URL and save.<\/p>\n\n<ul>\n<li><strong>What is sent:<\/strong> the full WooCommerce order (WooCommerce REST API v3 format), each time the order is created or updated. It includes the customer billing data (name, company, CPF\/CNPJ, e-mail, phone, address), the items, the total and the order status. When you click \"Send a test\", only the webhook id is sent.<\/li>\n<li><strong>Why:<\/strong> to issue the NFS-e for the customer, as required by Brazilian tax law.<\/li>\n<li><strong>How:<\/strong> through WooCommerce's own webhook delivery, signed with HMAC-SHA256 and a secret that never leaves your store and your Sudrel account.<\/li>\n<\/ul>\n\n<p>Sudrel terms of use: https:\/\/sudrel.com.br\/contrato-licenciamento\nSudrel privacy policy: https:\/\/sudrel.com.br\/privacidade<\/p>\n\n<!--section=installation-->\n<ol>\n<li>Install and activate the plugin (WooCommerce must be active).<\/li>\n<li>In Sudrel, open Emiss\u00e3o \u203a Integra\u00e7\u00f5es de pagamento and create a WooCommerce integration for the company that issues the invoices. Copy the URL it shows.<\/li>\n<li>In WordPress, open WooCommerce \u203a Sudrel NFS-e, paste the URL and click \"Save and connect\".<\/li>\n<li>Copy the secret shown on the same screen and paste it in the \"Segredo do webhook\" field of the integration in Sudrel.<\/li>\n<li>Saving already sends a connection test, shown in the integration history in Sudrel. \"Send a test to Sudrel\" sends another one.<\/li>\n<\/ol>\n\n<!--section=faq-->\n<dl>\n<dt id=\"does%20it%20work%20with%20hpos%20and%20the%20block%20checkout%3F\"><h3>Does it work with HPOS and the block checkout?<\/h3><\/dt>\n<dd><p>Yes. The plugin only uses the native WooCommerce webhook and does not touch orders or checkout.<\/p><\/dd>\n<dt id=\"what%20happens%20if%20i%20deactivate%20the%20plugin%3F\"><h3>What happens if I deactivate the plugin?<\/h3><\/dt>\n<dd><p>The webhook is paused and orders stop going to Sudrel. Activating it again turns the webhook back on. Deleting the plugin deletes the webhook it created; the integration and its history stay in Sudrel.<\/p><\/dd>\n<dt id=\"woocommerce%20disabled%20the%20webhook.%20what%20now%3F\"><h3>WooCommerce disabled the webhook. What now?<\/h3><\/dt>\n<dd><p>WooCommerce disables a webhook after repeated delivery failures. Open WooCommerce \u203a Sudrel NFS-e and click \"Save and connect\" again.<\/p><\/dd>\n<dt id=\"can%20the%20invoice%20be%20cancelled%20automatically%20on%20refund%3F\"><h3>Can the invoice be cancelled automatically on refund?<\/h3><\/dt>\n<dd><p>Not yet. A refunded order does not cancel the invoice: cancel it from the Sudrel panel.<\/p><\/dd>\n\n<\/dl>\n\n<!--section=changelog-->\n<h4>1.0.0<\/h4>\n\n<ul>\n<li>First version: creates and maintains the WooCommerce webhook to Sudrel, with a generated secret, status and test delivery.<\/li>\n<\/ul>","raw_excerpt":"Issues an NFS-e (Brazilian service invoice) through Sudrel for every paid WooCommerce order. No spreadsheet, no manual webhook.","jetpack_sharing_enabled":true,"_links":{"self":[{"href":"https:\/\/wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin\/391710","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=391710"}],"author":[{"embeddable":true,"href":"https:\/\/wordpress.org\/plugins\/wp-json\/wporg\/v1\/users\/sudrel"}],"wp:attachment":[{"href":"https:\/\/wordpress.org\/plugins\/wp-json\/wp\/v2\/media?parent=391710"}],"wp:term":[{"taxonomy":"plugin_section","embeddable":true,"href":"https:\/\/wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_section?post=391710"},{"taxonomy":"plugin_tags","embeddable":true,"href":"https:\/\/wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_tags?post=391710"},{"taxonomy":"plugin_category","embeddable":true,"href":"https:\/\/wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_category?post=391710"},{"taxonomy":"plugin_contributors","embeddable":true,"href":"https:\/\/wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_contributors?post=391710"},{"taxonomy":"plugin_business_model","embeddable":true,"href":"https:\/\/wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_business_model?post=391710"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}