Menu
Get Credit Note
Retrieves a specific credit note using a unique credit note Id
GET
/CreditNotes/{CreditNoteID}Use it in a workflow
- Add a step and choose the Xero connector.
- Pick the Get Credit Note action (under Xero).
- Fill in the fields below, then reference the result from later steps as
{{getCreditNote.response.data}}.
Request
Path parameters
Query parameters
Headers
Response
Returns 200 with an object. Read it in later steps with {{getCreditNote.response.data.<field>}}.
{
"pagination": {
"page": 0,
"pageSize": 0,
"pageCount": 0,
"itemCount": 0
},
"Warnings": [
{
"Message": "string"
}
],
"CreditNotes": [
{
"Type": "ACCPAYCREDIT",
"Contact": {
"ContactID": "00000000-0000-0000-0000-000000000000",
"MergedToContactID": "00000000-0000-0000-0000-000000000000",
"ContactNumber": "string",
"AccountNumber": "string",
"ContactStatus": "ACTIVE",
"Name": "string",
"FirstName": "string",
"LastName": "string",
"CompanyNumber": "string",
"EmailAddress": "string",
"ContactPersons": [
{
"FirstName": "string",
"LastName": "string",
"EmailAddress": "string",
"IncludeInEmails": false
}
],
"BankAccountDetails": "string"
},
"Date": "string",
"DueDate": "string",
"Status": "DRAFT",
"LineAmountTypes": "Exclusive",
"LineItems": [
{
"LineItemID": "00000000-0000-0000-0000-000000000000",
"Description": "string",
"Quantity": 0,
"UnitAmount": 0,
"ItemCode": "string",
"AccountCode": "string",
"AccountID": "00000000-0000-0000-0000-000000000000",
"TaxType": "string",
"TaxAmount": 0,
"Item": {
"Code": "string",
"Name": "string",
"ItemID": "00000000-0000-0000-0000-000000000000"
},
"LineAmount": 0,
"Tracking": [
{
"TrackingCategoryID": null,
"TrackingOptionID": null,
"Name": null,
"Option": null
}
]
}
],
"SubTotal": 0,
"TotalTax": 0,
"Total": 0,
"CISDeduction": 0,
"CISRate": 0
}
]
}
Need more? See the Xero guide for connection setup and behaviour shared by every action.
Was this page helpful?