Skip to main content

Stream Extraction PDF

GET 

/api/purchase-invoices/ocr/:purchase_extraction_id/pdf

Stream the original supplier invoice PDF through the backend (avoids CORS when fetching from S3). Returns Content-Type: application/pdf, inline disposition. 404 if the underlying S3 object is missing.

Required scope: orders:read

Grant this scope to your token under Settings → Developer → Personal Access Tokens.

Request

Responses

Successful response