Allows you to create Attachment on expense claim receipts by file name
PUT {{baseUrl}}/Receipts/:ReceiptID/Attachments/:FileName
Request Body
["<", "b", "y", "t", "e", ">"]
HEADERS
Key | Datatype | Required | Description |
---|---|---|---|
xero-tenant-id | string | (Required) Xero identifier for Tenant | |
Content-Type | string |
RESPONSES
status: OK
{"Id":"01c9a720-b1f1-4477-8de8-ff46d945fd1d","Status":"OK","ProviderName":"Provider Name Example","DateTimeUTC":"/Date(1552686599884)/","Attachments":[{"AttachmentID":"3451e34c-66a6-42b0-91e2-88618bdc169b","FileName":"foobar.jpg","Url":"https://api.xero.com/api.xro/2.0/Receipts/a44fd147-af4e-4fe8-a09a-55332df74162/Attachments/foobar.jpg","MimeType":"image/jpg","ContentLength":2878711}]}