源泉徴収税額(月額表・日額表・電算機計算の特例)
calculate_withholding_taxIncome tax to withhold from a payment, from the National Tax Agency tables. The taxable amount is pay AFTER social insurance has been deducted, not gross.
Pick the table with period: "monthly" for 月額表, "daily" for 日額表. The daily table has a third column, 丙, which applies to work engaged by the day and takes no dependant adjustment at all. Use method: "computer" for the 電算機計算の特例 formula, which payroll software may use instead of the table and can differ by a few yen.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| column | No | 甲/乙, plus 丙 for the daily table only. Defaults to 甲. | |
| method | No | "computer" selects the statutory formula method. Monthly only. Defaults to table. | |
| period | No | Defaults to monthly. | |
| spouse | No | Only for method "computer": whether a 源泉控除対象配偶者 is claimed. The formula method deducts 31,667 yen a month for one, which the monthly table folds into its columns instead. Ignored by the table methods. | |
| dependants | No | ||
| taxable_amount | Yes | Pay after social insurance, in yen. |