The Documents Data Model simplifies the handling of document documents across various accounting platforms, providing a standardised approach to accessing and managing document-related information.
document_type_id
and document_type
properties, facilitating easy retrieval and organisation of documents.document_uploaded
property indicates whether RootFi has uploaded the document to its servers.Downloading the Document
After initially syncing the documents data document_uploaded
will be false
for all the documents. To download the document you must call the Download Documents API. This API will download the document and return a temporary download_link
.
Property | Type | Description |
---|---|---|
platform_id | string | The Platform’s ID for the document |
file_name | string | Name of the document that was used on the accounting platform |
file_type | string | The file type of the document as given by the accounting platform. Formatted as a MIME Type |
file_size | float | The file size of the document in bytes |
document_type_id | string | The platform ID of the document type with which this document is linked to |
document_type | Data Model | The name of the data model with which this document is linked. Currently only these data models are supported: BILLS,INVOICES,EXPENSES |
download_link | string | A temporary download link through which you can download the attachment. Will only be present if document_uploaded is true |
document_uploaded | boolean | A value to verify that RootFi that uploaded the document to it’s servers |
updated_at | date | The last ISO 8601 timestamp that the data was updated at |