salesInvoiceLineItem element

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

Represents a line item attached to a sales invoice

Example XML

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

Example JSON

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