dutch-tax-income-calculator
TypeScript icon, indicating that this package has built-in type declarations

24.1.3 • Public • Published

dutch-tax-income-calculator-npm

NPM package with functionality to calculate Dutch Tax Income

Installation

npm install --save dutch-tax-income-calculator

Usage

import { SalaryPaycheck } from 'dutch-tax-income-calculator';

const paycheck = new SalaryPaycheck({
    income: 36000,
    allowance: false,
    socialSecurity: true,
    older: false,
    hours: 40,
}, 'Year', 2020, {
    checked: false,
});
console.log(paycheck);
/* OUTPUT:
{
    grossYear: 36000
    grossMonth: 3000
    grossWeek: 692
    grossDay: 138
    grossHour: 17
    taxFreeYear: 0
    grossAllowance: 0
    taxableYear: 36000
    taxFree: 0
    payrollTax: -3848.40
    socialTax: -9597.86
    generalCredit: 1843.81
    labourCredit: 3756.14
    incomeTax: -7846
    incomeTaxMonth: -653
    netYear: 28154
    netAllowance: 0
    netMonth: 2346
    netWeek: 541
    netDay: 108
    netHour: 13
}
*/

Package Sidebar

Install

npm i dutch-tax-income-calculator

Weekly Downloads

18

Version

24.1.3

License

ISC

Unpacked Size

1.73 MB

Total Files

19

Last publish

Collaborators

  • stevermeister