hax: Haskell cash-flow and tax simulation

[ finance, library, mit, program ] [ Propose Tags ] [ Report a vulnerability ]

This package contains a library that for a double-entry accounting based cash-flow simulation with a detailed translation of the German tax code including personal income tax (Einkommensteuer), corporate tax (Körperschaftsteuer) and trade/business tax (Gewerbesteuer).

See Readme on Github.


[Skip to Readme]

Downloads

Maintainer's Corner

Package maintainers

For package maintainers and hackage trustees

Candidates

  • No Candidates
Versions [RSS] 0.0.1, 0.0.2 (info)
Dependencies aeson (>=0.11.2.1 && <0.12), array (>=0.5.0.0 && <0.6), base (>=4.9.0.0 && <4.10), blaze-html (>=0.8.1.3 && <0.9), blaze-markup (>=0.7.1.1 && <0.8), boxes (>=0.1.4 && <0.2), bytestring (>=0.10.8.1 && <0.11), containers (>=0.5.5.1 && <0.6), Decimal (>=0.4.2 && <0.5), directory (>=1.2.6.2 && <1.3), filepath (>=1.4.1.0 && <1.5), mtl (>=2.2.1 && <2.3), split (>=0.2.3.1 && <0.3), template-haskell (>=2.11.0.0 && <2.12), text (>=1.2.2.1 && <1.3), transformers (>=0.5.2.0 && <0.6) [details]
License MIT
Author Johannes Gerer
Maintainer Johannes Gerer <oss@johannesgerer.com>
Category Finance
Home page http://johannesgerer.com/hax
Bug tracker http://github.com/johannesgerer/hax/issues
Uploaded by johannesgerer at 2017-01-25T18:59:30Z
Distributions
Reverse Dependencies 1 direct, 0 indirect [details]
Executables hax
Downloads 1395 total (3 in the last 30 days)
Rating (no votes yet) [estimated by Bayesian average]
Your Rating
  • λ
  • λ
  • λ
Status Docs uploaded by user
Build status unknown [no reports yet]

Readme for hax-0.0.2

[back to package description]

hax

A library for cash-flow and tax simulations. The type system is used to ensure correctness e.g. of double-entry accounting, and the correct calculation of taxes. The use of Haskell's do-notation and type-classes permit an almost verbatim translation of the tax code into the program.

It currently includes personal income tax (Einkommensteuer), corporate tax (Körperschaftsteuer) and trade/business tax (Gewerbesteuer), but could easily be extended to other legal systems

Usage

stack runghc -- -isrc src/main

will produce a folder named html containing the results of the HAX.Example that commes with this library. The look at the full ledger in html/index.html or the charts static/charts.html.

Documentation

The docs on Hackage are quite comprehensive (with some parts in German).

Srceenshots

ledger

Charts

charts