n8n-nodes-sat-mexico
v2.0.1
Published
n8n node for SAT Mexico integration - CFDI invoicing, RFC validation, UDI, exchange rates
Maintainers
Readme
n8n-nodes-sat-mexico 🇲🇽
Mexico Electronic Invoicing for n8n - CFDI, RFC validation, UDI, exchange rates.
✨ Features
- ✅ Issue CFDI to SAT (Invoices, Credit Notes)
- ✅ RFC Validation - Verify, format, clean
- ✅ Economic Indicators - UDI, Dollar, Euro (live data)
- ✅ UDI ↔ Pesos Conversion automatic
- ✅ Supports Facturapi and Finkok
🚀 Installation
n8n Cloud / Desktop
- Settings → Community Nodes
- Search
n8n-nodes-sat-mexico - Install
Self-hosted
npm install n8n-nodes-sat-mexico⚙️ Configuration
To issue CFDI you need:
| Provider | Free Plan | Link | |----------|-----------|------| | Facturapi | Yes (sandbox) | facturapi.io | | Finkok | Yes (testing) | finkok.com |
- Create an account with one of the providers
- Get your API Key
- Configure credentials in n8n
For local functions (RFC, Indicators):
No credentials needed - works without configuration.
📖 Usage
Validate RFC
// Input: "XAXX010101000"
// Output:
{
"valid": true,
"rfc": "XAXX010101000",
"tipo": "General Public",
"message": "Generic RFC for general public"
}Get UDI Value
// Output:
{
"indicator": "UDI",
"value": 8.25,
"date": "2024-01-15",
"source": "Banxico"
}Get USD Exchange Rate
// Output:
{
"currency": "USD",
"exchangeRate": 17.50,
"date": "2024-01-15",
"source": "Exchange Rate API"
}🔧 Available Operations
🔢 RFC
- Validate
- Format
- Clean
💰 Indicators (live data)
- UDI Value
- USD Exchange Rate
- EUR Exchange Rate
- Convert UDI to Pesos
- Convert Pesos to UDI
📄 Issue CFDI
- Issue Invoice (Income CFDI)
- Issue Credit Note (Expense CFDI)
🌐 Supported Providers
Facturapi
- Modern REST API
- Free sandbox for testing
- Documentation
Finkok
- PAC authorized by SAT
- SOAP and REST API
- Documentation
💡 Use Cases
- E-commerce: Automatically issue invoices
- SaaS: Generate automatic monthly invoices
- ERP: Integrate CFDI invoicing
- Validation: Verify customer RFC in forms
- Accounting: Convert UDI amounts to pesos
📄 License
MIT License - see LICENSE
👨💻 Author
Manu - LatamFlows
Automation for LATAM 🚀
