canonical: https://jentic.com/apis/xchange.trimble.com/xchange-trimble

# Xchange Trimble Trimble Vista AP API

Trimble Vista Accounts Payable v2 Direct API provides CRUD operations for AP data objects including invoices, vendors, payments, and batches. The API exposes 36 endpoints secured with bearer authentication.

## For AI agents

Programmatically get all invoices from cache, get invoices by id. Covers 36 operations with bearer authentication.

## Scope

Does not handle communications, crm, or developer tools - use for payments only.

## Capabilities

- Get all invoices from cache
- Search invoices
- Integrate Trimble Vista AP API into automated workflows
- Query and filter Trimble Vista AP API records by parameters
- Monitor Trimble Vista AP API operational status and events

## Use cases

### Payments Operations

Use the Trimble Vista AP API to perform payments operations programmatically. The API provides 36 endpoints covering core functionality including get all invoices from cache, get invoices by id, search invoices.

Example prompt: Call GET `/direct/subscribers/{subscriber_code}/vistaap2/data/invoices/cache` to get all invoices from cache

### Automated Vista AP Management

Automate vista ap operations by combining multiple Trimble Vista AP API endpoints. Agents can get invoices by id and then search invoices in a single workflow.

Example prompt: Call GET `/direct/subscribers/{subscriber_code}/vistaap2/data/invoices/cache/{id}` to get invoices by id, then verify the result

### AI Agent Integration via Jentic

AI agents discover and call Trimble Vista AP 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 bearer tokens manually.

Example prompt: Search Jentic for 'get all invoices from cache', load the operation schema, and execute with Jentic-managed credentials

## Key endpoints

| Method | Path | Description |
| --- | --- | --- |
| GET | `/direct/subscribers/{subscriber_code}/vistaap2/data/invoices/cache` | Get all invoices from cache |
| GET | `/direct/subscribers/{subscriber_code}/vistaap2/data/invoices/cache/{id}` | Get invoices by ID |
| POST | `/direct/subscribers/{subscriber_code}/vistaap2/data/invoices/cache/search` | Search invoices |
| GET | `/direct/subscribers/{subscriber_code}/vistaap2/data/vendors/cache` | Get all vendors from cache |
| GET | `/direct/subscribers/{subscriber_code}/vistaap2/data/vendors/cache/{id}` | Get vendors by ID |
| POST | `/direct/subscribers/{subscriber_code}/vistaap2/data/vendors/cache/search` | Search vendors |
| GET | `/direct/subscribers/{subscriber_code}/vistaap2/data/invoice-batches/cache` | Get all invoice-batches from cache |
| GET | `/direct/subscribers/{subscriber_code}/vistaap2/data/invoice-batches/cache/{id}` | Get invoice-batches by ID |

## Key resources

- **Vista AP** — Operations related to Vista AP

## AI readiness

This API is usable in Jentic One now. Its AI-readiness score against Jentic's framework shows where it stands today and where improvements would make it even easier for agents to use.

- **Score:** 67 / 100
- **Maturity:** AI-Aware
- **Dimensions:**
  - Foundational Compliance: 76 / 100
  - Developer Experience & Jentic Compatibility: 63 / 100
  - AI-Readiness & Agent Experience: 49 / 100
  - Agent Usability: 94 / 100
  - Security: 60 / 100
  - AI Discoverability: 100 / 100
- **View full report:** https://jentic.com/apis/xchange.trimble.com/xchange-trimble/scorecard
- **How the score is calculated:** https://docs.jentic.com/reference/api-readiness-framework/overview/
- **More about the dimensions:** https://docs.jentic.com/reference/api-readiness-framework/specification/#dimensional-model-overview

### Score it yourself

Every API in the directory is allowlisted, so you can re-score it with no key required.

- **Score your own API:** https://jentic.com/scorecard.md
- **Scoring CLI agent skill:** https://github.com/jentic/jentic-api-scorecard/blob/main/skills/jentic-api-scorecard/SKILL.md

```sh
npx @jentic/api-scorecard-cli score <openapi-url>
```

## Why Jentic

- **Setup:** Wiring the Trimble Vista AP API by hand means setting up its bearer auth and resolving the subscriber code that appears in every path across its cached invoice and vendor data yourself. Through Jentic you install once, import the Trimble Vista AP API from the API Directory, store the token once, and your agent calls it.
- **Permission scoping:** The Trimble Vista AP API puts the subscriber code and record id in the URL path (`/direct/subscribers/{subscriber_code}/vistaap2/data/invoices/cache/{id}`), so a rule can pin your agent to one subscriber and its cached records. You choose the operations it may call, so search posts can be left out unless you add them and the reads can stand alone.
- **Credential handling:** Your Trimble Vista AP API token 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 'get all invoices from cache' or 'search cached vendors', and Jentic returns the matching Trimble Vista AP API operation with its input schema so the agent calls the right endpoint without browsing the reference docs.

## Related APIs

- **Stripe** — Alternative payments API
- **Adyen** — Alternative payments API
- **Square** — Complementary payments API
- **Paypal** — Complementary payments API

## FAQ

### What authentication does the Trimble Vista AP API use?

The Trimble Vista AP API uses a Bearer token in the Authorization header. 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 get all invoices from cache with the Trimble Vista AP API?

Yes. Use the GET `/direct/subscribers/{subscriber_code}/vistaap2/data/invoices/cache` endpoint. The API returns structured JSON responses that agents can parse and act on directly.

### What are the rate limits for the Trimble Vista AP 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 get all invoices from cache through Jentic?

Install the Jentic SDK with pip install jentic, authenticate through Jentic One, the self-hosted execution layer, then search for 'get all invoices from cache'. Jentic returns the matching Trimble Vista AP API operation with its input schema. Load the schema and execute the call - credentials are injected automatically.

### How many endpoints does the Trimble Vista AP API have?

The Trimble Vista AP API exposes 36 endpoints covering vista ap operations.

### Can I limit what my agent is allowed to do with the Trimble Vista AP API?

Yes. Because you run Jentic One yourself, your own rules decide which Trimble Vista AP operations and credentials the agent may use. Since the subscriber code and record id sit in every path, such as `/direct/subscribers/{subscriber_code}/vistaap2/data/invoices/cache/{id}`, you can pin the agent to a single subscriber and its cached records, and grant only the read operations for invoices, vendors, and invoice-batches while leaving the search posts out unless you add them.
