An API and SDK for Brazilian fiscal documents — real SEFAZ transmission, manual tax passthrough, and a dashboard to track every submission.
No credit card — free homologation environment.
curl -X POST https://api.stackin.dev/api/v1/invoices \
-H "Authorization: Bearer stackin_live_••••••••••••" \
-H "Content-Type: application/json" \
-d '{
"document_type": "nfe",
"client_name": "Buyer Company Ltd",
"tax_id": "11222333000181",
"items": [{
"description": "Rosa Holambra Vermelha",
"amount": 112.44,
"product": { "br": { "ncm": "06031100", "cfop": "5102" } }
}]
}'{
"result": {
"access_key": "422608...50077",
"status": "authorized",
"protocol": "142260000009876",
"authorized_at": "2026-08-28T09:15:42-03:00"
}
}| Document | Recipient | Amount | Status |
|---|---|---|---|
| NFE · a1b2c3d4 | Comprador Teste Ltda | R$ 2.622,82 | Authorized |
| NFSE · f9e8d7c6 | John Doe | R$ 10.500,00 | Rejected |
| NFE · 5b6a4c3d | Buyer Company Ltd | R$ 112,44 | Authorized |
Direct, secure communication with every state tax authority.
Compute, break out, and pass through taxes — simple and transparent.
SDKs for Python, Node.js, PHP, and Java, ready to use.
Track every submission, look up documents, monitor errors in real time.
stackin mirrors the API one-to-one — the same Product/Tax models, the same field names, the same validation.
Install the SDKpip install stackinfrom stackin.br import Product, Tax, Icms00
product = Product(
description="Rosa Holambra Vermelha",
amount=112.44,
ncm="06031100",
cfop="5102",
tax=Tax(icms=Icms00(orig="0", v_bc="112.44",
p_icms="18.00", v_icms="20.24")),
)Register your company, address, and digital certificate.
Call the API with your company's API key, or use stackin.
Issue in homologation, then production — track every submission.
Free homologation environment — no credit card required.