Transitional Order XML Structure (Order Fields)

The following table shows the structure for Order fields. See also Transitional Order XML Structure (Shipment Fields).

Field Name

Required

Instances*

Type

Length

Description

Field Name

Required

Instances*

Type

Length

Description

<ExternalData>

Y

1

Complex

 

The <ExternalData> element is the document root element. Required.

_ <OrderData>

Y

1…n

Complex

 

Required. Encapsulates multiple transactions of transitional data and its occurrence one or multiple Max count: 250 (it depends on proposed size of the file).

_ _ <ImportOrder>

Y

1…n

Complex

 

Required.

_ _ _ <Order>

Y

1…n

Complex

 

The element <Order> represents an original sales order in an order. Required.

_ _ _ _ CustomerEMailID

Y

1

String

150

The email address of the customer placing the order.

_ _ _ _ OrderCategory

Y

1

Integer

40

Indicates the kind of order category. For example: Sales Order, Return Order, Exchange Order

_ _ _ _ OrderDate

Y

1

Timestamp

 

The date that the order was taken. Defaults to the current date-time if not provided. Required for each <order>.

_ _ _ _ CustomerID

Y

1

String

40

The identifier of customer. A unique value used to identify the customer.

_ _ _ _ OriginalTax

N

0…1

Decimal

15,2

Total tax amount at the time of the order creation.

_ _ _ _ OriginalTotalAmount

Y

0…1

Decimal

15,2

The total amount at the time of the order creation.

_ _ _ _ TotalAdjustmentAmount

Y

1

Decimal

15,2

The sum total of all credit and debit memos issued against this order.

_ _ _ _ ExchangeType

N

0…1

String

40

Identifies the exchange type of the order. The payment processing logic is dependent on this attribute.

This field is mandatory for exchange order.

Valid values are: REGULAR, ADVANCED_PP, ADVANCED

_ _ _ _ TaxExemptFlag

N

0…1

Flag

1

This flag indicates whether the buyer is exempt from paying taxes. Valid values = Y or N

_ _ _ _ ExtnReferenceOrderNo

Y

1

String

24

Stores order ID for orders from sources other than web store.

Sales order – Customer Sales Order Number

Return order – Return Order Number

Exchange order – Sales order number created for exchange.

Required for each <Order>.

_ _ _ _ ExtnWebstoreOrderNo

Y

1

String

24

Extended Field for Order No for storing the webstore’s order number if that is different from client’s current OMS system, else it can be same as ExtnReferenceOrderNo.

Customer sales order no for sales order and return order.

For exchange, the new sales order that is created

_ _ _ _ ExtnReturnOrderNo

N

0…1

String

50

Extended field for storing value of Return Order No.

Required for Exchange Orders only. Its value should be equal to Return Order No.

_ _ _ _ <PriceInfo>

Y

1

Complex

 

Represents price information for an order. Required for each <Order>.

_ _ _ _ _ Currency

Y

0…1

String

20

The currency code for processing the order. All price fields are assumed to be in this currency. If not provided, this will default to the default currency for the enterprise.

Currency=”USD”

_ _ _ _ _ <InvoicedAmount>

Y

1

Decimal

15,2

Invoiced amount for an order.

_ _ _ _ _ <ReturnedAmount>

N

0…1

Decimal

15,2

Amount refunded due to returns against the order.

_ _ _ _ <HeaderCharges>

N

1

Complex

 

Represents HeaderCharges that are applied at the order level

_ _ _ _ _ <HeaderCharge>

1

0…n

Complex

 

This tag can be repeated as many Charges as you have in order.

_ _ _ _ _ _ <ChargeAmount>

Y

1

Decimal

15,2

The amount of the charge.

_ _ _ _ _ _ <ChargeCategory>

Y

1

String

20

The charge category. This is a defined category that is used to classify a charge against an order. For example, “Shipping”.

_ _ _ _< OrderLineRelationships>

N

1

Complex

 

The element <OrderLineRelationShips>represents line relationship like warranty etc.

