AI order processing

AI order processing: from emailed PO to approved sales order

We build AI agents that read the purchase orders your customers email, PDF or photograph, match every line to your products and prices, and put a draft sales order in front of a person to approve. Built for wholesalers and distributors on Xero, QuickBooks, Zoho Books, Sage or a trade portal, not for SAP.

Last updated: 13 November 2026.

AI order processing is software that reads the orders customers send by email, PDF, spreadsheet, WhatsApp or photo and turns them into draft sales orders. A language model pulls out the customer, products, quantities and prices; your own rules check each line against price lists, units and stock; and a person approves the draft before it reaches your portal, accounts or warehouse. The AI does the typing; your team keeps the decisions.

Most pages about this are written for companies running SAP, Oracle or Dynamics. This one is for wholesalers and distributors with a smaller stack: an accounting system such as Xero, QuickBooks, Zoho Books or Sage, a trade portal, and an inbox where orders pile up every morning.

It fits if your team retypes orders from email, PDF or WhatsApp into another system, and the same customers order the same kinds of products week after week. It fits less well if most orders are already placed online, or if you get a handful of orders a day and nobody minds keying them.

Coded Idea builds a lot of software for wholesale. Our trade portal runs sales and warehousing day to day for a wholesaler, and an AI order inbox is something we build on top of that portal or on top of the system you already use.

How AI order processing works, step by step

This is the flow we set up, from an emailed purchase order to an approved sales order:

  1. Capture. A shared mailbox (Gmail or Outlook) or a WhatsApp Business number receives the order. The agent picks up the email body and any attachment: PDF, Excel, Word or a phone photo.
  2. Identify the customer. Sender address first, then account number or company name on the document. A new sender is never guessed; it goes to a person.
  3. Extract the lines. A language model pulls out product descriptions or codes, quantities, units, prices quoted, PO number, delivery address and requested date.
  4. Match to your catalogue. Each line is matched against that customer's history, their own part numbers and your product list, with the unit converted to how you sell it.
  5. Check against rules. Price against the customer's price list, stock by warehouse, credit limit, minimum order and duplicate PO numbers.
  6. Draft and flag. A draft sales order is built. Each line is marked clean, check or stop.
  7. Approve and post. A person reviews the flags, fixes anything wrong and approves. Only then is the order created, stock reserved and the customer sent a confirmation.

Every correction in step 7 is saved to that customer's mapping, so the same mistake doesn't come back next week.

AI order inbox: incoming emails and PDF purchase orders, with one order's lines matched to products, a confidence score on each, one line flagged for a unit mismatch, and Approve and Edit buttons under a human-approval note.
Emailed and PDF orders are read into draft lines with a confidence score each. Anything unclear is flagged, and a person approves. Illustrative screen, sample data.

AI order processing software: three kinds of tool

People searching for "artificial intelligence order processing" or "AI sales order processing" usually mean one of three things, and they suit different businesses:

  • Add-ons inside an ERP or accounting system. Cheapest to start, but they read only the formats and fields the vendor built, and rarely handle your customers' own part numbers.
  • Document-capture platforms. Strong at reading PDFs and scans into fields. You still build the matching to your products, units and price lists, and the approval step.
  • A custom-built agent. Reads email, PDF, Excel, WhatsApp and photo orders, matches them to your catalogue and price lists, and sends the draft to a person to approve. This is what we build, and it fits when your orders come in many layouts or your products have unusual units.

If most of your orders arrive in one fixed format from a few big customers, EDI or a portal may serve you better than any of the three.

Manual entry vs OCR templates vs AI order processing

Manual keying OCR with templates AI order processing
What it reads Anything a person can read Layouts it has a template for Varied emails, PDFs, spreadsheets and photos
A new customer's layout No set-up, but slow A new template to build Usually read first time; unknown codes flagged
"Same as last week plus 2 mint" Yes, from memory No Drafted from the last order, flagged for a check
Matching to your codes and units Staff knowledge Separate lookup rules Per-customer mapping that grows with each approval
When mistakes show up At picking, delivery or invoice As failed field reads As flags on the draft, before approval
Main cost Staff time on every order Licence plus template upkeep Build, plus model usage per document

OCR is still useful inside an AI set-up: scanned PDFs and photos are turned into text first, and the language model works from that. The difference is the step after, where a line such as "6 x mint 10s" has to become one of your product codes in the right unit.

Accuracy and limits: where AI order processing goes wrong

These are the problems that decide whether a project works, and most vendor pages skip them.

Problem Example How we handle it
Unit-of-measure mismatch Customer orders "5 cases"; you sell singles, and their case is 10 but yours is 12 Per-customer unit table; any conversion shown on the line for approval
Customer part numbers The PO says "ABC-771", your code is "LQ-10-MNT" Cross-reference table built from past orders and every approval
Handwritten or photographed POs A photo of a paper order pad taken in a shop Lower confidence by default; every line goes to a person
Price overrides PO shows 3.10 a unit, price list says 3.40 Never accepted automatically; flagged with both prices
Vague lines "Same as last week plus 2 more of the mint" Pulls the last order as a starting point and flags the change
Duplicates The same PO forwarded by two people PO number and content checked against recent orders
New delivery address A branch you haven't delivered to before Held for a person to confirm
Mixed languages or formats A PO in another language, or dates written day-first vs month-first Language and date format set per customer; anything ambiguous flagged

For food and drink distributors, the approved order also needs the right batch picked first; see how we handle batch, expiry and recall look-ups.

What it doesn't do: it doesn't decide credit, agree prices or talk to an upset customer, and it can't read a photo nobody could read. It also needs data to match against: if your product list, price lists and customer accounts are out of date, the drafts will be too. We don't quote an accuracy figure in advance. We measure it on a week of your own orders, and our guide to AI purchase order processing accuracy shows how.

The approval screen: where a person stays in charge

The approval screen shows the original email or document on one side and the draft order on the other, line by line. Clean lines are pre-ticked. Lines needing a check show why: unit converted, price differs, low stock, or low confidence in the read.

Our rules for what never goes through without a person:

  • a price different from the customer's price list
  • a product or part number not seen before for that customer
  • an order over the customer's credit limit
  • a first order from a new sender or a new delivery address

Once the drafts prove reliable, you can decide to let clean repeat orders from named customers post straight away. That's your call, made on your own numbers, not ours.

Where the approved order lands

Xero doesn't have a separate sales order document (its users have been asking Xero for one), so for Xero users the order usually lands in a trade portal, then flows to Xero as an invoice when it ships. Where your system has sales orders, as Sage 200 and the Sage 50 editions with sales order processing do, the draft can go straight in. We connect to accounting systems such as Xero, QuickBooks, Zoho Books and Sage through their official APIs. If you want the portal as well, see our B2B ordering portal; if orders mostly arrive on WhatsApp, see WhatsApp ordering for wholesalers.

How to choose AI order processing software: 6 questions to ask

Whether you buy a product or have one built, these questions separate a demo from something your team can rely on:

  1. What happens to a line it can't match? It should be flagged for a person, never guessed.
  2. Does a person approve before anything posts? Look for an approval screen showing the original document next to the draft.
  3. How does it handle your units and your customers' part numbers? Ask to see the mapping table, and whether corrections are saved.
  4. Which of your systems does it connect to, and how? An official API for Xero, QuickBooks, Zoho Books or Sage is safer than screen scraping.
  5. Where is the data processed, and under what contract? Orders contain personal data; see the data protection section below.
  6. How is accuracy measured? On a week of your own orders, before and after, not on a sample the vendor chose.

Not sure whether you need a custom build or an existing tool? A 20-minute walkthrough with a sample of your real orders usually answers it. If your orders mostly come from a rep or a phone call, a sales rep ordering app may help more than an email inbox.

Worked example: is it worth it?

Illustrative figures only, not results from a client. A wholesaler receives 40 emailed orders a day, and keying each one takes 6 minutes: 240 minutes, or 4 hours a day.

With drafts, suppose 35 orders need only a check at 1.5 minutes each (52.5 minutes) and 5 need fixing at 6 minutes each (30 minutes). That's 82.5 minutes a day, a saving of 157.5 minutes. Over 250 working days, that's about 656 hours a year. Your own numbers will differ, which is why we measure them first.

Try it with your own numbers

Enter orders per day and minutes per order to see the hours you'd get back.

The calculator runs in your browser. Nothing you type is sent anywhere unless you choose to send it.

What to measure before and after

Measure these for two weeks before go-live, then again after:

  • minutes from order received to order confirmed
  • minutes of staff time per order
  • orders keyed per person per day
  • credit notes and returns caused by wrong items, quantities or prices
  • share of drafts approved with no edits
  • size of the exceptions queue at the end of each day

If the share of untouched drafts isn't rising after the first weeks, the mapping tables need work, and we'd rather tell you than hide it. Our guide to AI purchase order processing accuracy explains how to read these numbers and how to run a shadow pilot before go-live.

Data protection and the AI provider

Purchase orders contain personal data: buyer names, emails, phone numbers and delivery addresses. The AI provider that reads them processes that data on your behalf, so under most data-protection laws you need a written contract with it, and if it processes data in another country, the rules on cross-border transfers may apply. We set the agent up on providers' business APIs with a data processing agreement, check whether they train on your data (Anthropic, for example, states it doesn't use commercial inputs for training by default), and host the rest of the system in the region you need.

If you're in the UK

Under UK GDPR the AI provider is your processor, and the ICO is clear that processing by a processor must be governed by a contract that meets Article 28. If the provider processes data outside the UK, that's a restricted transfer and needs adequacy regulations or safeguards such as the IDTA. We can host the rest of the system in the UK or EU. Xero and Sage are the usual accounting systems for smaller wholesalers there, and both are covered above. For the rest of what we do there, see our UK wholesale ordering software page.

How pricing works for AI order processing

