POST
Extract fields from a document

Authorizations

Authorization
string
header
required

API token from the Voho console. Begins with voho_sk_live_.

Body

Send multipart/form-data with the file attached, or JSON with the file base64 encoded.

file
file
required

The file itself. Accepted types: application/pdf, image/png, image/jpeg, image/webp.

Response

What the document says.

document_type
string
Example:

"Supplier invoice"

summary
string
fields
object[]
warnings
string[]

Anything that would make a person distrust the result: a cut-off page, a handwritten correction, two conflicting totals.

cost_cents
integer

What this call cost, in cents. Also returned as the X-Voho-Cost-Cents header.