All Collections
OCR API Platform
API
File formats Veryfi supports?
File formats Veryfi supports?

.jpg, .jpe, .jpeg, .png, .gif, .pdf, .txt, .htm, .html, .zip, .heic, .heif, .avif, .ofd, .webp

Updated this week

What file formats can Veryfi process?

Supported formats
.jpg, .jpe, .jpeg, .png, .gif, .pdf, .txt, .htm, .html, .zip, .heic, .heif, .avif, .webp, .ofd

Please contact support to request the access to .txt


What file type to expect after a document is processed on Veryfi side:


The general rule is that .pdf is returned unless the submitted file is a .png, .jpg, .heif image (zipped or not)

img_thumbnail_url - is always a .jpg a small preview of that document (thumbnail)

img_url - is a little more complicated:
for .jpg, .jpe, .jpeg, .png, .gif, .webp, .pdf it’ll keep the original format
for .txt, .gif, .htm, .html, .ojd - the resulting extension will be .pdf
for .heic, .heif, .avif - the resulting extension will be .jpg

pdf_url field response is always consistent, it will always have a document with .pdf extension regardless of the input format. However, this field is only available in v8 version of Veryfi APIs. Please read this article for more information on API Versions

.jpg - is the expected resulting extension for all requests submitted via Veryfi Lens.


Please note:

#1 Web uploader supports only .jpg,.jpeg, .png, .pdf, .heic, .heif

#2 Email collector supports:

  1. HTML

  2. Plain Text

  3. PDF

  4. Image Attachment


How does Veryfi work with Zip files?

.zip is a special case, it’s a package for all file types we support.

.zip can be used when users have multiple separate images or files for the same Document.

For .zip there are 2 cases:

  1. when there is one document in the .zip then refer to the above logic

  2. when there is more than one document - then Veryfi will stitch those documents and the resulting format for img_url field will be .pdf When you submit .zip, the system combines those separate images or files into one .pdf and processes it as 1 Document.

Please note, .zip file can be submitted via direct API call only. Files are ordered by the file name in alphabetical order.

Code sample for processing .zip inside your Veryfi portal API documentation: https://docs.veryfi.com/api/getting-started/document-processing

Error Handling

The file type is not enabled for your client - means that the file type that you have in a request is not enabled.

The file type is not supported - means that the file type that you have in a request is not supported by Veryfi API.


Other related articles:

Did this answer your question?