> ## Documentation Index
> Fetch the complete documentation index at: https://docs.erstan.com/llms.txt
> Use this file to discover all available pages before exploring further.

# Spend Categorisation

> Maps vendor spend into clean categories and flags miscoded transactions with evidence — strictly read-only, so no NetSuite record is ever changed.

> Maps vendor spend into clean categories and flags miscoded transactions with evidence — strictly read-only, so no NetSuite record is ever changed.

**Spend you can trust to be in the right bucket — with the miscodings named.**

Spend analysis is only as good as the coding underneath it — and every AP desk has vendors booked to three different accounts, uncategorised spend buckets, and one-off miscodings that quietly distort every report downstream. This agent reads your vendor bills and credits straight from NetSuite, maps spend into clean categories, flags transactions that look miscoded against the vendor's normal pattern, and proposes a recategorisation list with evidence for every call. It is strictly read-only — it proposes, and your team reclassifies.

**Team:** Procurement · **Type:** Agent

## What's included

### Pinned tools

* `er_suiteql_example_find`
* `er_suiteql_query_validate`
* `ns_getSuiteQLMetadata`
* `ns_runCustomSuiteQL`

### Recommended skills

* NetSuite Intelligence Library

### Starter prompts

* Categorise last year's spend
* Find miscoded spend
* Sweep uncategorised spend
* Fragmented vendor spend

## Trust and governance

This agent is **read-only in NetSuite**: it queries and analyses your data but pins no NetSuite write tools, so it cannot create, change, or send anything on your behalf.

All activity is captured in a full audit trail, agents use your existing NetSuite roles and permissions, and your data is never used to train models.

**Works with:** NetSuite
