Skip to main content
POST
/
api
/
hris
/
v1
/
employee-payroll-runs
Create Employee Payroll Run
curl --request POST \
  --url https://api.bindbee.dev/api/hris/v1/employee-payroll-runs \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --header 'x-connector-token: <x-connector-token>' \
  --data '{
  "employee": "018b168d-70f9-7043-a796-56d66a4f8f07",
  "payroll_run": "018b709e-b6ef-7db4-902a-a064157bdba2",
  "payroll_process_name": "Hours, Earning Codes",
  "paystatement_type_id": 53123324,
  "payroll_file": "000099",
  "payroll_group_code": "9YT",
  "gross_pay": 772277.77,
  "net_pay": 577221.27,
  "start_date": "2023-07-01T00:00:00Z",
  "end_date": "2023-07-31T00:00:00Z",
  "check_date": "2023-08-31T00:00:00Z",
  "earnings": [
    {
      "amount": "27151",
      "name": "SALARY"
    }
  ],
  "deductions": [
    {
      "company_deduction": "77.57",
      "employee_deduction": "27.22",
      "name": "Social Security"
    }
  ],
  "taxes": [
    {
      "amount": "175.22",
      "name": "California State Income Tax"
    }
  ]
}'
"<any>"

Authorizations

Authorization
string
header
required

Headers

x-connector-token
string
required

Body

application/json
employee
string<uuid> | null
required
Example:
payroll_run
string<uuid> | null
default:""
Example:
payroll_process_name
string | null
default:""
Example:
paystatement_type_id
integer | null
Example:
payroll_file
string | null
default:""
Example:
payroll_group_code
string | null
default:""
Example:
gross_pay
default:0
Example:
net_pay
default:0
Example:
start_date
string | null
default:""
Example:
end_date
string | null
default:""
Example:
check_date
string | null
default:""
Example:
earnings
Earnings · object[] | null
Example:
deductions
Deductions · object[] | null
Example:
taxes
Taxes · object[] | null
Example:

Response