Skip to content

Latest commit

 

History

History
49 lines (30 loc) · 902 Bytes

README.md

File metadata and controls

49 lines (30 loc) · 902 Bytes

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