DocumentDto

data class DocumentDto(id: String, arrivalDateTime: OffsetDateTime, lastUpdateDateTime: OffsetDateTime, documentType: DocumentTypeEnum, status: DocumentStatusTypeEnum, foreignId: String?, accountMetadata: DocumentAccountMetadataDto?, description: String?, content: DocumentContentDto?, source: DocumentSourceDto?, userMetadata: DocumentUserMetadataDto?)

Parameters

id

This is a unique identifier which is used to identify the document in the Sensibill system.

arrivalDateTime

The date and time that the document was submitted to our system. With no explicit timezone information.

lastUpdateDateTime

The date and time that the document was last updated in our system. This will typically be when a user has last changed data on the document. With no explicit timezone information.

documentType
  • @param status * @param foreignId A unique identifier that was passed on upload to ensure that retries can happen without overriding data.

accountMetadata
  • @param description The document description. Might be also used as the document name or note.

content
  • @param source * @param userMetadata

Constructors

DocumentDto
Link copied to clipboard
fun DocumentDto(id: String, arrivalDateTime: OffsetDateTime, lastUpdateDateTime: OffsetDateTime, documentType: DocumentTypeEnum, status: DocumentStatusTypeEnum, foreignId: String? = null, accountMetadata: DocumentAccountMetadataDto? = null, description: String? = null, content: DocumentContentDto? = null, source: DocumentSourceDto? = null, userMetadata: DocumentUserMetadataDto? = null)
This is a unique identifier which is used to identify the document in the Sensibill system.

Properties

accountMetadata
Link copied to clipboard
@SerializedName(value = accountMetadata)
val accountMetadata: DocumentAccountMetadataDto? = null
  • @param description The document description. Might be also used as the document name or note.

arrivalDateTime
Link copied to clipboard
@SerializedName(value = arrivalDateTime)
val arrivalDateTime: OffsetDateTime
The date and time that the document was submitted to our system.
content
Link copied to clipboard
@SerializedName(value = content)
val content: DocumentContentDto? = null
  • @param source * @param userMetadata

description
Link copied to clipboard
@SerializedName(value = description)
val description: String? = null
documentType
Link copied to clipboard
@SerializedName(value = documentType)
val documentType: DocumentTypeEnum
  • @param status * @param foreignId A unique identifier that was passed on upload to ensure that retries can happen without overriding data.

foreignId
Link copied to clipboard
@SerializedName(value = foreignId)
val foreignId: String? = null
id
Link copied to clipboard
@SerializedName(value = id)
val id: String
This is a unique identifier which is used to identify the document in the Sensibill system.
lastUpdateDateTime
Link copied to clipboard
@SerializedName(value = lastUpdateDateTime)
val lastUpdateDateTime: OffsetDateTime
The date and time that the document was last updated in our system.
source
Link copied to clipboard
@SerializedName(value = source)
val source: DocumentSourceDto? = null
status
Link copied to clipboard
@SerializedName(value = status)
val status: DocumentStatusTypeEnum
userMetadata
Link copied to clipboard
@SerializedName(value = userMetadata)
val userMetadata: DocumentUserMetadataDto? = null