This function is used to create a new invoice from the Vendor in the system
Parameters
Used to call the function
- obj - TVendorInvoice
Returns
Returns the following
Create Invoice Head
IItemServiceservice service = new IItemServiceservice(); service.BasicSecurityValue = new BasicSecurity() { Username = "ws.dev", Password = "Code2make" }; var invoice = service.CreateVendorInvoice(new TVendorInvoice() { Amount = 1000, CurrencyCode = "ISK", InvoiceDate = DateTime.Now, InvoiceNumber = "SK-1234", Reference = "DK987", Vendor = "default", InvoiceType = TComboBox_DebCred._cbCredit });
Related articles