npm package discovery and stats viewer.

Discover Tips

  • General search

    [free text search, go nuts!]

  • Package details

    pkg:[package-name]

  • User packages

    @[username]

Sponsor

Optimize Toolset

I’ve always been into building performant and accessible sites, but lately I’ve been taking it extremely seriously. So much so that I’ve been building a tool to help me optimize and monitor the sites that I build to make sure that I’m making an attempt to offer the best experience to those who visit them. If you’re into performant, accessible and SEO friendly sites, you might like it too! You can check it out at Optimize Toolset.

About

Hi, 👋, I’m Ryan Hefner  and I built this site for me, and you! The goal of this site was to provide an easy way for me to check the stats on my npm packages, both for prioritizing issues and updates, and to give me a little kick in the pants to keep up on stuff.

As I was building it, I realized that I was actually using the tool to build the tool, and figured I might as well put this out there and hopefully others will find it to be a fast and useful way to search and browse npm packages as I have.

If you’re interested in other things I’m working on, follow me on Twitter or check out the open source projects I’ve been publishing on GitHub.

I am also working on a Twitter bot for this site to tweet the most popular, newest, random packages from npm. Please follow that account now and it will start sending out packages soon–ish.

Open Software & Tools

This site wouldn’t be possible without the immense generosity and tireless efforts from the people who make contributions to the world and share their work via open source initiatives. Thank you 🙏

© 2026 – Pkg Stats / Ryan Hefner

n8n-nodes-latam-payroll

v2.1.1

Published

n8n node for LATAM + Spain payroll calculations - Real AFPs, progressive ISR/IRPF, vacation, bonus, severance with 2024 data

Readme

n8n-nodes-latam-payroll

LATAM Payroll n8n Version License

n8n node for Latin America and Spain payroll calculations with real 2024 data. 100% free, no credentials required.

🚀 What's New in v2.0.0?

  • Real AFPs/Pension funds with exact commission rates
  • Progressive ISR/IRPF/IR tables 2024 for all countries
  • Proportional days calculation (worked 15 of 30 days)
  • Non-taxable bonuses configurable
  • Real employer cost with employer contributions
  • Reverse calculation: "I want to pay X net, how much gross?"

🌎 Supported Countries

🇨🇱 Chile

| Feature | Detail | |---------|--------| | Real AFPs | Modelo (0.58%), Uno (0.49%), Habitat (1.27%), PlanVital (1.16%), Capital (1.44%), Cuprum (1.44%), ProVida (1.45%) | | Caps | 81.6 UF AFP, 126.6 UF unemployment | | Proportional days | Calculation by days worked | | Bonuses | Meal, transportation, other non-taxable | | Employer cost | Includes 2.4% employer unemployment |

🇲🇽 Mexico

| Feature | Detail | |---------|--------| | ISR 2024 | 11 progressive brackets (5% - 35%) | | Employment subsidy | 11 ranges per official table | | UMA 2024 | $108.57 daily / $3,300.14 monthly | | Border zone | Differentiated minimum wage | | Bonuses | Food vouchers (40% UMA exempt), transport |

🇦🇷 Argentina

| Feature | Detail | |---------|--------| | Income tax 2024 | 9 progressive brackets (5% - 35%) | | MNI | $3,091,035 monthly exempt | | Deductions | $78,833 per child | | Health insurance | Configurable by agreement (default 3%) | | Union dues | Configurable (default 2%) |

🇨🇴 Colombia

| Feature | Detail | |---------|--------| | Withholding tax | 7 brackets per UVT ($47,065) | | Transport allowance | $162,000 if salary ≤ 2 SMMLV | | Solidarity fund | 1% if salary > 4 SMMLV | | SMMLV 2024 | $1,300,000 | | Employer cost | 12% pension + 8.5% health + ARL + parafiscals |

🇵🇪 Peru

| Feature | Detail | |---------|--------| | Real AFPs | Habitat (1.47%), Integra (1.55%), Prima (1.60%), Profuturo (1.69%) | | ONP | Public system 13% | | 5th category | Exempt up to 7 UIT ($36,050) | | Family allowance | 10% RMV if has children | | EsSalud | 9% employer contribution |

🇧🇷 Brazil

| Feature | Detail | |---------|--------| | INSS 2024 | 4 progressive brackets (7.5% - 14%), cap R$908.85 | | IRRF 2024 | 5 brackets with deductions | | Dependents | R$189.59 deduction per dependent | | Transport voucher | 6% discount if opted | | Employer cost | FGTS 8% + charges ~20% |

🇪🇨 Ecuador

| Feature | Detail | |---------|--------| | IR 2024 | 10 progressive brackets | | SBU 2024 | $460 | | Reserve funds | 8.33% monthly or accumulated | | IESS employee | 9.45% | | IESS employer | 11.15% |

🇪🇸 Spain

| Feature | Detail | |---------|--------| | IRPF 2024 | 6 progressive brackets (19% - 47%) | | SS bases | Min €1,323 / Max €4,720.50 | | Payments | 12 or 14 payments configurable | | Family minimum | Reduction for children | | SMI 2024 | €1,134/month (14 payments) |

📦 Installation

In n8n (recommended)

  1. Go to SettingsCommunity Nodes
  2. Click Install
  3. Type: n8n-nodes-latam-payroll
  4. Click Install

Via npm

npm install n8n-nodes-latam-payroll

📋 Usage Examples

Calculate net salary Chile (with real AFP)

Country: Chile
Operation: Net Salary
Gross Salary: 1,500,000
AFP: AFP Modelo (10.58%)
Days worked: 22 of 30
Meal bonus: 50,000
→ Result: Proportional net + bonuses

Calculate gross from desired net (Mexico)

Country: Mexico
Operation: Gross from Net
Desired Net: 20,000
Border zone: No
→ Result: Required gross + real ISR + employer cost

Calculate Brazil payroll with benefits

Country: Brazil
Operation: Net Salary
Gross Salary: 5,000
Dependents: 2
Transport Voucher: Yes
Meal Voucher: 500
→ Result: Net + INSS + IRRF with deductions

✅ Features

  • No credentials: Pure mathematical calculations
  • 2024 data: Updated tables and values
  • Real precision: AFPs, ISR, INSS with exact values
  • Bidirectional: Gross→Net and Net→Gross
  • Employer cost: Calculates total cost for employer
  • 100% free: Open source MIT

⚠️ Disclaimer

Calculations are referential based on 2024 legislation. For specific cases, consult with a human resources professional or accountant.

🤝 Contributing

Contributions are welcome. Please open an issue or pull request.

📄 License

MIT © Manuel Reyes Bravo

📝 Changelog

v2.0.0 (2025-01)

  • 🌐 Full English translation for n8n marketplace
  • 🇨🇱 Chile: 7 real AFPs with exact commissions
  • 🇲🇽 Mexico: ISR 2024 + employment subsidy
  • 🇦🇷 Argentina: Income tax + deductions
  • 🇨🇴 Colombia: Withholding tax + UVT
  • 🇵🇪 Peru: 4 AFPs + ONP + 5th category
  • 🇧🇷 Brazil: Progressive INSS/IRRF + dependents
  • 🇪🇨 Ecuador: IR + reserve funds
  • 🇪🇸 Spain: Progressive IRPF + 12/14 payments
  • ✨ Proportional days in all countries
  • ✨ Configurable bonuses
  • ✨ Real employer cost