Vendor invoice document attachment V2 entity
The Vendor invoice document attachment V2 entity supports creating and updating documents attached to a vendor invoice header.
When to use this entity
Use this entity to create or update vendor invoice header document attachments.
Summary
Type | Name |
---|---|
Data management entity name | Vendor invoice document attachment V2 |
OData public entity | VendorInvoiceDocumentAttachment |
OData public collection | VendorInvoiceDocumentAttachments |
Related menu items | Accounts payable / Invoices / Pending vendor invoices Accounts payable / Invoices / Open vendor invoicesAccounts payable / Vendors / Invoice |
Related entities | Vendor invoice header |
Performance pattern | Multiple threads supported – Recommendation is to set Import threshold record count to 1000 and set Import task count to 8. For more information, see Parallel imports. |
Application Object Tree (AOT) name | VendorInvoiceDocumentAttachmentV2Entity |
Fields
Field | Description |
---|---|
Headerreference | Specifies the primary key, a foreign key to a Vendor invoice header. |
TypeId | Specifies the first segment of a foreign key to the document type. |
ACTUALCOMPANYID | Specifies the second segment of a foreign key to the document type. |
Notes | The note of the attachment. |
FileContents | The file contents as a base64 string. |
Issues and considerations
The Vendor invoice document attachment V2 entity supports creating and updating vendor invoice attachment at invoice header. Use it after you have created the releavant vendor invoice headers.
The basic configuration can be done from Organization administration / Document Management / Document management parameters / General tab / Maximum file size megabytes.
Note
When SharePoint is used as the document type, users can only upload a document up to a maximum file size of 262 megabytes.