_ _ _ _ _< OrderLineRelationship>

Y

1

Complex

 

This element represent single relationship.

_ _ _ _ _ _ RelationshipType

Y

1

String

40

The type of relationship between the parent and the child line. Valid values are ACCESSORY.CUSTOM, MUPPET, SHIPTOGETHER, SIM, WARRANTY, and INSTALL.

_ _ _ _ _ _ <ParentLine>

Y

1

Complex

 

Line element of parent line.

_ _ _ _ _ _ PrimeLineNo

Y

1

Non-Negative Integer

5

Primelineno of parent line.

_ _ _ _ _ _ SubLineNo

Y

1

Non-Negative Integer

5

Sublineno of parent line.

_ _ _ _ _ _ <ChildLine>

Y

1

Complex

 

Line element of child line.

_ _ _ _ _ _PrimeLineNo

Y

1

Non-Negative Integer

5

Primelineno of Child line.

_ _ _ _ _ _SubLineNo

Y

1

Non-Negative Integer

5

Sublineno of Child line.

_ _ _ _ <HeaderTaxes>

Y

1

Complex

 

Represents HeaderTaxes that are applied at the order level

_ _ _ _ _ <HeaderTax>

Y

0-n

Complex

 

This tag can be repeated as many taxes as you have in order.

_ _ _ _ _ _ ChargeCategory

Y

1

String

20

The charge category that the tax is being applied against. This is a defined category that is used to classify a charge against an order. For example, “Shipping”. Required for each <header-tax>. The value of this field must contain the same header-charge-category value as the charge that the tax is related to. See Charge Category.

_ _ _ _ _ _ ChargeName

N

0…1

String

40

Name assigned to Tax item referred. For example, City tax.

_ _ _ _ _ _ InvoicedTax

Y

0…1

Decimal

15,2

The amount of tax that has been invoiced for HFR. Must be an amount greater than zero. Fifteen digits total are supported with two digits eligible to the right of the decimal. Use “0.00” if tax exempt. Required for return orders.

_ _ _ _ _ _ TaxName

Y

1

String

40

The tax name.

Required for each <header-tax>.

_ _ _ _ _ _ <Extn>

N

0…1

Complex

 

To provide tax items not defined above.

_ _ _ _ _ _ _ <ExtnJurisdictionId>

N

0…1

String

20

Extended Field for Jurisdiction ID.

_ _ _ _ _ _ _ <ExtnJurisdictionLevel>

N

0…1

String

40

Extended Field for Jurisdiction Level.

_ _ _ _ <PersonInfoBillTo>

Y

1

Complex

 

Encapsulates all order level Bill-to address data. Required for each <Order>.

_ _ _ _ _ AddressID

Y

0…1

String

256

A user-specified label for an address.

_ _ _ _ _ AddressLine1

Y

1

String

70

The first address line field. Required for <PersonInfoBillTo>.

_ _ _ _ _ AddressLine2

N

0…1

String

70

The second address line field.

_ _ _ _ _ AddressLine3

N

0…1

String

70

The third address line field.

_ _ _ _ _ <AlternateEmailId>

N

0…1

String

150

The alternate email address at which the person in the address can be contacted.

_ _ _ _ _ City

Y

1

String

35

The city field for the address.

_ _ _ _ _ Country

Y

1

String

40

The country field for the address. See Country. Required for <PersonInfoBillTo>.

_ _ _ _ _ Company

N

0…1

String

50

The company this person is associated with.

_ _ _ _ _ DayPhone

N

0…1

String

40

The daytime phone for the person or organization referred to in the address.

_ _ _ _ _ DayFaxNo

N

0…1

String

40

The daytime fax for the person in the address.

_ _ _ _ _ EMailID

N

0…1

String

150

The email address for the person in the address.

_ _ _ _ _ EveningFaxNo

N

0…1

String

40

The evening fax for the person in the address.

_ _ _ _ _ EveningPhone

N

0…1

String

40

