DECCF · Cash Flow Modeler and Calculator

Declare allocations and fund needs

An object-array input describes user-editable records once. repeat() instantiates a component for each row, and its stable ID follows that person's entities, salary, and other outputs. This same input schema can power a UI with dynamic add/remove cards.

The family role and the Consumer Agency budget belong to the Household pack. Repeating the rows, calculating proportional shares, moving funds, and exposing component outputs are engine capabilities. Add a member by adding one row or by creating a new card in the Calculator; the engine binds the same template again for that stable ID.

allocation() can calculate shares without posting them. transfer() moves money between owners under a posting policy. funding() combines allocation and transfers when a declared need must actually be funded. These declarations share one allocation solver, so limits, priority, proportional weights, and shortfall behavior are consistent.

The Calculator examples Household budget · fixed contributions (available in Marketplace) and Household budget · proportional funding (available in Marketplace) show both contribution rules with Swedish tax and annual closings.

Next: Read and value results.