UpdateAttachment
Use this function to update an attachment’s details.
Properties
Section titled “Properties”Authentication
Section titled “Authentication”Authentication values used to connect to the Xero server.
Endpoint
Section titled “Endpoint”The name of the parent endpoint (e.g. Receipts, Invoices).
Item id
Section titled “Item id”The guid of the document that that attachment belongs to (e.g. ReceiptID or InvoiceID).
File name
Section titled “File name”The filename of the attachment that you are uploading.
Include online
Section titled “Include online”You can set an attachment to be included with the invoice when viewed online (through Xero). This functionality is available for accounts receivable invoices and accounts receivable credit notes. To enable an attachment to be viewed with the online invoice set this property to true.
Output
Section titled “Output”Attachment
Section titled “Attachment”The attachment updated.