Creates a single payment for invoice or credit notes
Headers
This allows you to safely retry requests without the risk of duplicate processing. 128 character max.
Request body
Number of invoice or credit note you are applying payment to e.g.INV-4003
Number of invoice or credit note you are applying payment to e.g. INV-4003
Code of account you are using to make the payment e.g. 001 (note- not all accounts have a code value)
Date the payment is being made (YYYY-MM-DD) e.g. 2009-09-06
Exchange rate when payment is received. Only used for non base currency invoices and credit notes e.g. 0.7500
The amount of the payment. Must be less than or equal to the outstanding amount owing on the invoice e.g. 200.00
The amount of the payment in the currency of the bank account.
An optional description for the payment e.g. Direct Debit
An optional parameter for the payment. A boolean indicating whether you would like the payment to be created as reconciled when using PUT, or whether a payment has been reconciled when using GET
The status of the payment.
See Payment Types.
UTC timestamp of last update to the payment
UTC ISO-8601 formatted timestamp of last update to the payment
The Xero identifier for an Payment e.g. 297c2dc5-cc47-4afd-8ec8-74990b8761e9
Present if the payment was created as part of a batch.
The suppliers bank account number the payment is being made to
The suppliers bank account number the payment is being made to
The information to appear on the supplier's bank account
A boolean to indicate if a contact has an validation errors
A boolean to indicate if a contact has an validation errors
A string to indicate if a invoice status
Response
Success - return response of type Payments array for newly created Payment