0.0.5 • Published 3 years ago

jpgensen v0.0.5

Weekly downloads
-
License
MIT
Repository
github
Last release
3 years ago

gensen

Function to calculate the amount of Japanese withholding tax

給与所得の源泉徴収税額を計算する関数です。 (現状は月額分のみ、月額表の甲欄を適用する給与等に対する税額の電算機計算の特例には未対応です)

install

npm install --save jpgensen

Usage

金額、甲かどうか、扶養親族の人数を渡すと、源泉徴収税額を返します

import jpgensen from "jpgensen"

const settings = {
	amount: 88000,
	kou: true,
	fuyou: 0
}
jpgensen(settings)
//130

settings

optiontype内容
amountnumberその月の社会保険料等控除後の給与等の金額
kouboolean甲欄に該当するかどうか(true: 甲, false: 乙)
fuyounumber扶養親族等の数

License

Licensed under the MIT license

0.0.5

3 years ago

0.0.4

3 years ago

0.0.3

3 years ago

0.0.2

3 years ago

0.0.1

3 years ago