0.1.10 • Published 5 years ago

calc-impuesto-ganancias v0.1.10

Weekly downloads
8
License
ISC
Repository
github
Last release
5 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

5 years ago

0.1.9

5 years ago

0.1.8

5 years ago

0.1.7

5 years ago

0.1.6

6 years ago

0.1.3

7 years ago

0.1.2

7 years ago

0.1.1

7 years ago