OCR a base64-encoded string

Path parameters

typeResultstringRequired

The type of object to create in Payabli. Accepted values are bill and invoice.

Headers

requestTokenstringRequired

Request

Base64-encoded file content for OCR processing

ftypeenumOptional

The MIME type of the file (if content is provided)

filenamestringOptional
The name of the file to be uploaded
furlstringOptional
Optional URL link to the file
fContentstringOptional

Base64-encoded file content

Response

OCR document processing result
isSuccessboolean or null

Boolean indicating whether the operation was successful. A true value indicates success. A false value indicates failure.

responseTextstring or null

Response text for operation: ‘Success’ or ‘Declined’.

responseCodeinteger or null

Code for the response. Learn more in API Response Codes.

responseDataobject or null
Details of the OCR processing result

Errors