How to automate purchase order entry into Oracle NetSuite
Connect your order mailbox and NetSuite to Portal, then add a routing rule that creates an order draft. The AI reads the lines, matches them to items and prices from NetSuite, and an approver sends the draft on as a NetSuite sales order.
About Oracle NetSuite.
Oracle NetSuite is a cloud ERP that runs finance, order management, inventory and CRM in one hosted system. NetSuite started selling cloud software in 1998 and Oracle bought it in 2016.
Accounts are sold on service tiers. Contracts signed since June 2020 use the Standard, Premium, Enterprise and Ultimate tiers, and the tier sets how many integration requests the account can run at the same time.
There is no server to install. Every integration reaches NetSuite over the internet through its web services, so the questions are about access, roles and limits rather than networks.
Portal by Webisoft is a B2B portal for Oracle NetSuite: customer self-service and team apps on live NetSuite data.
Why connecting to NetSuite is hard.
Orders that arrive by email still have to become NetSuite sales orders line by line, with the right customer, items and prices. The connection is the easy half; reading the order is the hard half.
One shared pool of concurrent requests
NetSuite governs integration traffic per account, and SOAP, REST and RESTlet requests all draw from the same pool. The base limit is 5 concurrent requests on Standard, 15 on Premium and 20 on Enterprise and Ultimate, plus 10 for each SuiteCloud Plus license. Every integration you add competes with the ones you already run.
SOAP is being retired
Oracle says the 2025.2 SOAP endpoint is the last one, that new integrations should use REST with OAuth 2.0 from 2026.1, and that SOAP stops working with the 2028.2 release. Older integrations built on SOAP or token-based authentication need a rewrite before then.
Authentication rules keep tightening
New RESTlets can no longer use a user name and password, and support for token-based authentication on RESTlets ends in 2028.2. Each integration needs its own role, permissions and OAuth setup, maintained by someone who knows NetSuite administration.
Your options.
| Option | Fits when | Watch out for |
|---|---|---|
| Native NetSuite 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 NetSuite write rules yourself. |
| Custom code | The need is unique and you have developers who know NetSuite. | Upgrades and staff changes put the integration at risk. |
| Portal by Webisoft | You want customers, your team and AI agents working on live NetSuite data. | It works on top of NetSuite; it does not replace it. |
How Portal reaches NetSuite.
Portal reads NetSuite with SuiteQL over the REST web services and writes through the REST record API, so it does not depend on SOAP. Your administrator creates an integration record and an access token in NetSuite and enters the four token values plus the account ID in Portal. Sandbox accounts work too.
Every document Portal creates in NetSuite carries an external ID, and Portal looks that ID up before each create, so a retried order is never entered twice. Credit hold is checked before an order goes in.
What you need.
- A NetSuite administrator who can create an integration record, a role and an access token
- Your NetSuite account ID, and the sandbox account ID if you test there first
- 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 NetSuite connection with you during onboarding, so the first step is done together. The rest is yours to change any time.
Create the NetSuite integration and token
In NetSuite, an administrator creates an integration record with token-based authentication, a role for the integration user with access to REST web services and the records Portal reads, and an access token for that user. In Portal, under Setup, ERP, ERP system, choose NetSuite and enter the consumer key and secret, the token ID and secret and your account ID, then choose Test connection. Sandbox account IDs work the same way.
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 NetSuite items and priced from NetSuite price levels and customer item pricing, including quantity breaks; 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 a NetSuite sales order, and once NetSuite confirms it the customer gets a reply with the order number.
What syncs with NetSuite.
| Record | Read | Write back | Note |
|---|---|---|---|
| Customers, contacts and addresses | Yes | No | Credit hold from the customer record |
| Items | Yes | No | Inventory, non-inventory, service, kit and assembly items |
| Price levels and customer item pricing | Yes | No | Including quantity breaks |
| Stock by location | Yes | No | |
| Estimates (quotes) | Yes | Yes | An accepted estimate is transformed into a sales order |
| Sales orders | Yes | Yes | |
| Invoices | Yes | No | |
| Customer payments | Yes | Yes | Applied to the invoices that were paid |
| Item fulfillments | Yes | No | With tracking numbers |
| Return authorizations | Yes | Yes | |
| Purchase orders | Yes | Yes | Update dates, quantities and close lines; no new POs |
What you can do next.
- A customer emails a PDF purchase order; Portal drafts it against their NetSuite 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 NetSuite.
NetSuite questions, answered.
What if the customer is on credit hold in NetSuite?
The draft cannot be submitted while the customer is on hold, which Portal reads from the NetSuite customer record, with credit hold from its credit hold override.
Can it read our NetSuite 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 an external ID that Portal looks up before every create, so a retry finds the first order instead of creating another.
Keep going.
- Automate order entry from email: overview
- B2B portal for Oracle NetSuite
- Connect an AI agent to your ERP, Oracle NetSuite
- Take invoice payments online, Oracle NetSuite
- Give customers order status, Oracle NetSuite
- Build a B2B ordering portal, Oracle NetSuite
- Quotes customers accept online, Oracle NetSuite
- Triage a shared inbox, Oracle NetSuite
- Add approval workflows, Oracle NetSuite
- One REST API for your ERP, Oracle NetSuite