The Xero Payroll API exposes payroll related functions of the payroll Xero application and can be used for a variety of purposes such as syncing employee details, importing timesheets etc. It is a RESTful web service that uses the OAuth protocol to authenticate 3rd party applications. Only Xero users with payroll administrator access can authorize access to payroll endpoints. NZ Xero organisations must have concluded the payroll setup steps before the Payroll API can be used. Xero APIs expose accounting and related functions of the main Xero application and includes features for; creating transactions, invoices and credit notes, extracting accounting data etc. Xero provides cloud based accounting software to simplify accounting and bookkeeping processes.