Open the Portico Developer Guide site
PosGateway Schema
LineItems Element
PosGateway Schema > VisaType Complex Type : LineItems Element
Namespace http://Hps.Exchange.PosGateway
Diagram
LineItemDetail Element Sequence LineItems Element
Overview
LineItems optional
Sequence 0..∞
Sequence
ItemCommodityCode optional Restriction of xs:string

The national standard description code of the good or service being supplied.

ItemDescription optional Restriction of xs:string

Description of the good or service being supplied.

ProductCode optional Restriction of xs:string

Identifies the product being purchased, for example, an inventory number or UPC code. A value other than spaces or zeros should be provided.

Quantity optional Restriction of xs:decimal

The number of units of the product being purchased. Must be numeric and greater than zero.

UnitOfMeasure optional Restriction of xs:string

Contains the code indicating the unit of measure (gallons, etc.).

UnitCost optional Restriction of xs:decimal

The cost per unit of measure.

VATTaxAmt optional Restriction of xs:decimal

Contains any Value Added Tax Amount or Other Sales Tax Amount.

Note: Not applicable for US merchants.

VATTaxRate optional Restriction of xs:decimal

The tax rate (percentage) of the Value Added Tax or Other Sales Tax.

Note: Not applicable for US merchants.

DiscountAmt optional Restriction of xs:decimal

Contains any discount on this line item.

ItemTotalAmt optional Restriction of xs:decimal

Contains the total amount of the line item; calculated as unit cost multiplied by quantity, less discount. The total amount must be greater than zero.

ItemTaxTreatment optional Restriction of xs:int

0 No discount applied

1 Tax was calculated before the discount was applied

2 Tax was calculated after the discount was applied

Source
<xs:element name="LineItems" minOccurs="0" xmlns:xs="http://www.w3.org/2001/XMLSchema">
  <xs:complexType>
    <xs:sequence minOccurs="0" maxOccurs="unbounded">
      <xs:element name="LineItemDetail" type="VisaLineItemsType" />
    </xs:sequence>
  </xs:complexType>
</xs:element>
See Also
VisaType Complex TypePosGateway Schema