OCR PDF or image
Use this endpoint to upload an image file for OCR processing. The accepted file formats include PDF, JPG, JPEG, PNG, and GIF. Specify the desired type of result (either ‘bill’ or ‘invoice’) in the path parameter typeResult. The response will contain the OCR processing results, including extracted data such as bill number, vendor information, bill items, and more.
Authentication
Path parameters
The type of object to create in Payabli. Accepted values are bill and invoice.
Request
The MIME type of the file (if content is provided)
Base64-encoded file content
Response
Boolean indicating whether the operation was successful. A true value indicates success. A false value indicates failure.
Response text for operation: ‘Success’ or ‘Declined’.
Code for the response. Learn more in API Response Codes.