DocumentDto

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)

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