Staffology Payroll

App · 24 actions

Add employees, record leave and notes, and read employers, pay schedules and pay runs in Staffology Payroll.

Actions

ActionWhat it does
Create departmentAdd a department to an employer.
Create employeeAdd an employee to an employer, paid on the employer's default pay options.
Create leaveRecord leave, such as holiday or sickness, for an employee.
Create noteAdd a note to an employee's record.
Delete departmentDelete one of an employer's departments.
Delete employeeDelete an employee.
Delete leaveDelete leave recorded for an employee.
Delete noteDelete a note from an employee's record.
Find employee by payroll codeFind the employee with a given payroll code.
Get employeeGet an employee's details.
Get employerGet an employer's details.
Get pay runGet one pay run, with its dates, state, totals and employees.
Get pay run entryGet one employee's pay for a pay run, with totals and year-to-date totals.
List departmentsList an employer's departments.
List employee's pay run entriesList an employee's pay run entries for a tax year.
List employeesList an employer's employees, with each one's payroll code and basic pay.
List employersList the employers your Staffology user can see.
List leaveList the leave recorded for an employee.
List leaversList an employer's employees who have a leaving date.
List notesList the notes on an employee's record.
List pay runsList an employer's pay runs for a tax year and pay frequency.
List pay schedulesList an employer's pay schedules for a tax year, with their last and open pay runs.
Search employeesFind an employer's employees by name or payroll code.
Update noteReplace a note on an employee's record.

Create department

Add a department to an employer.

Inputs

EmployeremployerIdtextRequired
The employer. Pick one, or use an ID from List employers.
CodecodetextRequired
A short code for the department, unique within the employer.
NametitletextRequired
The department's name.
Colourcolortext
A colour for it, as six hex digits such as ff0000.
Accounting codeaccountingCodetext
The code to use for it in journals.

Outputs

dataobject
The response from Staffology Payroll.
Example output
{
  "data": {
    "accountingCode": "4000",
    "code": "OPS",
    "color": "ff0000",
    "employeeCount": 0,
    "hasJournalOverrides": false,
    "title": "Operations"
  }
}

Create employee

Add an employee to an employer, paid on the employer's default pay options.

Inputs

EmployeremployerIdtextRequired
The employer. Pick one, or use an ID from List employers.
First namefirst_nametextRequired
Their first name.
Last namelast_nametextRequired
Their last name.
Date of birthdate_of_birthdateRequired
Their date of birth.
GendergendertextRequired
Their gender as HMRC records it.One of: Male, Female.
Marital statusmarital_statustextRequired
Their marital status.One of: Single, Married, Divorced, Widowed, CivilPartnership (Civil partnership), Unknown (Not known).
Payroll codepayroll_codetextRequired
Their payroll code. It must be unique within the employer.
Start datestart_datedateRequired
The day they start.
Starter declarationstarter_declarationtextRequired
Which statement on their starter checklist applies.One of: A (A: first job since 6 April, no benefits or pension), B (B: only job now, but had another or benefits since 6 April), C (C: has another job or a pension), Unknown (Not known).
Titletitletext
Their title, such as Ms.
Middle namemiddle_nametext
Their middle name.
Emailemailtext
Their email address.
Email payslipsemail_paysliptrue/false
Turn on to email them their payslip when a pay run is finalised.
Mobilemobiletext
Their mobile number.
National Insurance numberni_numbertext
Their National Insurance number.
Address line 1address_line1text
The first line of their address.
Address line 2address_line2text
The second line of their address.
Address line 3address_line3text
The third line of their address.
Postcodepost_codetext
Their postcode.
Countrycountrytext
The country they live in.One of: England, Scotland, Wales, NorthernIreland (Northern Ireland), Uk, OutsideUk (Outside the UK).
Job titlejob_titletext
The job title of their main role.
Tagstagslist
Tags to put on the employee.

Outputs

dataobject
The response from Staffology Payroll.
Example output
{
  "data": {
    "employmentDetails": {
      "department": {
        "code": "OPS",
        "title": "Operations"
      },
      "isApprentice": false,
      "jobTitle": "Detective",
      "leaverDetails": {
        "hasLeft": false,
        "leaveDate": "2026-03-31",
        "p45Sent": false
      },
      "onHold": false,
      "payrollCode": "1",
      "starterDetails": {
        "startDate": "2018-04-01",
        "starterDeclaration": "A"
      }
    },
    "id": "4b8bceb8-d3b1-46b1-9d04-6c0dfca51926",
    "personalDetails": {
      "address": {
        "country": "England",
        "line1": "221B Baker Street",
        "line2": "Marylebone",
        "line3": "London",
        "line4": "Greater London",
        "line5": "UK",
        "postCode": "NW1 6XE"
      },
      "dateOfBirth": "1976-07-19",
      "email": "benedict@example.com",
      "firstName": "Benedict",
      "gender": "Male",
      "lastName": "Cumberbatch",
      "maritalStatus": "Married",
      "middleName": "Timothy",
      "mobile": "07700 900000",
      "niNumber": "AB123456C",
      "telephone": "020 7946 0000",
      "title": "Mr"
    },
    "sourceSystemId": "HR-1001",
    "status": "Current",
    "tags": [
      "London"
    ]
  }
}

Create leave

Record leave, such as holiday or sickness, for an employee.

Inputs

