<?xml version="1.0" encoding="UTF-8"?>
<req:ShipmentRequest xmlns:req="http://www.dhl.com" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://www.dhl.com ship-val-global-req.xsd" schemaVersion="6.2">
	<Request>
		<ServiceHeader>
			<MessageTime>{mailingDate}</MessageTime>
			<MessageReference>Package created from WooCommerce</MessageReference>
			<SiteID>{site_id}</SiteID>
			<Password>{pwd}</Password>
		</ServiceHeader>
		<MetaData>
			<SoftwareName>3PV</SoftwareName>
			<SoftwareVersion>6.2</SoftwareVersion>
		</MetaData>
	</Request>
	<RegionCode>{region_code}</RegionCode>
	<RequestedPickupTime>Y</RequestedPickupTime>
	<NewShipper>N</NewShipper>
	<LanguageCode>en</LanguageCode>
	<PiecesEnabled>Y</PiecesEnabled>
	<Billing>
		<ShipperAccountNumber>{account_number}</ShipperAccountNumber>
		<ShippingPaymentType>S</ShippingPaymentType>
		<BillingAccountNumber>{account_number}</BillingAccountNumber>
		{dutypayment_type_accountnumber}
	</Billing>
	<Consignee>
		<CompanyName>{consignee_companyname}</CompanyName>
		{destination_address}
		<City>{destination_city}</City>
		<PostalCode>{destination_postcode}</PostalCode>
		<CountryCode>{des_co}</CountryCode>
		<CountryName>{destination_country_name}</CountryName>
		<Contact>
			<PersonName>{consignee_name}</PersonName>
			<PhoneNumber>{billing_phone}</PhoneNumber>
			<Email>{billing_email}</Email>
		</Contact>
	</Consignee>
	<Commodity>
		<CommodityCode>cc</CommodityCode>
		<CommodityName>cn</CommodityName>
	</Commodity>
	{dutiable_content}
	<UseDHLInvoice>Y</UseDHLInvoice>
	<DHLInvoiceLanguageCode>en</DHLInvoiceLanguageCode>
	<DHLInvoiceType>CMI</DHLInvoiceType>
	{export_declaration}
	<Reference>
		<ReferenceID>{order_id}</ReferenceID>	   
	</Reference>	
	<ShipmentDetails>
	<NumberOfPieces>{total_packages}</NumberOfPieces>
	<Pieces>
	{pieces}
	</Pieces>
	<Weight>{total_weight}</Weight>
	<WeightUnit>{labelapi_weight_unit}</WeightUnit>
	<GlobalProductCode>{service_code}</GlobalProductCode>
	{local_product_code_node}
	<Date>{mailingDate_g}</Date>
	<Contents><![CDATA[{label_contents_text}]]></Contents>
	<DoorTo>DD</DoorTo>
	<DimensionUnit>{labelapi_dimension_unit}</DimensionUnit>
	{special_service_insurance}
	<IsDutiable>{is_dutiable}</IsDutiable>
	<CurrencyCode>{currency}</CurrencyCode>
</ShipmentDetails>
	<Shipper>
		<ShipperID>{sh_id}</ShipperID>
		<CompanyName>{sh_cmp}</CompanyName>
		<RegisteredAccount>{shp_ac}</RegisteredAccount>
		<AddressLine>{sh_ac1}</AddressLine>
		<AddressLine>{sh_ac2}</AddressLine>
		<City>{sh_city}</City>
		<Division>{sh_div}</Division>
		<PostalCode>{sh_post}</PostalCode>
		<CountryCode>{sh_co_code}</CountryCode>
		<CountryName>{sh_co_name}</CountryName>
		<Contact>
			<PersonName>{sh_con_name}</PersonName>
			<PhoneNumber>{sh_con_num}</PhoneNumber>
			<Email>{sh_con_email}</Email>
		</Contact>
	</Shipper>
	{special_service}
	{dhl_notification}
	{docImage}
	<LabelImageFormat>{image_type}</LabelImageFormat> 
	<RequestArchiveDoc>{request_archive_airway_bill}</RequestArchiveDoc>
	{number_of_bills_xml}
	{RequestArchiveDoc}
	<Label><HideAccount>Y</HideAccount><LabelTemplate>{output_format}</LabelTemplate>{customer_logo_xml}</Label>
	<ODDLinkReq>Y</ODDLinkReq>
</req:ShipmentRequest>