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

KeyDatatypeRequiredDescription
xero-tenant-idstring(Required) Xero identifier for Tenant
Content-Typestring

RESPONSES

status: OK

{&quot;Id&quot;:&quot;01c9a720-b1f1-4477-8de8-ff46d945fd1d&quot;,&quot;Status&quot;:&quot;OK&quot;,&quot;ProviderName&quot;:&quot;Provider Name Example&quot;,&quot;DateTimeUTC&quot;:&quot;/Date(1552686599884)/&quot;,&quot;Attachments&quot;:[{&quot;AttachmentID&quot;:&quot;3451e34c-66a6-42b0-91e2-88618bdc169b&quot;,&quot;FileName&quot;:&quot;foobar.jpg&quot;,&quot;Url&quot;:&quot;https://api.xero.com/api.xro/2.0/Receipts/a44fd147-af4e-4fe8-a09a-55332df74162/Attachments/foobar.jpg&quot;,&quot;MimeType&quot;:&quot;image/jpg&quot;,&quot;ContentLength&quot;:2878711}]}