canonical: https://jentic.com/apis/xero.com/xero-assets-api

# Xero Assets API

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. The API exposes 6 endpoints secured with oauth2 authentication.

## For AI agents

Programmatically adds a fixed asset, searches fixed asset. Covers 6 operations with oauth2 authentication.

## Scope

Does not handle payments, communications, or crm - use for finance and accounting only.

## Capabilities

- adds a fixed asset
- searches fixed asset
- Retrieves fixed asset by id
- Query and filter Xero Assets API records by parameters
- Monitor Xero Assets API operational status and events

## Use cases

### Finance and Accounting Operations

Use the Xero Assets API to perform finance operations programmatically. The API provides 6 endpoints covering core functionality including adds a fixed asset, searches fixed asset, retrieves fixed asset by id.

Example prompt: Call POST /Assets to adds a fixed asset

### Automated Assettypes Management

Automate assettypes operations by combining multiple Xero Assets API endpoints. Agents can searches fixed asset and then retrieves fixed asset by id in a single workflow.

Example prompt: Call GET /Assets to searches fixed asset, then verify the result

### AI Agent Integration via Jentic

AI agents discover and call Xero Assets API endpoints through Jentic without managing credentials directly. An agent searches for the required operation by intent, receives the matching endpoint schema, and executes the call with Jentic-managed authentication. This eliminates the need to read API documentation or handle oauth2 tokens manually.

Example prompt: Search Jentic for 'adds a fixed asset', load the operation schema, and execute with Jentic-managed credentials

## Key endpoints

| Method | Path | Description |
| --- | --- | --- |
| POST | /Assets | adds a fixed asset |
| GET | /Assets | searches fixed asset |
| GET | /Assets/{id} | Retrieves fixed asset by id |
| POST | /AssetTypes | adds a fixed asset type |
| GET | /AssetTypes | searches fixed asset types |
| GET | /Settings | searches fixed asset settings |

## Key resources

- **Assettypes** — Operations for AssetTypes
- **Assets** — Operations for Assets
- **Settings** — Operations for Settings

## Why Jentic

- **Setup:** Wiring the Xero Assets API by hand means implementing its OAuth2 flow, sending the tenant header, and handling fixed assets and asset types yourself. Through Jentic you install once, import the Xero Assets API from the API Directory, store the OAuth2 credential once, and your agent calls it.
- **Permission scoping:** The Xero Assets API puts the asset id in the URL path (/Assets/{id}), so a rule can pin your agent to one asset. You choose the operations it may call, so writes like adding a fixed asset or an asset type are not included unless you add them, and reads such as fetching settings can stand alone.
- **Credential handling:** Your Xero Assets API OAuth2 credential is stored once, encrypted, by your own Jentic One instance and injected at execution time. It never enters the agent's prompt, logs, or context.
- **Discovery method:** Agents search Jentic by intent such as 'add a fixed asset' or 'list asset types', and Jentic returns the matching Xero Assets API operation with its input schema so the agent calls the right endpoint without browsing the reference docs.

## Related APIs

- **Plaid** — Alternative finance API
- **Stripe** — Complementary API for broader integration workflows
- **Twilio** — Complementary API for broader integration workflows

## FAQ

### What authentication does the Xero Assets API use?

The Xero Assets API uses OAuth 2.0 for authorization. Through Jentic, these credentials are stored encrypted in your Jentic One instance and injected at execution time, so raw secrets never enter the agent context.

### Can I adds a fixed asset with the Xero Assets API?

Yes. Use the POST /Assets endpoint. The API returns structured JSON responses that agents can parse and act on directly.

### What are the rate limits for the Xero Assets API?

Rate limits are not specified in the OpenAPI spec. Check the vendor documentation for current limits. Through Jentic, rate limiting is handled automatically with retry logic built into the execution layer.

### How do I adds a fixed asset through Jentic?

Install the Jentic SDK with pip install jentic, authenticate through Jentic One, the self-hosted execution layer, then search for 'adds a fixed asset'. Jentic returns the matching Xero Assets API operation with its input schema. Load the schema and execute the call - credentials are injected automatically.

### How many endpoints does the Xero Assets API have?

The Xero Assets API exposes 6 endpoints covering assettypes, assets, settings operations.

### Can I limit what my agent is allowed to do with the Xero Assets API?

Yes. Jentic One is self-hosted by you, so your own rules decide which Xero Assets API operations and credentials the agent may use. You can grant read-only access, such as searching fixed assets or fetching settings, while withholding writes like adding a fixed asset or an asset type unless you explicitly allow them. Because the asset id sits in the URL path at /Assets/{id}, you can also pin the agent to a single asset. Credentials are injected at execution time under these limits, never exposed to the agent.
