1.0.2 • Published 4 years ago

german-income-tax v1.0.2

Weekly downloads
5
License
MIT
Repository
github
Last release
4 years ago

German Income Tax

build status

Calculates the German income tax

Installation

$ npm install german-income-tax

Usage

With TypeScript

import tax, { Year } from "german-income-tax";

const myTax = tax( 88000, Year.Y2018 );

// myTax.solidarityTax === 1558.59
// myTax.incomeTax === 28338

const ourTax = tax( 88000, Year.Y2018, { couple: true } );

// myTax.solidarityTax === 1113.42
// myTax.incomeTax === 20224

or with JavaScript

import tax from "german-income-tax";

const myTax = tax( 88000, "2018" );

// myTax.solidarityTax === 1558.59
// myTax.incomeTax === 28338

const ourTax = tax( 88000, "2018", { couple: true } );

// myTax.solidarityTax === 1113.42
// myTax.incomeTax === 20224

License

MIT