Upload a file for OCR

POST
/ocr_tasks/upload_from_file

Headers

Auth
AuthorizationstringRequired
Bearer authentication of the form Bearer <token>, where token is your auth token.
x-monite-versionstringRequired
x-monite-entity-idstringRequired

The ID of the entity that owns the requested resource.

Query parameters

document_typeenumRequired
Allowed values: invoicecredit_notereceipt

Request

This endpoint expects a multipart form containing a file.
filefileRequired

Response

OCR task has been accepted for execution.

idstringformat: "uuid"
created_atdatetime
updated_atdatetime
statusenum
Allowed values: processingsuccesserror
document_typeenum
Allowed values: invoicecredit_notereceipt
recognized_dataobjectOptional

Errors