Description
This method will create an invoice and return the new invoice number.The new invoice number is automatically created by incrementing the customers current highest invoice number by one.
Parameters
OUT
InvoiceNumber
Integer
Integer
An Integer representing the new, unique invoice number
Note, if you are crafting the XML yourself (rather than using .Net or similar) you should ensure the element for the invoice lines is structured with the xsi type set as shown below or you will receive an error:
<Lines>
<anyType xsi:type="InvoiceLine">
<Quantity>1</Quantity>
<Description>Description here</Description>
<Rate>99</Rate>
<ChargeType>0</ChargeType>
<VatRate>0</VatRate>
<VatAmount>0</VatAmount>
<ProductID>0</ProductID>
<LineID>0</LineID>
</anyType>
</Lines>