Xero PayrollNz API
The PayrollNz API from Xero — 46 operation(s) for payrollnz.
Xero PayrollNz API is one of 10 APIs that Xero publishes on the APIs.io network, described by a machine-readable OpenAPI specification and an AsyncAPI event-driven specification.
Tagged areas include PayrollNz. The published artifact set on APIs.io includes an OpenAPI specification, API documentation, and an AsyncAPI specification.
This API exposes 71 operations across 46 paths, and defines 109 schemas. It is described by OpenAPI 3.0.0, at version 11.1.0.
Requests are made against a single base URL, https://api.xero.com/api.xro/2.0.
Metadata
The identity and technical contract details declared by the specification.
Authentication & Security 1
Xero PayrollNz API declares
1 security scheme
for authenticating requests.
It supports OAuth 2.0 (OAuth2) using the authorizationCode flow, exposing 16 scopes.
OAuth2— For more information
Paths & Operations 71
Across 46 paths, the API surfaces 71 operations — 6 DELETE, 36 GET, 23 POST, 6 PUT. Each is listed below with its method, path, parameters, and response codes.
Schemas 109
The contract defines 109 schemas that model the data the API accepts and returns. The most detailed are PaySlip (30 properties), Employee (17 properties), EmployeeTax (16 properties), EmployeeLeaveType (13 properties). Each schema is shown below with its type and property counts.
Specification
The full machine-readable OpenAPI contract behind this narrative.
Source
More from Xero 9
Other APIs Xero publishes across the network.