Get the data extracted from a document
get_document_dataThe structured fields Trackberry read from one document: for a bill of lading the parties, ports, vessel and containers; for an invoice the amounts and terms; and so on. type and schema say what kind of document it is. fields is empty when nothing could be extracted. Use it for "what is the invoice total on doc_45" or "who is the consignee on the B/L". Get document ids from list_documents.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| document_id | Yes | A document id such as "doc_45", as returned by list_documents. |