0.1.10 • Published 3 years ago

calc-impuesto-ganancias v0.1.10

Weekly downloads
8
License
ISC
Repository
github
Last release
3 years ago

Build Status Coverage Status

Calculadora Impuesto a las Ganancias Argentina

Biblioteca que permite calcular cuanto es el monto retenido por el impuesto a las ganancias.

Install

npm install calc-impuesto-ganancias

Usage

var CalcGanancias = require('calc-impuesto-ganancias');

var options = {
    sueldoBruto: 40000,
    alquiler: 0,
    creditoHipotecario: 0,
    cantHijos: 0,
    isConyuje: false,
    isJubilado: false,
    isPatagonico: false
}

var calcGanancias = new CalcGanancias();
calcGanancias.calculate(options);

//Should be return

var result = {
    anualTax: '2880.85',
    monthlyTax: '240.07',
    taxRate: '0.60%',
    marginalTaxRate: '9,00%',
    netBaseSalary: 32960
};

Tests

npm test

MIT Licenced

0.1.10

3 years ago

0.1.9

3 years ago

0.1.8

3 years ago

0.1.7

3 years ago

0.1.6

5 years ago

0.1.3

6 years ago

0.1.2

6 years ago

0.1.1

6 years ago