The evening phone for the person in the address.

_ _ _ _ _ FirstName

Y

1

String

64

The first name of the person.

_ _ _ _ _ LastName

Y

1

String

64

The last name of the person.

_ _ _ _ _ MiddleName

N

0…1

String

40

The middle name of the person.

_ _ _ _ _ MobilePhone

N

0…1

String

40

The mobile phone number for the person.

_ _ _ _ _ State

Y

1

String

35

The state in the address.

Required for <PersonInfoBillTo>.

_ _ _ _ _ Title

N

0…1

String

10

The title of the person or contact. For example: Mr., Mrs., Dr.

_ _ _ _ _ ZipCode

Y

1

String

35

The postal code field for the address. Required for <PersonInfoBillTo>.

_ _ _ _ <PersonInfoShipTo>

Y

1

Complex

 

Encapsulates all order level Ship to address data. Required for each <Order>.

_ _ _ _ _ AddressID

Y

0…1

String

256

A user-specified label for an address.

_ _ _ _ _ AddressLine1

Y

1

String

70

The first address line field. Required for <PersonInfoShipTo>.

_ _ _ _ _ AddressLine2

N

0…1

String

70

The second address line field.

_ _ _ _ _ AddressLine3

N

0…1

String

70

The third address line field.

_ _ _ _ _ AlternateEmailId

N

0…1

String

150

The alternate email address for the person in the address.

_ _ _ _ _ City

Y

1

String

35

The city field for the address.

_ _ _ _ _ Country

Y

1

String

40

The country field for the address. See Country. Required for <PersonInfoShipTo>.

_ _ _ _ _ Company

N

0…1

String

50

The company this person is associated with.

_ _ _ _ _ DayPhone

N

0…1

String

40

The daytime phone for the person or organization referred to in the address.

_ _ _ _ _ DayFaxNo

N

0…1

String

40

The daytime fax for the person in the address.

_ _ _ _ _ EMailID

N

0…1

String

150

The email address for the person in the address.

_ _ _ _ _ EveningFaxNo

N

0…1

String

40

The evening fax for the person in the address.

_ _ _ _ _ EveningPhone

N

0…1

String

40

The evening phone for the person in the address.

_ _ _ _ _ FirstName

Y

1

String

64

The first name of the person.

_ _ _ _ _ LastName

Y

1

String

64

The last name of the person or contact.

_ _ _ _ _ MiddleName

N

0…1

String

40

The middle name of the person.

_ _ _ _ _ MobilePhone

N

0…1

String

40

The mobile phone number for the person.

_ _ _ _ _ State

Y

1

String

35

The state in the address.

Required for <PersonInfoShipTo>.

_ _ _ _ _ Title

N

0…1

String

10

The title of the person or contact. For example: Mr., Mrs., Dr.

_ _ _ _ _ ZipCode

Y

1

String

35

The postal code field for the address. Required for <PersonInfoShipTo>.

_ _ _ <PaymentMethods>

Y

1

Complex

 

Encapsulates all payment methods for an order. Required for each <Order>.

_ _ _ _ <PaymentMethod>

Y

1…n

Complex

 

The element <PaymentMethod> represents a payment method. Required for each <PaymentMethods>.

_ _ _ _ _ CreditCardType

Y

0…1

String

32

The credit card type group. This field is only used when a credit card was supplied as the payment method (a payment-type of “CC”). See Credit Card Type.

_ _ _ _ _ PaymentType

Y

1

String

20

The payment type of this payment method. See Payment Type.

_ _ _ _ _ <PaymentDetailsList>

N

0…1

Complex

 

Encapsulates a list of all the payment details for a payment method.

_ _ _ _ _ _<PaymentDetails>

Y

1…n

Complex

 

The element <payment-details> represents the details for a payment method. Required for each <PaymentDetailsList>.

_ _ _ _ _ _ _ProcessedAmount

Y

0…1

Decimal

15,2

The authorized amount that was processed. Fifteen digits total are supported with two digits eligible to the right of the decimal. Required for each <PaymentDetails>.

