AI assistsWorkflow guide · not independently tested

How do I check packing slips against purchase orders with AI to catch partial shipments, backorders and wrong items before we run out on site?

Material rarely goes missing at the truck; it goes missing in the gap between what the PO ordered and what the packing slips actually delivered. A partial shipment gets signed as complete, a slip says nothing is backordered while 50 pieces never came, a supplier ships 50 extra couplings that later show up on the invoice, a box of a different depth arrives under the right line number, broken sheets get stacked with the good ones, and a line that is not on the PO at all gets received. Have ChatGPT or Claude read the packing slip photos or PDFs into one receipts table, then have Copilot in Excel, Gemini in Google Sheets or a short script roll every slip up against the PO lines: received, damaged and still-open quantity per line, partial vs complete, over-shipments, item descriptions that do not match the PO, lines not on the PO, backorder figures that do not add up, and open quantity needed in the next week. The count at the tailgate, rejecting damage and the call to the supplier stay with you.

Role
Superintendent
Discipline
Construction
Tools
ChatGPT, Claude, Microsoft Copilot, Microsoft Excel, Google Sheets, Gemini
Updated

Tool links listed below; vendor features and pricing change, so confirm with the vendor.

Short answer

Use ChatGPT or Claude, then Copilot in Excel or Gemini in Google Sheets: ChatGPT or Claude reads packing slip photos or PDFs into one receipts table; Copilot or Gemini (or a short script) rolls every slip up against the PO lines and flags partial and over-shipped lines, items that do not match the PO, lines not on the PO, damaged quantity, backorder figures that do not add up and open quantity needed in the next week. Material rarely goes missing at the truck; it goes missing in the gap between what the PO ordered and what the packing slips actually delivered. A partial shipment gets signed as complete, a slip says nothing is backordered while 50 pieces never came, a supplier ships 50 extra couplings that later show up on the invoice, a box of a different depth arrives under the right line number, broken sheets get stacked with the good ones, and a line that is not on the PO at all gets received. Have ChatGPT or Claude read the packing slip photos or PDFs into one receipts table, then have Copilot in Excel, Gemini in Google Sheets or a short script roll every slip up against the PO lines: received, damaged and still-open quantity per line, partial vs complete, over-shipments, item descriptions that do not match the PO, lines not on the PO, backorder figures that do not add up, and open quantity needed in the next week. The count at the tailgate, rejecting damage and the call to the supplier stay with you. A person still checks: every flagged line at the delivery and with the supplier before you sign, reject, chase or approve the invoice: the physical count, whether a different item is an approved substitution, and damage claims stay with you.

AI tie-in

Tool: ChatGPT or Claude, then Copilot in Excel or Gemini in Google Sheets

ChatGPT or Claude reads packing slip photos or PDFs into one receipts table; Copilot or Gemini (or a short script) rolls every slip up against the PO lines and flags partial and over-shipped lines, items that do not match the PO, lines not on the PO, damaged quantity, backorder figures that do not add up and open quantity needed in the next week.

Prompt 1

Read these packing slips [upload the photos or PDFs] and build a Receipts table with one row per slip line: Slip, Date, PO, Line, Item exactly as printed, Received, Backordered and Condition (OK, or the damage or shortage noted). Write NOT SHOWN instead of guessing. List every slip with no PO number and every handwritten note on the slips.

Prompt 2

EXAMPLE DATA ONLY (not from a real project). PO tab: PO, Line, Item, Unit, Ordered, NeedBy. Receipts tab: packing slip lines with Slip, Date, PO, Line, Item, Received, Condition (OK or a note like 12 broken) and Backordered. Today is 2026-11-18 and my look-ahead window is 7 days. Write Excel formulas (or a step-by-step Copilot plan) that total received and damaged quantity per PO line across all slips, show good and open quantity and a status (complete, partial, nothing received, over-shipped), and flag: slip descriptions that do not match the PO line, slip lines not on the PO, damaged quantity, over-shipments, a last-slip backorder figure that does not equal ordered minus received, and open quantity needed within 7 days. Use only my rows; do not assume any quantity was delivered that is not on a slip.

