Skip to main content

Stream Extraction PDF

GET 

/api/vendor-credits/ocr/:extraction/pdf

Stream the original credit memo PDF through the backend (avoids CORS issues with direct storage URLs). The response is binary PDF content (Content-Type: application/pdf, Content-Disposition: inline) — not JSON. Returns 404 if the file is no longer available in storage.

Request

Responses

Successful response