Skip to main content

DocumentBase64Dto

A document encoded in Base64 for upload

fileNamestringnullable

Name of the file including extension

Example: delivery_note.pdf
fileContentTypestringnullable

MIME content type of the file. If omitted, it will be inferred from the file extension.

Example: application/pdf
fileContentBase64stringnullable

File content encoded as a Base64 string. Do not include the Data URI prefix (e.g. "data:image/png;base64,").

Example: JVBERi0xLjQKJcOkw7zDtsOf...
DocumentBase64Dto
{
"fileName": "delivery_note.pdf",
"fileContentType": "application/pdf",
"fileContentBase64": "JVBERi0xLjQKJcOkw7zDtsOf..."
}