Xero - Upload attachment action

The Upload attachment action allows you to upload an attachment to a sales record in Xero. Each sales record is limited to 10 attachments, and each attachment is limited to 10 MB.

Upload attachment actionXero - Upload attachment action

Input

Input fieldDescription
Record typeSpecify the type of record that the attachment is uploaded to.
Record IDEnter the unique identifier of the record. This record must match the record type selected.
Attachment nameProvide the name for the attachment file. Include the file extension in this field.
Attachment contentInput the content of the attachment, typically in a file format.
Mime typeSpecify the mime type of the attachment, such as image/jpeg. This field defaults to text/plain if left blank.

Output

Output fieldDescription
File IDThe unique identifier assigned to the uploaded file.
Folder IDThe identifier of the folder where the file is stored.
IDThe general identifier for the attachment.
Size (in bytes)The size of the uploaded file, measured in bytes.
Mime typeThe mime type of the file, indicating the file format.
File nameThe name of the uploaded file.
Object typeThe type of object to which the file is attached.
Object IDThe unique identifier of the object that the file is attached to.
Object groupThe group or category of the object.
UserInformation about the user who uploaded the file.
Updated dateThe date when the file was last updated.
Created dateThe date when the file was initially created.

Last updated: