Sales order processing: from email to ERP

Updated: November 2026

Orders arrive as PDFs, Excel files, and scans. SmartDocTO extracts the customer and line items, checks them against your master data, and sends them to your ERP.

At a glance

  • One order template works for all customers.
  • Every line is checked against your price list and product codes.
  • Master data is updated through an API or by uploading a CSV.
  • An exception stops the order, sends it for approval, or only adds a warning.
  • The order goes to your ERP through REST API or our API.

Why incoming orders slow down sales

Every order passes through several hands before it reaches your system.

Mailbox
Orders sit in a shared mailbox until someone opens them.
Retyping
A sales rep retypes the customer and line items into the ERP, line by line.
Errors
A product code that does not exist or a different price often comes to light only on the invoice.

How sales order processing works

The same platform as for invoices, set up for your orders.

  1. Intake

    The order arrives in a Microsoft 365 mailbox, through the API, or through an upload link for customers.

  2. Extraction

    AI extracts the customer, order number, dates, and line items with code, quantity, and price.

  3. Validation

    Rules check the customer, codes, and prices against your master data.

  4. Exceptions

    Anything that does not match is stopped, sent for approval, or continues with a warning.

  5. Handover

    The order goes to your ERP through REST API, or your ERP downloads it through our API.

Orders in SmartDocTO

Checking line items against your price list and codes

The rule goes through every line and lists the ones that failed the condition.

Check What it verifies
Product code The line item code exists in your price list.
Price The line item price matches the price list record.
Recalculation A calculation in the template verifies that quantity times price matches the line total, with an adjustable tolerance. On a mismatch, the order waits in the Unclassified status.
Code format A normalization function unifies how codes are written, for example “a 1020” and “A1020”.
Validation rule on order line items checking the code against the price list in the SmartDocTO app
Rule on order line items

Master data: customers and price list

Rules check against your own data, not against an AI estimate.

Customers
You upload the list as a CSV, or your system sends it on its own.
Price list
The platform downloads the price list with codes and prices through an API on a regular schedule.
Waiting for data
When a customer is not in the master data yet, the check waits and runs again at the interval you set.
Product price list master data with sync status and data schema in the SmartDocTO app
Price list master data with sync status

Check result: stop the order or only warn

For each rule, you decide what happens when the condition fails.

Outcome What happens to the order Example
Reject It does not continue, and the reason is shown on it Unknown customer
Require Approval A designated person decides Price below the price list
Defer as unclassified It waits for manual review Missing product code
Warning only It continues, and the warning stays on it Different delivery date
Received order with two warnings from validation rules in the SmartDocTO app
Validation warnings on an order

Frequently asked questions

Do customers have to send orders in one format?

No. A template belongs to a document type and works for all customers, whether they send a PDF, Word, Excel, or a scan.

What if an order contains an item we do not know?

The line item rule finds it and lists it. Depending on your settings, it stops the order, sends it for approval, or only adds a warning.

Do you match an order with the delivery note and invoice?

Yes, by an identical value, for example the order number. You see the linked documents on the document page. Delivery notes and invoice matching

Written by David Máj

Try it on your own documents

A pilot we set up together with you, based on samples of your documents.