Xero Xero Assets
Xero Assets is a Xero service for managing fixed assets, depreciation, and asset records within a business accounting workflow.
- Base URL:
https://api.xero.com/assets.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
getassettypes— GET /AssetTypes — searches fixed asset typesgetassets— GET /Assets — searches fixed assetgetassetbyid— GET /Assets/{id} — Retrieves fixed asset by idgetassetsettings— GET /Settings — searches fixed asset settingscreateassettype— POST /AssetTypes — adds a fixed asset typecreateasset— POST /Assets — adds a fixed asset
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: getassettypes
# (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: getassettypes, getassets, getassetbyid, getassetsettings, createassettype, createasset |
id |
string | no | — | Path parameter id (required by some operations). |
query |
string | no | — | Optional query params as a JSON object string, e.g. {"limit": 10}. |
body |
string | no | — | Request body as a JSON object string (for create/update operations). |