Skip to main content

German income tax library

Project description

This is an experimental package, allowing the calculation of income tax rates in Germany (useful for freelancers, since they usually pay tax once per year only, resulting in a substantial amount owed).

The package is fairly incomplete, but can be used as a starting point; bug reports, feedback and pull requests are very welcome.

CLI

While being usable as a library, the package comes with an optional CLI. To use it, the click package must be installed as well:

$ detax --help
Usage: detax [OPTIONS] INCOME

Options:
  -y, --year INTEGER          Tax year
  -c, --church-tax [rk|ev]
  -s, --state TEXT
  -p, --perc / -P, --no-perc  Show total tax percentage
  --help                      Show this message and exit.

An example calculation for Baden-Württemberg:

$ detax -y 2017 -c rk -s BW 50000
Steuerjahr: 2017
Bundesland: BW
Einkommen: 50000.0 
Anz. Kinder: 0
Steuerklasse: 1
Kirchensteuer: katholisch, 8.00 %, capped at 3.50 % total income

   12636.00     Einkommenssteuer
     694.98     Solidaritätszuschlag
    1010.88     Kirchensteuer
-------------
   14341.86     Gesamt
Tax percentage: 28.7%

Project details


Release history Release notifications

This version
History Node

0.1

Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Filename, size & hash SHA256 hash help File type Python version Upload date
detax-0.1-py3-none-any.whl (5.2 kB) Copy SHA256 hash SHA256 Wheel py3 Feb 8, 2018
detax-0.1.tar.gz (3.2 kB) Copy SHA256 hash SHA256 Source None Feb 8, 2018

Supported by

Elastic Elastic Search Pingdom Pingdom Monitoring Google Google BigQuery Sentry Sentry Error logging AWS AWS Cloud computing DataDog DataDog Monitoring Fastly Fastly CDN SignalFx SignalFx Supporter DigiCert DigiCert EV certificate StatusPage StatusPage Status page