Xero Accounting Endpoint: Payments: Difference between revisions

From OdataLink
Jump to navigation Jump to search
No edit summary
Tag: Reverted
No edit summary
Tag: Manual revert
Line 54: Line 54:


;UpdatedDateUTC
;UpdatedDateUTC
:A [[Field Type: DateTimeOffset|date time field]] that indicates the date and time this overpayment was created and/or updated.
:A [[Field Type: DateTimeOffset|date time field]] that indicates the date and time this payment was created and/or updated.





Revision as of 00:42, 21 September 2021

Overview

The Xero Payments endpoint provides the list of payment or refund transactions recorded within Xero.


Fields

The following fields are available for the Payments endpoint.

PaymentID
A guid field that provides the id of the payment.
BatchPayment
A record field that provides the batch payment if applicable.
PaymentType
A text field that indicates the type of batch payment.
Possible values are:
  • ACCRECPAYMENT: Indicates it is a payment that applies to an accounts receivable payment.
  • ACCPAYPAYMENT: Indicates it is a refund that applies to an accounts payable payment.
  • ARCREDITPAYMENT: Indicates it is a refund that applies to an accounts receivable payment.
  • APCREDITPAYMENT: Indicates it is a refund that applies to an accounts payable payment.
  • AROVERPAYMENTPAYMENT: Indicates it is a refund that applies to an accounts receivable overpayment.
  • ARPREPAYMENTPAYMENT: Indicates it is a refund that applies to an accounts receivable prepayment.
  • APPREPAYMENTPAYMENT: Indicates it is a refund that applies to an accounts payable prepayment.
  • APOVERPAYMENTPAYMENT: Indicates it is a refund that applies to an accounts payable overpayment.
Reference
A text field that provides the reference of the transaction.
Date
A date field that provides the date on which the payment occurred.
Status
A text field that indicates the status of the payment.
Possible values are:
  • AUTHORISED: Indicates the transaction is authorised and has been processed.
  • DELETED: Indicates the transaction has been deleted.
Account
A record field that provides the account used to post the payment.
Invoice
A text field that provides the invoice associated with the payment.
Amount
A decimal value that provides the amount of the payment.
CurrencyRate
A decimal value that provides the exchange rate applicable to the payment.
IsReconciled
A true/false field that indicates if the payment has been reconciled.
UpdatedDateUTC
A date time field that indicates the date and time this payment was created and/or updated.


Xero API

For a detailed run through of the endpoint, you can see the Xero API.


Related Fields

Accounts
BatchPayments
Invoices


Related Endpoints

Accounts
BatchPayments
Invoices
InvoicesExpanded
Overpayments
OverpaymentsExpanded
Prepayments
PrepaymentsExpanded