Allows you to create Attachments on CreditNote by file name
PUT {{baseUrl}}/CreditNotes/:CreditNoteID/Attachments/:FileName?IncludeOnline=false
Request Params
Key | Datatype | Required | Description |
---|---|---|---|
IncludeOnline | boolean | Allows an attachment to be seen by the end customer within their online invoice |
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":"22a8d402-5dea-40ed-9d01-26896429f649","Status":"OK","ProviderName":"Provider Name Example","DateTimeUTC":"/Date(1551822953320)/","Attachments":[{"AttachmentID":"91bbae3f-5de5-4e3d-875f-8662f25897bd","FileName":"sample5.jpg","Url":"https://api.xero.com/api.xro/2.0/CreditNotes/249f15fa-f2a7-4acc-8769-0984103f2225/Attachments/sample5.jpg","MimeType":"image/jpg","ContentLength":2878711}]}