DocumentRequestDto
Request model for Document entity.
externalInvoiceIdstringrequired
The internal invoice identifier within your system.
Possible values: non-empty
Example:
F50015externalPurchaserIdstringnullable
Unique identifier of the purchaser within your system
Example:
MKRexternalApproverIdstringnullable
Unique identifier of the first approver in the workflow
Example:
Jack PettersonexternalBuyerIdstringnullable
Unique identifier of the buyer entity within your system.
Example:
Buyer-XexternalVendorIdstringnullable
Unique identifier of the vendor within your system
Example:
Vendor-Xdocument objectrequired
Request model for Attachment entity.
fileNamestringrequired
The filename including file ending.
Possible values: non-empty
Example:
Invoice001.pdfmimeTypestringrequired
The mimetype/media type of the file
Possible values: non-empty
Example:
application/pdfcontentAsBase64EncodedStringstringrequired
The base64-encoded representation of file contents.
Possible values: non-empty
Example:
JVBERi0xLjMKJcTl8uXrp...DocumentRequestDto
{
"externalInvoiceId": "F50015",
"externalPurchaserId": "MKR",
"externalApproverId": "Jack Petterson",
"externalBuyerId": "Buyer-X",
"externalVendorId": "Vendor-X",
"document": {
"fileName": "Invoice001.pdf",
"mimeType": "application/pdf",
"contentAsBase64EncodedString": "JVBERi0xLjMKJcTl8uXrp..."
}
}