InvoiceItem Type
Details about an invoice item.
Remarks
Details about an invoice item.
For example, the following code adds one item to an invoice.
Example: Setting the fields:
InvoiceItem item = new InvoiceItem(); item.Name = "THNLZZY-JB-VL" item.Description = "Thin Lizzy Jailbreak Vinyl" item.Quantity = "1" item.UnitPrice = "12.00" bean.InvoiceItems.Add(item);
Example: Using the Constructors:
bean.InvoiceItems.Add(new InvoiceItem("THNLZZY-JB-VL", "1", "12.00"));
Fields
Date String |
Date on which the product or service was provided. The date and time must be in the following format: "yyyy-MM-ddTHH:mm:ss.fffZ". This is explained in more detail below:
For instance, "2004-05-26T15:00:00.000Z" is May 26th, 2004 at 3:00pm GMT. | ||||||||||||||||||
Description String |
Description of the invoice item. | ||||||||||||||||||
Name String |
SKU or name of the item. This field is required. | ||||||||||||||||||
Quantity String |
Item count. Valid values are 0 to 10.000. This field is required. | ||||||||||||||||||
TaxName String |
Name of the applicable tax. | ||||||||||||||||||
TaxRate String |
Rate of the applicable tax. | ||||||||||||||||||
UnitPrice String |
Price of the item (in the currency specified by CurrencyCode). This field is required. |
Constructors
public InvoiceItem();
public InvoiceItem(String name, String quantity, String unitPrice);