Skip to content

rsesek/ustaxviewer

Repository files navigation

ustaxviewer

This package provides an HTML frontend to the ustaxlib system.

Every Form object that is added to the TaxReturn is viewable, with the value of every line displayed:

Main screen showing Form 1040

In order to aid debugging the computations, you can click the black line identifier to expand a flow graph showing the values that went into the computation. That includes the master computation for the "Amount You Owe", for example, which yields this massive graph.

Usage

See the ustaxlib repository for how to get started modeling taxes. To run the viewer, simply do:

npx ustaxviewer taxfile.ts

Note that taxfile.ts should have a default export of the TaxReturn object to be rendered.