_ _ _ <OrderLines>

Y

1

Complex

 

Encapsulates all order lines for the order. Required for each <Order>.

_ _ _ _ <OrderLine>

Y

1…n

Complex

 

The element <OrderLine> represents an order line. Required for each <OrderLines>.

_ _ _ _ _ PrimeLineNo

Y

1

Non-Negative Integer

5

Attribute of <OrderLine>element. Numeric identifier for the Order line. Required for each <OrderLine>.

_ _ _ _ _ DeliveryType

Y

0…1

String

40

The Delivery Type for the order line. See Delivery Type.

_ _ _ _ _ FulfillmentType

Y

0…1

String

40

Defines the method of fulfilling the order line during scheduling. See Fulfillment Type.

_ _ _ _ _ KitCode

N

0…1

String

20

Specifies a collection of items that form a single unit; for example, a home theater unit that contains kit components such as a TV, Speakers, CD player, DVD player, tuner, etc. Only accepted values are “LK” (logical kit), “PK” (physical kit), “DPK” (dynamic physical kit) or “BUNDLE” (bundle item). If “LK” or “PK” is given as a value, the API does not validate that kit lines have been included in the input XML. It returns an error if kit lines are provided and a kit code has not been specified. See Kit Code.

_ _ _ _ _ OrderedQty

Y

1

Decimal

14,4

The quantity of the item that has been ordered. If part of the order line is cancelled, this number is reduced appropriately. Fourteen digits total are supported with four digits eligible to the right of the decimal. Required for each <OrderLine>.

_ _ _ _ _ OtherCharges

N

0…1

Decimal

15,2

The sum of all the line level charges. Fifteen digits total are supported with two digits eligible to the right of the decimal.

_ _ _ _ _ ReqCancelDate

N

0…1

TimeStamp

 

The requested cancel date. If not specified, this is defaulted from the date in the order header during order creation.

_ _ _ _ _ ReturnReason

N

0…1

Sting

40

The reason for returning the order line. See Return Reason for pre-defined values.

_ _ _ _ _ DeliveryCarrierCode

Y

0…1

String

40

The Delivery carrier to be used for this order line.

See Delivery Carrier.

_ _ _ _ _ SubLineNo

Y

0…1

Non-Negative Integer

5

Part of the key that uniquely identifies the line. If the value provided is less than or equal to 0, this is set to 1.

_ _ _ _ _ ReshipParentLineKey

N

0…1

String

24

This field represents that it is reshipped Order Line.

Required field for Reshipped lines.

Primelineno and Sublineno should not be more than three digits.

Format of ReshipParentLineKey is:

Primelineno of parent Orderline + Sublineno of parent Orderline + OrderNo

If length of Primelineno or Sublineno is not equal to 3, then add leading zeroes in the numbers to create a 3-digit number.

For example:

If Prime line No of Parent line =1 &

Sub line No of Parent line =1,

Order No = 70000002

_ _ _ _ _ <Item>

Y

1

Complex

 

Represents an order line item. Required for each <OrderLine>.

_ _ _ _ _ _ItemID

Y

1

String

40

Attribute of the <Item> element. The unique identifier for the item. Required for each <Item>.

_ _ _ _ _ _ ItemDesc

Y

0…1

String

100

The item description.

_ _ _ _ _ <LinePriceInfo>

Y

1

Complex

 

Encapsulates price information related to the order line. Required for each <OrderLine>.

_ _ _ _ _ _ LineTotal

Y

0…1

Decimal

15,2

The grand total for the line. Fifteen digits total are supported with two digits eligible to the right of the decimal.

_ _ _ _ _ _ ListPrice

Y

0…1

Decimal

19,6

The list price of the item associated with the line. This field is informational and is not used by the OMS. Nineteen digits total are supported with six digits eligible to the right of the decimal.

_ _ _ _ _ _ Tax

N

0…1

Decimal

15,2