Human check: Every flagged line at the delivery and with the supplier before you sign, reject, chase or approve the invoice: the physical count, whether a different item is an approved substitution, and damage claims stay with you.

The problem

Check packing slips against purchase order lines with AI to find partial shipments, backorders, over-shipments and substitutions before the material is needed. This is a common, time-consuming task for a superintendent.

What this workflow does

Material rarely goes missing at the truck; it goes missing in the gap between what the PO ordered and what the packing slips actually delivered. A partial shipment gets signed as complete, a slip says nothing is backordered while 50 pieces never came, a supplier ships 50 extra couplings that later show up on the invoice, a box of a different depth arrives under the right line number, broken sheets get stacked with the good ones, and a line that is not on the PO at all gets received. Have ChatGPT or Claude read the packing slip photos or PDFs into one receipts table, then have Copilot in Excel, Gemini in Google Sheets or a short script roll every slip up against the PO lines: received, damaged and still-open quantity per line, partial vs complete, over-shipments, item descriptions that do not match the PO, lines not on the PO, backorder figures that do not add up, and open quantity needed in the next week. The count at the tailgate, rejecting damage and the call to the supplier stay with you.

How it works: AI drafts or analyzes. A person operates the tools, checks the work, and takes action.

Your checkpoint: The check only sees the PO lines and slips you give it. It cannot tell whether the count on the slip matches what was actually on the truck, whether a different description is an approved substitution or the wrong product, whether damage was noted on the carrier's paperwork in time to claim it, or whether a PO was revised after you exported it, so you count at delivery, confirm substitutions against the approved submittal, and confirm open quantities with the supplier before you chase, reject or approve the invoice.

Before you start

  • Access to the named tool; confirm license, version and cost with the vendor.
  • A small, non-confidential sample to try the workflow on first.
  • A qualified person to review the output before it is used.

Tools and access

Follow the steps

  1. Export the open purchase orders into a PO tab with one row per line: PO, line number, item description, unit, ordered quantity and the need-by date from your look-ahead or procurement log.
  2. Photograph or scan every packing slip the day it arrives. Have ChatGPT or Claude read them into a Receipts tab: slip number, date, PO, line, item exactly as printed, quantity shipped, backordered quantity, and any damage or shortage noted at receiving. It writes NOT SHOWN instead of guessing and lists any slip with no PO number.
  3. Have Copilot in Excel or Gemini in Google Sheets (or the script below) total received and damaged quantity for each PO line across all slips, and compute the good quantity and the open quantity.
  4. Flag every line that is partial, nothing received, or over-shipped; every slip line whose description does not match the PO line (a possible substitution); every slip line that is not on the PO; and every line where the latest slip's backorder figure does not equal what is still unshipped.
  5. Sort the open quantities by need-by date and flag anything open and needed within your look-ahead window, so the chase call goes out this week instead of the day the crew runs out.
  6. Hold the over-shipped and substituted lines out of invoice approval until they are resolved, and send the supplier one list of shorts, backorders and damage. The flags are arithmetic and text matching; the counts, acceptance and the supplier call stay with you.

Try a small example

EXAMPLE DATA ONLY: fictional PO lines and packing slips for practice, not from a real project or a published trial. Paste the Sample input into Copilot or Gemini with the Starter prompt, then compare your results to Expected output.

Sample input

PO tab (example, saved as po.csv)
PO,Line,Item,Unit,Ordered,NeedBy
PO-2141,1,3/4 in EMT conduit 10 ft,ea,400,2026-11-20
PO-2141,2,3/4 in EMT set-screw coupling,ea,450,2026-11-20
PO-2141,3,4 in square box 2-1/8 deep,ea,120,2026-11-20
PO-2141,4,Type 1 fire-rated putty pad,ea,60,2026-12-04
PO-2156,1,5/8 in Type X gypsum board 4x12,sht,300,2026-11-24
PO-2156,2,3-5/8 in 20 ga steel stud 10 ft,ea,500,2026-11-24
PO-2156,3,3-5/8 in 20 ga track 10 ft,ea,120,2026-11-24

