afip-argentina

n8n node for AFIP Argentina integration - Electronic invoicing, CUIT/CUIL validation, dollar rates, UVA

Package Information

Released: 9 mo ago
Downloads: 8 weeklyΒ /Β 43 monthly
Latest Version: 2.0.0
Author: Manuel Reyes Bravo

Documentation

n8n-nodes-afip-argentina πŸ‡¦πŸ‡·

Argentina Electronic Invoicing for n8n - CUIT/CUIL validation, dollar rates, UVA.

AFIP Argentina
n8n
License

✨ Features

  • βœ… Issue Invoices to AFIP (Invoice A, B, C)
  • βœ… CUIT/CUIL Validation - Verify, format, calculate check digit
  • βœ… Dollar Rates - Official, Blue, MEP (live data)
  • βœ… UVA Value - Unit of Purchasing Value
  • βœ… UVA ↔ Pesos Conversion automatic
  • βœ… Supports Afip SDK and Facturante

πŸš€ Installation

n8n Cloud / Desktop

  1. Settings β†’ Community Nodes
  2. Search n8n-nodes-afip-argentina
  3. Install

Self-hosted

npm install n8n-nodes-afip-argentina

βš™οΈ Configuration

To issue invoices you need:

Provider Free Plan Link
Afip SDK Yes (testing) afipsdk.com
Facturante Yes (limited) facturante.com
  1. Create an account with one of the providers
  2. Get your API Key
  3. Configure credentials in n8n

For local functions (CUIT, Indicators):

No credentials needed - works without configuration.

πŸ“– Usage

Validate CUIT

// Input: "20-12345678-9"
// Output:
{
  "valid": true,
  "cuit": "20123456789",
  "tipo": "Individual",
  "message": "Valid CUIT"
}

Get Official Dollar

// Output:
{
  "currency": "Official Dollar",
  "buy": 1050,
  "sell": 1100,
  "date": "2024-01-15",
  "source": "BCRA"
}

Get Blue Dollar

// Output:
{
  "currency": "Blue Dollar",
  "buy": 1200,
  "sell": 1250,
  "date": "2024-01-15",
  "source": "Informal market"
}

πŸ”§ Available Operations

πŸ”’ CUIT/CUIL

  • Validate
  • Format (XX-XXXXXXXX-X)
  • Clean
  • Calculate Check Digit

πŸ’° Indicators (live data)

  • All Quotes
  • Official Dollar
  • Blue Dollar
  • MEP Dollar
  • UVA Value
  • Convert UVA to Pesos
  • Convert Pesos to UVA

πŸ“„ Issue Invoice

  • Invoice A (between registered taxpayers)
  • Invoice B (to final consumer)
  • Invoice C (small taxpayers)

🌐 Supported Providers

Afip SDK

Facturante

πŸ’‘ Use Cases

  • E-commerce: Automatically issue invoices
  • SaaS: Generate automatic monthly invoices
  • Validation: Verify customer CUIT in forms
  • Accounting: Get live dollar rates
  • Real Estate: Convert UVA amounts to pesos

πŸ“„ License

MIT License - see LICENSE

πŸ‘¨β€πŸ’» Author

Manu - LatamFlows

Automation for LATAM πŸš€

Discussion