n8n-nodes-sii-chile
v2.0.0
Published
n8n node for SII Chile integration - Electronic Invoicing, RUT validation, UF/UTM indicators
Maintainers
Readme
n8n-nodes-sii-chile 🇨🇱
Chile Electronic Invoicing for n8n - Issue receipts, invoices and more directly to SII.
✨ Features
- ✅ Issue real DTEs to SII (Receipts, Invoices, Credit Notes, Debit Notes)
- ✅ RUT Validation - Verify, format, calculate check digit
- ✅ Economic Indicators - UF, UTM, Dollar, Euro, IPC (live data)
- ✅ UF ↔ Pesos Conversion automatic
- ✅ Query status of issued documents
- ✅ Supports OpenFactura and SimpleAPI
🚀 Installation
n8n Cloud / Desktop
- Settings → Community Nodes
- Search
n8n-nodes-sii-chile - Install
Self-hosted
npm install n8n-nodes-sii-chile⚙️ Configuration
To issue DTEs you need:
| Provider | Free Plan | Link | |----------|-----------|------| | OpenFactura | Yes (limited) | panel.openfactura.cl | | SimpleAPI | Yes (100/month) | simpleapi.cl |
- Create an account with one of the providers
- Get your API Key
- Configure credentials in n8n
For local functions (RUT, Indicators):
No credentials needed - works without configuration.
📖 Usage
Issue Electronic Receipt
// Input
{
"tipoDte": 39,
"rutReceptor": "66666666-6",
"items": [
{ "nombre": "Product 1", "cantidad": 2, "precio": 10000 }
]
}
// Output
{
"success": true,
"folio": 12345,
"tipo": 39,
"tipoNombre": "Receipt",
"total": 20000,
"pdf": "https://...",
"urlAutoservicio": "https://..."
}Issue Electronic Invoice
{
"tipoDte": 33,
"rutReceptor": "76123456-7",
"razonSocial": "Client Company SpA",
"giro": "Technology Services",
"direccion": "Main Ave 123",
"comuna": "Santiago",
"items": [
{ "nombre": "Monthly Service", "cantidad": 1, "precio": 100000 }
]
}Validate RUT
// Input: "12.345.678-5"
// Output:
{
"valid": true,
"rut": "12.345.678-5",
"dv": "5",
"message": "✅ Valid RUT"
}Get UF
// Output:
{
"indicator": "UF",
"value": 38245.76,
"date": "2024-01-15",
"unit": "Pesos"
}Convert UF to Pesos
// Input: 100 UF
// Output:
{
"uf": 100,
"pesos": 3824576,
"valorUf": 38245.76,
"formatted": "$3,824,576"
}📋 Supported Document Types
| Code | Document | |------|----------| | 33 | Electronic Invoice | | 34 | Exempt Electronic Invoice | | 39 | Electronic Receipt | | 41 | Exempt Electronic Receipt | | 61 | Electronic Credit Note | | 56 | Electronic Debit Note |
🔧 Available Operations
📄 Issue DTE
- Issue Receipt
- Issue Invoice
- Issue Credit Note
- Issue Debit Note
🔢 RUT
- Validate
- Format (with dots and dash)
- Clean (remove formatting)
- Calculate Check Digit
- Generate valid random RUT
💰 Indicators (live data)
- Get all indicators
- UF for today or by date
- UTM
- Observed Dollar
- Euro
- IPC
- Convert UF ↔ Pesos
📊 Query DTE
- Document status
- Download PDF
- Download XML
🌐 Supported Providers
OpenFactura (Haulmer)
- Most used in Chile
- Simple REST API
- Certification and Production
- Documentation
SimpleAPI
- Free plan of 100 DTEs/month
- No cost for testing
- Documentation
💡 Use Cases
- E-commerce: Automatically issue receipts when order completes
- SaaS: Generate automatic monthly invoices
- ERP: Integrate electronic invoicing
- Validation: Verify customer RUT in forms
- Quotes: Automatically convert UF prices to pesos
🤝 Contributing
- Fork the repository
- Create branch:
git checkout -b feature/new-feature - Commit:
git commit -am 'Add feature' - Push:
git push origin feature/new-feature - Pull Request
📄 License
MIT License - see LICENSE
👨💻 Author
Manu - LatamFlows
Automation for LATAM 🚀
Need a custom integration? Contact me for custom node development.
