Create a new employee
Documentation Index
Fetch the complete documentation index at: https://docs.flowpayroll.ai/llms.txt
Use this file to discover all available pages before exploring further.
Authorizations
Access token obtained from OAuth2 client credentials flow
Body
"john.smith@company.com"
Male, Female "Male"
"1985-07-23"
UpTo16Hours, From16To24Hours, From24To30Hours, Above30Hours, Other "Above30Hours"
The payroll config to assign the employee to.
"payroll_config_001"
Tax codes for the employee per tax year
{
"2025": [
{
"code": "1257L",
"effectiveDate": "2025-04-06",
"reason": "HMRC Update",
"issuedBy": "HMRC",
"week1Month1": false
}
]
}National Insurance details for the employee
"+447700900123"
Single, Married, Divorced, Widowed, CivilPartnership, FormerCivilPartnership, SurvivorCivilPartnership "Married"
35000
Employee code. An optional identifier for the employee.
"EMP001"
"john.secondary@company.com"
The student details of the employee
{
"studentLoanDetails": {
"loanType": "Plan2",
"startDate": "2010-09-01",
"endDate": "2025-07-31"
},
"postgraduateLoanDetails": {
"loanType": "PostgraduateLoan",
"startDate": "2015-09-01",
"endDate": "2028-07-31"
}
}Earnings from a previous employer in the same tax year. Used for cumulative tax calculations only. Does not affect FPS reporting.
{
"2026": { "grossTaxable": 15000, "tax": 3000 }
}"Male"
"+447700900124"
"123456789"
["John Doe"]false
false
Configuration of employee's working days
"Engineering"
"Software Engineer"
The unique identifier for the employee.
"emp_12345"
Payroll ID. This is the ID of the payroll that the employee is associated with when sending the FPS submission to HMRC (payId field). If not provided a new one will be created. But this can affect the submission to HMRC.
"payroll_2023_001"
Leaver details for migrating employees from another system.
Opening balance for this employment from a different payroll system (migration).
Opening balance for director earnings from a different payroll system (migration). Only NI-relevant fields.