xero.com

This is the Xero Payroll API for orgs in Australia region.

🔑 oauth2 29 endpoints financial
📄 Docs 📋 OpenAPI spec 🔬 Try in Swagger UI

SDKs by language (10 total)

pip install xero-python-oauth2-app
pip install xero-python
npm install xero-node-oauth2-app
npm install xero-node
go get github.com/XeroAPI/xerogolang
gem install xero-ruby-oauth2-app
gem install xero-ruby
dotnet add package XeroAPI.Net
composer require xero-php-oauth2-app
composer require xero-php-oauth2
curl examples
Retrieves pay runs
curl \
  -H "Authorization: Bearer $ACCESS_TOKEN" \
  https://api.xero.com/payroll.xro/1.0/PayRuns
Retrieves pay items
curl \
  -H "Authorization: Bearer $ACCESS_TOKEN" \
  https://api.xero.com/payroll.xro/1.0/PayItems
Retrieves payroll settings
curl \
  -H "Authorization: Bearer $ACCESS_TOKEN" \
  https://api.xero.com/payroll.xro/1.0/Settings
Endpoints (29 total)
GET
/PayRuns
Retrieves pay runs
GET
/PayItems
Retrieves pay items
GET
/Settings
Retrieves payroll settings
GET
/Employees
Searches payroll employees
GET
/Superfunds
Retrieves superfunds
GET
/Timesheets
Retrieves timesheets
GET
/PayrollCalendars
Retrieves payroll calendars
GET
/LeaveApplications
Retrieves leave applications
GET
/SuperfundProducts
Retrieves superfund products
GET
/PayRuns/{PayRunID}
Retrieves a pay run by using a unique pay run id
GET
/Payslip/{PayslipID}
Retrieves for a payslip by a unique payslip id
GET
/Employees/{EmployeeID}
Retrieves an employee's detail by unique employee id
At a glance
Total SDKs10
Languages6
Endpoints29
Authoauth2
Categories1
https://api.xero.com/payroll.xro/1.0