Invoice

Description

This object is used with several transaction methods and contains important transaction-specific data, such as invoice number, invoice date, and items.

Properties

TypeNameDescription
StringMerchantIdMerchant ID (assigned by system). (required)
StringCustomerIdCustomer ID. (required)
StringSubCustomerIdSub-customer ID. (optional)
StringInvoiceNumberInvoice number. (required)
StringInvoiceInternalIdInvoice internal ID (assigned by internal system). (required)
StringInvoiceDateInvoice date. (required)
StringCurrencyCurrency. (required)
StringInvoiceAmountTotal amount. (required)
StringInvoiceDueDateDue date. (required)
DecimalAmountDueTotal amount due. (required)
StringPoNumPurchase order number. (required)
StringSoNumSales order number. (required)
StringDivisionIdDivision ID. (optional)
StringTypeIdInvoice type ID (assigned by external software). (required)
StringUploadedByUploaded by. (optional)
StringUpdatedByUpdated by. (optional)
StringDateUploadedDate uploaded. (optional)
StringDateUpdatedDate updated. (optional)
BoolIsDeletedDeleted. (required)
StringDeletedByDeleted by. (optional)
StringDateDeletedDate deleted. (optional)
ItemItems List of invoice items. (required)
StringSoftwareExternal software generated this invoice. (required)
BoolNotifyCustomerEmail sent to customer. (optional)
StringEmailTemplateIdIndicates which email template to use. (optional)
StringInvoiceURLURL for the invoice. (optional)
StringTotalTaxAmountTotal amount of tax. (optional)
StringInvoiceUniqueIdID of the invoice. (optional)
StringInvoiceDescriptionDescription of the invoice. (optional)
AddressBillingAddressBilling Address. (optional)
AddressShippingAddressShipping Address. (optional)
StringInvoiceCustomerMessageInvoice customer message. (required)
StringInvoiceMemoInvoice memo. (required)
StringInvoiceShipDateInvoice ship date. (required)
StringInvoiceShipViaInvoice ship via. (required)
StringInvoiceTermsIdInvoice terms ID. (required)
StringInvoiceSalesRepIdInvoice sales rep ID. (required)
BoolInvoiceIsToBeEmailedInvoice is to be emailed. (required)
BoolInvoiceIsToBePrintedInvoice is to be printed. (required)
StringInvoiceLastSyncDateTimeDate and time for the last sync of the invoice. (optional)
StringDeliveryNumberDelivery Number. (optional)
StringTotalDiscountAmountTotal amount of the discount. (optional)
StringTotalShippingAmountTotal amount of shipping. (optional)
StringLocationIdLocation ID. (optional)
AddressRemitToAddressRemittance address. (optional)
StringPoDatePurchase order date. (optional)
StringOrderedByOrdered By. (optional)
StringInvoiceClassInvoice Class. (optional)
StringInvoiceFOB*Invoice Freight on Board (FOB). (optional)
StringInvoiceTermsDescriptionTerms of the invoices described. (optional)
InvoiceCustomFieldsInvoiceCustomFieldsSearch filters. (optional)

Examples

EBizSOAP.Invoice invoice= new EBizSOAP.Invoice();
EBizSOAP.Item[] Lineitems = new EBizSOAP.Item[1];
EBizSOAP.Item item = new EBizSOAP.Item();
item.Name = "CBS101100";
item.Qty = 1;
item.UnitPrice = 2000;
item.Sku = "c12356";
item.Active = true;
Lineitems[0] = item;
invoice.InvoiceNumber = "001025";
invoice.InvoiceDate = "06/12/2015";
invoice.CustomerId = "1245678";
invoice.InvoiceDueDate = "08/12/2015";
invoice.InvoiceAmount = 2000;
invoice.Items = Lineitems;