Skip to navigation

Which endpoint do I need?

Find what you want to do, then use the endpoint next to it. Paths are relative to https://api.salaryboxapp.com/v2/customer/v1.

Company

Your company’s setup and account.

I want to…Use
Read the company name, owner, GST number or time zoneGet Company Profile /company/
Turn branch names into the IDs the staff filters needList Branches /company/branch
Turn department names into IDsList Departments /company/department
Read extra staff profile fields, such as shirt sizeList Custom Fields /company/custom-fields
Check the plan, expiry, staff limit, add-ons or an upcoming renewalGet Company Subscription /company/subscription
See how the company moved between plans over timeList Subscription History /company/subscription/history
Reconcile wallet top-ups and spends, or read the current wallet balanceList Wallet Ledger /company/wallet/ledger

Staff

Who works for you, and people asking to join.

I want to…Use
Sync the current staff directoryList Staff /staff/
Refresh one person’s profile, role or permissionsGet Staff Member /staff/fetch-employee
Find who left, and whenList Inactive Staff /staff/inactive
Find the account ownersList Admins /staff/admin
Read previous employers, for example for background checksList Employment History /staff/employment-history
Bring HR notes into another systemList Staff Notes /staff/notes
See who can use Location Tracking or CRMList Add-on Permissions /staff/addon-permissions
See who is waiting to join through the joining link or company codeList New Joinee Requests /pending-requests/new-joinees
See who asked to register a new phone for attendanceList Device Mapping Requests /pending-requests/device-mapping

Attendance

Who worked, when and how.

I want to…Use
A status grid (present, absent, leave…) per person per day, with daily head countsList Daily Attendance /attendance/daily
One row of monthly totals per person, for example for payrollList Attendance Muster /attendance/muster
Punch times, hours worked, late arrival, early leaving or overtime per dayList Attendance Timesheets /attendance/timesheet
Who is at work right nowList Attendance Timesheets /attendance/timesheet
Every individual punchList Punches /attendance/time-entry
Who is scheduled for which shift, or off, on a dateList Staff Schedules /attendance/schedules
How each person marks attendance, and why a day became present or half dayList Staff Attendance Settings /attendance/employee-settings
The company’s shifts, breaks or holidaysList Shifts, List Breaks, List Holidays

Payroll

Salaries, payments and pay rules. Requires Payroll Pro, except the reimbursement endpoints.

I want to…Use
Each person’s salary (CTC) setupList Staff CTC /payroll/fetch-employee-ctc
Earnings, deductions and net pay for a month, including final settlementsList Salary Breakdowns /payroll/fetch-salary-breakdown
Total salary or advance paid per person in a monthList Salary Paid, List Advances Paid
Every individual payment, for example to match bank statementsList Payroll Payments /payroll/payments
What was paid and what is still due over several monthsList Payroll History /payroll/history
The company’s payroll totals for a monthGet Payroll Summary /payroll/summary
One person’s overtime as payroll pays itGet Staff Overtime /payroll/overtime
Salary cycle and whether week offs and holidays are paidGet Payroll Settings /payroll/config
Late, early leaving or overtime pay rules per personList Late Fine Settings, List Early Leaving Fine Settings, List Overtime Settings
Tax declarations staff submittedList Tax Declarations /payroll/tax-declarations
Reimbursement claims, pending or pastList Reimbursement Requests /pending-requests/reimbursements
Who approves expense claimsList Reimbursement Approval Flows /payroll/reimbursement-approval-flows

Leave

Leave balances, rules and requests.

I want to…Use
How much leave each person has leftList Leave Balances /leave/balance
Allocation and carry-forward rulesList Leave Policies /leave/policy
Leave requests, pending or past, or one person’s leave historyList Leave Requests /pending-requests/leave
Who approves leaveList Leave Approval Flows /leave/approval-flows

Location

Where tracked staff are and have been. Requires the Location Tracking add-on.

I want to…Use
Where everyone is now, or was last seenList Latest Staff Locations /location/latest
The route one person travelled on a dayList Staff Location History /location/history
Who was asked to be tracked, and whether they agreedList Location Tracking Requests /location/requests

CRM

Field Force CRM activity. Requires the Field Force CRM add-on.

I want to…Use
Customer visits per personList CRM Meetings /crm/meetings
Distance and number of trips per personList CRM Trips /crm/trips
Each trip of a few people, with odometer readings and start and stop placesList CRM Trip Timeline /crm/trips/timeline