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 | RSS feed

This version

0.1

Download files

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

Source Distribution

detax-0.1.tar.gz (3.2 kB view details)

Uploaded Source

Built Distribution

detax-0.1-py3-none-any.whl (5.2 kB view details)

Uploaded Python 3

File details

Details for the file detax-0.1.tar.gz.

File metadata

  • Download URL: detax-0.1.tar.gz
  • Upload date:
  • Size: 3.2 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No

File hashes

Hashes for detax-0.1.tar.gz
Algorithm Hash digest
SHA256 b805222ca0db30b935c1f659ed17e7010bc1d95461358eaa16ad5bf1cbc547d3
MD5 abcf7426f48f40de0107646be861956a
BLAKE2b-256 aa2f8a29f6d96a38702bd0799ebf5c08a16b5de46a482810eaf70279c39155e1

See more details on using hashes here.

File details

Details for the file detax-0.1-py3-none-any.whl.

File metadata

  • Download URL: detax-0.1-py3-none-any.whl
  • Upload date:
  • Size: 5.2 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No

File hashes

Hashes for detax-0.1-py3-none-any.whl
Algorithm Hash digest
SHA256 2cd4b2dd4a5da06663b235de6c2a6ee8dc8e5d7fe0462521fb5cc1308cf1a969
MD5 891a7a5df826b538ae9530eb1e07cbfb
BLAKE2b-256 9fab58cff93f203b593b3456bc5e2b2b33a1764d606fd446b4d6b81ba05852db

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page