{"@context": "https://schema.org", "@type": "WebAPI", "name": "Xero Accounting API API", "description": "Xero Accounting API, an HTTP API described by an OpenAPI document.", "provider": {"@type": "Organization", "name": "xero.com"}, "documentation": "https://raw.githubusercontent.com/XeroAPI/Xero-OpenAPI/master/xero_accounting.yaml"}
Index / APIs / xero.com

Xero Accounting API API

Xero Accounting API, an HTTP API described by an OpenAPI document.

Every row below was read from the vendor's own OpenAPI document. The summary text is theirs. What this registry adds is that each operation is indexed with its method, path, base URL and auth scheme, so a search for a capability can answer with a call rather than a name, and that the endpoint is probed on a schedule.

Specifications as held by the APIs.guru corpus, whose newest record is 2023-04-21. Operations the vendor has added since are not listed here; the origin links above are the vendor's own current documents.

base URLs: https://api.xero.com/api.xro/2.0 https://api.xero.com/payroll.xro/1.0 https://api.xero.com/files.xro/1.0 https://api.xero.com/bankfeeds.xro/1.0 https://api.xero.com/assets.xro/1.0 https://api.xero.com

auth: o a u t h 2

find it by capability: POST /search {"query":{"text":"..."}} returns these operations with their invocation detail. Connect any agent client.

Xero Accounting API v2.9.4

Xero Accounting API, an HTTP API described by an OpenAPI document.

methodpathwhat the vendor says it does
GET/AccountsRetrieves the full chart of accounts Accounting
PUT/AccountsCreates a new chart of accounts Accounting
GET/Accounts/{AccountID}Retrieves a single chart of accounts by using a unique account Id Accounting
POST/Accounts/{AccountID}Updates a chart of accounts Accounting
DELETE/Accounts/{AccountID}Deletes a chart of accounts Accounting
GET/Accounts/{AccountID}/AttachmentsRetrieves attachments for a specific accounts by using a unique account Id Accounting
GET/Accounts/{AccountID}/Attachments/{AttachmentID}Retrieves a specific attachment from a specific account using a unique attachment Id Accounting
GET/Accounts/{AccountID}/Attachments/{FileName}Retrieves an attachment for a specific account by filename Accounting
POST/Accounts/{AccountID}/Attachments/{FileName}Updates attachment on a specific account by filename Accounting
PUT/Accounts/{AccountID}/Attachments/{FileName}Creates an attachment on a specific account Accounting
GET/BankTransactionsRetrieves any spent or received money transactions Accounting
POST/BankTransactionsUpdates or creates one or more spent or received money transaction Accounting
PUT/BankTransactionsCreates one or more spent or received money transaction Accounting
GET/BankTransactions/{BankTransactionID}Retrieves a single spent or received money transaction by using a unique bank transaction Id Accounting
POST/BankTransactions/{BankTransactionID}Updates a single spent or received money transaction Accounting
GET/BankTransactions/{BankTransactionID}/AttachmentsRetrieves any attachments from a specific bank transactions Accounting
GET/BankTransactions/{BankTransactionID}/Attachments/{AttachmentID}Retrieves specific attachments from a specific BankTransaction using a unique attachment Id Accounting
GET/BankTransactions/{BankTransactionID}/Attachments/{FileName}Retrieves a specific attachment from a specific bank transaction by filename Accounting
POST/BankTransactions/{BankTransactionID}/Attachments/{FileName}Updates a specific attachment from a specific bank transaction by filename Accounting
PUT/BankTransactions/{BankTransactionID}/Attachments/{FileName}Creates an attachment for a specific bank transaction by filename Accounting
GET/BankTransactions/{BankTransactionID}/HistoryRetrieves history from a specific bank transaction using a unique bank transaction Id Accounting
PUT/BankTransactions/{BankTransactionID}/HistoryCreates a history record for a specific bank transactions Accounting
GET/BankTransfersRetrieves all bank transfers Accounting
PUT/BankTransfersCreates a bank transfer Accounting
GET/BankTransfers/{BankTransferID}Retrieves specific bank transfers by using a unique bank transfer Id Accounting
GET/BankTransfers/{BankTransferID}/AttachmentsRetrieves attachments from a specific bank transfer Accounting
GET/BankTransfers/{BankTransferID}/Attachments/{AttachmentID}Retrieves a specific attachment from a specific bank transfer using a unique attachment ID Accounting
GET/BankTransfers/{BankTransferID}/Attachments/{FileName}Retrieves a specific attachment on a specific bank transfer by file name Accounting
GET/BankTransfers/{BankTransferID}/HistoryRetrieves history from a specific bank transfer using a unique bank transfer Id Accounting
PUT/BankTransfers/{BankTransferID}/HistoryCreates a history record for a specific bank transfer Accounting
GET/BatchPaymentsRetrieves either one or many batch payments for invoices Accounting
PUT/BatchPaymentsCreates one or many batch payments for invoices Accounting
GET/BatchPayments/{BatchPaymentID}/HistoryRetrieves history from a specific batch payment Accounting
PUT/BatchPayments/{BatchPaymentID}/HistoryCreates a history record for a specific batch payment Accounting
GET/BrandingThemesRetrieves all the branding themes Accounting
GET/BrandingThemes/{BrandingThemeID}Retrieves a specific branding theme using a unique branding theme Id Accounting
GET/BrandingThemes/{BrandingThemeID}/PaymentServicesRetrieves the payment services for a specific branding theme Accounting
POST/BrandingThemes/{BrandingThemeID}/PaymentServicesCreates a new custom payment service for a specific branding theme Accounting
GET/ContactGroupsRetrieves the contact Id and name of all the contacts in a contact group Accounting
PUT/ContactGroupsCreates a contact group Accounting

