Xero PayrollNz API

The PayrollNz API from Xero — 46 operation(s) for payrollnz.

GitHub OpenAPI
Business capability
HR Operations Management BC-300.70

Operations 71

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 pull all the employees on my New Zealand payroll?”
“Can I filter my employees by first name?”
Tell an agent
List all employees.
Find employees matching {filter}.
POST /Employees Add an employee · Creates an employees #
Ask an LLM
“How do I add a new employee to the payroll?”
“What do I need to supply to create an employee record?”
Tell an agent
Create employee {firstName} {lastName} born {dateOfBirth}.
Add {firstName} {lastName} with email {email} and phone {phoneNumber}.
GET /Employees/{EmployeeID} Get an employee · Retrieves an employees using a unique employee ID #
Ask an LLM
“How do I look up one employee's record by ID?”
“What details are returned for a single employee?”
Tell an agent
Get employee {EmployeeID}.
Show the record for employee {EmployeeID}.
PUT /Employees/{EmployeeID} Update an employee · Updates an existing employee #
Ask an LLM
“How do I change an existing employee's address or phone number?”
“Can I update an employee's job title?”
Tell an agent
Update employee {EmployeeID} to address {address}.
Change employee {EmployeeID}'s job title to {jobTitle}.
POST /Employees/{EmployeeID}/Employment Record an employee's employment · Creates an employment detail for a specific employee #
Ask an LLM
“How do I record when an employee started working?”
“Can I set an end date for a fixed-term employment?”
Tell an agent
Record employment for employee {EmployeeID} starting {startDate} on calendar {payrollCalendarID}.
Add {engagementType} employment for {EmployeeID} ending {fixedTermEndDate}.
GET /Employees/{EmployeeID}/Tax Get an employee's tax records · Retrieves tax records for a specific employee #
Ask an LLM
“How do I see an employee's tax code and KiwiSaver setup?”
“What student loan and special tax rate does an employee have?”
Tell an agent
Get tax records for employee {EmployeeID}.
Show the tax code and student loan balance for {EmployeeID}.
POST /Employees/{EmployeeID}/Tax Update an employee's tax records · Updates the tax records for a specific employee #
Ask an LLM
“How do I change an employee's tax code?”
“Can I record a student loan balance for an employee?”
Tell an agent
Set tax code {taxCode} for employee {EmployeeID}.
Record student loan balance {studentLoanBalance} for {EmployeeID}.
GET /Employees/{EmployeeID}/OpeningBalances Get an employee's opening balances · Retrieves the opening balance for a specific employee #
Ask an LLM
“How do I see an employee's opening balances for leave and pay?”
“What opening balances were set for a new employee?”
Tell an agent
Get opening balances for employee {EmployeeID}.
Show the opening leave and pay balances for {EmployeeID}.
POST /Employees/{EmployeeID}/OpeningBalances Set an employee's opening balances · Creates opening balances for a specific employee #
Ask an LLM
“How do I set the opening balances for a new employee?”
“Can I record an opening balance for sick leave?”
Tell an agent
Create opening balances for employee {EmployeeID}.
Set the opening sick leave balance for {EmployeeID}.
GET /Employees/{EmployeeID}/Leave List an employee's leave records · Retrieves leave records for a specific employee #
Ask an LLM
“How do I see the leave records on an employee's file?”
“What leave has an employee taken?”
Tell an agent
List leave records for employee {EmployeeID}.
Show the leave taken by {EmployeeID}.
POST /Employees/{EmployeeID}/Leave Record an employee's leave · Creates leave records for a specific employee #
Ask an LLM
“How do I record an employee taking sick leave?”
“Can I record leave with a start and end date?”
Tell an agent
Record leave for {EmployeeID} from {startDate} to {endDate} described as {description}.
Add a leave record {leaveTypeID} for {EmployeeID} starting {startDate}.
PUT /Employees/{EmployeeID}/Leave/{LeaveID} Update an employee's leave record · Updates leave records for a specific employee #
Ask an LLM
“How do I change the dates of an existing leave record?”
“Can I edit the description of leave already recorded?”
Tell an agent
Change leave {LeaveID} for {EmployeeID} to end {endDate}.
Update leave {LeaveID} on {EmployeeID} to {description}.
DELETE /Employees/{EmployeeID}/Leave/{LeaveID} Delete an employee's leave record · Deletes a leave record for a specific employee #
Ask an LLM
“How do I remove a leave record from an employee?”
“Can I delete a leave record by its ID?”
Tell an agent destructive · confirm first
Delete leave {LeaveID} from employee {EmployeeID}.
Remove leave record {LeaveID} on {EmployeeID}.
GET /Employees/{EmployeeID}/LeaveBalances Get an employee's leave balances · Retrieves leave balances for a specific employee #
Ask an LLM
“How do I see how much leave an employee has left?”
“What are the current leave balances for an employee?”
Tell an agent
Get leave balances for employee {EmployeeID}.
Show the remaining leave balances for {EmployeeID}.
GET /Employees/{EmployeeID}/LeavePeriods List an employee's leave periods · Retrieves leave periods for a specific employee #
Ask an LLM
“How do I see the leave periods an employee has taken?”
“Can I filter an employee's leave periods by date?”
Tell an agent
List leave periods for employee {EmployeeID}.
Show leave periods for {EmployeeID} between {startDate} and {endDate}.
POST /Employees/{EmployeeID}/LeaveSetup Set up an employee's leave balances · Creates a leave set-up for a specific employee. #
Ask an LLM
“How do I set the opening balance for an employee's annual leave?”
“Can I include holiday pay in an employee's leave setup?”
Tell an agent
Set up leave for employee {EmployeeID} with annual leave opening balance {annualLeaveOpeningBalance}.
Include holiday pay in the leave setup for {EmployeeID}.
GET /Employees/{EmployeeID}/LeaveTypes List an employee's leave types · Retrieves leave types for a specific employee #
Ask an LLM
“How do I see what leave types an employee has?”
“What leave types are set up for an employee?”
Tell an agent
List leave types for employee {EmployeeID}.
Show the leave types set up on {EmployeeID}.
POST /Employees/{EmployeeID}/LeaveTypes Add leave types to an employee · Creates leave type records for a specific employee #
Ask an LLM
“How do I give an employee a new leave type with an accrual schedule?”
“Can I set opening leave balance and maximum accrual for an employee?”
Tell an agent
Add leave type {leaveTypeID} to employee {EmployeeID} with {scheduleOfAccrual} accrual.
Give employee {EmployeeID} a {unitsAccruedAnnually} unit leave type capped at {maximumToAccrue}.
GET /Employees/{EmployeeID}/PaymentMethods Get an employee's payment methods · Retrieves available payment methods for a specific employee #
Ask an LLM
“How do I see how an employee gets paid?”
“What bank accounts are on an employee's payment method?”
Tell an agent
Get payment methods for employee {EmployeeID}.
Show the bank accounts on {EmployeeID}'s payment method.
POST /Employees/{EmployeeID}/PaymentMethods Add a payment method to an employee · Creates a payment method for an employee #
Ask an LLM
“How do I set up direct deposit for an employee?”
“Can I record a bank account on an employee's payment method?”
Tell an agent
Add payment method {paymentMethod} to employee {EmployeeID}.
Record bank accounts {bankAccounts} on {EmployeeID}'s payment method.
GET /Employees/{EmployeeID}/PayTemplates List an employee's pay templates · Retrieves pay templates for a specific employee #
Ask an LLM
“What pay templates are set up for a particular employee?”
“Can I see how an employee is paid on a template?”
Tell an agent
List pay templates for employee {EmployeeID}.
Show the pay templates set up for {EmployeeID}.
POST /Employees/{EmployeeID}/PayTemplates/Earnings Add one earnings template to an employee · Creates earnings template records for an employee #
Ask an LLM
“How do I add a single earnings template to an employee?”
“Can I set a fixed amount or rate per unit on one employee earnings template?”
Tell an agent
Add earnings template {name} to employee {EmployeeID} at {ratePerUnit} per unit.
Create one employee earnings template for {EmployeeID} with a fixed amount of {fixedAmount}.
PUT /Employees/{EmployeeID}/PayTemplates/Earnings/{PayTemplateEarningID} Update an employee's earnings template · Updates an earnings template records for an employee #
Ask an LLM
“Can I change the rate on an existing employee earnings template?”
“How do I edit an employee earnings template record?”
Tell an agent
Update employee {EmployeeID}'s earnings template {PayTemplateEarningID} to {ratePerUnit} per unit.
Change the fixed amount on employee {EmployeeID}'s earnings template {PayTemplateEarningID} to {fixedAmount}.
DELETE /Employees/{EmployeeID}/PayTemplates/Earnings/{PayTemplateEarningID} Delete an employee's earnings template · Deletes an employee's earnings template record #
Ask an LLM
“How do I remove an earnings template from an employee?”
“Can I delete one employee earnings template record?”
Tell an agent destructive · confirm first
Delete earnings template {PayTemplateEarningID} from employee {EmployeeID}.
Remove employee {EmployeeID}'s earnings template {PayTemplateEarningID}.
POST /Employees/{EmployeeID}/PayTemplateEarnings Add several earnings templates to an employee · Creates multiple employee earnings template records for a specific employee #
Ask an LLM
“Can I add multiple earnings templates to an employee at once?”
“How do I bulk-create employee earnings templates?”
Tell an agent
Create several earnings templates for employee {EmployeeID}.
Bulk-add new earnings templates to {EmployeeID}.
GET /Deductions List an employee's deductions · Retrieves deductions for a specific employee #
Ask an LLM
“What deductions are set up for a specific employee?”
“Can I page through an employee's deduction records?”
Tell an agent
List deductions for employee {EmployeeID}.
Show page {page} of deductions for {EmployeeID}.
POST /Deductions Create a deduction for an employee · Creates a new deduction for a specific employee #
Ask an LLM
“How do I add a new deduction for an employee?”
“Can I set a standard amount on a new deduction?”
Tell an agent
Create deduction {deductionName} of category {deductionCategory} for employee {EmployeeID}.
Add deduction {deductionName} with standard amount {standardAmount} for {EmployeeID}.
GET /Deductions/{deductionId} Get a deduction · Retrieves a single deduction by using a unique deduction ID #
Ask an LLM
“What are the details of one deduction?”
“Can I look up a deduction by its ID?”
Tell an agent
Get deduction {deductionId}.
Show the deduction record {deductionId}.
GET /StatutoryDeductions List statutory deductions · Retrieves statutory deductions #
Ask an LLM
“What statutory deductions are set up for the payroll?”
“Can I page through statutory deduction records?”
Tell an agent
List statutory deductions.
Show page {page} of statutory deductions.
GET /StatutoryDeductions/{id} Get a statutory deduction · Retrieves a specific statutory deduction by using a unique statutory deductions… #
Ask an LLM
“What is the deduction rate for KiwiSaver enrolment?”
“Can I look up one statutory deduction by its ID?”
Tell an agent
Show statutory deduction {id}.
Get the statutory deduction for employee enrolment {id}.
GET /Superannuations List superannuation funds · Retrieves superannuations #
Ask an LLM
“What superannuation funds are set up for the payroll?”
“Can I page through superannuation fund records?”
Tell an agent
List superannuation funds.
Show page {page} of superannuation funds.
POST /Superannuations Create a superannuation fund · Creates a new superannuation #
Ask an LLM
“How do I add a new superannuation fund?”
“Can I set a percentage or fixed amount on a superannuation fund?”
Tell an agent
Create superannuation fund {name} of category {category} with liability account {liabilityAccountId} and expense account {expenseAccountId}.
Add superannuation fund {name} with {percentage} percent of taxable earnings.
GET /Superannuations/{SuperannuationID} Get a superannuation fund · Retrieves a specific superannuation using a unique superannuation ID #
Ask an LLM
“What are the details of one superannuation fund?”
“Can I look up a superannuation fund by its ID?”
Tell an agent
Get superannuation fund {SuperannuationID}.
Show the superannuation fund record {SuperannuationID}.
GET /EarningsRates List earnings rates · Retrieves earnings rates #
Ask an LLM
“What earnings rates are set up for the payroll?”
“Can I page through earnings rate records?”
Tell an agent
List 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 add a new earnings rate?”
“Can I set a rate per unit or a multiple of ordinary earnings on an earnings rate?”
Tell an agent
Create earnings rate {name} of type {earningsType} with rate per unit {ratePerUnit}.
Add earnings rate {name} as a multiple {multipleOfOrdinaryEarningsRate} of the employee's ordinary earnings rate.
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 details of one earnings rate?”
“Can I look up an earnings rate by its ID?”
Tell an agent
Get earnings rate {EarningsRateID}.
Show the earnings rate record {EarningsRateID}.
GET /LeaveTypes List leave types · Retrieves leave types #
Ask an LLM
“What leave types are set up for the payroll?”
“Can I list only active leave types?”
Tell an agent
List leave types.
Show leave types with active only {ActiveOnly}.
POST /LeaveTypes Create a leave type · Creates a new leave type #
Ask an LLM
“How do I add a new leave type?”
“Can I make a leave type paid and show it on payslips?”
Tell an agent
Create leave type {name} that is paid leave {isPaidLeave} and shows on payslips {showOnPayslip}.
Add leave type {name} with {typeOfUnits} units.
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 {LeaveTypeID}.
Show the leave type record {LeaveTypeID}.
GET /Reimbursements List reimbursements · Retrieves reimbursements #
Ask an LLM
“What reimbursements have been processed?”
“Can I page through reimbursement records?”
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 tax reimbursement for an employee?”
“Can I set a fixed amount or rate per unit for a reimbursement?”
Tell an agent
Create a reimbursement named {name} on account {accountID}.
Add a {calculationType} reimbursement {name} of {standardAmount} on account {accountID}.
GET /Reimbursements/{ReimbursementID} Get a reimbursement · Retrieves a specific reimbursement by using a unique reimbursement ID #
Ask an LLM
“What account and amount is a particular reimbursement on?”
“Can I look up one reimbursement by its ID?”
Tell an agent
Get reimbursement {reimbursementID}.
Show the account and amount of reimbursement {reimbursementID}.
GET /Timesheets List employee timesheets · Retrieves timesheets #
Ask an LLM
“Which employees have timesheets for a given period?”
“Can I filter timesheets by status or employee?”
Tell an agent
List timesheets for {filter}.
Show {status} timesheets between {startDate} and {endDate}.
POST /Timesheets Create a timesheet · Creates a new timesheet #
Ask an LLM
“How do I record hours worked for an employee on a payroll calendar?”
“Can I set the total hours on a new timesheet?”
Tell an agent
Create a timesheet for employee {employeeID} on calendar {payrollCalendarID} from {startDate} to {endDate}.
Record {totalHours} hours on a new timesheet for {employeeID} on {payrollCalendarID} ({startDate} to {endDate}).
GET /Timesheets/{TimesheetID} Get a timesheet · Retrieves a specific timesheet by using a unique timesheet ID #
Ask an LLM
“What hours are recorded on a specific timesheet?”
“Can I fetch one timesheet by its ID?”
Tell an agent
Get timesheet {timesheetID}.
Show the hours on timesheet {timesheetID}.
DELETE /Timesheets/{TimesheetID} Delete a timesheet · Deletes a timesheet #
Ask an LLM
“How do I delete a timesheet I submitted by mistake?”
“Can I remove a timesheet record from a pay run?”
Tell an agent destructive · confirm first
Delete timesheet {TimesheetID}.
Remove the timesheet {TimesheetID} from payroll.
POST /Timesheets/{TimesheetID}/Lines Add a timesheet line · Create a new timesheet line for a specific time sheet #
Ask an LLM
“How do I record hours worked on a timesheet?”
“Can I link a tracking item to a timesheet line?”
Tell an agent
Add a {numberOfUnits} unit timesheet line for {date} to timesheet {TimesheetID}.
Record {numberOfUnits} units of {earningsRateID} on {date} on timesheet {TimesheetID}.
POST /Timesheets/{TimesheetID}/Approve Approve a timesheet · Approves a timesheet #
Ask an LLM
“How do I approve an employee's timesheet for payroll?”
“Can I mark a timesheet as approved?”
Tell an agent
Approve timesheet {timesheetID}.
Mark timesheet {timesheetID} as approved.
POST /Timesheets/{TimesheetID}/RevertToDraft Revert a timesheet to draft · Reverts a timesheet to draft #
Ask an LLM
“How do I undo an approved timesheet and make it a draft again?”
“Can I revert a timesheet back to draft?”
Tell an agent destructive · confirm first
Revert timesheet {timesheetID} to draft.
Undo the approval on timesheet {timesheetID}.
PUT /Timesheets/{TimesheetID}/Lines/{TimesheetLineID} Update a timesheet line · Updates a timesheet line for a specific timesheet #
Ask an LLM
“How do I correct the hours on a timesheet line?”
“Can I change the earnings rate on an existing timesheet line?”
Tell an agent
Change line {TimesheetLineID} on timesheet {TimesheetID} to {numberOfUnits} units.
Set the earnings rate of timesheet line {TimesheetLineID} on {date} to {earningsRateID}.
DELETE /Timesheets/{TimesheetID}/Lines/{TimesheetLineID} Delete a timesheet line · Deletes a timesheet line for a specific timesheet #
Ask an LLM
“How do I remove one day of hours from a timesheet?”
“Can I delete a single line from a timesheet without deleting the whole timesheet?”
Tell an agent destructive · confirm first
Delete timesheet line {TimesheetLineID} from timesheet {TimesheetID}.
Remove line {TimesheetLineID} from timesheet {TimesheetID} for tenant {tenant}.
GET /PayRunCalendars List pay run calendars · Retrieves payrun calendars #
Ask an LLM
“What pay run calendars exist for payroll?”
“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 define a calendar type, start and payment date?”
Tell an agent
Create a {calendarType} calendar {name} from {periodStartDate} paying on {paymentDate}.
Set up a new pay run calendar named {name} with {calendarType} type, {periodStartDate} to {periodEndDate}, paying on {paymentDate}.
GET /PayRunCalendars/{PayrollCalendarID} Get a pay run calendar · Retrieves a specific payrun calendar by using a unique payroll calendar ID #
Ask an LLM
“What are the dates of a specific pay run calendar?”
“Can I look up one pay run calendar by its ID?”
Tell an agent
Get pay run calendar {payrollCalendarID}.
Show the dates of pay run calendar {payrollCalendarID}.
GET /Employees/{EmployeeID}/SalaryAndWages List an employee's salary and wages · Retrieves an employee's salary and wages #
Ask an LLM
“What salary and wage records does an employee have?”
“Can I page through an employee's pay records?”
Tell an agent
List salary and wages for employee {EmployeeID}.
Show page {page} of pay records for {EmployeeID}.
POST /Employees/{EmployeeID}/SalaryAndWages Add a salary or wage to an employee · Creates an employee salary and wage record #
Ask an LLM
“How do I set up an employee's base salary?”
“Can I record an hourly employee's weekly rate and effective date?”
Tell an agent
Add annual salary {annualSalary} to employee {EmployeeID} effective {effectiveFrom}.
Set employee {EmployeeID} on {effectiveFrom} to {numberOfUnitsPerWeek} units per week at {ratePerUnit}.
GET /Employees/{EmployeeID}/SalaryAndWages/{SalaryAndWagesID} Get an employee salary or wage · Retrieves an employee's salary and wages record by using a unique salary and… #
Ask an LLM
“What are the details of one salary or wage record?”
“Can I fetch a single pay record by its ID?”
Tell an agent
Get salary and wage record {SalaryAndWagesID} for employee {EmployeeID}.
Show the effective date and annual salary of pay record {SalaryAndWagesID} for {EmployeeID}.
PUT /Employees/{EmployeeID}/SalaryAndWages/{SalaryAndWagesID} Update an employee's salary or wage · Updates an employee's salary and wages record #
Ask an LLM
“How do I change an existing salary or wage record?”
“Can I raise an employee's annual salary?”
Tell an agent
Update employee {EmployeeID}'s salary record {SalaryAndWagesID} to {annualSalary}.
Change the pay status of {SalaryAndWagesID} on employee {EmployeeID} to {status}.
DELETE /Employees/{EmployeeID}/SalaryAndWages/{SalaryAndWagesID} Delete an employee salary or wage · Deletes an employee's salary and wages record #
Ask an LLM
“How do I remove a salary or wage record from an employee?”
“Can I delete a pay record by its ID?”
Tell an agent destructive · confirm first
Delete salary and wage record {SalaryAndWagesID} for employee {EmployeeID}.
Remove pay record {SalaryAndWagesID} from {EmployeeID}.
GET /PayRuns List pay runs · Retrieves pay runs #
Ask an LLM
“Which pay runs have been processed?”
“Can I filter pay runs by status?”
Tell an agent
List pay runs.
Show pay runs with status {status}.
POST /PayRuns Create a pay run · Creates a pay run #
Ask an LLM
“How do I create a new pay run for a payroll calendar?”
“Can I set the payment date and pay run type when creating a pay run?”
Tell an agent
Create a pay run for calendar {calendar} from {start} to {end}.
Create a {type} pay run for calendar {calendar} paying on {date}.
GET /PayRuns/{PayRunID} Get a pay run · Retrieves a specific pay run by using a unique pay run ID #
Ask an LLM
“What were the pay results for a specific pay run?”
“Can I look up a single pay run by its pay run ID?”
Tell an agent
Show pay run {PayRunID}.
Get the results of pay run {PayRunID}.
GET /PaySlips List payslips for a pay run · Retrieves payslips #
Ask an LLM
“How do I pull all payslips for one pay run?”
“Can I page through payslips for a single pay run?”
Tell an agent
List payslips for pay run {run}.
Show page {page} of payslips for pay run {run}.
GET /PaySlips/{PaySlipID} Get a payslip · Retrieves a specific payslip by a unique pay slip ID #
Ask an LLM
“What does one employee's payslip show?”
“Can I fetch a single payslip by its ID?”
Tell an agent
Get payslip {slip}.
Show the earnings and deductions on payslip {slip}.
PUT /PaySlips/{PaySlipID} Edit a payslip's line items · Creates an employee pay slip #
Ask an LLM
“How do I change the earnings lines on an existing payslip?”
“Can I edit deduction lines on a payslip after it's created?”
Tell an agent
Set earnings lines {earnings} on payslip {slip}.
Update deduction lines {deductions} on payslip {slip}.
GET /Settings Get payroll settings · Retrieves settings #
Ask an LLM
“What payroll settings are configured for my organisation?”
“Can I fetch the global payroll settings?”
Tell an agent
Show payroll settings for tenant {tenant}.
Get the organisation's payroll settings for tenant {tenant}.
GET /Settings/TrackingCategories List payroll tracking categories · Retrieves tracking categories #
Ask an LLM
“Which tracking categories are set up for payroll?”
“What tracking categories can I link to timesheet lines?”
Tell an agent
List payroll tracking categories for tenant {tenant}.
Show the tracking categories available in tenant {tenant}.
GET /Employees/{EmployeeID}/Working-Patterns List an employee's working patterns · Retrieves employee's working patterns #
Ask an LLM
“What working patterns has an employee been set up with?”
“Can I see all of one employee's working patterns?”
Tell an agent
List working patterns for employee {employee}.
Show every working pattern on employee {employee}.
POST /Employees/{EmployeeID}/Working-Patterns Create an employee working pattern · Creates an employee working pattern #
Ask an LLM
“How do I record an employee's working pattern for a pay run?”
“Can I set an effective date and working weeks for a new pattern?”
Tell an agent
Create a working pattern for employee {employee} effective {from} with {weeks} weeks.
Add a new working pattern for employee {employee} starting {from}.
GET /Employees/{EmployeeID}/Working-Patterns/{EmployeeWorkingPatternID} Get an employee working pattern · Retrieves employee's working patterns #
Ask an LLM
“What does a specific employee working pattern contain?”
“Can I fetch one working pattern by its ID?”
Tell an agent
Get working pattern {pattern} for employee {employee}.
Show the effective date of employee {employee}'s pattern {pattern}.
DELETE /Employees/{EmployeeID}/Working-Patterns/{EmployeeWorkingPatternID} Delete an employee working pattern · deletes employee's working patterns #
Ask an LLM
“How do I remove an employee's working pattern?”
“Can I delete a working pattern by its ID?”
Tell an agent destructive · confirm first
Delete working pattern {pattern} for employee {employee}.
Remove employee {employee}'s pattern {pattern}.

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-payrollnz-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-payrollnz-api-openapi.yml Raw ↑
openapi: 3.2.0
info:
  version: 12.0.2
  title: Xero Payroll Nz API
  description: This is the Xero Payroll API for orgs in the NZ 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 NZ API
  url: https://api.xero.com/payroll.xro/2.0
tags:


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