Xero Accounting API
The Accounting API from Xero — 140 operation(s) for accounting.
Xero Accounting 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 Accounting. The published artifact set on APIs.io includes an OpenAPI specification, API documentation, and an AsyncAPI specification.
This API exposes 237 operations across 140 paths, and defines 135 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 Accounting 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 237
Across 140 paths, the API surfaces 237 operations — 10 DELETE, 128 GET, 45 POST, 54 PUT. Each is listed below with its method, path, parameters, and response codes.
Schemas 135
The contract defines 135 schemas that model the data the API accepts and returns. The most detailed are Contact (43 properties), Invoice (41 properties), Organisation (33 properties), CreditNote (31 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.