and 160 more operation(s) in this specification, all searchable.

specification origin: https://raw.githubusercontent.com/XeroAPI/Xero-OpenAPI/master/xero_accounting.yaml

Xero Payroll AU API v2.9.4

This is the Xero Payroll API for orgs in Australia region.

methodpathwhat the vendor says it does
GET/EmployeesSearches payroll employees PayrollAu
POST/EmployeesCreates a payroll employee PayrollAu
GET/Employees/{EmployeeID}Retrieves an employee's detail by unique employee id PayrollAu
POST/Employees/{EmployeeID}Updates an employee's detail Update properties on a single employee PayrollAu
GET/LeaveApplicationsRetrieves leave applications PayrollAu
POST/LeaveApplicationsCreates a leave application PayrollAu
GET/LeaveApplications/{LeaveApplicationID}Retrieves a leave application by a unique leave application id PayrollAu
POST/LeaveApplications/{LeaveApplicationID}Updates a specific leave application PayrollAu
GET/PayItemsRetrieves pay items PayrollAu
POST/PayItemsCreates a pay item PayrollAu
GET/PayRunsRetrieves pay runs PayrollAu
POST/PayRunsCreates a pay run PayrollAu
GET/PayRuns/{PayRunID}Retrieves a pay run by using a unique pay run id PayrollAu
POST/PayRuns/{PayRunID}Updates a pay run Update properties on a single PayRun PayrollAu
GET/PayrollCalendarsRetrieves payroll calendars PayrollAu
POST/PayrollCalendarsCreates a Payroll Calendar PayrollAu
GET/PayrollCalendars/{PayrollCalendarID}Retrieves payroll calendar by using a unique payroll calendar ID PayrollAu
GET/Payslip/{PayslipID}Retrieves for a payslip by a unique payslip id PayrollAu
POST/Payslip/{PayslipID}Updates a payslip Update lines on a single payslips PayrollAu
GET/SettingsRetrieves payroll settings PayrollAu
GET/SuperfundProductsRetrieves superfund products PayrollAu
GET/SuperfundsRetrieves superfunds PayrollAu
POST/SuperfundsCreates a superfund PayrollAu
GET/Superfunds/{SuperFundID}Retrieves a superfund by using a unique superfund ID PayrollAu
POST/Superfunds/{SuperFundID}Updates a superfund Update properties on a single Superfund PayrollAu
GET/TimesheetsRetrieves timesheets PayrollAu
POST/TimesheetsCreates a timesheet PayrollAu
GET/Timesheets/{TimesheetID}Retrieves a timesheet by using a unique timesheet id PayrollAu
POST/Timesheets/{TimesheetID}Updates a timesheet Update properties on a single timesheet PayrollAu

specification origin: https://raw.githubusercontent.com/XeroAPI/Xero-OpenAPI/master/xero-payroll-au.yaml

Xero Files API v2.9.4

These endpoints are specific to Xero Files API

