Skip to content
master
Switch branches/tags
Go to file
Code

Latest commit

 

Git stats

Files

Permalink
Failed to load latest commit information.
Type
Name
Latest commit message
Commit time
 
 
src
 
 
 
 
 
 
 
 
 
 

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

About

Calculates German income taxes.

Resources

Releases

No releases published

Packages

No packages published