Package Information
Released: 8 mo ago
Downloads: 7 weeklyΒ /Β 51 monthly
Latest Version: 2.0.0
Author: Manuel Reyes Bravo
Available Nodes
Documentation generatingβ¦
Documentation
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.