DocumentView
Comprehensive view of a document with all its metadata and references
Unique identifier of the document
doc-123e4567-e89b-12d3-a456-426614174000
Name of the document
Invoice-2023.pdf
fileResource objectrequired
File resource information including identifier, name, import date and content type
Unique identifier of the file resource
file-123e4567-e89b-12d3-a456-426614174000
Name of the file
Invoice-2023.pdf
Date when the file was imported
2023-01-15T14:30:00
Content type (MIME type) of the file
application/pdf
documentClass object
Document classification information if the document has been classified
Code of the document class
INVOICE
documentClassNames object[]required
Localized names of the document class in different languages
The name in the specified language
Root folder
Language code (ISO 639-1)
en-US
Unique identifier of the document class
class-123e4567-e89b-12d3-a456-426614174000
predictedDocumentClass object
Predicted document classification information from AI processing
Code of the predicted document class
INVOICE
Confidence level of the prediction (0-1)
0.85
Unique identifier of the predicted document class
class-123e4567-e89b-12d3-a456-426614174000
predictedDocumentClassNames object[]required
Localized names of the predicted document class in different languages
The name in the specified language
Root folder
Language code (ISO 639-1)
en-US
predictedFolder object
Predicted folder information from AI processing
Unique identifier of the predicted folder
folder-123e4567-e89b-12d3-a456-426614174000
names object[]required
Localized names of the predicted folder in different languages
The name in the specified language
Root folder
Language code (ISO 639-1)
en-US
Current classification status of the document
MANUAL
manuallyValidatedFolder object
Folder that was manually validated by a user
Unique identifier of the folder
folder-123e4567-e89b-12d3-a456-426614174000
names object[]required
Localized names of the folder in different languages
The name in the specified language
Root folder
Language code (ISO 639-1)
en-US
Indicates if the document was filed by AI
false
documentationTags object[]required
Tags associated with the document in its documentation
Tag ID
1
Documentation identifier associated with the tag
doc-789
Name of the tag
Important
Optional color for the tag (HEX code)
#FF5733
properties object
Custom properties associated with the document
Custom properties associated with the document
suggestedMetadata object
Metadata suggested by AI or other automated processes
metadata object
Validated metadata associated with the document
documentReferences object[]required
References to other entities like assets or folders
Type of the referenced entity
ASSET
Identifier of the referenced entity
asset-123e4567-e89b-12d3-a456-426614174000
Identifier of the documentation
doc-123e4567-e89b-12d3-a456-426614174000
folder object
Folder information if the document is filed in a folder
Unique identifier of the folder
folder-123e4567-e89b-12d3-a456-426614174000
names object[]required
Localized names of the folder in different languages
The name in the specified language
Root folder
Language code (ISO 639-1)
en-US
documentLocationView object
Location information of the document in the documentation structure
Identifier of the documentation
doc-123e4567-e89b-12d3-a456-426614174000
path object[]required
Path to the document in the folder structure
Identifier of the path node
folder-123e4567-e89b-12d3-a456-426614174000
names object
Localized names of the path node mapped by language code
templateFolder object
Identifier of the template folder
Unique identifier of the template folder
template-folder-123e4567-e89b-12d3-a456-426614174000
names object[]
Localized names of the template folder in different languages
The name in the specified language
Root folder
Language code (ISO 639-1)
en-US
URL to access the document content
https://example.com/api/documents/doc-123/content
Date and time when the document was created
2023-01-15T14:30:00
Date and time when the document was last updated
2023-02-20T09:45:00
Hash value of the document content for integrity verification
a1b2c3d4e5f6...
linkedAssets object[]required
Linked assets associated with this document
Unique identifier of the linked asset
asset-123e4567-e89b-12d3-a456-426614174000
Display name of the linked asset
RU-001 - Apartment 42B
tenants object[]required
Tenants associated with this document
Unique identifier of the tenant
tenant-123
Name of the tenant
John Doe
docsUsedToClassify object[]required
Documents used for classification
Unique identifier of the file resource
4ga1328c-f97b-59f3-91c6-cg623beg4233
Unique identifier of the document
3fa1968c-f86a-48e2-80b5-bf512adf3122
Similarity score between this document and the classified document
0.99997663
Name of the document used for classification
dpe.pdf
Indicates if the document is a duplicate of another document
false
{
"identifier": "doc-123e4567-e89b-12d3-a456-426614174000",
"name": "Invoice-2023.pdf",
"fileResource": {
"identifier": "file-123e4567-e89b-12d3-a456-426614174000",
"name": "Invoice-2023.pdf",
"importDate": "2023-01-15T14:30:00",
"contentType": "application/pdf"
},
"documentClass": {
"documentClassCode": "INVOICE",
"documentClassNames": [
{
"name": "Root folder",
"locale": "en-US"
}
],
"documentClassIdentifier": "class-123e4567-e89b-12d3-a456-426614174000"
},
"predictedDocumentClass": {
"predictedDocumentClassCode": "INVOICE",
"confidenceIndex": 0.85,
"predictedDocumentClassIdentifier": "class-123e4567-e89b-12d3-a456-426614174000",
"predictedDocumentClassNames": [
{
"name": "Root folder",
"locale": "en-US"
}
]
},
"predictedFolder": {
"identifier": "folder-123e4567-e89b-12d3-a456-426614174000",
"names": [
{
"name": "Root folder",
"locale": "en-US"
}
]
},
"classificationStatus": "MANUAL",
"manuallyValidatedFolder": {
"identifier": "folder-123e4567-e89b-12d3-a456-426614174000",
"names": [
{
"name": "Root folder",
"locale": "en-US"
}
]
},
"isFiledByAI": false,
"documentationTags": [
{
"id": 1,
"documentationIdentifier": "doc-789",
"name": "Important",
"color": "#FF5733"
}
],
"properties": {},
"suggestedMetadata": {},
"metadata": {},
"documentReferences": [
{
"referencedEntityType": "ASSET",
"entityIdentifier": "asset-123e4567-e89b-12d3-a456-426614174000",
"documentationIdentifier": "doc-123e4567-e89b-12d3-a456-426614174000",
"folder": {
"identifier": "folder-123e4567-e89b-12d3-a456-426614174000",
"names": [
{
"name": "Root folder",
"locale": "en-US"
}
]
},
"documentLocationView": {
"documentationIdentifier": "doc-123e4567-e89b-12d3-a456-426614174000",
"path": [
{
"identifier": "folder-123e4567-e89b-12d3-a456-426614174000",
"names": {
"en": "Invoices",
"fr": "Factures"
}
}
]
},
"templateFolder": "template-folder-123e4567-e89b-12d3-a456-426614174000"
}
],
"urlAccess": "https://example.com/api/documents/doc-123/content",
"creationDate": "2023-01-15T14:30:00",
"updateDate": "2023-02-20T09:45:00",
"hash": "a1b2c3d4e5f6...",
"linkedAssets": [
{
"uid": "asset-123e4567-e89b-12d3-a456-426614174000",
"name": "RU-001 - Apartment 42B"
}
],
"tenants": [
{
"uid": "tenant-123",
"name": "John Doe"
}
],
"docsUsedToClassify": [
{
"fileResourceUid": "4ga1328c-f97b-59f3-91c6-cg623beg4233",
"documentUid": "3fa1968c-f86a-48e2-80b5-bf512adf3122",
"cosineSimilarity": 0.99997663,
"name": "dpe.pdf"
}
],
"isDuplicated": false,
"isFiled": true
}