The ShipmentRequest is used with the same logic and same purpose also for Wine flow.
If a user wants to trigger the Wine flow for the ShipmentRequest, there are some new fields and values to take into consideration.
1) New values for the <GoodType> = WINE_US, WINE_ALL, SPIRITS_US, SPIRITS_ALL
WINE_US and SPIRITS_US are the products that ship to US and the shipment in order to be created needs an importer
WINE_ALL and SPIRITS_ALL are the products that ship to all the world and the shipment in order to be created does not need an importer
2) New field <Value>, external to the proforma section, is needed to calculate duties to US and for US shipments this is a mandatory field.
3) New field <ShipmentCurrency>, external to the proforma section and placed just under the <Value>, is needed to calculate the duties to US and for US shipments this is a mandatory field.
4) New fields <Bottles> and <Magnums> are related to the number of how many bottles or magnums there are on the shipment within a parcel.
<Bottles>, the maximum number for a single parcel in a shipment is 12 bottle per parcel; if a user wants to send more than 12 bottles, the user will need to create a new item section containing the rest of the bottles.
<Magnums> are double the bottles (1 magnum = 2 bottles). The maximum number for a single parcel in a shipment for the magnums is 6; if a user wants to send more than 6 magnums, the user will need to create a new item section containing the rest of the magnums.
5) New field <WinePackageType> is the new field dedicated to the package type needed for the bottles/magnums of the shipment. The possible values are:
STANDARD (for all the wine products: WINE_US, WINE_ALL, SPIRITS_US, SPIRITS_ALL)
ECO (only for wine products: WINE_ALL, SPIRITS, ALL)
LARGE (only for wine products: WINE_ALL, SPIRITS, ALL)
Note: for shipments to US that have GoodType WINE_US or SPIRITS_US will not consider the sender section even though is filled out. The reason is that for shipments to US the sender will be a designated importer automatically retrieved from the MBE Center settings.
<soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/" xmlns:ws="http://www.onlinembe.eu/ws/">
<soapenv:Header/>
<soapenv:Body>
<ws:ShipmentRequest>
<RequestContainer>
<System>IT</System>
<Credentials>
<Username></Username>
<Passphrase></Passphrase>
</Credentials>
<InternalReferenceID></InternalReferenceID>
<Sender>
<Name>XXXXXX</Name>
<CompanyName>YYYYY</CompanyName>
<Address>Via del sender</Address>
<Phone>3331112222</Phone>
<ZipCode>20125</ZipCode>
<City>ZZZZ</City>
<State>MI</State>
<Country>IT</Country>
<Email>XXX@XXX.com</Email>
</Sender>
<Recipient>
<Name>XXXXXXXXXX</Name>
<CompanyName>YYYYYYYYYYY</CompanyName>
<Address>Via rossi 10</Address>
<Phone>123463456</Phone>
<ZipCode>90001</ZipCode>
<City>Los Angeles</City>
<!--Optional:-->
<State>CA</State>
<Country>US</Country>
<Email>TEST@TEST.IT</Email>
</Recipient>
<Shipment>
<ShipperType>COURIERLDV</ShipperType>
<Description>Shipment with WINE US</Description>
<COD>false</COD>
<Insurance>false</Insurance>
<Service>SSE</Service>
<PackageType>GENERIC</PackageType>
<GoodType>WINE_US</GoodType>
<Value>200</Value>
<ShipmentCurrency>EUR</ShipmentCurrency>
<!--Optional:-->
<Referring></Referring>
<Items>
<!--1 or more repetitions:-->
<Item>
<Weight></Weight>
<Dimensions>
<Lenght></Lenght>
<Height></Height>
<Width></Width>
</Dimensions>
<!--Optional:-->
<Bottles></Bottles>
<!--Optional:-->
<Magnums>6</Magnums>
<!--Optional:-->
<WinePackageType>STANDARD</WinePackageType>
</Item>
<Item>
<Weight></Weight>
<Dimensions>
<Lenght></Lenght>
<Height></Height>
<Width></Width>
</Dimensions>
<!--Optional:-->
<Bottles>12</Bottles>
<!--Optional:-->
<Magnums></Magnums>
<!--Optional:-->
<WinePackageType>STANDARD</WinePackageType>
</Item>
<Item>
<Weight></Weight>
<Dimensions>
<Lenght></Lenght>
<Height></Height>
<Width></Width>
</Dimensions>
<!--Optional:-->
<Bottles>6</Bottles>
<!--Optional:-->
<Magnums>3</Magnums>
<!--Optional:-->
<WinePackageType>STANDARD</WinePackageType>
</Item>
</Items>
<!--Optional:-->
<InternalNotes></InternalNotes>
<!--Optional:-->
<Notes></Notes>
<!--Optional:-->
<MBESafeValue>true</MBESafeValue>
<!--Optional:-->
<MBESafeValueValue>10</MBESafeValueValue>
<!--Optional:-->
<MBESafeValueDescription></MBESafeValueDescription>
<!--Optional:-->
<MBESafeValue4Business>false</MBESafeValue4Business>
<!--Optional:-->
<MBESafeValue4BusinessValue></MBESafeValue4BusinessValue>
<!--Optional:-->
<MBESafeValue4BusinessDescription></MBESafeValue4BusinessDescription>
<!--Optional:-->
<LanguageCode>it</LanguageCode>
<!--Optional:-->
<TaxAndDutyPluginAct>false</TaxAndDutyPluginAct>
<!--Optional:-->
<ProformaIncoterms></ProformaIncoterms>
<!--Optional:-->
<IsEcommerceReturn>false</IsEcommerceReturn>
<!--Optional:-->
<IsEcommerceReturnOriginalTracking></IsEcommerceReturnOriginalTracking>
<!--Optional:-->
<IsDraft>false</IsDraft>
</Shipment>
<!--Optional:-->
<MbeTrackingId></MbeTrackingId>
</RequestContainer>
</ws:ShipmentRequest>
</soapenv:Body>
</soapenv:Envelope>
<soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/" xmlns:ws="http://www.onlinembe.eu/ws/">
<soapenv:Header/>
<soapenv:Body>
<ws:ShipmentRequest>
<RequestContainer>
<System>IT</System>
<Credentials>
<Username></Username>
<Passphrase></Passphrase>
</Credentials>
<InternalReferenceID></InternalReferenceID>
<Sender>
<Name>Sender del reso Paola</Name>
<CompanyName>XXX SRL</CompanyName>
<Address>Via del sender</Address>
<Phone>3331112222</Phone>
<ZipCode>20125</ZipCode>
<City>Milano</City>
<State>MI</State>
<Country>IT</Country>
<Email>TEST@TEST.COM</Email>
</Sender>
<Recipient>
<Name>Wine ALL</Name>
<CompanyName>XXXX</CompanyName>
<Address>Via rossi 10</Address>
<Phone>123463456</Phone>
<ZipCode>20025</ZipCode>
<City>Legnano</City>
<!--Optional:-->
<State>MI</State>
<Country>IT</Country>
<Email>TEST@TEST.IT</Email>
</Recipient>
<Shipment>
<ShipperType>COURIERLDV</ShipperType>
<Description>Shipment</Description>
<COD>false</COD>
<Insurance>false</Insurance>
<Service>SSE</Service>
<PackageType>GENERIC</PackageType>
<GoodType>WINE_ALL</GoodType>
<Value>200</Value>
<ShipmentCurrency>EUR</ShipmentCurrency>
<!--Optional:-->
<Referring></Referring>
<Items>
<!--1 or more repetitions:-->
<Item>
<Weight></Weight>
<Dimensions>
<Lenght></Lenght>
<Height></Height>
<Width></Width>
</Dimensions>
<!--Optional:-->
<Bottles></Bottles>
<!--Optional:-->
<Magnums>6</Magnums>
<!--Optional:-->
<WinePackageType>STANDARD</WinePackageType>
</Item>
<Item>
<Weight></Weight>
<Dimensions>
<Lenght></Lenght>
<Height></Height>
<Width></Width>
</Dimensions>
<!--Optional:-->
<Bottles>12</Bottles>
<!--Optional:-->
<Magnums></Magnums>
<!--Optional:-->
<WinePackageType>ECO</WinePackageType>
</Item>
<Item>
<Weight></Weight>
<Dimensions>
<Lenght></Lenght>
<Height></Height>
<Width></Width>
</Dimensions>
<!--Optional:-->
<Bottles>12</Bottles>
<!--Optional:-->
<Magnums></Magnums>
<!--Optional:-->
<WinePackageType>LARGE</WinePackageType>
</Item>
</Items>
<!--Optional:-->
<InternalNotes></InternalNotes>
<!--Optional:-->
<Notes></Notes>
<!--Optional:-->
<MBESafeValue>true</MBESafeValue>
<!--Optional:-->
<MBESafeValueValue>10</MBESafeValueValue>
<!--Optional:-->
<MBESafeValueDescription></MBESafeValueDescription>
<!--Optional:-->
<MBESafeValue4Business>false</MBESafeValue4Business>
<!--Optional:-->
<MBESafeValue4BusinessValue></MBESafeValue4BusinessValue>
<!--Optional:-->
<MBESafeValue4BusinessDescription></MBESafeValue4BusinessDescription>
<!--Optional:-->
<LanguageCode>it</LanguageCode>
<!--Optional:-->
<TaxAndDutyPluginAct>false</TaxAndDutyPluginAct>
<!--Optional:-->
<ProformaIncoterms></ProformaIncoterms>
<!--Optional:-->
<IsEcommerceReturn>false</IsEcommerceReturn>
<!--Optional:-->
<IsEcommerceReturnOriginalTracking></IsEcommerceReturnOriginalTracking>
<!--Optional:-->
<IsDraft>false</IsDraft>
</Shipment>
<!--Optional:-->
<MbeTrackingId></MbeTrackingId>
</RequestContainer>
</ws:ShipmentRequest>
</soapenv:Body>
</soapenv:Envelope>