Get document metadata
path Parameters
document_id
string · uuid · requiredAn uuid identifier
Example: 2555dc04-dc49-4d76-b14a-e4fd7b8a8b07
query Parameters
include
string[]Comma separated list of additional data which can be returned for each document.
Enum values:queue-metadataworkspace-metadatalocked-bylock-statusapproval-datadocument-urldocument-duplicitieslast-status-changeexclude
string[]Comma separated list of additional data which can be excluded for each document.
Enum values:tax-detailsline-itemsformatting
string · enumEnum values:regularsimplified
Headers
share-key
stringShare key for accessing resource
Responses
data
object · required
Get document annotations
path Parameters
document_id
string · uuid · requiredAn uuid identifier
Example: 2555dc04-dc49-4d76-b14a-e4fd7b8a8b07
Headers
share-key
stringShare key for accessing resource
Responses
data
object · requiredAn object of annotations
Example: {"invoice_id":[{"value":"123"}],"total_due":[{"value":"123","numeric_value":123}],"due_date":[{"value":"01.01.2021","iso_date_value":"2021-01-01"}],"bank_account":[{"value":"123"},{"value":"456"}],"line_items":[{"activity":[{"value":"item1"}],"total_incl_tax":[{"value":"123","numeric_value":123}]},{"activity":[{"value":"item2"}],"total_incl_tax":[{"value":"456","numeric_value":456}]}]}
Get document annotation confidence
Get document annotation values
path Parameters
document_id
string · uuid · requiredAn uuid identifier
Example: 2555dc04-dc49-4d76-b14a-e4fd7b8a8b07
Headers
share-key
stringShare key for accessing resource
Responses
data
object · requiredA list of annotations values
Example: {"invoice_id":"123","total_due":123,"due_date":"2021-01-01","bank_account":["123","456"],"line_items":[{"activity":"item1","total_incl_tax":123},{"activity":"item2","total_incl_tax":456}]}
Get document audit log
path Parameters
document_id
string · uuid · requiredAn uuid identifier
Example: 2555dc04-dc49-4d76-b14a-e4fd7b8a8b07
query Parameters
page
object · style: deepObject · explode: true
Headers
share-key
stringShare key for accessing resource
Responses
data
object[] · requiredarray of response data
pagination
requiredpagination
Get document audit logs as CSV file
Get document audit log with UI ready humanized messages
path Parameters
document_id
string · uuid · requiredAn uuid identifier
Example: 2555dc04-dc49-4d76-b14a-e4fd7b8a8b07
query Parameters
page
object · style: deepObject · explode: true
Headers
share-key
stringShare key for accessing resource
Responses
data
object[] · requiredarray of response data
pagination
requiredpagination
document
object · required
Update single basic annotation
path Parameters
document_id
string · uuid · requiredAn uuid identifier
Example: 2555dc04-dc49-4d76-b14a-e4fd7b8a8b07
Request Body
field
string · requiredAnnotation field to be updated
value
requiredAnnotation value object to be set
index
numberZero based index of the annotation value of a field. Mostly used for multivalue fields.
Responses
data
object · required
Exports document to a specified format
path Parameters
document_id
string · uuid · requiredAn uuid identifier
Example: 2555dc04-dc49-4d76-b14a-e4fd7b8a8b07
query Parameters
type
string · enum · requiredFile export type
Enum values:csvpdfpdf_with_isdocpngisdocxmlxlsxexport_columns_options
string · enumEnum values:visibleallexport_file_name_options
string[]Enum values:sender_namesender_register_idinvoice_idinternal_erp_idoriginal_filenameexport_line_items
string · enumEnum values:truefalse
Headers
share-key
stringShare key for accessing resource
Responses
Get initial annotations of document
path Parameters
document_id
string · uuid · requiredAn uuid identifier
Example: 2555dc04-dc49-4d76-b14a-e4fd7b8a8b07
Headers
share-key
stringShare key for accessing resource
Responses
data
object · requiredAn object of annotations
Example: {"invoice_id":[{"value":"123"}],"total_due":[{"value":"123","numeric_value":123}],"due_date":[{"value":"01.01.2021","iso_date_value":"2021-01-01"}],"bank_account":[{"value":"123"},{"value":"456"}],"line_items":[{"activity":[{"value":"item1"}],"total_incl_tax":[{"value":"123","numeric_value":123}]},{"activity":[{"value":"item2"}],"total_incl_tax":[{"value":"456","numeric_value":456}]}]}
Get initial annotation values of document
path Parameters
document_id
string · uuid · requiredAn uuid identifier
Example: 2555dc04-dc49-4d76-b14a-e4fd7b8a8b07
Headers
share-key
stringShare key for accessing resource
Responses
data
object · requiredA list of annotations values
Example: {"invoice_id":"123","total_due":123,"due_date":"2021-01-01","bank_account":["123","456"],"line_items":[{"activity":"item1","total_incl_tax":123},{"activity":"item2","total_incl_tax":456}]}
Change document internal ERP ID
Enable or disable share status of document
Change document status
path Parameters
document_id
string · uuid · requiredAn uuid identifier
Example: 2555dc04-dc49-4d76-b14a-e4fd7b8a8b07
Request Body
status
requiredNew document status
internal_erp_id
string | nullReturned internal document id from ERP. Applied only if new status is exported
export_error
string | nullError message from ERP. Applied only if new status is export-errored
export_error_description
string | nullError description from ERP. Applied only if new status is export-errored
Responses
Update single table annotation
path Parameters
document_id
string · uuid · requiredAn uuid identifier
Example: 2555dc04-dc49-4d76-b14a-e4fd7b8a8b07
Request Body
field
string · requiredAnnotation field to be updated
table_key
requiredAnnotation table to be updated
row_index
number · requiredAnnotation table row index (0-based) to be updated
value
requiredAnnotation value object to be set
index
numberZero based index of the annotation value of a field. Mostly used for multivalue fields.
Responses
data
object · required