A delivery note answers one question: did we receive what we ordered? OCR can misread a quantity, turning a short delivery into a full one on paper. This guide checks the four delivered quantities against the order.
Prerequisites
A scanned delivery note PDF, the order quantities, and an OCR tool.
Steps
1. Run OCR on the delivery note
Run OCR on the note and save the searchable copy. Expected result: the four delivered quantities become selectable text.
2. Read the delivered quantities
Read each delivered quantity from the OCR text, in order. Expected result: four quantities, one per line.
3. Compare with the quantities ordered
Compare each delivered quantity with the quantity ordered. Expected result: three lines match the order and one line is short by 2 units.
4. Record the short line
Record the short line with the missing quantity for the supplier. Expected result: a note that names the short item and the missing 2 units.
Practice check: fictional delivery note DN-8810, 2026-11-12
The table below is fictional practice material. It lists the four lines on one delivery note.
| Item | Ordered | Delivered |
|---|---|---|
| Printer paper | 10 | 10 |
| Ink cartridges | 4 | 4 |
| Desk lamps | 3 | 1 |
| Cable pack | 6 | 6 |
Expected result. three lines match the order and the desk lamps line is short: 1 delivered against 3 ordered, a shortfall of 2 units.
Limits
- OCR can read a quantity correctly while the physical delivery differs, so count the goods as well as the note when a line is short.
- UNTESTED – no OCR tool or AI tool was run; all results above are expected results. The practice file is fictional.
Sources
- Adobe Acrobat, Extract key data from scanned PDFs with OCR – Try to select a word first; OCR adds text you can search, select, copy and extract; tables can flatten, so compare totals with the original page. Checked 2026-11-29.
- OCRmyPDF Cookbook – –sidecar writes OCR text to a companion file; –output-type pdfa/pdf picks the output; –optimize shrinks the file; –mode strip removes the text layer. Checked 2026-11-29.
