Xero Xero Files
Xero Files is a Xero document storage service for attaching and managing business files related to accounting records.
- Base URL:
https://api.xero.com/files.xro/1.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
getassociationsbyobject— GET /Associations/{ObjectId} — Retrieves an association object using a unique object IDgetfiles— GET /Files — Retrieves filesgetfile— GET /Files/{FileId} — Retrieves a file by a unique file IDgetfileassociations— GET /Files/{FileId}/Associations — Retrieves a specific file associationsgetfilecontent— GET /Files/{FileId}/Content — Retrieves the content of a specific filegetfolders— GET /Folders — Retrieves folders
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: getassociationsbyobject
# (attach an 'oauth' credential to the task — no inline secrets)
Publishes
The keys a later task may reference as {{taskName.key}}. Referencing anything not listed here resolves to nothing at run time.
erroroperationresultstatus
Input Properties
Every property this tool accepts, from its own tool.iml.
| Property | Type | Required | Default | Description |
|---|---|---|---|---|
operation |
string | yes | — | One of: getassociationsbyobject, getfiles, getfile, getfileassociations, getfilecontent, getfolders |
FileId |
string | no | — | Path parameter FileId (required by some operations). |
ObjectId |
string | no | — | Path parameter ObjectId (required by some operations). |
query |
string | no | — | Optional query params as a JSON object string, e.g. {"limit": 10}. |