We don't sell AI order processing as a per-user subscription. It's a build for your customers, products and system, so the price comes after we have seen your orders:

  • Fixed quote first. A 20-minute walkthrough and a sample of real orders, then a fixed quote with the full cost known before work starts.
  • Published range. AI automation builds start from US$1,000 for one well-defined job, and most single-workflow builds are US$3,000–$8,000. An order inbox that reads one channel into one system is a single workflow; several inboxes, a new trade portal or a system rebuild are quoted separately.
  • Running costs on their own lines. AI model usage (billed by the provider for the text it reads), hosting and any platform fees are listed separately, so you can see what grows with volume.

What moves the number most: how many order formats and customers you have, whether your system has a usable API, how many approval rules you need, and whether product mapping data already exists.

How we set it up

It starts with a 20-minute walkthrough. Bring a week of real orders, the awkward ones included. We map your customers, products, units and price lists, then agree a fixed plan and timeline. You get a fixed quote and know the full cost before work starts. Coded Idea has been building software since 2020 and works with clients worldwide; you deal directly with the people who build it, and calls and meetings can be arranged to suit you.

For other jobs worth automating, such as statements, payment chasing and stock alerts, see AI automation for business.

Book a 20-minute walkthrough

FAQ

Questions buyers ask

What is AI order processing?

It's software that reads incoming orders (emails, PDF or Excel purchase orders, photos of handwritten sheets) and turns them into structured sales orders. A language model extracts the customer, products, quantities and prices, your own rules check them against price lists and stock, and a person approves the draft before it reaches your accounts or warehouse.

Can AI process purchase orders into sales orders automatically?

It can draft them automatically. Whether anything posts without a person looking is your choice. We start with every order going to an approval screen, then let clean repeat orders from trusted customers through faster once the numbers show the drafts are reliable. Price overrides, new delivery addresses and unknown products always wait for a person.

How do I process orders from email with AI?

Point a dedicated orders mailbox (or a forwarding rule) at the agent. It reads each email and its PDF, Excel or photo attachments, matches every line to your product list, and puts a draft sales order beside the original email for a person to approve. Anything it can't match, such as an unknown part number or unit mismatch, is flagged rather than guessed. Start with one mailbox and your most regular customers.

Does it work with Xero, QuickBooks or Sage?

Yes. We connect through each system's official API. Xero has no separate sales order document, so approved orders usually land in a trade portal or as draft invoices in Xero. Sage 200 has sales orders, and so do the Sage 50 editions that include sales order processing, so there the draft can go straight in after approval. For other accounting or ERP systems, we check the API during the fit check.

How accurate is AI at reading purchase orders?

Typed emails and PDFs from regular customers are the easy part. Accuracy drops with handwriting, poor photos, customer part numbers you haven't mapped and unit mismatches such as cases versus singles. That's why every line carries a confidence flag and anything uncertain goes to a person, and why we measure your own error rate before and after.

Is it safe to send customer orders to an AI provider?

It can be, with the right paperwork. Orders contain personal data such as buyer names and emails, so the AI provider processes data on your behalf and, under most data-protection laws, you need a contract with it that covers that. If the provider processes data in another country, cross-border transfer rules may apply too. We set this up with you before anything goes live.

How much does AI order processing cost?

We quote a fixed price after a 20-minute walkthrough and a look at a sample of your real orders. AI automation builds start from US$1,000 for one well-defined job, and most single-workflow builds are US$3,000–$8,000. A new portal or several workflows are quoted separately. AI model usage and hosting are listed as separate running costs.

What is the difference between OCR and AI order processing?

OCR turns an image or PDF into text, and template tools then read fixed fields from layouts they have been set up for. AI order processing also works out what each line means: which of your products a customer's description refers to, which unit they meant, and whether the price matches their price list. Both still need checks; with AI the doubtful lines are flagged before anything posts.

What should I ask a vendor before buying AI order processing software?

Ask what happens to a line it cannot match (flagged or guessed), whether a person approves before anything posts, how it handles your units of measure and customer part numbers, which accounting systems it connects to through an official API, where the AI provider processes your data and under what contract, and how accuracy is measured on your own orders rather than a demo set.

Can AI process orders sent on WhatsApp?

Yes, as a build. We set up the WhatsApp Business API and the system behind it, so a message or photo of an order is read into a draft sales order that a person approves, the same as an emailed purchase order. Photos of handwritten sheets get lower confidence and go to a person line by line.

What is the difference between AI order processing and EDI?

EDI exchanges orders between systems in an agreed fixed format, so it needs both sides to set it up and works best with a few large customers. AI order processing reads the orders customers already send in whatever form they use: an email, a PDF, a spreadsheet or a photo. Many wholesalers use EDI for their biggest accounts and AI for the long tail of smaller customers who will never adopt it.

Next step

Tell us what you want built. We’ll tell you what it takes.

Twenty minutes on a call, no slides. Bring the spreadsheet, inbox or process that’s slowing you down.

Contact for price

Get a price for your project

Every project is different, so we quote a fixed price. Tell us what you need and we'll come back to you by email.

Phone or WhatsApp

We use your details only to reply to this enquiry. See our privacy notice.