salesInvoice

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

Represents a sales invoice

XML

Attributes

name type description
salesInvoiceId long ID
resourceUrl string Returns the API uri to call this element again
currency string The three digit country code, e.g. GBP
allocatedAmount decimal This field is only provided as part of a client payment.
The amount of the customer payment allocated to the invoice

Elements

name (type) min/max
occurs
description
salesInvoiceDetails (salesInvoiceDetails) 0/1 A sales invoice details element
salesInvoiceLineItems (salesInvoiceLineItems) 0/1 A collection of sales invoice line item elements
clientPayments (clientPayments) 0/1 A collection of client payment elements
note (string) 0/1 A brief note for this sales invoice
document (file) 0/1 A sales invoice file attached to the invoice, if requested

JSON

property type description
salesInvoiceId long ID
resourceUrl string Returns the API uri to call this element again
currency string The three digit country code, e.g. GBP
allocatedAmount decimal This field is only provided as part of a client payment.
The amount of the customer payment allocated to the invoice
salesInvoiceDetails salesInvoiceDetails (salesInvoiceDetails) A sales invoice details element
salesInvoiceLineItems salesInvoiceLineItems (salesInvoiceLineItems) A collection of sales invoice line item elements
clientPayments clientPayments (clientPayments) A collection of client payment elements
note note (string) A brief note for this sales invoice
document document (file) A sales invoice file attached to the invoice, if requested