# Vendor Quote Parsing & PO Generation

When a vendor quote or order acknowledgment lands in the inbox, an agent identifies the document type, extracts every line item, and matches each one against the ERP item catalog — producing a draft purchase order in the ERP's format for a buyer to review. Built and validated as a demo; the ERP write-back is the next step.

- **Industry:** Industrials
- **Business function:** Procurement & Supply Chain
- **Stage:** Deliver (Operations, project execution, and service delivery)
- **Status:** In progress
- **Added to catalog:** 2026-11-11
- **Web page:** https://www.asterlabs.ai/catalog/vendor-po-automation

## Trigger

Vendor quote or order acknowledgment received

## Inputs

- Vendor quote / order-ack PDF
- ERP inventory catalog (CSV)
- Purchase order format

## Outputs

- Document-type identification + extracted line items
- Draft PO preview (ON HOLD, pending review)
- New-item setup list for items not yet in the catalog

## Under the hood

- Document-type identification runs first (quote / order acknowledgment / invoice) via vision, then it extracts the vendor header and every line item — item ID, description, quantity, UOM, unit and extended price
- Item mapping is a catalog match, not free text: it filters the ERP inventory-catalog CSV by each vendor item ID in Python, flagging in-catalog items versus new items that require inventory setup
- Output is a draft PO preview in the ERP's format, marked 'ON HOLD (pending review),' with unmatched new items split into a separate setup list rather than pushed
- ERP write-back is not built yet — the agent produces review previews only, with the create-PO step scoped as a future production action

## Reference customers

- **General contracting company**: Contracting — vendor document → draft-PO pipeline over the ERP inventory catalog (validated demo; ERP write-back pending)
- **Conveyor manufacturer and systems integrator**: Conveyor manufacturer — accepted supplier quotes become purchase-order drafts laid out like its own PO form, and engineering parts lists split into per-vendor RFQs or web order lists, ahead of its purchaser leaving. Impact: Prototype demoed on the general manager's own examples in November 2026: a 16-line, 5-vendor parts list (it caught a part listed twice at different sizes) and a $4,488 supplier quote turned into a PO draft with the open choices flagged.