methodpathwhat the vendor says it does
GET/Associations/{ObjectId}Retrieves an association object using a unique object ID By passing in the appropriate options, Files
GET/FilesRetrieves files Files
POST/FilesUploads a File Files
GET/Files/{FileId}Retrieves a file by a unique file ID Files
PUT/Files/{FileId}Update a file Updates file properties of a single file Files
DELETE/Files/{FileId}Deletes a specific file Delete a specific file Files
GET/Files/{FileId}/AssociationsRetrieves a specific file associations By passing in the appropriate options, Files
POST/Files/{FileId}/AssociationsCreates a new file association By passing in the appropriate options, you can create a new folder Files
DELETE/Files/{FileId}/Associations/{ObjectId}Deletes an existing file association By passing in the appropriate options, you can create a new folder Files
GET/Files/{FileId}/ContentRetrieves the content of a specific file By passing in the appropriate options, retrieve data for specific fil
GET/FoldersRetrieves folders By passing in the appropriate options, you can search for available folders Files
POST/FoldersCreates a new folder By passing in the appropriate properties, you can create a new folder Files
GET/Folders/{FolderId}Retrieves specific folder by using a unique folder ID By passing in the appropriate ID, you can search for spe
PUT/Folders/{FolderId}Updates an existing folder By passing in the appropriate ID and properties, you can update a folder Files
DELETE/Folders/{FolderId}Deletes a folder By passing in the appropriate ID, you can delete a folder Files
GET/InboxRetrieves inbox folder Search for the user inbox Files

specification origin: https://raw.githubusercontent.com/XeroAPI/Xero-OpenAPI/master/xero_files.yaml

Xero Bank Feeds API v2.9.4

The Bank Feeds API is a closed API that is only available to financial institutions that have an established financial services partnership with Xero. If you're an existing financial services partner that wants access, contact your local Partner Manager. If you're a financial institution who wants to provide bank feeds to your business customers, contact us to become a financial services partner.

methodpathwhat the vendor says it does
GET/FeedConnectionsSearches for feed connections By passing in the appropriate options, you can search for available feed connect
POST/FeedConnectionsCreate one or more new feed connection By passing in the FeedConnections array object in the body, you can cre
POST/FeedConnections/DeleteRequestsDelete an existing feed connection By passing in FeedConnections array object in the body, you can delete a fe
GET/FeedConnections/{id}Retrieve single feed connection based on a unique id provided By passing in a FeedConnection Id options, you c
GET/StatementsRetrieve all statements By passing in parameters, you can search for matching statements BankFeeds
POST/StatementsCreates one or more new statements BankFeeds
GET/Statements/{statementID}Retrieve single statement based on unique id provided By passing in a statement id, you can search for matchin

specification origin: https://raw.githubusercontent.com/XeroAPI/Xero-OpenAPI/master/xero_bankfeeds.yaml

Xero Assets API v2.9.4

The Assets API exposes fixed asset related functions of the Xero Accounting application and can be used for a variety of purposes such as creating assets, retrieving asset valuations etc.

methodpathwhat the vendor says it does
GET/AssetTypessearches fixed asset types By passing in the appropriate options, you can search for available fixed asset typ
POST/AssetTypesadds a fixed asset type Adds an fixed asset type to the system Asset
GET/Assetssearches fixed asset By passing in the appropriate options, you can search for available fixed asset in the sy
POST/Assetsadds a fixed asset Adds an asset to the system Asset
GET/Assets/{id}Retrieves fixed asset by id By passing in the appropriate asset id, you can search for a specific fixed asset
GET/Settingssearches fixed asset settings By passing in the appropriate options, you can search for available fixed asset

specification origin: https://raw.githubusercontent.com/XeroAPI/Xero-OpenAPI/master/xero_assets.yaml

Xero OAuth 2 Identity Service API v2.9.4

These endpoints are related to managing authentication tokens and identity for Xero API

methodpathwhat the vendor says it does
GET/ConnectionsRetrieves the connections for this user Override the base server url that include version identity
DELETE/Connections/{id}Deletes a connection for this user (i.e. disconnect a tenant) Override the base server url that include versio

specification origin: https://raw.githubusercontent.com/XeroAPI/Xero-OpenAPI/master/xero-identity.yaml

nothing on this page is a rating, an endorsement or a claim about quality. Reachability is what our probes observed from one network; answering is a floor under usefulness, not a measure of it.