Skip to content

Potential Bug in Calculation of Wohngeldeinkommen #357

@michaelhebsaker

Description

@michaelhebsaker

Bug description

I think this code snippet does not reflect the de facto and de jure calculation of the Wohngeldeinkommen,

Version 0.4 code is:

vorläufiges_eink = (1 - wohngeld_abzüge_tu) * (
        wohngeld_brutto_eink_tu + wohngeld_sonstiges_eink_tu - wohngeld_eink_abzüge_tu
    )

Current code bakes in the wrong assumption

    vorläufiges_eink = (1 - wohngeld_abzüge_m_tu) * (
        wohngeld_eink_vor_abzug_m_tu - wohngeld_eink_abzüge_m_tu
    )

Expected behavior

Following:
https://www.bmi.bund.de/SharedDocs/downloads/DE/publikationen/themen/bauen/wohnen/wohngeld-flyer.pdf?__blob=publicationFile&v=9
Example 2, page 13

BMI_Wohngeld

and:
https://www.wohngeld.org/wohngeldgesetz-wogg/paragraph14.html
see 14.21.20ff

I infer that wohngeld_eink_abzüge_tu as well as payments like Unterhaltsvorschuss (as I understand included in wohngeld_sonstiges_eink_tu) should not be multiplied with wohngeld_abzüge_tu.

This is escpecially relevant for single households with children.
Multiplying wohngeld_abzüge_tu with Unterhaltsvorschuss results in a Wohngeldeinkommen, which is - from my reading of the law -
too high.

Multiplying wohngeld_abzüge_tu with wohngeld_eink_abzüge_tu might lead to a too low wohngeldeinkommen.

Metadata

Metadata

Labels

bugSomething isn't workingtax-transfer-featureThis relates to a feature of the Taxes and Transfers system or reforms thereof

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions