Xero PayrollUk API

The PayrollUk API from Xero — 47 operation(s) for payrolluk.

GitHub OpenAPI
Business capability
HR Operations Management BC-300.70

Operations 69

Each operation below carries the questions people ask an LLM about it and the instructions they give an agent to run it. Generated by API Evangelist overlay

GET /Employees List employees · Retrieves employees #
Ask an LLM
“How do I get a list of all employees in a UK payroll tenant?”
“Can I filter employees by name or whether they are off-payroll workers?”
Tell an agent
List all employees in tenant {tenant}.
List employees matching {filter} in tenant {tenant}.
POST /Employees Add an employee · Creates employees #
Ask an LLM
“How do I add a new employee to a UK payroll?”
“What do I need to supply to create an employee, like date of birth and gender?”
Tell an agent
Create employee {title} {firstName} {lastName} born {dateOfBirth} in tenant {tenant}.
Add {title} {firstName} {lastName} with gender {gender} and address {address} to payroll {tenant}.
GET /Employees/{EmployeeID} Get an employee · Retrieves specific employees by using a unique employee ID #
Ask an LLM
“How do I look up one employee by ID?”
“What details come back for a single employee?”
Tell an agent
Get employee {employee} in tenant {tenant}.
Show employee {employee} from payroll {tenant}.
PUT /Employees/{EmployeeID} Update an employee · Updates a specific employee's detail #
Ask an LLM
“How do I change an employee's address or phone number?”
“Can I update an existing employee's gender or national insurance number?”
Tell an agent
Update employee {employee} in tenant {tenant} to {title} {firstName} {lastName}, DOB {dateOfBirth}, gender {gender}, address {address}.
Change the phone number of employee {employee} in payroll {tenant} to {phone}.
POST /Employees/{EmployeeID}/Employment Add an employment record · Creates employment detail for a specific employee using a unique employee ID #
Ask an LLM
“How do I record an employee's start date and payroll calendar?”
“Can I set the employee number and national insurance category when adding employment?”
Tell an agent
Add employment for employee {employee} in tenant {tenant} starting {startDate} on calendar {calendar}, employee number {number}, NI category {category}.
Record employment for {employee} on {calendar} from {startDate} with employee number {number} and NI categories {categories} in payroll {tenant}.
GET /Employees/{EmployeeID}/Tax Get an employee's tax records · Retrieves tax records for a specific employee using a unique employee ID #
Ask an LLM
“How do I pull an employee's tax records?”
“What tax details are stored for a UK employee?”
Tell an agent
Get tax records for employee {employee} in tenant {tenant}.
Show the tax record of {employee} from payroll {tenant}.
GET /Employees/{EmployeeID}/ukopeningbalances Get an employee's opening balances · Retrieves a specific employee's openingbalances using a unique employee ID #
Ask an LLM
“How do I see an employee's opening balances for statutory pay?”
“What opening balances are stored for a UK employee?”
Tell an agent
Get opening balances for employee {employee} in tenant {tenant}.
Show the statutory pay opening balances of {employee} from payroll {tenant}.
POST /Employees/{EmployeeID}/ukopeningbalances Create an employee's UK opening balances · Creates an opening balance for a specific employee #
Ask an LLM
“How do I record the statutory pay an employee already received before their first pay run?”
“Can I set an employee's opening balances for shared parental or paternity pay?”
Tell an agent
Create opening balances for employee {employee}.
Record {prior} as the prior employee number for employee {employee}.
PUT /Employees/{EmployeeID}/ukopeningbalances Update an employee's UK opening balances · Updates a specific employee's opening balances #
Ask an LLM
“How do I update the accumulated adoption, maternity and sickness pay balances for a UK employee?”
“Can I change an employee's prior employee number in their opening balances?”
Tell an agent destructive · confirm first
Update the opening balances for employee {employee}.
Set statutory adoption pay to {adoption} and maternity pay to {maternity} for employee {employee}.
GET /Employees/{EmployeeID}/Leave List an employee's leave · Retrieves a specific employee's leave records using a unique employee ID #
Ask an LLM
“How do I see all leave taken by an employee?”
“What leave records exist for a UK employee?”
Tell an agent
List leave records for employee {employee} in tenant {tenant}.
Show every leave record of {employee} from payroll {tenant}.
POST /Employees/{EmployeeID}/Leave Add leave for an employee · Creates leave records for a specific employee #
Ask an LLM
“How do I record an employee's annual leave?”
“Can I add leave with a start and end date and a description?”
Tell an agent
Add leave {description} for employee {employee} in tenant {tenant} from {start} to {end}.
Record leave {description} for {employee} on leave type {type} starting {start} and ending {end} in payroll {tenant}.
GET /Employees/{EmployeeID}/Leave/{LeaveID} Get an employee leave record · Retrieves a specific employee's leave record using a unique employee ID #
Ask an LLM
“How do I look up one leave record by ID?”
“What does a single employee leave record contain?”
Tell an agent
Get leave record {leave} for employee {employee} in tenant {tenant}.
Show employee {employee}'s leave {leave} from payroll {tenant}.
PUT /Employees/{EmployeeID}/Leave/{LeaveID} Update an employee leave record · Updates a specific employee's leave records #
Ask an LLM
“How do I change the end date of an existing leave record?”
“Can I edit the description of an employee leave record?”
Tell an agent
Update leave {leave} for employee {employee} in tenant {tenant} to end {end}.
Change the description of leave {leave} for {employee} to {description} in payroll {tenant}.
DELETE /Employees/{EmployeeID}/Leave/{LeaveID} Delete an employee leave record · Deletes a specific employee's leave record #
Ask an LLM
“How do I remove a leave record from an employee?”
“Can I delete an employee leave record by its ID?”
Tell an agent destructive · confirm first
Delete leave record {leave} for employee {employee} in tenant {tenant}.
Remove employee {employee}'s leave {leave} from payroll {tenant}.
GET /Employees/{EmployeeID}/LeaveBalances Get an employee's leave balances · Retrieves a specific employee's leave balances using a unique employee ID #
Ask an LLM
“How do I see how much leave an employee has left?”
“What leave balances are available for a UK employee?”
Tell an agent
Get leave balances for employee {employee} in tenant {tenant}.
Show the leave balance of {employee} from payroll {tenant}.
GET /Employees/{EmployeeID}/StatutoryLeaveBalance Get an employee's statutory leave balance · Retrieves a specific employee's leave balances using a unique employee ID #
Ask an LLM
“How do I see an employee's statutory sick leave balance?”
“Can I check statutory leave balances for a specific leave type?”
Tell an agent
Get statutory leave balance for employee {employee} in tenant {tenant}.
Show statutory leave balance for {employee} on {leaveType} as of {asOf} in payroll {tenant}.
GET /StatutoryLeaves/Summary/{EmployeeID} Summarize an employee's statutory leaves · Retrieves a specific employee's summary of statutory leaves using a unique… #
Ask an LLM
“How do I get a summary of an employee's statutory leaves?”
“Can I see only active statutory leaves for an employee?”
Tell an agent
Summarize statutory leaves for employee {employee} in tenant {tenant}.
Show active statutory leaves for {employee} in payroll {tenant} with activeOnly {activeOnly}.
POST /StatutoryLeaves/Sick Record statutory sick leave · Creates statutory sick leave records #
Ask an LLM
“How do I record statutory sick leave taken by a UK employee?”
“Can I record sick leave that overlaps with shared parental leave?”
Tell an agent
Record statutory sick leave for employee {employee} from {start} to {end}.
Record sick leave for {employee} on leave type {leave_type} with work pattern {work_pattern}.
GET /StatutoryLeaves/Sick/{StatutorySickLeaveID} Get a statutory sick leave record · Retrieves a statutory sick leave for an employee #
Ask an LLM
“How do I look up one statutory sick leave record?”
“What does a single statutory sick leave record contain?”
Tell an agent
Get statutory sick leave {leave} in tenant {tenant}.
Show statutory sick leave {leave} from payroll {tenant}.
GET /Employees/{EmployeeID}/LeavePeriods List an employee's leave periods · Retrieves a specific employee's leave periods using a unique employee ID #
Ask an LLM
“How do I see the periods an employee took leave?”
“Can I filter an employee's leave periods by start and end date?”
Tell an agent
List leave periods for employee {employee} in tenant {tenant}.
Show leave periods for {employee} from {start} to {end} in payroll {tenant}.
GET /Employees/{EmployeeID}/LeaveTypes Get an employee's leave types · Retrieves a specific employee's leave types using a unique employee ID #
Ask an LLM
“What leave types are set up for a UK employee?”
“Can I see how much leave an employee has accrued?”
Tell an agent
Get leave types for employee {EmployeeID}.
Show the leave entitlements set up for {EmployeeID}.
POST /Employees/{EmployeeID}/LeaveTypes Set up an employee's leave type · Creates employee leave type records #
Ask an LLM
“How do I add a new leave type for a UK employee?”
“Can I cap how many hours an employee accrues for leave?”
Tell an agent
Create leave type {leaveTypeID} for employee {EmployeeID} with accrual schedule {scheduleOfAccrual}.
Set up {leaveTypeID} for {EmployeeID} with {hoursAccruedAnnually} hours accruing annually.
GET /Employees/{EmployeeID}/PaymentMethods Get an employee's payment method · Retrieves a specific employee's payment method using a unique employee ID #
Ask an LLM
“How is a UK employee paid out of payroll?”
“What bank account is used for an employee's pay?”
Tell an agent
Get the payment method for employee {EmployeeID}.
Show how {EmployeeID} is paid.
POST /Employees/{EmployeeID}/PaymentMethods Set up an employee's payment method · Creates an employee payment method #
Ask an LLM
“How do I set up direct pay for a UK employee?”
“Can I record the bank account used for an employee's pay?”
Tell an agent
Create payment method {paymentMethod} for employee {EmployeeID}.
Set up {paymentMethod} on {EmployeeID} using bank accounts {bankAccounts}.
GET /Employees/{EmployeeID}/PayTemplates Get an employee's pay template · Retrieves a specific employee pay templates using a unique employee ID #
Ask an LLM
“What pay template is a UK employee on?”
“Can I see the earnings and deductions set up for an employee?”
Tell an agent
Get the pay template for employee {EmployeeID}.
Show {EmployeeID}'s pay template.
POST /Employees/{EmployeeID}/PayTemplates/earnings Add an earnings line to an employee's pay template · Creates an earnings template records for a specific employee #
Ask an LLM
“How do I add a bonus or overtime line to a UK employee's pay?”
“Can I set an hourly rate or a fixed amount on an employee's template?”
Tell an agent
Add an earnings template to {EmployeeID} with rate {ratePerUnit}.
Create a {fixedAmount} fixed-amount line on {EmployeeID}'s template.
PUT /Employees/{EmployeeID}/PayTemplates/earnings/{PayTemplateEarningID} Update an earnings line on an employee's template · Updates a specific employee's earnings template records #
Ask an LLM
“Can I change the rate on an existing earnings line?”
“How do I edit an employee's pay template line?”
Tell an agent
Update earnings line {PayTemplateEarningID} on {EmployeeID} to rate {ratePerUnit}.
Change existing line {PayTemplateEarningID} on {EmployeeID} to fixed amount {fixedAmount}.
DELETE /Employees/{EmployeeID}/PayTemplates/earnings/{PayTemplateEarningID} Remove an earnings line from an employee's template · Deletes a specific employee's earnings template record #
Ask an LLM
“How do I remove an earnings line from a UK employee's pay template?”
“Can I delete a bonus line from an employee's template?”
Tell an agent destructive · confirm first
Delete earnings line {PayTemplateEarningID} from {EmployeeID}'s template.
Remove the {PayTemplateEarningID} line from {EmployeeID}'s pay template.
POST /Employees/{EmployeeID}/paytemplateearnings Add several earnings lines to an employee's template · Creates multiple earnings template records for a specific employee using a… #
Ask an LLM
“Can I add many earnings lines to a UK employee's template in one request?”
“How do I bulk-add pay lines to an employee?”
Tell an agent
Bulk-add earnings lines to {EmployeeID}'s template.
Create several pay lines for employee {EmployeeID} at once.
GET /Benefits List employer pension benefits · Retrieves employee benefits #
Ask an LLM
“What employer pension benefits are set up?”
“Can I page through all UK pension benefits?”
Tell an agent
List all employer pension benefits.
Show page {page} of UK pension benefits.
POST /Benefits Create an employer pension benefit · Creates a new employee benefit #
Ask an LLM
“How do I set up a company pension benefit for UK employees?”
“Can a new pension benefit be calculated as a percentage of gross pay?”
Tell an agent
Create a {category} pension benefit named {name} with liability account {liabilityAccountId} and expense account {expenseAccountId}.
Add a {category} pension benefit {name} at {percentage}% of gross, calculated as {calculationType}.
GET /Benefits/{id} Get an employer pension benefit · Retrieves a specific benefit by using a unique benefit ID #
Ask an LLM
“What are the settings of a specific UK pension benefit?”
“Can I look up one employer pension benefit by ID?”
Tell an agent
Get employer pension benefit {id}.
Show the {id} pension benefit.
GET /Deductions List deductions · Retrieves deductions #
Ask an LLM
“What deductions are set up for UK employees?”
“Can I page through all payroll deductions?”
Tell an agent
List all deductions.
Show page {page} of deductions.
POST /Deductions Create a deduction · Creates a new deduction #
Ask an LLM
“How do I set up a new deduction for UK employees?”
“Can a deduction be a fixed amount or a percentage of gross pay?”
Tell an agent
Create a deduction named {deductionName} with liability account {liabilityAccountId}.
Add deduction {deductionName} calculated as {percentage}% of gross.
GET /Deductions/{deductionId} Get a deduction · Retrieves a specific deduction by using a unique deduction ID #
Ask an LLM
“What are the settings of a specific deduction?”
“Can I look up one deduction by ID?”
Tell an agent
Get deduction {deductionId}.
Show the {deductionId} deduction.
GET /EarningsOrders List earnings orders · Retrieves earnings orders #
Ask an LLM
“What earnings orders are set up?”
“Can I page through all earnings orders?”
Tell an agent
List all earnings orders.
Show page {page} of earnings orders.
GET /EarningsOrders/{id} Get an earnings order · Retrieves a specific earnings orders by using a unique earnings orders id #
Ask an LLM
“What are the settings of a specific earnings order?”
“Can I look up one earnings order by ID?”
Tell an agent
Get earnings order {id}.
Show the {id} earnings order.
GET /EarningsRates List earnings rates · Retrieves earnings rates #
Ask an LLM
“What earnings rates are set up?”
“Can I page through all earnings rates?”
Tell an agent
List all earnings rates.
Show page {page} of earnings rates.
POST /EarningsRates Create an earnings rate · Creates a new earnings rate #
Ask an LLM
“How do I set up a new earnings rate for UK employees?”
“Can an earnings rate be a fixed amount or a multiple of ordinary pay?”
Tell an agent
Create an earnings rate named {name} of type {earningsType} at {rateType} per {typeOfUnits}.
Add earnings rate {name} paying {ratePerUnit} per {typeOfUnits}.
GET /EarningsRates/{EarningsRateID} Get an earnings rate · Retrieves a specific earnings rates by using a unique earnings rate id #
Ask an LLM
“What are the settings of a specific earnings rate?”
“Can I look up one earnings rate by ID?”
Tell an agent
Get earnings rate {EarningsRateID}.
Show the {EarningsRateID} earnings rate.
GET /LeaveTypes List leave types · Retrieves leave types #
Ask an LLM
“What leave types are set up for employees?”
“Can I list only active leave types?”
Tell an agent
List leave types.
List leave types where active is {active_only}.
POST /LeaveTypes Create a leave type · Creates a new leave type #
Ask an LLM
“How do I add a new leave type for employees?”
“Can a new leave type be paid and show on payslips?”
Tell an agent
Create leave type {name} paid {is_paid_leave} and show on payslips {show_on_payslip}.
Add a new leave type {name} with paid set to {is_paid_leave}.
GET /LeaveTypes/{LeaveTypeID} Get a leave type · Retrieves a specific leave type by using a unique leave type ID #
Ask an LLM
“What are the details of one leave type?”
“Can I look up a leave type by its ID?”
Tell an agent
Get leave type {leave_type_id}.
Show leave type {leave_type_id}.
GET /Reimbursements List reimbursements · Retrieves reimbursements #
Ask an LLM
“Which employee reimbursements have been recorded?”
“Can I page through reimbursements?”
Tell an agent
List reimbursements.
Show page {page} of reimbursements.
POST /Reimbursements Create a reimbursement · Creates a new reimbursement #
Ask an LLM
“How do I record a new employee reimbursement?”
“Can I choose which account a reimbursement posts to?”
Tell an agent
Create reimbursement {name} on account {account_id}.
Record a {name} reimbursement for {account_id}.
GET /Reimbursements/{ReimbursementID} Get a reimbursement · Retrieves a specific reimbursement by using a unique reimbursement id #
Ask an LLM
“What are the details of one reimbursement?”
“Can I look up a reimbursement by its ID?”
Tell an agent
Get reimbursement {reimbursement_id}.
Show reimbursement {reimbursement_id}.
GET /Timesheets List timesheets · Retrieves timesheets #
Ask an LLM
“Which timesheets have been submitted for payroll?”
“Can I filter timesheets by employee or calendar?”
Tell an agent
List timesheets.
List timesheets for {filter}.
POST /Timesheets Create a timesheet · Creates a new timesheet #
Ask an LLM
“How do I create a timesheet for an employee?”
“Can I set the start and end dates of a timesheet?”
Tell an agent
Create a {calendar} timesheet for {employee} from {start} to {end}.
Add a {calendar} timesheet for {employee} covering {start} to {end}.
GET /Timesheets/{TimesheetID} Get a timesheet · Retrieve a specific timesheet by using a unique timesheet ID #
Ask an LLM
“What hours are recorded on a timesheet?”
“Can I look up a timesheet by its ID?”
Tell an agent
Get timesheet {timesheet_id}.
Show the hours on timesheet {timesheet_id}.
DELETE /Timesheets/{TimesheetID} Delete a timesheet · Deletes a specific timesheet #
Ask an LLM
“How do I delete a timesheet?”
“Can I remove a timesheet I created by mistake?”
Tell an agent destructive · confirm first
Delete timesheet {timesheet_id}.
Remove the timesheet {timesheet_id}.
POST /Timesheets/{TimesheetID}/Lines Add a timesheet line · Creates a new timesheet line for a specific timesheet using a unique timesheet… #
Ask an LLM
“How do I record hours worked on a timesheet?”
“Can I add a timesheet line for a specific date and earnings rate?”
Tell an agent
Add a {units} unit line on {date} for earnings rate {rate} to timesheet {timesheet_id}.
Record {units} hours on {date} for {rate} on timesheet {timesheet_id}.
POST /Timesheets/{TimesheetID}/Approve Approve a timesheet · Approves a specific timesheet #
Ask an LLM
“How do I approve a timesheet so it can be paid?”
“Can I mark a timesheet as approved?”
Tell an agent
Approve timesheet {timesheet_id}.
Mark timesheet {timesheet_id} as approved.
POST /Timesheets/{TimesheetID}/RevertToDraft Revert a timesheet to draft · Reverts a specific timesheet to draft #
Ask an LLM
“How do I undo approval of a timesheet?”
“Can I turn a paid timesheet back into a draft?”
Tell an agent
Revert timesheet {timesheet_id} to draft.
Undo approval of timesheet {timesheet_id}.
PUT /Timesheets/{TimesheetID}/Lines/{TimesheetLineID} Update a timesheet line · Updates a specific timesheet line for a specific timesheet #
Ask an LLM
“How do I correct hours on a timesheet line?”
“Can I change the earnings rate on a timesheet line?”
Tell an agent
Update timesheet {timesheet_id} line {line_id} to {units} units on {date} for {rate}.
Change timesheet {timesheet_id} line {line_id} to {units} units on {date} for {rate}.
DELETE /Timesheets/{TimesheetID}/Lines/{TimesheetLineID} Delete a timesheet line · Deletes a specific timesheet line #
Ask an LLM
“How do I remove a single day's hours from a timesheet?”
“Can I delete one timesheet line?”
Tell an agent destructive · confirm first
Delete line {line_id} from timesheet {timesheet_id}.
Remove timesheet {timesheet_id} line {line_id}.
GET /PayRunCalendars List pay run calendars · Retrieves payrun calendars #
Ask an LLM
“What pay run calendars are set up?”
“Can I page through pay run calendars?”
Tell an agent
List pay run calendars.
Show page {page} of pay run calendars.
POST /PayRunCalendars Create a pay run calendar · Creates a new payrun calendar #
Ask an LLM
“How do I set up a new pay run calendar?”
“Can I choose the calendar type and payment date?”
Tell an agent
Create a {calendar_type} calendar {name} paying on {payment_date} from {start}.
Add a {calendar_type} calendar {name} with payment date {payment_date}.
GET /PayRunCalendars/{PayRunCalendarID} Get a pay run calendar · Retrieves a specific payrun calendar by using a unique payrun calendar ID #
Ask an LLM
“What are the dates of one pay run calendar?”
“Can I look up a pay run calendar by its ID?”
Tell an agent
Get pay run calendar {calendar_id}.
Show the dates of pay run calendar {calendar_id}.
GET /Employees/{EmployeeID}/SalaryAndWages Get an employee's salary and wages · Retrieves a specific employee's salary and wages by using a unique employee ID #
Ask an LLM
“What is a specific employee's salary and wages?”
“Can I page through one employee's pay records?”
Tell an agent
Get salary and wages for employee {employee_id}.
Show page {page} of {employee_id}'s salary and wages.
POST /Employees/{EmployeeID}/SalaryAndWages Add a salary and wage record · Creates a salary and wage record for a specific employee #
Ask an LLM
“How do I record an employee's salary and wages?”
“Can I set the effective date and payment type?”
Tell an agent
Add a {payment_type} salary of {annual_salary} for {employee_id} effective {effective_from} using earnings rate {rate_id}.
Record {annual_salary} {payment_type} for {employee_id} from {effective_from} on {rate_id}.
GET /Employees/{EmployeeID}/SalaryAndWages/{SalaryAndWagesID} Get an employee's salary and wage record · Retrieves a specific salary and wages record for a specific employee using a… #
Ask an LLM
“What is the annual salary and rate of a specific employee's pay template?”
“Can I look up one salary and wage record for a UK employee?”
Tell an agent
Get salary and wage {salary_and_wage_id} for employee {employee_id}.
Show the pay template {salary_and_wage_id} on {employee_id}.
PUT /Employees/{EmployeeID}/SalaryAndWages/{SalaryAndWagesID} Update an employee's salary and wage record · Updates salary and wages record for a specific employee #
Ask an LLM
“How do I change the salary and pay rate of a UK employee?”
“Can I vary the hours per week on an existing salary and wage record?”
Tell an agent destructive · confirm first
Update salary and wage record {salary_wage} for employee {employee}.
Change employee {employee}'s salary {salary} to a {payment_type} at rate {rate} effective {from}.
DELETE /Employees/{EmployeeID}/SalaryAndWages/{SalaryAndWagesID} Delete an employee's salary and wage record · Deletes a salary and wages record for a specific employee #
Ask an LLM
“How do I remove a pay template from an employee?”
“Can I delete a salary and wage record for a UK employee?”
Tell an agent destructive · confirm first
Delete salary and wage {salary_and_wage_id} from employee {employee_id}.
Remove pay template {salary_and_wage_id} on {employee_id}.
GET /PayRuns List pay runs · Retrieves pay runs #
Ask an LLM
“Which pay runs have been processed for my UK payroll?”
“Can I filter pay runs by status?”
Tell an agent
List all pay runs.
Show pay runs with status {status}.
GET /PayRuns/{PayRunID} Get a pay run · Retrieves a specific pay run by using a unique pay run ID #
Ask an LLM
“What are the details of one pay run?”
“Can I look up a single pay run by ID?”
Tell an agent
Get pay run {pay_run_id}.
Show the details of pay run {pay_run_id}.
GET /Payslips List payslips · Retrieves payslips #
Ask an LLM
“Which payslips have been issued for a pay run?”
“Can I list payslips for one employee?”
Tell an agent
List payslips for pay run {pay_run_id}.
Show all payslips.
GET /Payslips/{PayslipID} Get a payslip · Retrieves a specific payslip by using a unique payslip ID #
Ask an LLM
“What does one employee's payslip show?”
“Can I retrieve a single payslip by ID?”
Tell an agent
Get payslip {payslip_id}.
Show the payslip {payslip_id}.
GET /Settings Get payroll settings · Retrieves payroll settings #
Ask an LLM
“What are the default payroll settings for my Xero organisation?”
“Where do I find payroll tax settings and pay cycle settings?”
Tell an agent
Show the payroll settings for tenant {tenant}.
Get our payroll configuration details.
GET /Settings/trackingCategories List tracking categories · Retrieves tracking categories #
Ask an LLM
“Which tracking categories are set up for payroll categories?”
“Can I see the tracking category options available to payroll?”
Tell an agent
List the payroll tracking categories for tenant {tenant}.
Show our tracking categories.

Documentation

Specifications

Schemas & Data

Work with this as data

Every API here is available over the APIs.io API and to AI agents over MCP.

MCP server

One button, every client — Claude, Cursor, VS Code and the rest.

https://apis.io/mcp

Tools for apis

7 MCP tools reach this
  • find_apisBrowse and filter every API in the catalog.
  • get_api_artifactsOne API's artifacts, grouped by type.
  • get_openapiThe primary OpenAPI for this API.
  • find_similar_apisAPIs that look like this one.
  • apis_io_searchSTART HERE — APIs, providers and tags for one query, each with its total.
  • resolveTurn a domain, URL or GitHub org into the provider it belongs to.
  • find_cohortsEvery scored population of providers in the catalog.
All 92 tools →

Call it yourself

curl for this page
This API
curl "https://apis.io/api/v1/apis/xero:xero-payrolluk-api"
All apis
curl "https://apis.io/api/v1/apis?limit=25"

Calls without X-API-Key need no key. Calls with it need a paid plan — get a key.

Get an API key

Free tier, no form to fill in. Signing in shares your email address with us — we store it to create your key and to recognise you if you sign in with another provider. By signing up you are subscribing to the APIs.io and API Evangelist newsletters — you can unsubscribe from any issue. See our Privacy Policy and Terms.

A second provider on the same verified email joins the account you already have.

OpenAPI Specification

xero-payrolluk-api-openapi.yml Raw ↑
openapi: 3.2.0
info:
  version: 12.0.2
  title: Xero Payroll Uk API
  description: This is the Xero Payroll API for orgs in the UK region.
  termsOfService: https://developer.xero.com/xero-developer-platform-terms-conditions/
  contact:
    name: Xero Platform Team
    email: api@xero.com
    url: https://developer.xero.com
servers:
- description: Xero Payroll UK API
  url: https://api.xero.com/payroll.xro/2.0
tags:


# --- truncated at 32 KB (249 KB total) ---
# Full source: https://artifacts.apis.io/xero/openapi/xero-payrolluk-api-openapi.yml