n8n node for SEFAZ Brazil integration - NFe/NFSe, CPF/CNPJ validation, dollar rate, SELIC, IPCA
npm install n8n-nodes-sefaz-brasiln8n-nodes-sefaz-brasil
bash
npm install n8n-nodes-sefaz-brasil
`
⚙️ Configuration
$3
| Provider | Free Plan | Link |
|----------|-----------|------|
| NFe.io | Yes (testing) | nfe.io |
| Enotas | Yes (limited) | enotas.com.br |
| Tecnospeed | Yes (demo) | tecnospeed.com.br |
1. Create an account with one of the providers
2. Get your API Key
3. Configure credentials in n8n
$3
No credentials needed - works without configuration.
📖 Usage
$3
`javascript
// Input: "123.456.789-09"
// Output:
{
"valid": true,
"cpf": "12345678909",
"tipo": "CPF - Individual",
"message": "Valid CPF"
}
`
$3
`javascript
// Input: "11.222.333/0001-81"
// Output:
{
"valid": true,
"cnpj": "11222333000181",
"tipo": "CNPJ - Company (Headquarters)",
"message": "Valid CNPJ"
}
`
$3
`javascript
// Output:
{
"indicator": "Dollar PTAX Rate",
"buy": 4.98,
"sell": 5.02,
"date": "2024-01-15",
"source": "Brazil Central Bank"
}
``