expense

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

Represents an expense

XML

Attributes

name type description
expenseId long ID
resourceUrl string Returns the API uri to call this element again
amount decimal The expense amount

Elements

name (type) min/max
occurs
description
expenseDetails (expenseDetails) 1/1 An expense details element
expenseLineItems (expenseLineItems) 0/1 A collection of expense line item elements
paymentDetails (paymentDetails) 1/1 A collection of payment detail elements
receipts (receipts) 0/1 A collection of receipt (file) elements
note (string) 0/1 A brief note for this expense

JSON

property type description
expenseId long ID
resourceUrl string Returns the API uri to call this element again
amount decimal The expense amount
expenseDetails expenseDetails (expenseDetails) An expense details element
expenseLineItems expenseLineItems (expenseLineItems) A collection of expense line item elements
paymentDetails paymentDetails (paymentDetails) A collection of payment detail elements
receipts receipts (receipts) A collection of receipt (file) elements
note note (string) A brief note for this expense