AI document processing: extract the data, flag what differs
Every supplier lays out order confirmations and delivery notes differently, and someone in purchasing or accounting retypes the details into the ERP. With AI document processing, the AI extracts the agreed fields from PDFs and scans, and rules check them against your data. Your team decides on discrepancies with the original in view. Only the reviewed result reaches the ERP.
Signs that documents cost too much manual work
- Skilled staff in purchasing and accounting retype details from PDF files and scans every day.
- Documents come from many senders, and hardly any two share the same layout.
- Order confirmations get filed without anyone comparing them line by line with the purchase order.
- A changed price or a later delivery date only surfaces when the goods are missing or the invoice does not match the order.
- Confirmed delivery dates live in a separate spreadsheet because nobody enters them in the ERP.
- When the person who enters the documents is out, the pile grows until she is back.
From an order confirmation in the inbox to a checked entry in the ERP
An example flow from purchasing: a supplier confirms a purchase order but quotes a higher price and a later delivery date. The case and the data are invented. Discrepancies like these are what matter: the flow flags them, and purchasing decides.
Comparing an order confirmation with the purchase order
Trigger
A supplier emails its order confirmation to purchasing as a PDF file.
By hand so far
- Open the PDF file and find the purchase order in the ERP
- Compare item, quantity, price and delivery date line by line
- Enter the confirmed delivery date in the purchase order
- Write to the supplier about any discrepancies
- File the PDF with the purchase order
How it runs with AI
- Runs automatically: The email is retrieved from the purchasing inbox, and the attached PDF file is saved.
- AI prepares: The AI classifies the document as an order confirmation and extracts the agreed fields: purchase order number, item, quantity, price and delivery date.
- Runs automatically: The purchase order is looked up in the ERP by its number. Fixed rules check the formats, compare every line with the order and flag what differs.
- AI prepares: For the discrepancies, the AI drafts a short query to the supplier.
- A person approves: In the review screen, the buyer sees the original and the extracted values side by side. She corrects misread values and decides on each discrepancy: accept it or send the query to the supplier.
- Runs automatically: The approved values are written to the purchase order in the ERP through the interface, and the PDF file is filed with the order in document storage.
- Connected systems
- Result
- Whatever the buyer accepted is in the purchase order in the ERP, and the order confirmation is in document storage. Open points sit with the supplier as a query, and a corrected confirmation runs through the same flow. The log records which values were extracted, which were corrected and who approved them.
- Approval
- Purchasing always decides on discrepancies in price, quantity or delivery date, and no query goes to a supplier without its approval. During the pilot, purchasing sees every order confirmation, including those without discrepancies. Confirmations that fully match the purchase order can later go through without approval, if the extracted values were correct during the pilot and you decide to allow it.
Order confirmation in the purchasing review screen
Original: lines from the PDF file
Example Supplier Ltd., sales@
Order confirmation no. 9000 for your purchase order 2000
Your contact: Jane Example
Line 1: 500 pcs sealing ring 40 mm, item no. 3000
Unit price €2.20, total €1,100.00
Estimated delivery date: February 2
Extracted by the AI, compared with the purchase order by rule
- Supplier
- Example Supplier Ltd.
- Purchase order
- 2000found in the ERP
- Item
- 3000, sealing ring 40 mmas ordered
- Quantity
- 500 pcsas ordered
- Unit price
- €2.20discrepancy: ordered at €2.00
- Delivery date
- February 2discrepancy: ordered for January 19
Query to the supplier, drafted by the AI
Dear Ms. Example,
Your order confirmation 9000 differs from our purchase order 2000 on two points.
Unit price: ordered at €2.00, confirmed at €2.20.
Delivery date: ordered for January 19, confirmed for February 2.
Please send us a corrected order confirmation or let us know the reason for the change.
Best regards
- Accept values into the ERP
- Correct a value
- Send query
The same pattern for delivery notes, invoices and forms
Delivery notes
The AI extracts items and quantities from the delivery note, and rules compare them with the purchase order. Receiving sees short shipments and wrong items before it books the delivery.
Capturing and checking supplier invoices with AI
When an invoice arrives as a PDF file or a scan, the AI extracts the invoice number, amounts and line items, and rules compare them with the purchase order and the goods receipt. Accounting decides on discrepancies and on approving the payment. Automating incoming invoices here means that retrieving, matching and filing follow fixed rules, while the decision stays with accounting.
Structured e-invoices
An e-invoice carries its data in a structured, machine-readable format instead of only as a page to read. When an invoice arrives this way, the fields are taken over by fixed rules without AI, and the comparison and approval stay the same. E-invoices cover invoices only: delivery notes, order confirmations and forms that arrive as PDF files, scans or in unstructured layouts still need the AI.
Forms
When a completed form comes back as a PDF file or a scan, such as a supplier self-assessment or a complaint form, the AI extracts the details. Rules check required fields and formats. The person responsible fills in whatever is missing or does not fit before the record is created.
Mixed documents in one inbox
When invoices, delivery notes and order confirmations arrive mixed in one mailbox, the AI classifies each attachment by document type, and the attachment goes to the matching flow. Anything it cannot clearly assign to a document type goes to a person. How to presort the emails themselves is shown in the Email and shared inboxes use case.
Where AI document processing misreads, and how that gets caught
The AI reads documents, it does not judge them: whether a higher price is acceptable is for purchasing to decide, because purchasing knows what was agreed with the supplier. The AI also makes mistakes when reading. Four sources of error are foreseeable.
Poor scans and handwriting
The AI misses parts of faint or skewed scans and reads handwriting unreliably. If a required field is missing or a value does not match the expected format, the document goes to a person together with the original. Documents with handwriting, such as signed delivery notes or forms filled in by hand, always get human review.
Tables across several pages
When a table of line items runs across a page break, a line can be missed or read twice. A rule therefore compares the number of lines with the purchase order and recalculates the document total. If either one does not match, nothing is written to the ERP until a person has checked the document.
New and changed layouts
A document with an unfamiliar layout can mislead the AI: if it shows a shipping date instead of a delivery date, the AI may pick the wrong date. That is why a person always sees the first document from a new supplier. When a known supplier changes its layout, the flow only notices from the effects: fields are missing, or values differ from the purchase order.
Plausible but wrong values
An AI returns a clean-looking number even when it has misread. So the comparison with your own data is done by a fixed rule, not by the AI, and the review screen shows the original alongside. For fields with no counterpart in your data, such as the supplier’s document number, only the format check remains, and during the pilot we measure how often these fields are correct.
For the pilot, we need four things from you
Sample documents
A selection of real documents of the chosen type, exactly as they arrive today: as PDF files by email or as scans of paper. Include everyday ones and difficult ones, such as poor scans, multi-page documents and cases with discrepancies.
Fields and checking rules
Which details are extracted and what each one is checked against, for example the price against the purchase order. Plus the tolerances beyond which a discrepancy goes to a person. If a supplier uses its own item numbers, we work out with you how the item is identified.
Access to the mailbox and the ERP
Access to the mailbox where the documents arrive. In the ERP, read access to purchase orders and master data, and a way to write the reviewed result back: an interface or an import. We clarify beforehand with your IT team or your ERP provider what your ERP supports.
A named person for approvals
Someone from purchasing or accounting who, at the outset, walks us through one everyday and one difficult document from start to finish. During the pilot, this person decides on unclear documents and adjusts the rules with us. Plus a backup for vacations and sick days.
The pilot starts with one document type
In the first conversation, you describe how your documents are handled today, and we ask about your ERP, document volumes and special cases. We then propose one document type for the pilot, such as the order confirmations from your most important suppliers, and tell you what effort to expect. We only talk about further document types once the pilot has proven itself in daily work.
Frequently asked questions
Our scanner already recognizes text with OCR. Why add AI?
Because recognized text does not yet say what it means. Optical character recognition (OCR) turns the image of a document into letters and numbers, but it does not know which number is the price. The AI assigns the details by their meaning, even when every supplier puts the delivery date in a different place and labels it differently. Vendors call this intelligent document processing, or IDP.
Do we have to replace our ERP to automate incoming invoices?
Usually not. The flow reads from your existing ERP and writes the reviewed result back to it, through an interface or a file import. If your ERP offers neither, data entry in its user interface can often be automated with robotic process automation (RPA), with every entry verified and a fallback to manual entry; this route needs more maintenance, because any change to the interface can break it. We only commit to a connection once it is clear what your system supports.
How reliably does the AI read our documents?
That depends on how consistent and how legible your documents are, so we measure it before go-live. We run a representative batch and evaluate fields and error types separately. You then see which fields are right, which need human review and how much checking work remains compared with today.
Our documents contain prices and terms. Where are they processed?
We agree on that with you before implementation: which data the application may access, where it is processed and what is stored. That includes whether the purchase order prices from your ERP go to the AI or whether only the fixed rule works with them, and where the original document and the log of extracted values are stored. That determines which providers and forms of operation are possible. Requirements for data location or hosting go into the project scope up front.
What drives the cost, and does it pay off at our document volume?
Effort and cost depend mainly on the number of document types and fields, the special cases in your rules and the route into your ERP. After the first conversation, we tell you what effort to expect. Whether it pays off at your volume only becomes clear in the pilot. There we compare the remaining review work with your current effort and measure the running costs at the volumes you expect.
Can invoices be read automatically?
Yes, as a proposal that accounting reviews. The AI extracts the invoice number, amounts and line items, and fixed rules compare them with the purchase order and the goods receipt and flag discrepancies. Automating incoming invoices means that only the fixed steps run automatically: collecting, matching and filing the invoice. Accounting always decides on discrepancies and on approving the payment. Purchase orders from your customers are a separate flow: there rules check the extracted order against customer and item master data and the open quote, and inside sales approves the order. It is shown in the Quotes and sales orders use case.
Services behind this use case
AI development and consulting
AI that searches your documents, reads data from forms, sorts messages and writes drafts. A person approves the decisions.
Process automation
Workflows that route requests, transfer data and collect approvals. Your team can see who a case is waiting on.
Integration and APIs
Integrations that let your ERP, CRM, online store and warehouse system exchange data without retyping, with reconciliation, logs and alerts.
More use cases
Email and shared inboxes
Sort emails in a shared inbox by request, assign them to the responsible team and send unclear cases to a named person.
Customer inquiries
Resolve complaints and order questions with the ERP, past correspondence and terms of delivery, then draft a reply for a person to decide on.
Quotes and sales orders
Read orders and quote requests from emails and PDFs, match them to your items and place them in the ERP as a draft order or draft quote for approval.
Internal knowledge assistant
Answer employee questions from approved work instructions, product documents and policies, and show the passage each answer comes from.
Recurring reports
Rules calculate metrics from your systems, AI summarizes the notes, and the draft report goes to a person for approval.
Which process should your team stop doing by hand?
Tell us briefly what it is about. We will get back to you with questions or a proposed date for a call. The first conversation carries no obligation.