Xero PayrollAu API

Operations available to regular developers

GitHub OpenAPI
Business capability
HR Operations Management BC-300.70

Operations 32

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 payroll employees · Searches payroll employees #
Ask an LLM
“Which employees are set up in my Australian payroll?”
“Can I filter my payroll employees by status?”
Tell an agent
List all payroll employees.
List payroll employees matching {where}, ordered by {order}.
POST /Employees Add a payroll employee · Creates a payroll employee #
Ask an LLM
“How do I add a new employee to the Australian payroll?”
“Can I create an employee without an idempotency key?”
Tell an agent
Create a new payroll employee.
Add an Australian payroll employee with idempotency key {idempotency_key}.
GET /Employees/{EmployeeID} Get an employee's payroll record · Retrieves an employee's detail by unique employee id #
Ask an LLM
“What are the details of one Australian payroll employee?”
“Can I look up a single employee by their employee id?”
Tell an agent
Get payroll employee {employee_id}.
Show the Australian payroll record for employee {employee_id}.
POST /Employees/{EmployeeID} Update an employee's payroll record · Updates an employee's detail #
Ask an LLM
“How do I change an existing employee's payroll details?”
“Can I edit a single Australian payroll employee's record?”
Tell an agent
Update payroll employee {employee_id}.
Change the Australian payroll record for employee {employee_id}.
GET /LeaveApplications List leave applications · Retrieves leave applications #
Ask an LLM
“Which leave applications have been submitted in my Australian payroll?”
“Can I list leave applications modified since a date?”
Tell an agent
List all leave applications.
List Australian leave applications matching {where}, ordered by {order}.
POST /LeaveApplications Submit a leave application · Creates a leave application #
Ask an LLM
“How do I submit a leave request for an Australian employee?”
“Can I create a leave application with an idempotency key?”
Tell an agent
Create a leave application.
Submit an Australian leave request with idempotency key {idempotency_key}.
GET /LeaveApplications/v2 List leave applications with requests · Retrieves leave applications including leave requests #
Ask an LLM
“Can I see leave applications along with the leave requests they cover?”
“Which Australian leave applications include requests?”
Tell an agent
List leave applications including requests.
Show Australian leave applications matching {where}, ordered by {order}.
GET /LeaveApplications/{LeaveApplicationID} Get a leave application · Retrieves a leave application by a unique leave application id #
Ask an LLM
“What are the details of one Australian leave application?”
“Can I look up a single leave application by its id?”
Tell an agent
Get leave application {leave_application_id}.
Show the Australian leave application {leave_application_id}.
POST /LeaveApplications/{LeaveApplicationID} Update a leave application · Updates a specific leave application #
Ask an LLM
“How do I edit an existing Australian leave application?”
“Can I change a leave application without resubmitting it?”
Tell an agent
Update leave application {leave_application_id}.
Change the Australian leave application {leave_application_id}.
POST /LeaveApplications/{LeaveApplicationID}/approve Approve a leave application · Approve a requested leave application by a unique leave application id #
Ask an LLM
“How do I approve an Australian employee's leave application?”
“Can I approve a leave application by its id?”
Tell an agent
Approve leave application {leave_application_id}.
Approve the Australian leave request {leave_application_id}.
POST /LeaveApplications/{LeaveApplicationID}/reject Reject a leave application · Reject a leave application by a unique leave application id #
Ask an LLM
“How do I decline an Australian employee's leave application?”
“Can I reject a leave application by its id?”
Tell an agent
Reject leave application {leave_application_id}.
Decline the Australian leave request {leave_application_id}.
GET /PayItems List pay items · Retrieves pay items #
Ask an LLM
“Which earnings, deductions and leave items are set up in my Australian payroll?”
“Can I list pay items modified since a date?”
Tell an agent
List all pay items.
List Australian pay items matching {where}, ordered by {order}.
POST /PayItems Add a pay item · Creates a pay item #
Ask an LLM
“How do I add a new earnings rate or deduction type to the Australian payroll?”
“Can I create a pay item with an idempotency key?”
Tell an agent
Create a pay item.
Add an Australian pay item with idempotency key {idempotency_key}.
GET /PayrollCalendars List payroll calendars · Retrieves payroll calendars #
Ask an LLM
“Which Australian payroll calendars are set up?”
“Can I list payroll calendars modified since a date?”
Tell an agent
List all payroll calendars.
List Australian payroll calendars matching {where}, ordered by {order}.
POST /PayrollCalendars Create a payroll calendar · Creates a Payroll Calendar #
Ask an LLM
“How do I set up a new Australian payroll calendar?”
“Can I create a payroll calendar with an idempotency key?”
Tell an agent
Create a payroll calendar.
Set up an Australian payroll calendar with idempotency key {idempotency_key}.
GET /PayrollCalendars/{PayrollCalendarID} Get a payroll calendar · Retrieves payroll calendar by using a unique payroll calendar ID #
Ask an LLM
“What are the details of one Australian payroll calendar?”
“Can I look up a single payroll calendar by its id?”
Tell an agent
Get payroll calendar {payroll_calendar_id}.
Show the Australian payroll calendar {payroll_calendar_id}.
GET /PayRuns List pay runs · Retrieves pay runs #
Ask an LLM
“Which Australian pay runs have been processed?”
“Can I list pay runs modified since a date?”
Tell an agent
List all pay runs.
List Australian pay runs matching {where}, ordered by {order}.
POST /PayRuns Create a pay run · Creates a pay run #
Ask an LLM
“How do I create a new Australian pay run?”
“Can I create a pay run with an idempotency key?”
Tell an agent
Create a pay run.
Start an Australian pay run with idempotency key {idempotency_key}.
GET /PayRuns/{PayRunID} Get a pay run · Retrieves a pay run by using a unique pay run id #
Ask an LLM
“What are the details of one Australian pay run?”
“Can I look up a single pay run by its id?”
Tell an agent
Get pay run {pay_run_id}.
Show the Australian pay run {pay_run_id}.
POST /PayRuns/{PayRunID} Update a pay run · Updates a pay run #
Ask an LLM
“How do I change an existing Australian pay run?”
“Can I edit a pay run without recreating it?”
Tell an agent
Update pay run {pay_run_id}.
Change the Australian pay run {pay_run_id}.
GET /Payslip/{PayslipID} Get an employee's payslip · Retrieves for a payslip by a unique payslip id #
Ask an LLM
“How do I pull a payslip for one employee?”
“Can I fetch a payslip by its ID?”
Tell an agent
Get payslip {PayslipID}.
Show the payslip for employee {PayslipID}.
POST /Payslip/{PayslipID} Update lines on an existing payslip · Updates a payslip #
Ask an LLM
“Can I change the pay lines on a payslip that's already issued?”
“Is it possible to edit an existing payslip?”
Tell an agent
Update payslip {PayslipID}.
Edit the lines on existing payslip {PayslipID}.
GET /Settings Get payroll settings · Retrieves payroll settings #
Ask an LLM
“What payroll settings are configured for my Australian payroll?”
“Can I read the superannuation and tax settings for a payroll tenant?”
Tell an agent
Get the payroll settings for tenant {tenant}.
Show my Australian payroll configuration.
GET /Superfunds List super funds · Retrieves superfunds #
Ask an LLM
“Which super funds are set up in my payroll?”
“Can I filter the super funds list?”
Tell an agent
List super funds.
Show super funds matching {where}.
POST /Superfunds Add a superannuation fund · Creates a superfund #
Ask an LLM
“How do I add a super fund my employees can pay into?”
“Can I create a new superannuation fund record?”
Tell an agent
Create a superannuation fund with idempotency key {key}.
Add a new super fund to payroll tenant {tenant}.
GET /Superfunds/{SuperFundID} Get a super fund · Retrieves a superfund by using a unique superfund ID #
Ask an LLM
“How do I look up one super fund by ID?”
“Can I fetch a single super fund?”
Tell an agent
Get super fund {SuperFundID}.
Show super fund {SuperFundID}.
POST /Superfunds/{SuperFundID} Update a super fund · Updates a superfund #
Ask an LLM
“Can I change the details of an existing super fund?”
“Is it possible to edit a super fund record?”
Tell an agent
Update super fund {SuperFundID}.
Edit the details of super fund {SuperFundID}.
GET /SuperfundProducts Find regulated super funds by ABN or USI · Retrieves superfund products #
Ask an LLM
“Can I look up a regulated super fund by its ABN?”
“Is there a way to find a super fund by its USI?”
Tell an agent
Find super funds with ABN {ABN}.
Find super funds with USI {USI}.
GET /Timesheets List timesheets · Retrieves timesheets #
Ask an LLM
“Which timesheets have been recorded?”
“Can I filter the timesheets list?”
Tell an agent
List timesheets.
Show timesheets matching {where}.
POST /Timesheets Submit a timesheet · Creates a timesheet #
Ask an LLM
“How do I submit a pay run timesheet for my employees?”
“What does it take to record hours worked as a timesheet?”
Tell an agent
Submit a timesheet with idempotency key {key}.
Record an employee timesheet for payroll tenant {tenant}.
GET /Timesheets/{TimesheetID} Get a timesheet · Retrieves a timesheet by using a unique timesheet id #
Ask an LLM
“How do I pull one timesheet?”
“Can I fetch a timesheet by its ID?”
Tell an agent
Get timesheet {TimesheetID}.
Show timesheet {TimesheetID}.
POST /Timesheets/{TimesheetID} Update a timesheet · Updates a timesheet #
Ask an LLM
“Can I edit an existing timesheet?”
“Is it possible to change a timesheet after it's recorded?”
Tell an agent
Update timesheet {TimesheetID}.
Edit the hours on timesheet {TimesheetID}.

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-payrollau-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-payrollau-api-openapi.yml Raw ↑
openapi: 3.2.0
info:
  version: 12.0.2
  title: Xero Payroll Au API
  description: This is the Xero Payroll API for orgs in Australia 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
  license:
    name: MIT
    url: https://github.com/XeroAPI/Xero-OpenAPI/blob/master/LICENSE
servers:
- description: Xero Payroll AU API
  url: https://api.xero.com/payroll.xro/1.0
tags:


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