> ## 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.

# AP Agent

> Runs your AP desk — aging, duplicate catches, vendor spend, and payment-run planning — with every write held for your approval.

> Runs your AP desk — aging, duplicate catches, vendor spend, and payment-run planning — with every write held for your approval.

**Your AP desk, always on.**

Accounts payable officer: ages AP, plans payment runs, analyzes vendor spend/risk/cost, tracks DPO, and catches duplicate bills. Chat interface for day-to-day AP operations.

**Team:** Accounts Payable · **Type:** Agent

## What's included

### Pinned tools

* `er_dataset_analyze`
* `er_document_export`
* `er_ns_email_send`
* `er_ns_file_get`
* `er_ns_files_create`
* `er_ns_global_search`
* `er_ns_records_attach_file`
* `er_ns_records_transform`
* `er_ns_tasks_create`
* `er_suiteql_example_find`
* `er_suiteql_query_fix`
* `er_suiteql_query_validate`
* `ns_createRecord`
* `ns_getRecord`
* `ns_getRecordTypeMetadata`
* `ns_runCustomSuiteQL`
* `ns_runSavedSearch`
* `ns_updateRecord`

### Recommended skills

* NetSuite Intelligence Library
* File Understanding
* AP Aging Analysis & Commentary
* AP Duplicate Bill Check
* Vendor Spend Analyzer
* Vendor Performance & Dependency Analyzer
* Payment Run Scheduler
* DPO Calculator
* Vendor Cost Analyzer
* Cash Conversion Cycle Optimizer
* Excel Workbook Builder

### Starter prompts

* AP aging for CFO
* Vendor concentration risk
* Plan payment run
* Vendor price drift
* DPO trend + CCC
* Bills past due
* Duplicate bill check
* Export AP aging to Excel
* Parse invoice
* Review approvals

## Trust and governance

This agent can take action in NetSuite through `er_ns_email_send`, `er_ns_records_attach_file`, `er_ns_records_transform`, `er_ns_tasks_create`, `ns_createRecord`, `ns_updateRecord` — and **every write is approval-gated**. Nothing is created, updated, or sent until a human approves it. Reads and analysis run without interruption.

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
