Open the Portico Developer Guide site
PosGateway Schema
LineItemDetail Element
PosGateway Schema > MCType Complex Type > LineItems Element : LineItemDetail Element
Namespace http://Hps.Exchange.PosGateway
Type
MCLineItemsType Complex Type
Diagram
QSTRate Element QSTAmt Element PSTRate Element PSTAmt Element GSTRate Element GSTAmt Element HSTRate Element HSTAmt Element ItemCommodityCode Element ZeroCostInd Element ItemDiscountRate Element DiscountAmt Element UnitCost Element UnitOfMeasure Element ItemTotalAmt Element Quantity Element ProductCode Element ItemDescription Element Sequence LineItemDetail Element
Overview
Sequence
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 Restriction of xs:decimal

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

ItemTotalAmt Restriction of xs:decimal

Contains the total amount of the line item; calculated as unit cost multiplied by quantity, less discount.

For Mastercard only, the item total amount may be 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.

DiscountAmt optional Restriction of xs:decimal

Contains any discount on this line item.

ItemDiscountRate optional Restriction of xs:decimal

The discount rate applied to the item.

ZeroCostInd optional zeroCostIndReqType Simple Type

Indicates whether a line item was provided at zero cost.

Y - The line item is at zero cost to the customer. The item total item amount may be equal to zero.

N - The line item is not at zero cost to the customer. The item total amount may not be equal to zero.

ItemCommodityCode optional Restriction of xs:string

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

HSTAmt optional amtTypeGlobal Simple Type

Harmonized Sales Tax.

HSTRate optional Restriction of xs:decimal

Harmonized Sales Tax Rate.

GSTAmt optional amtTypeGlobal Simple Type

Goods and Services Tax.

GSTRate optional Restriction of xs:decimal

Goods and Services Tax Rate.

PSTAmt optional amtTypeGlobal Simple Type

Provincial Sales Tax.

PSTRate optional Restriction of xs:decimal

Provincial Sales Tax Rate.

QSTAmt optional amtTypeGlobal Simple Type

Quebec Sales Tax.

QSTRate optional Restriction of xs:decimal

Quebec Sales Tax Rate.

Source
<xs:element name="LineItemDetail" type="MCLineItemsType" xmlns:xs="http://www.w3.org/2001/XMLSchema" />
See Also
LineItems ElementMCType Complex TypePosGateway Schema