# How to automate inbound email in Acumatica

> Source: https://netray.co/integrations/acumatica-email-automation
> Publisher: Netray (netray.co), AI and integration engineering for ERP and manufacturing systems.
> Section: Integrations

## Short answer

Read the shared inbox through Acumatica's email processing or the Microsoft Graph and Gmail APIs, classify and extract each message with a model, and create draft sales orders, receipts or bills through the REST API. Confidence thresholds and a review queue keep wrong data out of the ledger.

## System

Acumatica

## Capability

email-automation

## Intro

Acumatica customers receive a surprising amount of business by email: customer purchase orders as PDFs, supplier order acknowledgements, RFQs, remittance advice and invoices. The standard fix is a data entry clerk, and the typical failure is a part number typed wrongly at 4 pm on a Friday.

Acumatica has a real email framework: system email accounts, an email activity record against contacts and cases, and processing rules that can create cases from inbound mail. That helps with support, but it will not read a purchase order attachment and make a sales order out of it.

A well-scoped automation reads the message, understands the document, matches it to master data, and presents a draft transaction for a person to confirm.

## Use Cases

### Customer PO to sales order

**Description:** A PDF or body text PO becomes a draft sales order with customer, ship-to, line items matched by customer part number and requested dates.

### Supplier acknowledgement matching

**Description:** Order acknowledgements are matched to open PO lines and promised-date differences are flagged for the buyer.

### RFQ intake

**Description:** An inbound request is turned into an opportunity or quote shell, with attachments filed to the record.

### Vendor invoice by email

**Description:** Invoices sent to an accounts payable address are extracted and drafted as bills, with PO matching.

### Customer service replies

**Description:** Order status questions get a suggested reply with live data, queued for an agent to send.

## System Surface

- Email accounts and processing (under System, typically screens for System Email Accounts and Email Preferences): receive and send, attach inbound mail to contacts, cases and opportunities as activities.
- Contract-based REST API: create SalesOrder, PurchaseReceipt, Bill and Opportunity records, add attachments through the files endpoints and read master data to match.
- Customer part number cross reference and vendor item cross reference: the matching tables that make line item mapping reliable.
- Generic Inquiries for open orders and open PO lines to match acknowledgements against.
- Microsoft 365 or Google Workspace APIs for mailbox access when you want processing outside Acumatica's own mailbox handling.

## How It Works

### Separate the mailboxes

**Detail:** Use distinct shared mailboxes such as orders@, ap@ and rfq@. Classification gets easier and so does routing and retention.

### Ingest and normalise

**Detail:** Pull messages and attachments, convert PDFs and images to text, strip signatures and thread history, and keep the original untouched.

### Classify and extract

**Detail:** A model decides the document type and extracts customer, PO number, lines, quantities, prices and dates into a fixed schema with a confidence for each field.

### Match to master data

**Detail:** Resolve the sender to a customer by domain and contact, and lines to inventory IDs through cross references, with fuzzy match only as a suggestion.

### Create a draft

**Detail:** Post the draft through the REST API, attach the source email and PDF, and mark the order as on hold or entered but unconfirmed so it cannot ship.

### Review and learn

**Detail:** A reviewer sees the draft next to the source, corrects fields, and each correction feeds new cross references.

## Example Flows

### Customer PO arrives as PDF

**Trigger:** An email with a PDF reaches the orders mailbox.

**Steps:**

- The service classifies it as a purchase order and extracts header and lines.
- The sender domain maps to a customer and the ship-to is matched by address.
- Customer part numbers map to inventory IDs; two lines are unmatched.
- A draft sales order is created with a review flag and the PDF attached.
- The order desk fixes the two lines and releases the order.

**Result:** Data entry becomes a two-minute review, with the unmatched lines clearly highlighted.

### Supplier acknowledgement with a new date

**Trigger:** A supplier replies with a revised ship date.

**Steps:**

- The reply is linked to the open PO by PO number.
- The new date is extracted per line.
- Lines where the date moved by more than a threshold are flagged.
- The buyer sees a one-screen list and updates promise dates in Acumatica.

**Result:** Slipping lines are visible the day the supplier tells you, not at receiving.

## On Prem

Email content is some of the most sensitive data a manufacturer holds, including drawings, pricing and contract terms. For on-premises Acumatica, run the ingestion service and an open-weight extraction model on your own server, reading the mailbox through your Exchange or Graph tenant with a scoped app identity. Only the extracted fields travel to Acumatica. If you must use a hosted model, redact pricing and attachments and review your data processing terms first.

## Security

- Restrict the mailbox app permission to the specific shared mailboxes, not the whole tenant.
- Never auto-confirm a draft from an unknown sender; treat sender spoofing and invoice fraud as real threats.
- Check bank detail changes in vendor emails by an out-of-band callback, never through automation.
- Keep the original message and attachment with the document for audit.

## Options

### Native email processing plus manual entry

**Fit:** Support emails, cases and activity logging. Not an extraction tool.

**Effort:** Configuration only.

### Intelligent capture product or marketplace app

**Fit:** Standard vendor invoices where a packaged tool already supports Acumatica.

**Effort:** Days to weeks plus licence.

### Custom pipeline or Netray build

**Fit:** Customer POs with odd formats, many cross references, or data that must stay on-prem.

**Effort:** Several weeks for one document type, then incremental.

## Pitfalls

- Automating one-time PO formats first; start with your top five customers by volume.
- Missing customer part number cross references, which makes every line a fuzzy match.
- Replying-all threads that repeat an old PO and create duplicates; deduplicate on PO number and message ID.
- Letting the model invent a missing field instead of leaving it blank for review.
- Skipping the draft stage and posting directly to released orders.

## Faq

### Can Acumatica create sales orders from emails by itself?

**Answer:** Acumatica can receive email into cases, activities and opportunities, but we are not aware of native extraction of order lines from PDF attachments. That step needs an extraction service or a marketplace capture app.

### How accurate is automated PO extraction?

**Answer:** It depends on the template and the quality of the master data. Clean, machine-generated PDFs with maintained cross references go well, scans and free-form emails less so. That is why confidence scoring and a review queue are part of the design.

### Should it post orders automatically?

**Answer:** Only after months of measured accuracy for a specific customer and with a value limit. Until then, create drafts that a person confirms. A wrongly posted order costs more than a few minutes of review.

### What about invoice emails?

**Answer:** Acumatica offers invoice recognition capabilities in some editions and versions; check what your licence includes. For others, extract to a draft bill with PO matching and route exceptions to AP.

### Does it work with Gmail and Microsoft 365?

**Answer:** Yes. Both provide APIs for shared mailbox access. Choose the API that matches your mail platform and use app-level credentials limited to the mailboxes involved.

## Search terms

acumatica email automation, acumatica purchase order from email, acumatica sales order email import, acumatica inbound email processing, automate acumatica orders from pdf email, acumatica ai email, acumatica rfq email automation, acumatica supplier acknowledgement email

---
Talk to an engineer: https://netray.co/contact?intent=erp_ai | Machine catalog: https://netray.co/agent/catalog.json
