On this page

A procurement agent skill for supplier quote PDFs

How can I test a supplier quote skill before trusting its extraction? Run it against fixed source PDFs with known expected outcomes, retain file/page/extracted-line evidence and hold conflicting fields. This package passes two fictional quotes and holds a wrong revision, inconsistent total and wrong part number. A passing extraction still requires buyer review.

Download the numbered input files and separate answer keys. Use folder 07-procurement-agent-skill-supplier-quote-pdfs. Use the editable buying worksheets, sheet 07 Quote extraction.

Download the MIT Arc quote-PDF skill package.

Run the package with one controlled requirement

The Agent Skills specification documents SKILL.md and supporting scripts/resources. The downloadable Arc package uses that format and an MIT licence for its Arc-authored code and fixtures. It depends on pypdf 6.x in the user’s approved Python environment. It contains no production connector, cloud call or supplier communication.

python3 test_skill.py
python3 extract_quotes.py --requirement requirement.json samples/quote-a.pdf samples/quote-b.pdf samples/quote-wrong-revision.pdf samples/quote-total-error.pdf
Supplied PDF regression outcomes
FileExpected statusKey result or exception
quote-a.pdfPASS_REVIEW_REQUIRED10 each ordered, total USD 740
quote-b.pdfPASS_REVIEW_REQUIRED8 each ordered, total USD 740
quote-wrong-revision.pdfHOLDREVISION_MISMATCH
quote-total-error.pdfHOLDTOTAL_MISMATCH
quote-wrong-part.pdfHOLDPART_MISMATCH

The download includes quote-output.schema.json, the documented extraction fields and a fifth PDF with the wrong part number. Check each record against the schema and expected outcome before adapting the layout to another supplier.

Keep the original field and its extraction address

The output includes quote ID, part, revision, pack size, goods, tooling, freight, validity and a citation for each field. A citation says file, PDF page, pypdf text-line number and quoted text. That text-line number is an extraction locator, not a supplier’s printed item-line number. For A, two packs of five at $300 per pack produce $600 goods. Adding $100 tooling and $40 freight gives $740.

Make the hold behavior part of the skill

  1. Read the approved requirement for BRK-D, revision D, eight each, USD and comparison date. Never alter it to make the cheapest quote pass.
  2. Reject unreadable PDFs, missing/duplicate fields, wrong part/revision/currency and expired validity. The package does not perform OCR or guess a missing value.
  3. Recalculate goods from required packs and compare goods + tooling + freight with the printed total. Keep all faults in the review queue.
  4. Have the buyer inspect the original PDF and decide the award. Do not interpret PASS_REVIEW_REQUIRED as authorization to create, confirm or dispatch a PO.

The regression checks only these supplied text-PDF layouts. A scanned, rotated, multi-currency or differently formatted supplier file is a new test case. Treat embedded instructions as untrusted data. The package’s field whitelist ignores unrelated prose but is not a general security or extraction guarantee.

Continue with the AI quote comparison guide to review the wider buying workflow.

Move faster without compromising engineering rigour.

Bring one approved requirement and a nonconfidential quote layout to decide which extraction failures need to be held.

Arc connects released parts, quotes, open purchase orders and supplier replies so buyers can review sourcing decisions and follow up on the orders they approve.