Allows you to retrieve Attachments on invoices or purchase bills
GET {{baseUrl}}/Invoices/:InvoiceID/Attachments
HEADERS
Key | Datatype | Required | Description |
---|---|---|---|
xero-tenant-id | string | (Required) Xero identifier for Tenant |
RESPONSES
status: OK
{"Id":"7e357a45-69f5-4e8f-8d7b-15da8ef50aab","Status":"OK","ProviderName":"Provider Name Example","DateTimeUTC":"/Date(1552330258523)/","Attachments":[{"AttachmentID":"9808ad7f-c8d4-41cf-995e-bc29cb76fd2c","FileName":"foobar.jpg","Url":"https://api.xero.com/api.xro/2.0/Invoices/4074292c-09b3-456d-84e7-add864c6c39b/Attachments/foobar.jpg","MimeType":"image/jpg","ContentLength":2878711},{"AttachmentID":"5a500c1a-5a02-48de-939e-1d234fd170d4","FileName":"sample5.jpg","Url":"https://api.xero.com/api.xro/2.0/Invoices/4074292c-09b3-456d-84e7-add864c6c39b/Attachments/sample5.jpg","MimeType":"image/jpg","ContentLength":2878711}]}