Receipts tab (example, saved as receipts.csv; one row per packing slip line, read from the slips by ChatGPT or Claude)
Slip,Date,PO,Line,Item,Received,Condition,Backordered
PS-88310,2026-11-12,PO-2141,1,3/4 in EMT conduit 10 ft,250,OK,150
PS-88310,2026-11-12,PO-2141,2,3/4 in EMT set-screw coupling,450,OK,0
PS-88310,2026-11-12,PO-2141,3,4 in square box 1-1/2 deep,120,OK,0
PS-88412,2026-11-16,PO-2141,1,3/4 in EMT conduit 10 ft,100,OK,0
PS-88412,2026-11-16,PO-2141,2,3/4 in EMT set-screw coupling,50,OK,0
PS-31007,2026-11-17,PO-2156,1,5/8 in Type X gypsum board 4x12,300,12 broken,0
PS-31007,2026-11-17,PO-2156,2,3-5/8 in 20 ga steel stud 10 ft,500,OK,0
PS-31007,2026-11-17,PO-2156,5,3-5/8 in 20 ga deflection track 10 ft,40,OK,0

Your settings (example values): today is 2026-11-18; flag open quantity needed within 7 days; good quantity is received minus damaged; the latest slip's backorder figure should equal ordered minus received

Starter prompt

EXAMPLE DATA ONLY (not from a real project). PO tab: PO, Line, Item, Unit, Ordered, NeedBy. Receipts tab: packing slip lines with Slip, Date, PO, Line, Item, Received, Condition (OK or a note like 12 broken) and Backordered. Today is 2026-11-18 and my look-ahead window is 7 days. Write Excel formulas (or a step-by-step Copilot plan) that total received and damaged quantity per PO line across all slips, show good and open quantity and a status (complete, partial, nothing received, over-shipped), and flag: slip descriptions that do not match the PO line, slip lines not on the PO, damaged quantity, over-shipments, a last-slip backorder figure that does not equal ordered minus received, and open quantity needed within 7 days. Use only my rows; do not assume any quantity was delivered that is not on a slip.

Expected output

Expected results on this example (output of the script below on these rows)
PO line status (good qty = received minus damaged)
PO-2141 line 1 3/4 in EMT conduit 10 ft: ordered 400, received 350, damaged 0, open 50 ea -> partial
PO-2141 line 2 3/4 in EMT set-screw coupling: ordered 450, received 500, damaged 0, open 0 ea -> OVER-SHIPPED by 50
PO-2141 line 3 4 in square box 2-1/8 deep: ordered 120, received 120, damaged 0, open 0 ea -> complete
PO-2141 line 4 Type 1 fire-rated putty pad: ordered 60, received 0, damaged 0, open 60 ea -> nothing received
PO-2156 line 1 5/8 in Type X gypsum board 4x12: ordered 300, received 300, damaged 12, open 12 sht -> partial
PO-2156 line 2 3-5/8 in 20 ga steel stud 10 ft: ordered 500, received 500, damaged 0, open 0 ea -> complete
PO-2156 line 3 3-5/8 in 20 ga track 10 ft: ordered 120, received 0, damaged 0, open 120 ea -> nothing received

8 flags
  ! PS-88310 PO-2141 line 3: slip says "4 in square box 1-1/2 deep", PO says "4 in square box 2-1/8 deep" (substitution?)
  ! PS-31007 PO-2156 line 1: received with condition "12 broken"
  ! PS-31007 PO-2156 line 5: "3-5/8 in 20 ga deflection track 10 ft" is not on the PO (extra or wrong line)
  ! PO-2141 line 1: last slip shows 0 backordered but 50 are still unshipped
  ! PO-2141 line 1: 50 ea open and needed 2026-11-20 (2 days)
  ! PO-2141 line 2: received 500 vs ordered 450; confirm before you accept the extra on the invoice
  ! PO-2156 line 1: 12 sht open and needed 2026-11-24 (6 days)
  ! PO-2156 line 3: 120 ea open and needed 2026-11-24 (6 days)

