Calculates German income taxes.
Switch branches/tags
Nothing to show
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
.circleci
src
test
.gitignore
README.md
package-lock.json
package.json
tsconfig.json

README.md

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