OCR PDF or image
Path parameters
typeResult
The type of object to create in Payabli. Accepted values are bill
and invoice
.
Headers
requestToken
Request
The image file to OCR. Accepted formats include PDF, JPG, JPEG, PNG, GIF.
ftype
The MIME type of the file (if content is provided)
filename
The name of the file to be uploaded
furl
Optional URL link to the file
fContent
Base64-encoded file content
Response
OCR document processing result
isSuccess
Boolean indicating whether the operation was successful. A true
value indicates success. A false
value indicates failure.
responseText
Response text for operation: ‘Success’ or ‘Declined’.
responseCode
Code for the response. Learn more in API Response Codes.
responseData
Details of the OCR processing result