Flags only. Counts, damage and substitutions are confirmed at the delivery and with the supplier before you sign, reject or chase.

Read it this way: the conduit line is 50 short and the second slip says nothing is backordered, so either the supplier closed the line or the slip is wrong, and the crew needs it in 2 days. The couplings were over-shipped by 50; do not approve 500 on the invoice until you decide whether to keep or return the extra. The square boxes arrived at a shallower depth than ordered; check the approved submittal before they go in the wall. Twelve sheets of board arrived broken, so 12 are still owed even though the slip shows the full 300. Deflection track came in on a line that is not on the PO while the plain track line has nothing received; that is likely a wrong item, not a partial. The putty pads are open but not needed for 16 days, so they are not flagged yet.

Suggested Excel logic (write against your own sheet layout)
- Received per PO line: =SUMIFS(Receipts[Received],Receipts[PO],[@PO],Receipts[Line],[@Line]).
- Damaged per line: a helper column on Receipts that takes the leading number from Condition when it is not OK, then SUMIFS it the same way.
- Open: =MAX(Ordered-(Received-Damaged),0); Status with IFS for over-shipped, complete, nothing received and partial.
- Not on PO: =IF(COUNTIFS(PO[PO],[@PO],PO[Line],[@Line])=0,"NOT ON PO","") on Receipts.
- Substitution: compare TRIM(LOWER(slip Item)) to the XLOOKUP of the PO Item for that PO and line.
- Backorder check: the Backordered value on the latest slip date for the line (MAXIFS on Date, then XLOOKUP) against Ordered minus Received.
- Needed soon: =AND(Open>0,NeedBy-TODAY()<=7).

Same check as a short Python script (our own code; reads the rows above saved as po.csv and receipts.csv)
import csv
from collections import defaultdict
from datetime import date
# Your inputs: PO lines (po.csv) and packing slip lines (receipts.csv). Example values only.
TODAY = date(2026, 11, 18)
LOOKAHEAD_DAYS = 7          # flag open quantity needed within this many days

po = {(r["PO"], r["Line"]): r for r in csv.DictReader(open("po.csv"))}
got = defaultdict(float); damaged = defaultdict(float); bo = {}
flags = []
norm = lambda s: " ".join(s.lower().split())
for r in csv.DictReader(open("receipts.csv")):
    key, tag = (r["PO"], r["Line"]), f'{r["Slip"]} {r["PO"]} line {r["Line"]}'
    if key not in po:
        flags.append(f'{tag}: "{r["Item"]}" is not on the PO (extra or wrong line)')
        continue
    if norm(r["Item"]) != norm(po[key]["Item"]):
        flags.append(f'{tag}: slip says "{r["Item"]}", PO says "{po[key]["Item"]}" (substitution?)')
    qty = float(r["Received"]); got[key] += qty
    cond = r["Condition"].strip()
    if cond.upper() != "OK":
        n = float(cond.split()[0]) if cond.split()[0].replace(".", "").isdigit() else qty
        damaged[key] += n
        flags.append(f'{tag}: received with condition "{cond}"')
    bo[key] = float(r["Backordered"] or 0)   # latest slip's backorder figure

