Procurement
Extract Document
Trigger extraction on an uploaded document.
This endpoint:
- Downloads the PDF from Supabase Storage
- Runs the appropriate extractor (PO, OC, RD, or Invoice)
- Classifies parts to extract properties (pipe_size, material, schedule, etc.)
- Saves extracted items to procurement_extracted_items
- For POs: Creates new material_tracking entries with properties
- For OCs/RDs: Matches to existing materials and updates status
- For INVOICE: extracts line items for the same manual review flow
post/api/procurement/extract
Request
- Base URL: https://api.jeevyfabrication.com (the document declares no server; this is the origin it was published from)
- URL: https://api.jeevyfabrication.com/api/procurement/extract
- Auth: none declared
Request body
Response
Successful Response
Changes
No recorded changes to this operation across all 1 revision of this API.