Skip to main content

Reference

Know the used Veryfi OCR API encodings such as UTF-8 encoding, date and datetime formats, and HTTP error codes.

TLS only

All requests are done over TLS v1.2. TLS uses stronger encryption algorithms and has the ability to work on different ports. Both SSL 2.0 and 3.0 have been deprecated by the IETF in 2011 and 2015, respectively.

UTF-8 Encoding

Every string passed to and from the API needs to be UTF-8 encoded. For maximum compatibility, normalize to Unicode Normalization Form C (NFC) before UTF-8 encoding.

Date and Datetime Formats

All dates returned from Veryfi are in the ISO 8601 format.

For date formats without times found in places such as line_items[0].date on the Document object.

Date

Format: YYYY-MM-DD
Example: 2023-05-03

For date formats with times found in places such as created_date on the Document object.

Datetime

Format: YYYY-MM-DD HH:MM:SS
Example: 2016-06-04 22:31:20