print("PO line status (good qty = received minus damaged)")
for key, p in po.items():
    ordered, rec, bad = float(p["Ordered"]), got[key], damaged[key]
    good = rec - bad; open_qty = ordered - good
    need = date.fromisoformat(p["NeedBy"]); days = (need - TODAY).days
    if rec > ordered: status = f"OVER-SHIPPED by {rec - ordered:g}"
    elif open_qty <= 0: status = "complete"
    elif rec == 0: status = "nothing received"
    else: status = "partial"
    print(f'{key[0]} line {key[1]} {p["Item"]}: ordered {ordered:g}, received {rec:g}, damaged {bad:g}, open {max(open_qty,0):g} {p["Unit"]} -> {status}')
    if rec > ordered:
        flags.append(f'{key[0]} line {key[1]}: received {rec:g} vs ordered {ordered:g}; confirm before you accept the extra on the invoice')
    if key in bo and rec < ordered and abs((ordered - rec) - bo[key]) > 0.001:
        flags.append(f'{key[0]} line {key[1]}: last slip shows {bo[key]:g} backordered but {ordered - rec:g} are still unshipped')
    if open_qty > 0 and days <= LOOKAHEAD_DAYS:
        flags.append(f'{key[0]} line {key[1]}: {open_qty:g} {p["Unit"]} open and needed {p["NeedBy"]} ({days} days)')
print(f"\n{len(flags)} flags")
for f in flags: print("  ! " + f)
print("\nFlags only. Counts, damage and substitutions are confirmed at the delivery and with the supplier before you sign, reject or chase.")

Check the result

  • Every value, citation or quantity traces back to a source document.
  • Missing information is marked as missing, not filled in.

Limits and recovery

  • The check only sees the PO lines and slips you give it. It cannot tell whether the count on the slip matches what was actually on the truck, whether a different description is an approved substitution or the wrong product, whether damage was noted on the carrier's paperwork in time to claim it, or whether a PO was revised after you exported it, so you count at delivery, confirm substitutions against the approved submittal, and confirm open quantities with the supplier before you chase, reject or approve the invoice.
  • Check your organization’s data policy before sharing project files with third-party tools.

Stop or switch when: The source cannot be verified, permissions are missing, or the result contains unsupported facts.

Frequently asked questions

How does AI help with this?

ChatGPT or Claude, then Copilot in Excel or Gemini in Google Sheets: ChatGPT or Claude reads packing slip photos or PDFs into one receipts table; Copilot or Gemini (or a short script) rolls every slip up against the PO lines and flags partial and over-shipped lines, items that do not match the PO, lines not on the PO, damaged quantity, backorder figures that do not add up and open quantity needed in the next week. A person still checks: Every flagged line at the delivery and with the supplier before you sign, reject, chase or approve the invoice: the physical count, whether a different item is an approved substitution, and damage claims stay with you.

How do I how do I check packing slips against purchase orders with AI to catch partial shipments, backorders and wrong items before we run out on site??

Export the open purchase orders into a PO tab with one row per line: PO, line number, item description, unit, ordered quantity and the need-by date from your look-ahead or procurement log. Photograph or scan every packing slip the day it arrives. Have ChatGPT or Claude read them into a Receipts tab: slip number, date, PO, line, item exactly as printed, quantity shipped, backordered quantity, and any damage or shortage noted at receiving. It writes NOT SHOWN instead of guessing and lists any slip with no PO number. Have Copilot in Excel or Gemini in Google Sheets (or the script below) total received and damaged quantity for each PO line across all slips, and compute the good quantity and the open quantity. The full step list is above.

Does this use an AI agent or regular software?

It is labeled AI assists: AI drafts or analyzes. A person operates the tools, checks the work, and takes action.

What tools do I need?

ChatGPT, Claude, Microsoft Copilot, Microsoft Excel, Google Sheets, Gemini. Confirm license, version and cost with the vendor, and try it on a small non-confidential sample first.

Has this workflow been tested?

Workflow guide · not independently tested. Written from practitioner use. Labels apply to the steps described here, not every feature of a product. Links were checked when the page was written. The sample script below was run on the example rows shown.

Evidence and maintenance

Written from practitioner use. Labels apply to the steps described here, not every feature of a product. Links were checked when the page was written. The sample script below was run on the example rows shown.

How each workflow is labeled

Agent executes
An AI agent calls connected tools to carry out bounded actions. You set permissions and review the result.
AI assists
AI drafts or analyzes. A person operates the tools, checks the work, and takes action.
Conventional automation
Rules or specialist software perform the task. No AI agent is required.