6 min read · AI for business · AI by department

The purchasing department receives purchase orders from many companies every day. Some are PDFs from accounting software, and some are phone photos. Staff type the supplier name, the line items and the total into the system one document at a time. So people ask: can AI read them instead? The answer is yes for many parts, but first you need to know that "reading" has several steps.
Three steps that often get lumped together as OCR
- OCR (turning characters in an image or scanned file into text): you get raw text, but it does not yet know which piece is the amount of money
- Data extraction: finding which text is the supplier, the date, the line items and the total, and arranging them into fields
- Saving to the system: using the extracted values to create a record in the accounting or warehouse system
The Amazon Textract documentation separates text detection from form and table analysis. This reflects that the two steps are different kinds of work, can go wrong in different places, and so need to be checked in different ways. For factories that read lot codes on packaging, there is already a separate article: AI OCR for reading lot codes and expiry dates.
Step 1: Identify the document and the fields you really need
Do not start from "read everything". Choose one document type, such as a purchase order, and list the fields the system needs: supplier name, document number, date, line items, quantity, unit and total. Fields you do not use do not need to be extracted. The fewer there are, the easier they are to check.
Step 2: Survey image quality, tables and handwriting
Collect 30–50 real documents and sort them into groups.
- Digital files from a system, scanned images and phone photos differ a lot in clarity
- Tables that span several pages, have merged cells, or have rows that break across pages
- Handwriting and stamps that cover numbers
- Mixed languages, or different date formats and units
Step 3: Use confidence to decide what a person must check
Many document-reading tools return a confidence value (the system's estimate of how sure it is about what it read). The Microsoft Azure Document Intelligence documentation explains that this value can decide whether to accept a result automatically or send it to a person for review. It recommends adding a human review step in work where accuracy matters. It also states that some fields may not have this value, and that the score for reading characters and the score for extracting a field are two different values, so you need to look at both.
But confidence is not truth. A high value can still be wrong. Use it to help queue work for people, not to decide in place of people.
- Amounts, product codes and units: always have a person check them, because errors directly affect money and stock
- Values with low confidence, or blank fields that should have a value: send them to the review queue
- Total does not equal the sum of the line items: set a calculation rule to check automatically, then raise an alert
- A new document layout never seen before: send the whole document to a person
Step 4: Re-check before saving to the system, and keep the source of each value
For every value saved to the system, you should be able to trace back which file, which page and which position it came from, and who approved it. When an error is found later, you will know whether it was in the reading, the field extraction or the reviewer, and you can fix the right place.
Hypothetical example: one purchase order has 3 line items. The system extracts: Supplier: Company A; line amounts 1,200 / 800 / 500; the total printed on the document is 2,500. The calculated sum 1,200 + 800 + 500 = 2,500 matches, so it passes the check rule. But the unit field of line 2 was read as "กล." (a misread) with low confidence, so the system sends this document to the queue. A person opens the original image and sees it is "กก." (kg), and corrects it before saving to the system. All numbers in this example are made up.
Checklist before you start
- Choose a single document type and the list of fields the system needs
- Collect real samples with sensitive data masked, including both clear files and poor photos
- Make an answer key by hand for a test set, to measure how many fields are read correctly
- Set rules for which fields a person always checks, and the confidence threshold that sends a document to the queue
- Set automatic check rules, such as the total against the sum of the line items
- Keep the original file and the edit history of each value
Preparing documents and checking answers are covered further in the article on preparing company documents for AI. Having a person approve before the system continues is covered in the article on AI agents and human approval steps.
Benefits and limits
The benefits are less repeated typing and the ability to trace back. The limits: OCR can misread amounts, codes and units, especially with blurry images, complex tables or handwriting. So do not claim an accuracy percentage until you have a test set made from the company's own documents. If the documents vary a lot in format and the volume is small, typing by hand may be worth more than building a system.
Bring your samples to try with BT San
Prepare 30–50 sample documents with confidential data masked, along with the list of fields you need. Then talk to the BT San team to see which parts suit AI help and which parts need a person to check.




