Skip to navigation

Get document field provenance

For every extracted field of the document’s type, the OCR words that hold its value. See Field provenance to match the words with GET /documents/{id}/ocr and to correct them with PUT /documents/{id}.

Authentication

x-api-keystring
API Key authentication via header

Path parameters

idstringRequired
id of the document to get

Response

Provenance of every field, by field path
resultmap from strings to objectsOptional

Field path (supplier.name, lines.0.quantity: dot-separated, list items as plain numbers, no data. prefix nor .value suffix) → its provenance. Only the fields of the document’s type, and a field may be absent: treat it as an empty geometry. An address located as a whole is given on its raw field.

Errors

400
Bad Request Error
403
Forbidden Error
404
Not Found Error
429
Too Many Requests Error
500
Internal Server Error