Menu
Get Payments
Retrieves payments for invoices and credit notes
GET
/PaymentsUse it in a workflow
- Add a step and choose the Xero connector.
- Pick the Get Payments action (under Xero).
- Fill in the fields below, then reference the result from later steps as
{{getPayments.response.data}}.
Request
Query parameters
Headers
Response
Returns 200 with an object. Read it in later steps with {{getPayments.response.data.<field>}}.
{
"pagination": {
"page": 0,
"pageSize": 0,
"pageCount": 0,
"itemCount": 0
},
"Warnings": [
{
"Message": "string"
}
],
"Payments": [
{
"Invoice": {},
"CreditNote": {},
"Prepayment": {
"Type": {},
"Contact": {},
"Date": {},
"Status": {},
"LineAmountTypes": {},
"LineItems": {},
"SubTotal": {},
"TotalTax": {},
"Total": {},
"Reference": {},
"InvoiceNumber": {},
"UpdatedDateUTC": {}
},
"Overpayment": {
"Type": {},
"Contact": {},
"Date": {},
"Status": {},
"LineAmountTypes": {},
"LineItems": {},
"SubTotal": {},
"TotalTax": {},
"Total": {},
"UpdatedDateUTC": {},
"UpdatedDateUTCString": {},
"CurrencyCode": {}
},
"InvoiceNumber": "string",
"CreditNoteNumber": "string",
"BatchPayment": {
"Account": {},
"Reference": {},
"Particulars": {},
"Code": {},
"Details": {},
"Narrative": {},
"BatchPaymentID": {},
"DateString": {},
"Date": {},
"Amount": {},
"Payments": {},
"Type": {}
},
"Account": {
"Code": 4400,
"Name": "Food Sales",
"AccountID": "00000000-0000-0000-0000-000000000000",
"Type": "BANK",
"BankAccountNumber": "string",
"Status": "ACTIVE",
"Description": "string",
"BankAccountType": "BANK",
"CurrencyCode": "AED",
"TaxType": "string",
"EnablePaymentsToAccount": false,
"ShowInExpenseClaims": false
},
"Code": "string",
"Date": "string",
"CurrencyRate": 0,
"Amount": 0
}
]
}
Need more? See the Xero guide for connection setup and behaviour shared by every action.
Was this page helpful?