Sign inGet started
Back to blog
Overview

Solutions

The core needs of a fiscal integration in one place: issue NF-e, issue NFS-e, and carry each item's taxes into the document.

Most integrations with Stackin start with a simple need: issue a product invoice, issue a service invoice, or correctly handle the tax data required for issuance. Stackin abstracts the complexity of that process into a single typed API — you work with structured data while the platform handles authorizer communication (document generation, signing, transmission, and response handling), with no manual XML, no signing infrastructure to build, and no per-authorizer integrations to maintain.

Issue NF-e

Use NF-e for operations involving products and goods — provide the operation's data, the products, their tax classification (NCM, CFOP), and each item's tax groups (ICMS, IPI, PIS, COFINS and, in the regular regime, IBS/CBS), and Stackin builds, signs, and transmits the document to the SEFAZ authorizer. See Issue NF-e for the full fields and NF-e issuance for how that API surface works.

Issue NFS-e

Use NFS-e for service operations — the integration follows Brazil's national NFS-e standard (ADN), so it works the same for any municipality that adopts the national standard, no per-city integration. See Issue NFS-e for the full fields and NFS-e issuance for how that API surface works.

Tax passthrough

Stackin doesn't calculate tax: ICMS, IPI, PIS, COFINS, and IBS/CBS are your own tax decision, provided per item. The platform carries those groups into the document, sums the totals and, for IBS/CBS, derives the amounts from the rates and classification you provide. On an NFS-e, the national Sefin calculates the IBS/CBS base and rates itself, and the group is optional in 2026. See Tax passthrough for how each group is provided.

Receive, correct, and follow up

After issuance, the same API handles the rest of the cycle: consulting, cancelling, and generating the document PDF (DANFE or DANFSe). For NF-e it also sends a correction letter, invalidates numbering, and lists the invoices other companies issued against yours, with the recipient's manifestation. Webhooks notify you when a document is authorized, rejected, cancelled, or corrected, so you don't poll in a loop.

One integration, different documents

You don't have to implement everything at once: a company that only sells products can start with NF-e, a services company can integrate only NFS-e, and operations that do both use both flows through the same API and the same key. Cancelling, correcting, and receiving invoices use that same integration — see Features for how the REST API and SDKs fit into this.