salesInvoiceLineItems element

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

A collection of sales invoice line item elements

Example XML

<?xml version="1.0" encoding="UTF-8"?> <salesInvoiceLineItems xmlns="http://api.crunch.co.uk/rest" count="..."> <salesInvoiceLineItem> <lineItemDescription>...</lineItemDescription> <quantity>...</quantity> <rate>...</rate> <lineItemAmount currencyCode="..."> <netAmount>...</netAmount> <grossAmount>...</grossAmount> <vatAmount>...</vatAmount> <vatRate>...</vatRate> </lineItemAmount> <vatType>...</vatType> </salesInvoiceLineItem> <salesInvoiceLineItem> <!--...--> </salesInvoiceLineItem> <!--...more "salesInvoiceLineItem" elements...--> </salesInvoiceLineItems>

Example JSON

{ "count" : ..., "salesInvoiceLineItem" : [ { "lineItemDescription" : "...", "quantity" : ..., "rate" : ..., "lineItemAmount" : { "currencyCode" : "...", "netAmount" : ..., "grossAmount" : ..., "vatAmount" : ..., "vatRate" : ... }, "vatType" : "..." }, ... ] }