Xero Payroll API – United Kingdom.
Base URL: https://api.xero.com/payroll.xro/2.0/
Scopes: payroll.employees, payroll.payruns, payroll.payslip, payroll.settings
Covers UK HMRC RTI submissions, National Insurance, student loans, CIS deductions, and working patterns for non-standard schedules.
Summary
Functions
Creates leave for a UK employee.
Creates a statutory leave record (SMP, SPP, SAP, ShPP, etc.).
Deletes leave for a UK employee.
Deletes a DRAFT UK pay run.
Deletes a statutory leave record.
Returns leave for a UK employee.
Returns leave balances for a UK employee.
Returns statutory leave periods for a leave record.
Returns the working pattern for an employee. Working patterns improve payrun accuracy for non-standard schedules.
Posts (finalises) a UK pay run.
Reverts a posted UK pay run.
Updates leave for a UK employee.
Functions
Creates leave for a UK employee.
Creates a statutory leave record (SMP, SPP, SAP, ShPP, etc.).
Deletes leave for a UK employee.
Deletes a DRAFT UK pay run.
Deletes a statutory leave record.
Returns leave for a UK employee.
Returns leave balances for a UK employee.
Returns statutory leave periods for a leave record.
Returns the working pattern for an employee. Working patterns improve payrun accuracy for non-standard schedules.
Posts (finalises) a UK pay run.
Reverts a posted UK pay run.
Updates leave for a UK employee.