Run OCR (Sync)
DeprecatedRun OCR on an Base64 encoded image or PDF. This endpoint will block until the OCR is complete.
Headers
Authorization
Bearer authentication of the form Bearer <token>, where token is your auth token.
Request
This endpoint expects an object.
mimeType
MIME type of the image. Supported types are image/png, image/jpeg, and application/pdf.
image
Base64 encoded image or PDF. PNG, JPG, WEBP, and PDF are supported. 10MB max.
vendorNetwork
Limit OCR vendor search to a specific network
Allowed values:
entityId
When using the Entity vendor network, specify the entity to use. EntityId on an auth token will take precedence over this parameter.
splitDocument
If true, attempt to split the document into subdocuments before processing. Default is false. If a document is split into subdocuments, the linked OCR jobs will be accessible via the linkedJobIds field on each OCR job response.
Response
This endpoint returns an object.
jobId
invoice
vendor
check
bankAccount
payer