Skip to main content

Stream Extraction PDF

GET 

/api/landed-cost-invoices/ocr/:landed_cost_extraction_id/pdf

Stream the original landed cost invoice PDF through the backend (avoids CORS when fetching from S3). Returns Content-Type: application/pdf, Content-Disposition: inline; filename="landed-cost-invoice.pdf". Returns 404 if the underlying S3 object is missing. Cache-Control: private, max-age=300.

Request

Responses

Successful response