The hax package

[Tags:library, mit, program]

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]

Properties

Versions 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 Wed Jan 25 18:59:30 UTC 2017 by johannesgerer
Distributions NixOS:0.0.2
Downloads 69 total (17 in the last 30 days)
Votes
0 []
Status Docs uploaded by user
Build status unknown [no reports yet]
Hackage Matrix CI

Modules

[Index]

Downloads

Maintainer's Corner

For package maintainers and hackage trustees

Readme for hax

Readme for hax-0.0.2

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