To automate delivery notes with AI, connect document reading with the purchase order, your catalog references and the actual goods receipt. The system can prepare the lines and flag differences; the entry in the ERP must reflect the quantities and the status the warehouse has checked.
The goal is for the person receiving the goods to find the delivery note and its proposed record in one place. They can confirm what is correct, correct a line and document an issue, without rebuilding the order from emails and paper.
This article deals with supplier delivery notes that accompany a delivery. The cover is an illustration of a document flow and the following example is fictional.
The delivery note says 60; the warehouse leaves 58 available
Imagine you buy 100 units of one item. A partial delivery arrives and the delivery note shows 60. When counted, there are 60 units, but two are damaged and set aside for review.
The document reading may be perfect and still end up in an incorrect record if it turns those 60 units into stock available to sell or use. The flow also needs to capture the count and the decision on the damaged items.
| Example data | Result that should remain visible |
|---|---|
| Purchase order | 100 units requested. |
| Delivery note and count | 60 units delivered and counted. |
| Material status | 58 available and 2 set aside due to damage. |
| Outstanding quantity | 40 units still not delivered. |
The two damaged units need their own resolution: accept them, return them or request a replacement, depending on what the team agrees with the supplier. They should not simply be added to the 40 pending units or disappear from the record. How they are represented will depend on the statuses and locations your software uses.
A useful review screen would show: “Partial delivery. Two damaged units pending decision. Confirm receipt and attach the issue details.” The person in charge can add a photo and keep working with full context.
What data to read and how to match it with your catalog
The header helps identify the delivery; the lines let you record it. Define the fields based on what your warehouse needs:
- Supplier and recipient: who the document belongs to and for which company or site the delivery is.
- Number, date and related order: keep the document date and the receipt date separate if they do not match.
- Reference and description of each line: the supplier code, the proposed internal item and the mapping that supports that match.
- Quantity and unit: pieces, boxes, kilos or meters, with the approved conversion when needed.
- Batch, serial number or expiry date: when they are part of your traceability and available; missing data should be requested.
A similar name for two products can be enough to suggest a match, but not to confirm it. Keep supplier-specific product mappings and distinguish variants that change size, finish or presentation.
Also keep the original values. If a line says “boxes”, the reviewer should be able to see both that unit and the conversion to the internal item. An unknown equivalence is a pending question, not an invitation to calculate by instinct.
What AI brings to delivery note reading
Text recognition helps read photos and scanned documents. Structured extraction tries to relate that text to fields and rows: which number corresponds to the quantity, which code belongs to each item or where a table continues.
There are tools to build that part. Microsoft Document Intelligence lets you train extraction models with labeled documents and extract fields and tables. Its documentation distinguishes template-based models and neural models, with different requirements depending on the format. You need to test the chosen option with your delivery notes. Microsoft custom extraction models.
For the pilot, use complete, readable files: don’t crop the edges, include all pages and avoid reflections over quantities or references. If the supplier already provides structured data you can import, check that route before turning them into images just to read them again.
The confidence score returned by a model helps prioritize reviews. Microsoft notes that not all fields include that score and recommends considering both the text reading and the field extraction. A good score also does not verify what is physically in the warehouse. How to interpret extraction confidence.
Save a data proposal, not just a document summary. Whoever reviews it needs to locate the original line and correct the specific field that will be sent to the software.
From the photo to the goods receipt record
The process can start in a shared folder, an inbox or a mobile photo. Choose a recognizable entry point so the same delivery note does not circulate through several unrelated paths.
- Save the original. Link the document to the supplier, the delivery and the destination site. If there are multiple pages, keep them together.
- Prepare the lines. Extract the fields and look for matches in the catalog and the order. Flag uncertainties before recording stock movements.
- Complete the receipt. The person receiving confirms quantities, status and location. In the example, add the two damaged units and their evidence.
- Record and check. Send the validated data to the ERP and keep the reference of the created record. Check which quantities have remained available, set aside and pending.
Agree on what each role can do. Warehouse confirms what has been received; purchasing resolves differences with the order; administration may need to review the full set later. Not everyone has to change every field.
Before connecting the final step, test what effect saving has in your ERP. It may prepare a draft or confirm movements, depending on the operation and the configuration. If it does not support drafts, place the review before running the final import.
The success message should describe a verified result: “Receipt registered with reference R-…” lets you open the record. “Document read” only confirms a previous step.
How to match order, delivery note and invoice without losing differences
Link the delivery lines to the order that originated them. A purchase can arrive in several delivery notes, and one document can include items from more than one order. Matching the supplier is not enough to decide which purchase each quantity belongs to.
When the invoice arrives, the team can review what was ordered, what the supplier documented and what was received. It is a good idea to keep open issues alongside that relationship. In our example, the status of the two damaged units remains relevant even if the quantities on the delivery note and invoice match.
The automation of invoices received by email covers their capture and preparation. Connecting both processes allows you to present the related documents to administration; difference review should follow the rules defined by the company.
Also handle resends and corrections. Two photos of the same delivery note may be the same document; a second version with different quantities may be a correction that needs review. Compare supplier, number, recipient and content, keeping the link between versions.
If the connection fails when registering, check whether the ERP created the receipt before trying again. Keep the operation reference to avoid a second stock movement from the same attempt.
What to ask for in a test before rolling it out
Prepare a sample of documents from the suppliers included in the initial scope. Include a complete delivery, a partial one, a multi-page delivery note, an unknown reference, damaged material and a resent document. Ask to see how each case is resolved within the full process.
Check that a person can open a receipt and explain where each quantity comes from. Measure the time spent reviewing, the corrected lines and the issues that remain open. The number of documents read alone does not show how much work has been resolved.
Write down which formats are accepted, who maintains the product mappings, where the documents are stored, who can see them and how a connection failure is handled. Separate in the proposal the initial work, license or usage fees, and maintenance.
If you also want to automate the stock and replenishment alerts, a well-recorded receipt will give them a more reliable base. First check that inventory distinguishes available stock from set-aside stock and stock pending delivery.
At Digency we design custom AI automations to connect documents and work tools. To review this case, bring a few anonymized delivery notes, a related order and your ERP name. With that sample we can define what to leave prepared and which decisions the team needs to confirm.






