年間の労務コスト — 賞与の上限を年度で通した額
calculate_annual_costWhat one employee costs an employer over a year, bonuses included.
Reach for this rather than multiplying a payslip by twelve, because the two do not agree once a bonus is paid. 健康保険法第45条 caps the standard bonus cumulatively across the year — 5,730,000 from 1 April to 31 March — so the same bonus costs a different amount depending on where it falls, and once the year is used up later bonuses carry no health premium. 厚生年金保険法第24条の4 caps at 1,500,000 per payment with no yearly total, so pension keeps charging where health has stopped.
Pass bonuses in the order they are paid: the health allowance fills from the first one. Each row comes back with what was counted, whether it was cut, and how much of the year remains, so the answer can be explained rather than just quoted.
Income tax here is the monthly figure times twelve. Bonus withholding is a separate calculation (calculate_bonus with include_tax) and the year-end adjustment is a separate tool (calculate_year_end_adjustment) — say so rather than presenting this as take-home pay for the year.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| age | No | Either this or birth_date is required. | |
| bonuses | No | Each bonus in yen, in the order paid. The health cap fills from the first. | |
| birth_date | No | Date of birth, YYYY-MM-DD. Strongly preferred over `age`: 年齢計算ニ関スル法律 puts the attainment of an age on the day *before* the birthday, so someone born on the 1st of a month crosses a threshold in the previous month and their premium changes a month earlier than a naive calculation gives. | |
| dependants | No | ||
| prefecture | Yes | Prefecture of the employer's 適用事業所 — English ("Tokyo"), Japanese ("東京" or "東京都"), or JIS code 1-47. Health insurance rates differ by prefecture; pension does not. | |
| fiscal_year | No | Year the 1 April to 31 March window starts. Defaults from the current date. | |
| resident_tax | No | Monthly resident tax, multiplied by twelve as given. It is never derived here. | |
| business_type | No | ||
| monthly_salary | Yes | Gross monthly pay in yen. | |
| workers_comp_type | No | 事業の種類の番号. Charged on bonuses as well, being levied on total wages. | |
| standard_remuneration | No | The 標準報酬月額 fixed by 算定基礎届, if known. Without it the grade is derived from the pay given. |