How to automate purchase order entry into Acumatica
Connect your order mailbox and Acumatica to Portal, then add a routing rule that creates an order draft. The AI reads the lines, matches them to items and prices from Acumatica, and an approver sends the draft on as an Acumatica sales order of type SO.
About Acumatica.
Acumatica Cloud ERP is a web-based ERP for small and mid-sized companies, covering financials, distribution, manufacturing, construction and field service. It is sold by the applications you use and the resources you consume, not by user seats.
Most companies run it as SaaS, which Acumatica hosts on Amazon Web Services and upgrades twice a year. A Private Cloud Subscription is also offered, and partners host and install it in other ways.
Each release ships a new version of its REST endpoint, and an instance only exposes the endpoint versions its build supports.
Portal by Webisoft is a B2B portal for Acumatica: customer self-service and team apps on live Acumatica data.
Why connecting to Acumatica is hard.
Acumatica has unlimited users, but somebody still keys emailed purchase orders into the Sales Orders screen one line at a time.
Unlimited users, but limited API capacity
Acumatica does not charge per user, but each license caps the number of API users, the concurrent API requests and the API requests per minute. Once requests in the past minute reach half the cap they are slowed down, and a request is declined when more than 20 are waiting or one waits over 10 minutes. Every integration you add shares that capacity.
Versioned endpoints
The REST API lives at an address that includes the endpoint name and version, such as Default with a release number. Integrations are tied to the versions an instance supports, so upgrades are a moment to check them.
Sign-in is moving to OAuth
Acumatica says direct sign-in with a user name and password is going to be discontinued in a future version and recommends OAuth 2.0 or OpenID Connect. SaaS customers also cannot connect through ODBC, so reporting shortcuts that used the database do not apply.
Your options.
| Option | Fits when | Watch out for |
|---|---|---|
| Native Acumatica add-ons | You need one narrow function and an add-on covers it. | Each add-on is its own product to license, learn and upgrade. |
| Generic integration platform | You have someone in-house to build and maintain the flows. | You still build the screens, the AI layer and the Acumatica write rules yourself. |
| Custom code | The need is unique and you have developers who know Acumatica. | Upgrades and staff changes put the integration at risk. |
| Portal by Webisoft | You want customers, your team and AI agents working on live Acumatica data. | It works on top of Acumatica; it does not replace it. |
How Portal reaches Acumatica.
Portal uses the contract-based REST API on the Default endpoint and signs in with OAuth 2.0: your administrator creates a connected application in Acumatica, then clicks Connect with Acumatica in Portal. Endpoint versions from 23.200.001 to 26.200.001 are mapped.
For an Acumatica instance on your own servers, Portal can reach it through the On-site connector relay: the agent calls Acumatica inside your network and only makes outbound connections, so no port is opened. Each document Portal creates carries a portal reference in its description so retries never duplicate it.
What you need.
- An Acumatica administrator with access to Connected Applications (SM303010)
- Room in your Acumatica license for one more API user
- The mailbox purchase orders arrive in, on Gmail, Microsoft 365 or any address you can forward
Step by step.
Your Portal team sets up the Acumatica connection with you during onboarding, so the first step is done together. The rest is yours to change any time.
Register Portal in Acumatica and connect
In Acumatica, open the Connected Applications form (SM303010) and add an application for Portal. In Portal, under Setup, ERP, ERP system, choose Acumatica, enter your instance address, tenant and the application's client ID and secret, then choose Connect with Acumatica to sign in and Test connection. The order, quote and return types default to SO, QT and RC.
Connect the orders mailbox
In Email, Sources, choose Connect Gmail or Connect Microsoft 365, or create a forwarding address and forward your orders inbox to it.
Create order drafts from purchase orders
In Email, Routing rules, add a rule for the purchase order intent with the action Create an order draft. Lines are matched to Acumatica items and priced from Acumatica base prices, customer price classes and customer prices; anything unmatched is listed in the draft notes.
Approve and send
Drafts wait in the Review queue. An approver checks the lines and chooses Submit to ERP; the draft becomes an Acumatica sales order of type SO, and once Acumatica confirms it the customer gets a reply with the order number.
What syncs with Acumatica.
| Record | Read | Write back | Note |
|---|---|---|---|
| Customers, contacts and addresses | Yes | No | Native credit hold |
| Stock and non-stock items | Yes | No | |
| Prices | Yes | No | Base prices, customer price classes and customer prices |
| Stock by warehouse | Yes | No | |
| Quotes (QT orders) | Yes | Yes | Converted to a sales order on acceptance |
| Sales orders | Yes | Yes | |
| Invoices | Yes | No | |
| Payments | Yes | Yes | Applied to invoices and released |
| Shipments | Yes | No | |
| Returns (RC orders) | Yes | Yes | |
| Purchase orders | Yes | Yes | Update promised dates, quantities and cancel lines |
| Attachments | No | Yes | On customers, sales orders and invoices |
What you can do next.
- A customer emails a PDF purchase order; Portal drafts it against their Acumatica account and pricing, and an approver submits it.
- A buyer uploads a photo of a printed PO with Order from a file on the portal; the lines land in their cart, priced from Acumatica.
Acumatica questions, answered.
What if the customer is on credit hold in Acumatica?
The draft cannot be submitted while the customer is on hold, which Portal reads from the Acumatica customer, with its native credit hold status.
Can it read our Acumatica item numbers from a customer's part numbers?
Lines are matched to your catalog by the AI; anything it cannot match is listed in the draft so a person can pick the right item.
What stops a duplicate order if something is retried?
Every order carries a portal reference in the document description, so a retry finds the first order instead of creating another.
Keep going.
- Automate order entry from email: overview
- B2B portal for Acumatica
- Connect an AI agent to your ERP, Acumatica
- Take invoice payments online, Acumatica
- Give customers order status, Acumatica
- Build a B2B ordering portal, Acumatica
- Quotes customers accept online, Acumatica
- Triage a shared inbox, Acumatica
- Add approval workflows, Acumatica
- One REST API for your ERP, Acumatica
- Connect an on-prem ERP safely, Acumatica
Sources
- Acumatica pricing: unlimited users
- Acumatica integration guide: license restrictions for API users
- Acumatica: HTTP 429 when the license limit is exceeded
- Acumatica: contract-based REST endpoints and versions
- Acumatica: sign-in to the REST API
- Acumatica: OAuth 2.0 and OpenID Connect
- Acumatica SaaS FAQ: no ODBC on SaaS