Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

各種控除額を世帯員単位で計算できるようにする #165

Open
Syuparn opened this issue Oct 21, 2023 · 4 comments
Open

各種控除額を世帯員単位で計算できるようにする #165

Syuparn opened this issue Oct 21, 2023 · 4 comments
Assignees
Labels
バックエンド OpenFIsca Python API

Comments

@Syuparn
Copy link
Contributor

Syuparn commented Oct 21, 2023

バックエンドの所得税、住民税控除を 人物 単位で計算できるようにします。

現在は 世帯 単位、世帯主の年収のみに依存して算出していますが、正確には各世帯員の年収から個別に控除額を求められるようにしてください。

改修箇所

  • 所得税の各種控除を entity=人物 として世帯主ごとに算出する実装にする
  • 住民税の各種控除を entity=人物 として世帯主ごとに算出する実装にする
  • 控除後世帯高所得として、各人物の控除後所得の最大値を使用するようにする
  • 既存のテストが落ちてしまう場合修正
@Syuparn
Copy link
Contributor Author

Syuparn commented Oct 21, 2023

Openfisca_Japan全体に関わる設計変更のため、1~2か月かかるかもしれません

@Syuparn
Copy link
Contributor Author

Syuparn commented Oct 21, 2023

  • PRを細かい粒度で分割する
  • 現状の控除額実装のうち、「世帯主にのみ適用されるもの」「全員に適用されるもの」の整理をする

@Syuparn
Copy link
Contributor Author

Syuparn commented Mar 3, 2024

特別児童扶養手当の所得制限もこのタイミングで修正

@Syuparn
Copy link
Contributor Author

Syuparn commented Mar 5, 2024

こちら着手します。

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
バックエンド OpenFIsca Python API
Projects
None yet
Development

No branches or pull requests

2 participants