Xero Xero Accounting
Connector for the xero-xero-accounting API, generated deterministically from its OpenAPI spec (endpoints, auth, and methods match the spec exactly — nothing is invented).
- Base URL:
https://api.xero.com/api.xro/2.0 - Auth: OAuth 2.0 (user-delegated) — attach an InTouch
oauthcredential. Mint one withitcli.py /oauth <provider>(device-code) or/google-auth(Google); the server auto-refreshes the access token before each run, so the connector never handles or stores tokens.
Operations
getaccounts— GET /Accounts — Retrieves the full chart of accountsgetaccount— GET /Accounts/{AccountID} — Retrieves a single chart of accounts by using a unique account Idgetaccountattachments— GET /Accounts/{AccountID}/Attachments — Retrieves attachments for a specific accounts by using a unique account Idgetaccountattachmentbyid— GET /Accounts/{AccountID}/Attachments/{AttachmentID} — Retrieves a specific attachment from a specific account using a unique attachment Idgetaccountattachmentbyfilename— GET /Accounts/{AccountID}/Attachments/{FileName} — Retrieves an attachment for a specific account by filenamegetbanktransactions— GET /BankTransactions — Retrieves any spent or received money transactions
Inputs
- a linked
oauthcredential (no key inputs) — the server injects a freshAuthorization: Bearerfrom it operation— one of the operations above- path parameters when an operation's path contains
{...} query— optional JSON object of query paramsbody— JSON object for create/update ops
Example
operation: getaccounts
# (attach an 'oauth' credential to the task — no inline secrets)