Skip to main content

Upload Customer PO PDF

POST 

/api/sales-orders/ocr/upload

Upload a customer PO PDF to start the OCR extraction process. Returns the extraction ID and a tracked-job ID; the actual OCR work runs asynchronously via Azure Document Intelligence. Poll GET /sales-orders/ocr/{id} until status is 'pending_review' (or 'failed' / 'duplicate_detected').

Response 201 includes:

  • extraction_id
  • tracked_job_log_id (for the JobProgressTray)
  • status: 'processing'

Request

Responses

Successful response