calculate-autonomo-irpf
v1.0.5
Published
Example ```js const calculate = require('calculate-autonomo-irpf')
Downloads
5
Readme
Calculate Spain Autonomo IRPF 2022
Example
const calculate = require('calculate-autonomo-irpf')
console.log(
calculate(32000)
)
Output:
{
"annualGross": 32000,
"net": {
"yearly": 24234.50,
"monthly": 2019.54,
"formatted": {
"yearly": "€24,234.50",
"monthly": "€2,019.54"
}
},
"totalIrpf": 7765.5,
"percentage": 24.27
}
See full example here