InventoryDetailResponseMessage → TaxDutyQuoteRequest
A TaxDutyQuoteRequest
requires a ShippingOrigin
for each OrderItem
. This
ShippingOrigin
maps from the ShippingAddress
in each InventoryDetail
in
the InventoryDetailsResponseMessage
.
Mapping
The InventoryDetailsResponseMessage
field mappings start at:
/InventoryDetailsResponsesMessage/InventoryDetails/InventoryDetail
The TaxDutyQuoteRequest
field mappings start at:
/TaxDutyQuoteRequest/Shipping/ShipGroups/ShipGroup/Items/OrderItem/Origins
The lineId
attribute on InventoryDetail
elements match up with the
lineNumber
attribute on the OrderItem
elements.
InventoryDetailsResponseMessage Field | TaxDutyQuoteRequest Field | Transform | Comment |
---|---|---|---|
//ShipFromAddress/Line1 |
//ShippingOrigin/Line1 |
copy as is |
|
//ShipFromAddress/Line2 |
//ShippingOrigin/Line2 |
copy as is |
|
//ShipFromAddress/Line3 |
//ShippingOrigin/Line3 |
copy as is |
|
//ShipFromAddress/Line4 |
//ShippingOrigin/Line4 |
copy as is |
|
//ShipFromAddress/City |
//ShippingOrigin/City |
copy as is |
|
//ShipFromAddress/MainDivision |
//ShippingOrigin/MainDivision |
copy as is |
|
//ShipFromAddress/CountryCode |
//ShippingOrigin/CountryCode |
copy as is |
|
//ShipFromAddress/PostalCode |
//ShippingOrigin/PostalCode |
copy as is |
Mapping Example
|
|