payment

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

Represents a payment made to an expense

XML

Elements

name (type) min/max
occurs
description
paymentDate (dateTime) 1/1 The date
amount (decimal) 1/1 The amount for the payment
paymentMethod (string) 0/1 Payment method
bankAccount (account) 0/1 If this was paid with a bank account, this will have that account information
creditCard (account) 0/1 If this was paid with a credit card, this will have that account information
director (director) 0/1 If this was paid by a director, this will be the director that paid
paymentProcessingAccount (account) 0/1 If this was paid with a payment processing account, this will have that account information

JSON

property type description
paymentDate paymentDate (dateTime) The date
amount amount (decimal) The amount for the payment
paymentMethod paymentMethod (string) Payment method
bankAccount bankAccount (account) If this was paid with a bank account, this will have that account information
creditCard creditCard (account) If this was paid with a credit card, this will have that account information
director director (director) If this was paid by a director, this will be the director that paid
paymentProcessingAccount paymentProcessingAccount (account) If this was paid with a payment processing account, this will have that account information