Skip to main content

Scan Attachment with OCR

POST 

/api/vendor-credits/:vendorCredit/attachments/:attachment/ocr

Trigger OCR processing for an existing vendor credit attachment. Only PDF attachments can be scanned (422 for other MIME types). Asynchronous — returns a tracked_job_log_id for the tracked job log endpoints. Returns 404 if the attachment does not belong to the vendor credit, and 422 if Vendor Credit OCR is not enabled in Settings → Invoice OCR.

Required scope: accounting:write

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

Request

Responses

Created

Response Headers
    Content-Type