> ## Client identification
>
> Requests to this API should include a `Client-Platform` header alongside
> `Authorization`, identifying the application, tool, or model making the
> request. This is used for integration support and analytics.
>
> Use your model or tool name, for example `claude-code` or `chatgpt`.
>
> Example:
>
> ```bash
> curl https://api.salaryboxapp.com/... \
>   -H "Authorization: Api-Key <api-key>" \
>   -H "Client-Platform: claude-code"
> ```

# Changelog

## November 2026

**Added**

* `ai_face_recognition` (AI Face Recognition) and `round_off_total_salary` (Round Off Total Salary) in Fetch and Update Company Settings.
* `include_week_offs` and `include_holidays` in Fetch and Update Company Settings, the Include Weekoffs and Include Holidays switches of the app's Salary Settings.
* Endpoints to add and change staff, attendance, punches, shifts, breaks, holidays, leave types, leave policies and leave balances.
* More read endpoints for company, staff, attendance, payroll, leave and requests.
* `branch_names` and `department_names` filters on List Staff and List Inactive Staff.
* The `Retry-After` header on `429` responses.
* Apply Leave, to raise a leave request for a staff member.
* Raise Reimbursement Request, `POST /requests/reimbursements`, to raise an expense claim for a staff member the way they would in the app.
* Get Bank Verification and Verify Bank Account, to check a staff member's saved bank account or UPI ID.
* Set Staff Attendance Settings, to change time zone, self-view, smartphone attendance and automation rules for up to 50 staff.
* Get, Add and Update Late Arriving Fines and Early Leaving Fines, to see and change a staff member's fine for each day of a payroll month.
* List, Add and Update Other Deductions, at `/payroll/other-deduction`.
* Update Employee ID Settings, Update Payroll Settings, and Add and Update Scheduled Report.
* Approve or Reject New Joinee, which adds the person as staff, and Approve or Reject Device Request.

**Changed**

* Company Settings use the app's names: `fake_gps_detection` is now `block_fake_gps_attendance` and `tds_applicable` is `auto_calculate_tds`. A setting never changed shows the app's default instead of `null`.
* `salary_calculation_days` is `calendar_month`, `30_day_month` or `26_day_month` instead of `1`, `2` or `3`. List Staff CTC's `salary_calculation_basis` uses the same values (was `calendar_days`, `30_days`, `26_days`).
* Payroll Settings is the Attendance Cycle: `attendance_cycle_starts_on_day` replaces `salary_cycle` and `salary_cycle_starts_on_day`. Include Weekoffs and Include Holidays moved to Company Settings.
* Fine and overtime amount types are `fixed` or `multiplier` (were `custom` and `multipler`).
* Payroll Summary cards no longer include the app's tap actions, filters and info tooltips.
* The payroll `403` now says `"Payroll is not included in your plan. Contact us."`
* Attendance, punches and rosters can be changed for the last 60 days, and rosters planned 60 days ahead (was 62).
* The request endpoints moved from `/pending-requests/...` to `/requests/...`.
* Three paths now use the word staff: Get Staff Member is `/staff/member`, List Staff CTC is `/payroll/staff-ctc` and List Staff Attendance Settings is `/attendance/staff-settings`.
* Requests are limited per company in each 10-minute window. See [Rate limits](/rate-limits).
* List Staff, List Inactive Staff, List Staff CTC, List Salary Paid and List Advances Paid now return `404` `"Invalid page."` for a page past the last one, like every other list endpoint.
* A staff member who can't be found now always gives `404` `"Staff not found."`
* Validation errors now always have the message `"Invalid Data"`.
* `503` responses now use the two messages listed in [Errors](/errors).
* Late Fine Settings are now called Late Arriving Fine Settings. The path is unchanged.
* Endpoint names are now consistent: reads start with Fetch or List, changes with Add, Update or Record, endpoints that read one staff member say Single Staff, and other endpoints for a staff member say Staff (for example Get Staff Member is now Fetch Single Staff, Get Payslip is Fetch Single Staff Payslip, Rename Shift is Update Shift and Set Overtime is Add Staff Overtime). Paths are unchanged.
* The `403` from List Plans, List Add-ons, List Coupons and Fetch Upcoming Renewal now names the plans they need: Starter and Business.
* Verify Staff returns `next_step` when neither the phone number nor the profile gives a government ID, saying to continue verification in the SalaryBox app.

**Removed**

* `photo_attendance`, `qr_attendance`, `mark_attendance_present_by_default` and `allowed_number_of_punches` from Company Settings. The app no longer offers them as company settings; photo and QR attendance are set per staff member in Update Staff Attendance Settings.
* `is_configured`, `tax_declaration_deadline`, `is_week_off_paid` and `is_holiday_paid` from Payroll Settings.
* `id` from List Branches, List Departments, List Salary Templates and List Incentive Types. Use `name`.