sat-mexico

n8n node for SAT Mexico integration - CFDI invoicing, RFC validation, UDI, exchange rates

Package Information

Released: 8 mo ago
Downloads: 7 weeklyΒ /Β 70 monthly
Latest Version: 2.0.1
Author: Manuel Reyes Bravo

Documentation

n8n-nodes-sat-mexico πŸ‡²πŸ‡½

Mexico Electronic Invoicing for n8n - CFDI, RFC validation, UDI, exchange rates.

SAT Mexico
n8n
License

✨ 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

  1. Settings β†’ Community Nodes
  2. Search n8n-nodes-sat-mexico
  3. 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
  1. Create an account with one of the providers
  2. Get your API Key
  3. 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

Finkok

πŸ’‘ 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 πŸš€

Discussion