Skip to content

Commit 197a211

Browse files
authored
Merge pull request #278 from freee/update_schema_20230323_hr
update schema 20230323 hr
2 parents f30ec2a + b0d9f58 commit 197a211

File tree

1 file changed

+166
-3
lines changed

1 file changed

+166
-3
lines changed

hr/open-api-3/api-schema.json

Lines changed: 166 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -12589,16 +12589,179 @@
1258912589
"type": "array",
1259012590
"description": "住宅ローン"
1259112591
},
12592-
"annual_income_and_tax": {
12593-
"type": "object",
12594-
"description": "給与・賞与"
12592+
"payroll_and_bonus": {
12593+
"$ref": "#/components/schemas/ApiV1EmployeeYearendAdjustmentPayrollAndBonusSerializer"
1259512594
},
1259612595
"previous_job": {
1259712596
"type": "object",
1259812597
"description": "前職情報"
1259912598
}
1260012599
}
1260112600
},
12601+
"ApiV1EmployeeYearendAdjustmentPayrollAndBonusSerializer": {
12602+
"type": "object",
12603+
"properties": {
12604+
"fixed_payroll": {
12605+
"type": "integer",
12606+
"description": "確定給与額",
12607+
"format": "int32",
12608+
"minimum": 0,
12609+
"maximum": 999999999
12610+
},
12611+
"fixed_payroll_deduction": {
12612+
"type": "integer",
12613+
"description": "確定給与控除額",
12614+
"format": "int32",
12615+
"minimum": 0,
12616+
"maximum": 999999999
12617+
},
12618+
"fixed_payroll_income_tax": {
12619+
"type": "integer",
12620+
"description": "確定給与所得税額",
12621+
"format": "int32",
12622+
"minimum": 0,
12623+
"maximum": 999999999
12624+
},
12625+
"fixed_bonus": {
12626+
"type": "integer",
12627+
"description": "確定賞与額",
12628+
"format": "int32",
12629+
"minimum": 0,
12630+
"maximum": 999999999
12631+
},
12632+
"fixed_bonus_deduction": {
12633+
"type": "integer",
12634+
"description": "確定賞与控除額",
12635+
"format": "int32",
12636+
"minimum": 0,
12637+
"maximum": 999999999
12638+
},
12639+
"fixed_bonus_income_tax": {
12640+
"type": "integer",
12641+
"description": "確定賞与所得税額",
12642+
"format": "int32",
12643+
"minimum": 0,
12644+
"maximum": 999999999
12645+
},
12646+
"unentered_payroll_amount": {
12647+
"type": "integer",
12648+
"description": "未入力給与額",
12649+
"format": "int32",
12650+
"minimum": 0,
12651+
"maximum": 999999999
12652+
},
12653+
"unentered_payroll_deduction_amount": {
12654+
"type": "integer",
12655+
"description": "未入力給与控除額",
12656+
"format": "int32",
12657+
"minimum": 0,
12658+
"maximum": 999999999
12659+
},
12660+
"unentered_payroll_income_tax_amount": {
12661+
"type": "integer",
12662+
"description": "未入力給与所得税額",
12663+
"format": "int32",
12664+
"minimum": 0,
12665+
"maximum": 999999999
12666+
},
12667+
"unentered_bonus_amount": {
12668+
"type": "integer",
12669+
"description": "未入力賞与額",
12670+
"format": "int32",
12671+
"minimum": 0,
12672+
"maximum": 999999999
12673+
},
12674+
"unentered_bonus_deduction_amount": {
12675+
"type": "integer",
12676+
"description": "未入力賞与控除額",
12677+
"format": "int32",
12678+
"minimum": 0,
12679+
"maximum": 999999999
12680+
},
12681+
"unentered_bonus_income_tax_amount": {
12682+
"type": "integer",
12683+
"description": "未入力賞与所得税額",
12684+
"format": "int32",
12685+
"minimum": 0,
12686+
"maximum": 999999999
12687+
}
12688+
}
12689+
},
12690+
"ApiV1EmployeeYearendAdjustmentPayrollAndBonusUpdateRequestSerializer": {
12691+
"type": "object",
12692+
"properties": {
12693+
"unentered_payroll_amount": {
12694+
"type": "integer",
12695+
"description": "未入力給与額",
12696+
"format": "int32",
12697+
"minimum": 0,
12698+
"maximum": 999999999
12699+
},
12700+
"unentered_payroll_deduction_amount": {
12701+
"type": "integer",
12702+
"description": "未入力給与控除額",
12703+
"format": "int32",
12704+
"minimum": 0,
12705+
"maximum": 999999999
12706+
},
12707+
"unentered_payroll_income_tax_amount": {
12708+
"type": "integer",
12709+
"description": "未入力給与所得税額",
12710+
"format": "int32",
12711+
"minimum": 0,
12712+
"maximum": 999999999
12713+
},
12714+
"unentered_bonus_amount": {
12715+
"type": "integer",
12716+
"description": "未入力賞与額",
12717+
"format": "int32",
12718+
"minimum": 0,
12719+
"maximum": 999999999
12720+
},
12721+
"unentered_bonus_deduction_amount": {
12722+
"type": "integer",
12723+
"description": "未入力賞与控除額",
12724+
"format": "int32",
12725+
"minimum": 0,
12726+
"maximum": 999999999
12727+
},
12728+
"unentered_bonus_income_tax_amount": {
12729+
"type": "integer",
12730+
"description": "未入力賞与所得税額",
12731+
"format": "int32",
12732+
"minimum": 0,
12733+
"maximum": 999999999
12734+
}
12735+
}
12736+
},
12737+
"ApiV1EmployeeYearendAdjustmentController.update_payroll_and_bonus_body": {
12738+
"type": "object",
12739+
"required": [
12740+
"company_id",
12741+
"payroll_and_bonus"
12742+
],
12743+
"properties": {
12744+
"company_id": {
12745+
"type": "integer",
12746+
"description": "更新対象事業所ID(必須)",
12747+
"format": "int32",
12748+
"minimum": 1,
12749+
"maximum": 2147483647,
12750+
"example": 1
12751+
},
12752+
"payroll_and_bonus": {
12753+
"$ref": "#/components/schemas/ApiV1EmployeeYearendAdjustmentPayrollAndBonusUpdateRequestSerializer"
12754+
}
12755+
}
12756+
},
12757+
"ApiV1EmployeeYearendAdjustmentController.update_payroll_and_bonus_response": {
12758+
"type": "object",
12759+
"properties": {
12760+
"payroll_and_bonus": {
12761+
"$ref": "#/components/schemas/ApiV1EmployeeYearendAdjustmentPayrollAndBonusSerializer"
12762+
}
12763+
}
12764+
},
1260212765
"ApiV1EmployeeYearendAdjustmentController.update_dependents_body": {
1260312766
"type": "object",
1260412767
"required": [

0 commit comments

Comments
 (0)