Authorization: Bearer ********************{
"overtime_amount": 2500000,
"bonus_amount": 5000000,
"reimbursement_amount": 750000,
"deduction_amount": 300000,
"notes": "Final salary calculation for employee offboarding including overtime for last month and performance bonus",
"allowances": [
{
"allowance_type_id": 1,
"amount": 1000000
},
{
"allowance_type_id": 3,
"amount": 500000
}
]
}{
"status": "success",
"message": "Final salary updated or created successfully",
"data": {
"id": 2,
"offboarding_id": 1,
"overtime_amount": "2500000.00",
"bonus_amount": "5000000.00",
"reimbursement_amount": "750000.00",
"deduction_amount": "300000.00",
"allowances": [
{
"allowance_type_id": 1,
"amount": 1000000
},
{
"allowance_type_id": 3,
"amount": 500000
}
],
"total_amount": 9450000,
"notes": "Final salary calculation for employee offboarding including overtime for last month and performance bonus",
"assigned_payrun_date": null,
"status": 1,
"logged_at": null,
"created_by": 1,
"created_at": "2025-09-23T04:37:22.000000Z",
"updated_at": "2025-09-27T08:40:56.000000Z"
}
}