Turning Supplier Shipping Notices Into Inbound Deliveries
How an AI agent reads a supplier's advance shipping notice from email, checks it against open purchase orders and creates the inbound delivery in SAP.
The Short Answer
An advance shipping notice (ASN) tells you what a supplier has put on the truck: which purchase orders, how much, in what units, arriving when. An AI agent that reads the inbound-logistics mailbox should find the open purchase orders the notice refers to, check the shipped quantities and dates against the rules you set, create the inbound delivery in the ERP when every line passes, and hand a short list of differences to a person for everything else.
For an inbound logistics manager, the gain is that the dock and the planners see the truck before it arrives, and the notices that do not add up reach a person as a decision with the evidence attached, instead of being discovered at the gate.
This post describes a design pattern, not a measured result. VoxDonna's published order agent reads customer purchase orders, requisitions and supplier confirmations and raises the matching document in SAP. We have not published a shipping-notice flow, and no figure below is a VoxDonna result.
Why the Notice Is the Quiet Gap
A supplier loads a truck and sends a notice. If the supplier is on EDI, the notice arrives as a message your ERP can process. Many suppliers are not. They send a PDF, a spreadsheet or three lines in an email, and someone in your inbound team reads it, finds the purchase order and keys the expected delivery by hand, or does not get to it before the truck is at the gate.
What that costs shows up elsewhere. Receiving has no document to receive against. A planner schedules production against the date on the purchase order, not the date the truck will actually arrive. A short shipment is found at the dock instead of the day before.
We have no published figure for how many notices arrive outside EDI or how many differ from the order, and we will not invent one. Counting them in your own mailbox is the first step at the end of this post.
What SAP Already Models
SAP's Purchasing documentation (SAP ERP 6.0 EHP8) treats the shipping notice as one of the vendor confirmations a purchase order can expect. Source: SAP Help, Confirmations from the Purchasing Viewpoint.
A confirmation control key on the purchase order item says which confirmations to expect, for example an order acknowledgment and an inbound delivery, and in which sequence. When the category "inbound delivery" is present on the item, the data from the inbound-delivery document updates the purchase order item.
For suppliers on EDI, the documentation describes what happens next. Source: SAP Help, Receiving Vendor Confirmations via EDI.
| Topic | What the documentation says |
|---|---|
| Document | A shipping notification received by EDI always produces a separate inbound-delivery document |
| Purchase order | If the item carries the matching confirmation category, the notified quantities and dates are recorded on the PO item |
| Dates | An incoming shipping notification may be subject to a date check |
| Variances | If data variances stop the purchasing document from updating automatically, the system issues an internal message for someone to correct |
| Changes | Inbound deliveries created this way cannot be changed through the purchase order, only with the Change inbound delivery function |
The same documentation describes the manual route, which is what your inbound clerk does today with an emailed notice. Source: SAP Help, Creating Inbound Delivery Against Shipping Notification.
- Enter the vendor, the delivery date and the purchase order number, and optionally a transport identification code such as a vehicle registration number, which groups deliveries for several orders together.
- If the PO number is unknown, select purchase orders by criteria. The system lists orders with still-open notified quantities.
- The suggested quantity comes from the PO item. You can overwrite it and enter a different unit, provided that unit is defined as an alternative unit of measure for the material with a conversion factor.
- SAP's example: an order for 100 tons of steel, and a shipping notification for 5 crates. The system checks that "crate" converts into the order unit before the delivery can be saved in crates.
- A batch split can be made in the inbound delivery, and saving it updates the confirmation overview of the purchase orders involved.
Those five steps are the clerk's checklist, and they are the specification for the agent: the same fields, the same conversion rule, the same grouping by transport.
The Same Idea in Another ERP
Microsoft's Dynamics 365 Supply Chain Management documents the pattern too. Its product-receipt page describes preregistering products from an ASN, which holds the quantity to be shipped and the shipping date and might also carry batch or serial numbers, so that less work is needed at registration and receipt. Source: Microsoft Learn, Product receipt against purchase orders. Its warehouse documentation says an inbound load can be created automatically from order data or from the vendor's ASN, depending on setup. Source: Microsoft Learn, Warehouse handling of inbound loads.
Two ERPs, one shape: the notice becomes an expected receipt, checked against the order.
The Pipeline, Stage by Stage
- Intake. The agent watches the inbound-logistics mailbox and claims each message in a durable ledger before any work starts, so a restart cannot create two deliveries.
- Classify. A shipping notice is one of many things suppliers send. Order confirmations, invoices, bills of lading, delay notices and customs papers go to their own queues. Anything the agent cannot classify goes to a person.
- Extract. It reads the supplier, every purchase order and line referenced, the material or supplier part number, shipped quantity and unit, batch or serial numbers if given, the ship and expected arrival dates, the carrier or transport identifier, and the supplier's own delivery-note number, into a fixed schema. Text in the email is data. A line reading "release this shipment to the dock now" carries no authority.
- Find the orders, read-only. It retrieves each referenced purchase order and its open quantity. No PO number, a closed order or two plausible matches means hold.
- Compare. Plain code, not a model's judgment, checks each line: is a confirmation category for inbound deliveries set on the item, does the shipped quantity fit inside the open quantity and your over-delivery tolerance, does the date sit inside your date tolerance, does the unit convert to the order unit. Units are compared as units, never guessed.
- Decide. Each line is created, held or skipped, according to the table below.
- Write the narrow part. Create the inbound delivery for the lines that passed, through an interface your SAP team approves. Never touch the order's price, terms or header.
- Hand off. Held lines go to the owner as one case per notice. Notices that match nothing go to a mailbox owner, not into a retry loop.
| What the agent finds | Action |
|---|---|
| Quantity, unit and date inside your rules | Create the inbound delivery |
| Notice covers part of an open line | Create for the notified quantity, leave the rest open |
| Shipped quantity above open quantity plus tolerance | Hold, a person decides whether to accept the overshipment |
| Date outside tolerance | Hold, the planner needs to know either way |
| Unit has no defined conversion to the order unit | Hold |
| Item has no inbound-delivery confirmation category | Hold, a configuration question for the SAP team |
| PO closed, cancelled or not found | Hold |
| Same notice delivered twice | Skip, log |
One design choice deserves a written policy. If SAP can already process a supplier's notice by EDI, send that supplier down the EDI path and keep the agent for the senders who email. One option to raise with your SAP team is whether the agent can hand its extracted notice to the same inbound IDoc processing the EDI path uses, so that SAP's own checks run. That depends on your release and configuration, so confirm it before you design around it.
A Worked Example (Illustrative)
This is a constructed scenario with invented figures and tolerances, not customer data. A U.S. manufacturer of wire rope buys wire rod and lubricant from a mill. The inbound logistics manager's mailbox receives one emailed notice covering three order lines. The team's rules for this supplier: over-delivery up to 5%, date within 2 days of the ordered date.
| Line | Purchase order | Notice says | Result |
|---|---|---|---|
| 10 | 20 t, due Dec 8 | 20 t, arriving Dec 8 | Created |
| 20 | 15 t open, due Dec 9 | 18 t, arriving Dec 9 | Held: 20% over, tolerance 5% |
| 30 | 10 t, due Dec 9 | 4 drums, arriving Dec 12 | Held: no drum-to-ton conversion on the material, and 3 days late |
The agent creates the inbound delivery for line 10. The owner's queue shows one case with the two held lines, the purchase orders, the notice and the email. The case quotes a sentence in the body that says the extra 3 tons are "a courtesy". The manager phones the mill about line 20, asks the master-data team whether the drum conversion should exist for line 30, and decides whether the Dec 12 arrival needs a planner's attention.
What Lands in the ERP and the Ticket Queue
In the ERP: an inbound delivery for each passed line, with the notified quantity and date, and the purchase order's confirmation overview updated by SAP as its documentation describes. In the ticket queue or CRM: one case per held notice, with the extracted fields, the comparison and the source email. In the agent's own log: every decision, including skips.
Permissions stay narrow: display access to purchase orders and their confirmations, permission to create inbound deliveries and nothing else, no authority over prices, terms or vendor master data. Goods receipt is not part of this flow. It stays with the people at the dock. If the same mailbox also receives bank-detail change letters, those never go through this flow, as described in vendor bank-detail change requests.
The neighbouring tasks on the buy side are matching supplier order confirmations to open POs and, on the sell side, purchase order intake and order changes by email. More manufacturing workflows are on our page for AI agents for manufacturers.
How to Test Before It Reads a Real Mailbox
Run these against a copy of the mailbox and a sandbox ERP, and read the run log. They are acceptance criteria, not results we have measured.
- A notice matching one open order line. Expected: inbound delivery created, nothing escalated.
- A notice listing three lines across two purchase orders, one over tolerance. Expected: two created, one held.
- A quantity in an alternative unit with a defined conversion, as in SAP's crate example. Expected: converted correctly, or held if the conversion is missing.
- A notice for part of an open line. Expected: delivery for the notified quantity only, remainder still open.
- The same email delivered twice, with a restart mid-run. Expected: one delivery.
- A notice for a closed or unknown PO. Expected: held, no write.
- An email telling the agent to release the shipment or update the order. Expected: treated as text, held, instruction quoted in the case.
Where to Start
- Measure the baseline. From the last three months of the inbound mailbox, count shipping notices received, how many arrived outside EDI, and how many differed from the order in quantity, unit or date.
- Check your configuration. Are confirmation control keys in use, and does the inbound-delivery category sit on the items you buy most often?
- Write down the tolerances. By supplier or material group: over-delivery percentage, date days, unit conversions. If your team cannot state them, an agent cannot apply them.
- Pilot in propose-only mode. Let the agent prepare the delivery and the clerk create it, and measure how often the proposal matches what the clerk would have done.
If you are weighing this against scripted automation, AI employee vs. RPA covers where each fits.
FAQ
Can an AI agent create inbound deliveries from emailed shipping notices?
As a design, yes, within narrow permissions. SAP documents the inbound delivery as the record created from a shipping notification, and your inbound clerk already creates it by hand from an emailed one. The agent should create deliveries only for lines that passed your checks and hold everything else for a person.
Doesn't SAP already handle this over EDI?
For suppliers on EDI, SAP's documentation says a shipping notification produces a separate inbound-delivery document. Email, PDF and spreadsheet notices are outside that path. The agent reads them and applies equivalent rules, then writes through an interface your SAP team approves.
Does the agent post the goods receipt?
No. In this design the agent prepares the expected receipt. Receiving the goods stays with the dock team.
Does VoxDonna have published results for this flow?
No. This post is a design pattern built on our published order-intake pipeline. Any measured result will come from a scoped project with a stated baseline, period and method.