<?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>2001-12-17T09:30:47-05:00</MessageTime>
   <MessageReference>1234567890123456789012345678901</MessageReference>
   <SiteID>v62_T6OF3ebHer</SiteID>
   <Password>wnppLlxxR1</Password>
  </ServiceHeader>
 </Request>
 <RegionCode>AM</RegionCode>
 <RequestedPickupTime>Y</RequestedPickupTime>
 <NewShipper>Y</NewShipper>
 <LanguageCode>es</LanguageCode>
 <PiecesEnabled>Y</PiecesEnabled>
 <Billing>
  <ShipperAccountNumber>980271960</ShipperAccountNumber>
  <ShippingPaymentType>S</ShippingPaymentType>
  <BillingAccountNumber>980271960</BillingAccountNumber>
  <DutyPaymentType>S</DutyPaymentType>
  <DutyAccountNumber>980271960</DutyAccountNumber>
 </Billing>
 <Consignee>
  <CompanyName>Ssense</CompanyName>
  <AddressLine>333 Chabanel West</AddressLine>
  <City>Montreal</City>
  <PostalCode>02900</PostalCode>
  <CountryCode>MX</CountryCode>
  <CountryName>Mexico</CountryName>
  <Contact>
   <PersonName>Bashar Al-Fallouji</PersonName>
   <PhoneNumber>0435 336 653</PhoneNumber>
   <PhoneExtension>123</PhoneExtension>
   <FaxNumber>506-851-7403</FaxNumber>
   <Telex>506-851-7121</Telex>
   <Email>bashar@alfallouji.com</Email>
  </Contact>
 </Consignee>
 <Commodity>
  <CommodityCode>cc</CommodityCode>
  <CommodityName>cn</CommodityName>
 </Commodity>
 <Dutiable>
  <DeclaredValue>2000</DeclaredValue>
  <DeclaredCurrency>MXN</DeclaredCurrency>
  <ScheduleB>3002905110</ScheduleB>
  <ExportLicense>D123456</ExportLicense>
  <ShipperEIN>112233445566</ShipperEIN>
  <ShipperIDType>S</ShipperIDType>
  <ImportLicense>ALFAL</ImportLicense>
  <ConsigneeEIN>ConEIN2123</ConsigneeEIN>
  <TermsOfTrade>DTP</TermsOfTrade>
 </Dutiable>
 <Reference>
  <ReferenceID>AM international shipment</ReferenceID>
  <ReferenceType>St</ReferenceType>
 </Reference>
 <ShipmentDetails>
  <NumberOfPieces>2</NumberOfPieces>
  <Pieces>
   <Piece>
    <PieceID>1</PieceID>
    <PackageType>EE</PackageType>
    <Weight>5.0</Weight>
    <DimWeight>600.0</DimWeight>
    <Width>50</Width>
    <Height>100</Height>
    <Depth>150</Depth>
   </Piece>
   <Piece>
    <PieceID>2</PieceID>
    <PackageType>EE</PackageType>
    <Weight>5.0</Weight>
    <DimWeight>600.0</DimWeight>
    <Width>50</Width>
    <Height>100</Height>
    <Depth>150</Depth>
   </Piece>
  </Pieces>
  <Weight>10.0</Weight>
  <WeightUnit>L</WeightUnit>
  <GlobalProductCode>P</GlobalProductCode>
  <LocalProductCode>P</LocalProductCode>
  <Date>2019-09-25</Date>
  <Contents>AM international shipment contents</Contents>
  <DoorTo>DD</DoorTo>
  <DimensionUnit>I</DimensionUnit>
  <InsuredAmount>1000.00</InsuredAmount>
  <PackageType>EE</PackageType>
  <IsDutiable>Y</IsDutiable>
  <CurrencyCode>MXN</CurrencyCode>
 </ShipmentDetails>
 <Shipper>
  <ShipperID>980271960</ShipperID>
  <CompanyName>Sometimes</CompanyName>
  <RegisteredAccount>980271960</RegisteredAccount>
  <AddressLine>CALLE OSO 127 Int 104 ofi A1</AddressLine>
  <AddressLine>Del valle Benito Juarez</AddressLine>
  <City>CIUDAD DE MEXICO</City>
  <Division>ny</Division>
  <DivisionCode>ny</DivisionCode>
  <PostalCode>03104</PostalCode>
  <CountryCode>MX</CountryCode>
  <CountryName>Mexico</CountryName>
  <Contact>
   <PersonName>Mr peter</PersonName>
   <PhoneNumber>1 905 8613402</PhoneNumber>
   <PhoneExtension>3403</PhoneExtension>
   <FaxNumber>1 905 8613411</FaxNumber>
   <Telex>1245</Telex>
   <Email>test@email.com</Email>
  </Contact>
 </Shipper>
 <SpecialService>
  <SpecialServiceType>A</SpecialServiceType>
 </SpecialService>
 <SpecialService>
  <SpecialServiceType>I</SpecialServiceType>
 </SpecialService>
 <EProcShip>N</EProcShip>
 <LabelImageFormat>PDF</LabelImageFormat>
</req:ShipmentRequest>

Executed in 3.6924879550934 seconds.

Fatal error: Uncaught Exception: Error returned from DHL webservice : 111 : Error in parsing request XML:Error: The content of element type "Request" is
                    incomplete, it must match "(ServiceHeader,MetaData)". at line 10, column 13 in C:\wamp64\www\proyects\DHL-API-master\DHL\Entity\Base.php on line 236

Exception: Error returned from DHL webservice : 111 : Error in parsing request XML:Error: The content of element type "Request" is
                    incomplete, it must match "(ServiceHeader,MetaData)". at line 10, column 13 in C:\wamp64\www\proyects\DHL-API-master\DHL\Entity\Base.php on line 236

Call Stack:
    0.0024     426792   1. {main}() C:\wamp64\www\proyects\DHL-API-master\samples\AM\ShipmentRequest.php:0
    4.3078     948064   2. DHL\Entity\AM\ShipmentResponse->initFromXML() C:\wamp64\www\proyects\DHL-API-master\samples\AM\ShipmentRequest.php:156