The tax associated with the line. This value is summed from the individual line taxes. Fifteen digits total are supported with two digits eligible to the right of the decimal.

All the Taxes on that Order-Line

_ _ _ _ _ _ UnitPrice

Y

0…1

Decimal

19,6

The unit price of the item associated with the line. Nineteen digits total are supported with six digits eligible to the right of the decimal.

_ _ _ _ _ _ ActualPricingQty

N

0…1

Decimal

14,4

Quantity billed to the customer.

_ _ _ _ _ <DerivedFrom>

N

0…1

Complex

 

Encapsulates Information the orderline is derived from an orderline of an existing order.

This Node is mandatory for Return and Exchange Orders.

_ _ _ _ _ _ Order Category

Y

0…1

String

40

Indicates the kind of order category. The value is always 0001.

_ _ _ _ _ _ PrimeLineNo

Y

0…1

Non-Negative Integer

5

PrimeLineNo of parent OrderLine

_ _ _ _ _ _ SubLineNo

Y

0…1

Non-Negative Integer

5

SubLineNo of parent OrderLine

_ _ _ _ _ _ <Extn>

Y

1

Complex

 

The element <Extn> represents extended fields for the order.

_ _ _ _ _ _ _ ExtnReferenceOrderNo

Y

1

String

24

ExtnReferenceOrderNo of parent Order. This is required for Return and Exchange orders

_ _ _ _ _ <PersonInfoShipTo>

N

0…1

Complex

 

The element <PersonInfoShipTo> represents the “ship-to” information for an order line. The order line <PersonInfoShipTo> information always overrides the order level <PersonInfoShipTo>information. Required if <PersonInfoShipTo> of type “shipping” has not been supplied for the <Order>.

_ _ _ _ _ _ AddressID

N

0…1

String

256

A user specified label for an address.

_ _ _ _ _ _ AddressLine1

Y

1

String

70

The first address line field. Required for <PersonInfoShipTo>.

_ _ _ _ _ _ AddressLine2

N

0…1

String

70

The second address line field.

_ _ _ _ _ _ AddressLine3

N

0…1

String

70

The third address line field.

_ _ _ _ _ _ AlternateEmailId

N

0…1

String

150

The alternate email address at which the person in the address can be contacted

_ _ _ _ _ _ City

Y

1

String

35

The city field for the address.

_ _ _ _ _ _ Country

Y

1

String

40

The country field for the address. See Country. Required for <PersonInfoShipTo>.

_ _ _ _ _ _ DayPhone

N

0…1

String

40

The daytime phone for the person or organization referred to in the address.

_ _ _ _ _ _ EMailID

N

0…1

String

150

The email address for the person in the address.

_ _ _ _ _ _ FirstName

Y

1

String

64

The first name of the person.

_ _ _ _ _ _ LastName

Y

1

String

64

The last name of the person or contact.

_ _ _ _ _ _ MiddleName

N

0…1

String

40

The middle name of the person or contact.

_ _ _ _ _ _ MobilePhone

N

0…1

String

40

The mobile phone number for the person.

_ _ _ _ _ _ State

Y

1

String

35

The state in the address.

Required for <PersonInfoShipTo>.

_ _ _ _ _ _ Title

N

0…1

String

10

The title of the person or contact. For example: Mr., Mrs., Dr.

_ _ _ _ _ _ ZipCode

Y

1

String

35

The postal code field for the address. Required for <PersonInfoShipTo>.

_ _ _ _ _ <KitLines>

N

0…1

Complex

 

Encapsulates kitted component items for an order line.

_ _ _ _ _ _ <KitLine>

Y

1…n

Complex

 

The element <KitLine> represents an kit component. Required for each <KitLines>.

_ _ _ _ _ _ ItemDesc

N

0…1

String

1000

Description for the item.

_ _ _ _ _ _ ItemID

Y

1

String

40

The unique identifer for the component item. Required

_ _ _ _ _ _ KitQty

Y

1

Decimal

14,4

The number of components required to one kit.

_ _ _ _ _ <Instructions>

