Need help with your APIs? I offer API discovery, governance & evangelism services. Explore services →
API Evangelist API Evangelist
Discovery
Learnings
Guidance
Toolbox
Alignment
API Evangelist LLC

Xero Accounting Invoices API

The Invoices API from Xero Accounting — 1 operation(s) for invoices.

Xero Accounting Invoices API is one of 7 APIs that Xero Accounting publishes on the APIs.io network, described by a machine-readable OpenAPI specification.

Tagged areas include Invoices. The published artifact set on APIs.io includes an OpenAPI specification and API documentation.

This API exposes 2 operations across 1 path. It is described by OpenAPI 3.1.0, at version 2.0.

Requests are made against a single base URL, https://api.xero.com/api.xro/2.0.

2 operations 1 paths 0 schemas 1 GET1 PUT

Metadata

The identity and technical contract details declared by the specification.

Specification
OpenAPI 3.1.0
API Version
2.0
Base URL
https://api.xero.com/api.xro/2.0
Authentication
OAuth 2.0
Resource Areas
1

Authentication & Security 1

Xero Accounting Invoices API declares 1 security scheme for authenticating requests. It supports OAuth 2.0 (OAuth2) using the authorizationCode flow, exposing 6 scopes. By default, every request must be authenticated.

Paths & Operations 2

Across 1 path, the API surfaces 2 operations — 1 GET, 1 PUT. Each is listed below with its method, path, parameters, and response codes.

Invoices 2
GET
/Invoices
Retrieve sales invoices or purchase bills
getInvoices 1 param → 200
PUT
/Invoices
Create one or more sales invoices or purchase bills
createInvoices 1 param → 200

Specification

The full machine-readable OpenAPI contract behind this narrative.

Source

xero-accounting-invoices-api-openapi.yml Raw ↑

Other APIs Xero Accounting publishes across the network.

Xero Connections API
Xero Accounting Accounts API
Xero Accounting BankTransactions API
Xero Accounting BankTransfers API
Xero Accounting BatchPayments API
Xero Accounting Contacts API