PUT /CreditNotes/{CreditNoteID}/Attachments/{FileName}
Servers
- https://api.xero.com/api.xro/2.0
Path parameters
Name | Type | Required | Description |
---|---|---|---|
FileName |
String | Yes |
Name of the attachment |
CreditNoteID |
String | Yes |
Unique identifier for a Credit Note |
Request headers
Name | Type | Required | Description |
---|---|---|---|
xero-tenant-id |
String | Yes |
Xero identifier for Tenant |
Idempotency-Key |
String | No |
This allows you to safely retry requests without the risk of duplicate processing. 128 character max. |
Query parameters
Name | Type | Required | Description |
---|---|---|---|
IncludeOnline |
Boolean | No |
Allows an attachment to be seen by the end customer within their online invoice Default value: false |
How to start integrating
- Add HTTP Task to your workflow definition.
- Search for the API you want to integrate with and click on the name.
- This loads the API reference documentation and prepares the Http request settings.
- Click Test request to test run your request to the API and see the API's response.