N

0…1

Complex

 

Encapsulates instructions for an order line.

_ _ _ _ _ _ <Instruction>

Y

1…n

Complex

 

The element <Instruction> represents an instruction. Required for each <Instructions>.

_ _ _ _ _ _ InstructionText

Y

1

String

2000

Free-form text indicating any additional information related to the instruction. Required for each <Instruction>.

_ _ _ _ _ _ InstructionType

N

0…1

String

10

Categorization of instructions so that they can be grouped together for reference or reporting. This is a code in the Radial OMS. See Instruction Type.

_ _ _ _ _ <LineCharges>

N

0…1

Complex

 

Encapsulates all line charges for an order line.

_ _ _ _ _ _ <LineCharge>

Y

1…n

Complex

 

The element <LineCharge> represents an order line charge. Required for each <LineCharges>.

_ _ _ _ _ _ _ChargeAmount

Y

1

Decimal

15,2

The total charge for the line, taking into account the quantity ordered and charge per unit. Fifteen digits total are supported with two digits eligible to the right of the decimal. Required for each <line-charge>.

All the Charges on that particular Line

_ _ _ _ _ _ _ ChargeCategory

Y

0…1

String

20

The charge category. For example, “Labeling”, “Shipping” or “Handling”. See Charge Category.

_ _ _ _ _ _ _ ChargeName

N

0…1

String

40

The name of the charge. For example, “Price Ticket”.

_ _ _ _ _ _ _ ChargePerLine

N

0…1

Decimal

15,2

Fixed charge amount for the line. When the charge is associated with the line, this amount will be invoiced on the first invoice for the line. Fifteen digits total are supported with two digits eligible to the right of the decimal.

_ _ _ _ _ _ _ ChargePerUnit

N

0…1

Decimal

19,6

Charge per unit for the item associated with this line. Nineteen digits total are supported with six digits eligible to the right of the decimal.

_ _ _ _ _ <LineTaxes>

N

0…1

Complex

 

Encapsulates all line taxes for an order line.

_ _ _ _ _ _ <LineTax>

Y

1…n

Complex

 

The element <LineTax> represents an order line tax. Required for each <LineTaxes> .

_ _ _ _ _ _ _ ChargeCategory

Y

0…1

String

20

The category for which the tax is being charged. For example, “Labeling” or “Handling”. See Charge Category.

_ _ _ _ _ _ _ ChargeName

N

0…1

String

40

The charge name for which the tax is being charged.

_ _ _ _ _ _ _ Tax

Y

0…1

Decimal

15,2

The tax amount. Must be greater than or equal to zero. Fifteen digits total are supported with two digits eligible to the right of the decimal.

_ _ _ _ _ _ _ TaxName

Y

1

String

40

The name of the tax. Required for each <LineTax>

_ _ _ _ _ _ <Extn>

N

0…1

Complex

 

The element <Extn> represents extended data.

_ _ _ _ _ _ _ ExtnJurisdictionId

N

1…n

String

20

Extended Field for Jurisdiction ID.

_ _ _ _ _ _ _ExtnJurisdictionLevel

N

1…n

String

40

Extended Field for Jurisdiction Level.

_ _ _ _ _ <OrderStatuses>

Y

1

Complex

 

Encapsulates the order line statuses for an order line. Required for each <OrderLine>.

_ _ _ _ _ _ <OrderStatus>

Y

1

Complex

 

The element <OrderStatuses> represents an order status. Required for each <OrderStatuses>.

_ _ _ _ _ _ _ Status

Y

1

String

15

The status code. See Order Status. Required for each <order-line-status>.

_ _ _ _ _ _ _ StatusDate

Y

1

TimeStamp

 

The date when the last positive quantity was moved to this status.

_ _ _ _ _ _ _ Status Qty

Y

1

Decimal

14,4

The quantity in this status. Must be greater than or equal to zero. Fourteen digits total are supported with four digits eligible to the right of the decimal. Required for each <order-line-status>.