Calculadora Salario Neto España
calculate_net_salaryFull Description
Use this when someone asks to calculate net salary, convert gross to net, or find take-home pay for a salary in Spain. Calculates IRPF and Social Security deductions by autonomous community. Do not use for other countries, freelance/autónomo workers, or employer tax obligations.
Parameters (1 required, 3 optional)
gross_annualnumberGross annual salary in euros. Extract the numeric amount from the prompt (e.g., "45000€" → 45000, "50.000 euros" → 50000, "3000€/mes" → 36000 annual). Remove currency symbols and convert monthly to annual if needed.
num_childrennumberNumber of children for tax deductions. Extract number from "con 2 hijos", "2 hijos", "tengo 3 hijos". Range 0-5.
0num_pagasstringREQUIRED if pagas mentioned. Number of yearly payments: "14 pagas" / "con 14 pagas" / "en 14 pagas" → "14", "12 pagas" / "con 12 pagas" / "en 12 pagas" → "12". Must be string "12" or "14".
121412regionstringREQUIRED if location mentioned. Map to enum: Madrid/Comunidad de Madrid → "madrid", Cataluña/Catalunya/Lleida/Girona/Tarragona/Barcelona → "cataluna", Andalucía/Sevilla/Cádiz/Córdoba/Jaen/Huelva/Málaga → "andalucia", Valencia/Alicante/Castellón/Comunidad Valenciana → "valencia", Galicia → "galicia", other regions → "other".
madridcatalunaandaluciavalenciagaliciaothercataluna