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

# Invoice Processing Agent

> Turns invoice files into reviewed, duplicate-checked AP data — bills are only prepared with your approval.

> Turns invoice files into reviewed, duplicate-checked AP data — bills are only prepared with your approval.

**Turn invoice files into reviewed AP data.**

Invoices arrive as PDFs, images, and attachments that someone has to key in by hand. This agent reads invoice files from chat, tasks, Team Files, or NetSuite, extracts the AP fields with confidence scores, matches vendor and PO evidence, and runs safety-critical duplicate checks. Anything low-confidence stops for review, and NetSuite bills are only prepared after you explicitly approve.

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

## What's included

### Pinned tools

* `er_file_load`
* `er_ns_file_get`
* `er_ns_files_create`
* `er_ns_global_search`
* `er_ns_records_attach_file`
* `er_ns_records_transform`
* `er_suiteql_query_fix`
* `er_suiteql_query_validate`
* `ns_createRecord`
* `ns_getRecord`
* `ns_getRecordTypeMetadata`
* `ns_runCustomSuiteQL`

### Recommended skills

* NetSuite Intelligence Library
* File Understanding

### Starter prompts

* Parse invoice
* Check duplicate
* Match PO

## Trust and governance

This agent can take action in NetSuite through `er_ns_records_attach_file`, `er_ns_records_transform`, `ns_createRecord` — 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
