clientPayment

Extends Namespace XML Schema
payment http://api.crunch.co.uk/rest api.xsd

Represents payments made to sales invoice(s)

XML

Attributes

name type description
clientPaymentId long ID
currency string The three digit currency code, e.g. GBP
resourceUrl string Returns the API uri to call this element again

Elements

name (type) min/max occurs description
client (client) 0/1 The client that made the payment
processingExpense (expense) 0/1 An expense that this client payment is processing
salesInvoices (salesInvoices) 0/1 The collection of invoices paid by this payment

JSON

property type description
clientPaymentId long ID
currency string The three digit currency code, e.g. GBP
resourceUrl string Returns the API uri to call this element again
client client (client) The client that made the payment
processingExpense processingExpense (expense) An expense that this client payment is processing
salesInvoices salesInvoices (salesInvoices) The collection of invoices paid by this payment