EmployeremployerIdtextRequired
The employer. Pick one, or use an ID from List employers.
EmployeeemployeeIdtextRequired
The employee. Pick one, or use an ID from List employees.
TypetypetextRequired
What kind of leave it is.One of: Holiday, Sick, Unauthorised (Unauthorised absence), AuthorisedUnpaid (Authorised unpaid), Maternity, Paternity, Adoption, SharedParental (Shared parental), SharedParentalAdoption (Shared parental (adoption)), PaternityAdoption (Paternity (adoption)), and 4 more.
First dayfromdateRequired
The first day of leave.
Last daytodateRequired
The last day of leave.
Paypaytext
How the leave is paid.One of: PayAsUsual (Pay as usual), DoNotPay (Don't pay), StatutoryPay (Statutory pay), OccupationalPolicy (Occupational policy), Custom, AverageDays (Average days).
Notesnotestext
Any comments about the leave.

Outputs

dataobject
The response from Staffology Payroll.
Example output
{
  "data": {}
}

Create note

Add a note to an employee's record.

Inputs

EmployeremployerIdtextRequired
The employer. Pick one, or use an ID from List employers.
EmployeeemployeeIdtextRequired
The employee. Pick one, or use an ID from List employees.
NotenoteTexttextRequired
What the note says.
DatenoteDatedate
The date of the note.
Typetypetext
What kind of note it is.One of: General, NewStarterStatement (New starter statement), RtwProof (Right to work proof), P45.

Outputs

dataobject
The response from Staffology Payroll.
Example output
{
  "data": {}
}

Delete department

Delete one of an employer's departments.

Inputs

EmployeremployerIdtextRequired
The employer. Pick one, or use an ID from List employers.
Department codecodetextRequired
The code of the department to delete.

Outputs

dataobject
The response from Staffology Payroll.
Example output
{
  "data": {}
}

Delete employee

Delete an employee. Staffology refuses if they have been paid.

Inputs

EmployeremployerIdtextRequired
The employer. Pick one, or use an ID from List employers.
EmployeeidtextRequired
The employee to delete.

Outputs

dataobject
The response from Staffology Payroll.
Example output
{
  "data": {}
}

Delete leave

Delete leave recorded for an employee.

Inputs

EmployeremployerIdtextRequired
The employer. Pick one, or use an ID from List employers.
EmployeeemployeeIdtextRequired
The employee. Pick one, or use an ID from List employees.
Leave IDidtextRequired
The leave to delete, from List leave.

Outputs

dataobject
The response from Staffology Payroll.
Example output
{
  "data": {}
}

Delete note

Delete a note from an employee's record.

Inputs

EmployeremployerIdtextRequired
The employer. Pick one, or use an ID from List employers.
EmployeeemployeeIdtextRequired
The employee. Pick one, or use an ID from List employees.
Note IDidtextRequired
The note to delete, from List notes.

Outputs

dataobject
The response from Staffology Payroll.
Example output
{
  "data": {}
}

Find employee by payroll code

Find the employee with a given payroll code.

Inputs

EmployeremployerIdtextRequired
The employer. Pick one, or use an ID from List employers.
Payroll codecodetextRequired
The payroll code to look for.

Outputs

dataobject
The response from Staffology Payroll.
Example output
{
  "data": {
    "id": "4b8bceb8-d3b1-46b1-9d04-6c0dfca51926",
    "name": "Miss Annie Apiola",
    "url": "https://api.staffology.co.uk/employers/6dd1459a-9230-4903-aa7d-6f1cb27acd5e/employees/4b8bceb8-d3b1-46b1-9d04-6c0dfca51926"
  }
}

Get employee

Get an employee's details.

Inputs

EmployeremployerIdtextRequired
The employer. Pick one, or use an ID from List employers.
EmployeeidtextRequired
The employee. Pick one, or use an ID from List employees.

Outputs

dataobject
The response from Staffology Payroll.
Example output
{
  "data": {
    "employmentDetails": {
      "department": {
        "code": "OPS",
        "title": "Operations"
      },
      "isApprentice": false,
      "jobTitle": "Detective",
      "leaverDetails": {
        "hasLeft": false,
        "leaveDate": "2026-03-31",
        "p45Sent": false
      },
      "onHold": false,
      "payrollCode": "1",
      "starterDetails": {
        "startDate": "2018-04-01",
        "starterDeclaration": "A"
      }
    },
    "id": "4b8bceb8-d3b1-46b1-9d04-6c0dfca51926",
    "personalDetails": {
      "address": {
        "country": "England",
        "line1": "221B Baker Street",
        "line2": "Marylebone",
        "line3": "London",
        "line4": "Greater London",
        "line5": "UK",
        "postCode": "NW1 6XE"
      },
      "dateOfBirth": "1976-07-19",
      "email": "benedict@example.com",
      "firstName": "Benedict",
      "gender": "Male",
      "lastName": "Cumberbatch",
      "maritalStatus": "Married",
      "middleName": "Timothy",
      "mobile": "07700 900000",
      "niNumber": "AB123456C",
      "telephone": "020 7946 0000",
      "title": "Mr"
    },
    "sourceSystemId": "HR-1001",
    "status": "Current",
    "tags": [
      "London"
    ]
  }
}

Get employer

Get an employer's details.

Inputs

EmployeridtextRequired
The employer. Pick one, or use an ID from List employers.

Outputs

dataobject
The response from Staffology Payroll.
Example output
{
  "data": {
    "address": {
      "country": "England",
      "line1": "221B Baker Street",
      "line2": "Marylebone",
      "line3": "London",
      "line4": "Greater London",
      "line5": "UK",
      "postCode": "NW1 6XE"
    },
    "alternativeId": "ACME",
    "archived": false,
    "crn": "01234567",
    "currentYear": "Year2026",
    "displayName": "Acme Ltd",
    "employeeCount": 25,
    "id": "6dd1459a-9230-4903-aa7d-6f1cb27acd5e",
    "name": "Acme Ltd",
    "startYear": "Year2018",
    "subcontractorCount": 0
  }
}

Get pay run

Get one pay run, with its dates, state, totals and employees.

Inputs

EmployeremployerIdtextRequired
The employer. Pick one, or use an ID from List employers.
Tax yeartaxYeartextRequired
The UK tax year, which starts on 6 April.One of: Year2017 (2017 to 2018), Year2018 (2018 to 2019), Year2019 (2019 to 2020), Year2020 (2020 to 2021), Year2021 (2021 to 2022), Year2022 (2022 to 2023), Year2023 (2023 to 2024), Year2024 (2024 to 2025), Year2025 (2025 to 2026), Year2026 (2026 to 2027).
Pay frequencypayPeriodtextRequired
How often the employees on the pay schedule are paid.One of: Monthly, FourWeekly (Four-weekly), Fortnightly, Weekly, Daily, Quarterly, HalfYearly (Half-yearly), Annual, Custom.
PeriodperiodNumbernumberRequired
The tax month or week number of the pay run.At least 1.
Schedule numberordinalnumber
Which pay schedule of this frequency, when there is more than one. Leave empty for the first.At least 1.
SearchsearchTermtext
Only employees whose name or payroll code contains this.
Department codedepartmentCodetext
Only employees in the department with this code.
PagepageNumnumber
Which page to read, counting from 0. Leave empty with Page size to get everything.At least 0.
Page sizepageSizenumber
How many records a page holds.At least 1.

Outputs

dataobject
The response from Staffology Payroll.
Example output
{
  "data": {
    "dateClosed": "2026-11-28T15:00:00",
    "employeeCount": 25,
    "endDate": "2026-11-30",
    "entries": [
      {
        "id": "1c2d3e4f-5a6b-7c8d-9e0f-a1b2c3d4e5f6",
        "name": "Miss Annie Apiola",
        "url": "https://api.staffology.co.uk/employers/6dd1459a-9230-4903-aa7d-6f1cb27acd5e/payrun/Year2026/Monthly/8/1c2d3e4f-5a6b-7c8d-9e0f-a1b2c3d4e5f6"
      }
    ],
    "isClosed": false,
    "ordinal": 1,
    "payPeriod": "Monthly",
    "paymentDate": "2026-11-30",
    "period": 8,
    "startDate": "2026-11-01",
    "state": "Open",
    "taxMonth": 8,
    "taxYear": "Year2026",
    "totals": {
      "basicPay": 1000.0,
      "employeeNi": 40.0,
      "employerNi": 60.0,
      "gross": 1000.0,
      "netPay": 860.0,
      "takeHomePay": 860.0,
      "tax": 100.0
    }
  }
}

Get pay run entry

Get one employee's pay for a pay run, with totals and year-to-date totals.

Inputs

EmployeremployerIdtextRequired
The employer. Pick one, or use an ID from List employers.
Tax yeartaxYeartextRequired
The UK tax year, which starts on 6 April.One of: Year2017 (2017 to 2018), Year2018 (2018 to 2019), Year2019 (2019 to 2020), Year2020 (2020 to 2021), Year2021 (2021 to 2022), Year2022 (2022 to 2023), Year2023 (2023 to 2024), Year2024 (2024 to 2025), Year2025 (2025 to 2026), Year2026 (2026 to 2027).
Pay frequencypayPeriodtextRequired
How often the employees on the pay schedule are paid.One of: Monthly, FourWeekly (Four-weekly), Fortnightly, Weekly, Daily, Quarterly, HalfYearly (Half-yearly), Annual, Custom.
PeriodperiodNumbernumberRequired
The tax month or week number of the pay run.At least 1.
Entry IDidtextRequired
The pay run entry, from Get pay run.
Schedule numberordinalnumber
Which pay schedule of this frequency, when there is more than one. Leave empty for the first.At least 1.

Outputs

dataobject
The response from Staffology Payroll.
Example output
{
  "data": {
    "employee": {
      "id": "4b8bceb8-d3b1-46b1-9d04-6c0dfca51926",
      "name": "Miss Annie Apiola",
      "url": "https://api.staffology.co.uk/employers/6dd1459a-9230-4903-aa7d-6f1cb27acd5e/employees/4b8bceb8-d3b1-46b1-9d04-6c0dfca51926"
    },
    "endDate": "2026-11-30",
    "id": "1c2d3e4f-5a6b-7c8d-9e0f-a1b2c3d4e5f6",
    "isClosed": false,
    "isNewStarter": false,
    "note": "Includes overtime",
    "payPeriod": "Monthly",
    "paymentDate": "2026-11-30",
    "period": 8,
    "startDate": "2026-11-01",
    "state": "Open",
    "taxYear": "Year2026",
    "totals": {
      "basicPay": 1000.0,
      "employeeNi": 40.0,
      "employerNi": 60.0,
      "gross": 1000.0,
      "netPay": 860.0,
      "takeHomePay": 860.0,
      "tax": 100.0
    },
    "totalsYtd": {
      "basicPay": 8000.0,
      "employeeNi": 320.0,
      "employerNi": 480.0,
      "gross": 8000.0,
      "netPay": 6880.0,
      "takeHomePay": 6880.0,
      "tax": 800.0
    }
  }
}

List departments

List an employer's departments.

Inputs

EmployeremployerIdtextRequired
The employer. Pick one, or use an ID from List employers.

Outputs

datalist
The response from Staffology Payroll.
Example output
{
  "data": [
    {
      "id": "0f1e2d3c-4b5a-6978-8796-a5b4c3d2e1f0",
      "name": "Operations",
      "url": "https://api.staffology.co.uk/employers/6dd1459a-9230-4903-aa7d-6f1cb27acd5e/departments/OPS"
    }
  ]
}

List employee's pay run entries

List an employee's pay run entries for a tax year.

Inputs

EmployeremployerIdtextRequired
The employer. Pick one, or use an ID from List employers.
EmployeeidtextRequired
The employee. Pick one, or use an ID from List employees.
Tax yeartaxYeartextRequired
The UK tax year, which starts on 6 April.One of: Year2017 (2017 to 2018), Year2018 (2018 to 2019), Year2019 (2019 to 2020), Year2020 (2020 to 2021), Year2021 (2021 to 2022), Year2022 (2022 to 2023), Year2023 (2023 to 2024), Year2024 (2024 to 2025), Year2025 (2025 to 2026), Year2026 (2026 to 2027).

Outputs

datalist
The response from Staffology Payroll.
Example output
{
  "data": [
    {
      "id": "1c2d3e4f-5a6b-7c8d-9e0f-a1b2c3d4e5f6",
      "name": "Month 8",
      "url": "https://api.staffology.co.uk/employers/6dd1459a-9230-4903-aa7d-6f1cb27acd5e/payrun/Year2026/Monthly/8/1c2d3e4f-5a6b-7c8d-9e0f-a1b2c3d4e5f6"
    }
  ]
}

List employees

List an employer's employees, with each one's payroll code and basic pay.

Inputs

EmployeremployerIdtextRequired
The employer. Pick one, or use an ID from List employers.
Statusstatustext
Only current, former or upcoming employees.One of: Current, Former, Upcoming.
Department codedeptCodetext
Only employees in the department with this code.
Sort bysortBytext
How to order the employees.One of: PayrollCode (Payroll code), Employee (Name), Department, PaySchedule (Pay schedule).
DescendingsortDescendingtrue/false
Turn on to sort the other way.
PagepageNumnumber
Which page to read, counting from 0. Leave empty with Page size to get everything.At least 0.
Page sizepageSizenumber
How many records a page holds.At least 1.

Outputs

datalist
The response from Staffology Payroll.
Example output
{
  "data": [
    {
      "id": "4b8bceb8-d3b1-46b1-9d04-6c0dfca51926",
      "metadata": {
        "basicPay": 1000.0,
        "payrollCode": "101",
        "period": 12
      },
      "name": "Miss Annie Apiola",
      "url": "https://api.staffology.co.uk/employers/6dd1459a-9230-4903-aa7d-6f1cb27acd5e/employees/4b8bceb8-d3b1-46b1-9d04-6c0dfca51926"
    }
  ]
}

List employers

List the employers your Staffology user can see.

Inputs

SearchsearchTermtext
Only employers whose name, customer number, alternative ID or ID contains this.
Which employersemployerListTypetext
Which list to read. Leave empty for the usual list.One of: Owned (Owned by you), FromOthers (Shared with you), Support (Support access), Archived.
Sort bysortBytext
How to order the employers.One of: Name, ProcessorName (Payroll processor), Crn (Company number), AlternativeId (Alternative ID), EmployeeCount (Number of employees), RTICount (RTI submissions), PensionStatus (Pension status), AutoPilot.
DescendingsortDescendingtrue/false
Turn on to sort the other way.
Employer groupemployerGroupCodetext
Only employers in the employer group with this code.
PagepageNumnumber
Which page to read, counting from 0. Leave empty with Page size to get everything.At least 0.
Page sizepageSizenumber
How many records a page holds.At least 1.

Outputs

datalist
The response from Staffology Payroll.
Example output
{
  "data": [
    {
      "id": "6dd1459a-9230-4903-aa7d-6f1cb27acd5e",
      "name": "Acme Ltd",
      "url": "https://api.staffology.co.uk/employers/6dd1459a-9230-4903-aa7d-6f1cb27acd5e"
    }
  ]
}

List leave

List the leave recorded for an employee.

Inputs

EmployeremployerIdtextRequired
The employer. Pick one, or use an ID from List employers.
EmployeeemployeeIdtextRequired
The employee. Pick one, or use an ID from List employees.

Outputs

datalist
The response from Staffology Payroll.
Example output
{
  "data": [
    {
      "id": "c3d4e5f6-a7b8-4c9d-8e0f-1a2b3c4d5e6f",
      "name": "Holiday 21/12/2026 - 22/12/2026",
      "url": "https://api.staffology.co.uk/employers/6dd1459a-9230-4903-aa7d-6f1cb27acd5e/employees/4b8bceb8-d3b1-46b1-9d04-6c0dfca51926/leave/c3d4e5f6-a7b8-4c9d-8e0f-1a2b3c4d5e6f"
    }
  ]
}

List leavers

List an employer's employees who have a leaving date.

Inputs

EmployeremployerIdtextRequired
The employer. Pick one, or use an ID from List employers.
Only unsent P45sonlyUnsentP45strue/false
Turn on to list only leavers whose P45 hasn't been sent.

Outputs

datalist
The response from Staffology Payroll.
Example output
{
  "data": [
    {
      "id": "4b8bceb8-d3b1-46b1-9d04-6c0dfca51926",
      "metadata": {
        "basicPay": 1000.0,
        "payrollCode": "101",
        "period": 12
      },
      "name": "Miss Annie Apiola",
      "url": "https://api.staffology.co.uk/employers/6dd1459a-9230-4903-aa7d-6f1cb27acd5e/employees/4b8bceb8-d3b1-46b1-9d04-6c0dfca51926"
    }
  ]
}

List notes

List the notes on an employee's record.

Inputs

EmployeremployerIdtextRequired
The employer. Pick one, or use an ID from List employers.
EmployeeemployeeIdtextRequired
The employee. Pick one, or use an ID from List employees.

Outputs

datalist
The response from Staffology Payroll.
Example output
{
  "data": [
    {
      "id": "b2a5f3c4-1d2e-4f50-8a9b-0c1d2e3f4a5b",
      "name": "Called about bank details.",
      "url": "https://api.staffology.co.uk/employers/6dd1459a-9230-4903-aa7d-6f1cb27acd5e/employees/4b8bceb8-d3b1-46b1-9d04-6c0dfca51926/notes/b2a5f3c4-1d2e-4f50-8a9b-0c1d2e3f4a5b"
    }
  ]
}

List pay runs

List an employer's pay runs for a tax year and pay frequency.

Inputs

EmployeremployerIdtextRequired
The employer. Pick one, or use an ID from List employers.
Tax yeartaxYeartextRequired
The UK tax year, which starts on 6 April.One of: Year2017 (2017 to 2018), Year2018 (2018 to 2019), Year2019 (2019 to 2020), Year2020 (2020 to 2021), Year2021 (2021 to 2022), Year2022 (2022 to 2023), Year2023 (2023 to 2024), Year2024 (2024 to 2025), Year2025 (2025 to 2026), Year2026 (2026 to 2027).
Pay frequencypayPeriodtextRequired
How often the employees on the pay schedule are paid.One of: Monthly, FourWeekly (Four-weekly), Fortnightly, Weekly, Daily, Quarterly, HalfYearly (Half-yearly), Annual, Custom.
Schedule numberordinalnumber
Which pay schedule of this frequency, when there is more than one. Leave empty for the first.At least 1.

Outputs

datalist
The response from Staffology Payroll.
Example output
{
  "data": [
    {
      "id": "9a8b7c6d-5e4f-3a2b-1c0d-ef0123456789",
      "name": "Month 8",
      "url": "https://api.staffology.co.uk/employers/6dd1459a-9230-4903-aa7d-6f1cb27acd5e/payrun/Year2026/Monthly/8"
    }
  ]
}

List pay schedules

List an employer's pay schedules for a tax year, with their last and open pay runs.

Inputs

EmployeremployerIdtextRequired
The employer. Pick one, or use an ID from List employers.
Tax yeartaxYeartextRequired
The UK tax year, which starts on 6 April.One of: Year2017 (2017 to 2018), Year2018 (2018 to 2019), Year2019 (2019 to 2020), Year2020 (2020 to 2021), Year2021 (2021 to 2022), Year2022 (2022 to 2023), Year2023 (2023 to 2024), Year2024 (2024 to 2025), Year2025 (2025 to 2026), Year2026 (2026 to 2027).

Outputs

datalist
The response from Staffology Payroll.
Example output
{
  "data": [
    {
      "employeeCount": 25,
      "firstPaymentDate": "2026-04-30",
      "firstPeriodEndDate": "2026-04-30",
      "hasOpenPayRunPeriod": true,
      "isConfigured": true,
      "isYearCompleted": false,
      "lastPeriodEndDate": "2026-11-30",
      "lastPeriodNumber": 8,
      "name": "Monthly",
      "ordinal": 1,
      "payPeriod": "Monthly",
      "taxYear": "Year2026"
    }
  ]
}

Search employees

Find an employer's employees by name or payroll code.

Inputs

EmployeremployerIdtextRequired
The employer. Pick one, or use an ID from List employers.
Search forquerytextRequired
A name or payroll code, at least 3 characters.
Leave out CIS subcontractorsexludeCisSubContactorstrue/false
Turn on to search only employees who aren't CIS subcontractors.

Outputs

datalist
The response from Staffology Payroll.
Example output
{
  "data": [
    {
      "id": "4b8bceb8-d3b1-46b1-9d04-6c0dfca51926",
      "metadata": {
        "basicPay": 1000.0,
        "payrollCode": "101",
        "period": 12
      },
      "name": "Miss Annie Apiola",
      "url": "https://api.staffology.co.uk/employers/6dd1459a-9230-4903-aa7d-6f1cb27acd5e/employees/4b8bceb8-d3b1-46b1-9d04-6c0dfca51926"
    }
  ]
}

Update note

Replace a note on an employee's record.

Inputs

EmployeremployerIdtextRequired
The employer. Pick one, or use an ID from List employers.
EmployeeemployeeIdtextRequired
The employee. Pick one, or use an ID from List employees.
Note IDidtextRequired
The note to change, from List notes.
NotenoteTexttextRequired
What the note says.
DatenoteDatedate
The date of the note.
Typetypetext
What kind of note it is.One of: General, NewStarterStatement (New starter statement), RtwProof (Right to work proof), P45.

Outputs

dataobject
The response from Staffology Payroll.
Example output
{
  "data": {
    "createdBy": "payroll@example.com",
    "documentCount": 0,
    "employee": {
      "id": "4b8bceb8-d3b1-46b1-9d04-6c0dfca51926",
      "name": "Miss Annie Apiola",
      "url": "https://api.staffology.co.uk/employers/6dd1459a-9230-4903-aa7d-6f1cb27acd5e/employees/4b8bceb8-d3b1-46b1-9d04-6c0dfca51926"
    },
    "id": "b2a5f3c4-1d2e-4f50-8a9b-0c1d2e3f4a5b",
    "noteDate": "2026-11-30",
    "noteText": "Called about bank details.",
    "type": "General",
    "updatedBy": "payroll@example.com"
  }
}

On this page