"origin"
is the annotation source (use "external"
for uploading API annotations)"fields"
is an array of field annotation data to be submitted for each document "id"
is the field ID which the annotation is being submitted for"type"
is the annotation data type used for external annotations submitted via API (use "simple"
for uploading API annotations)"data"
attribute contains the annotation value for each field"value"
attribute expects the exact label value in a string format for each fieldExternal annotations are currently supported only for thetext
type fields (such asissuer.name
,invoice.documentDate
,invoice.issuerName
,invoice.total
, etc.). Linetiems (i.e. tables), Classification (such asinvoice.currencyCode
, etc) and Entity Matching fields are not currently supported for external annotations submitted via API.
"20 Jan 2020"
is equivalent to "20/01/2020"
invoice.total, invoice.amountDue
, etc) are nomalised into floating point numbers with two decimals.
Example: "100"
is equivalent to "100.00"