title: DHL Shipping Charges
body: <p>I am trying to get the shipping charges.
  Here is my request:</p>
  
  <pre><code>&lt;?xml version="1.0" encoding="utf-8"?&gt;
  &lt;p:DCTRequest xmlns:p="http://www.dhl.com" xmlns:p1="http://www.dhl.com/datatypes"  xmlns:p2="http://www.dhl.com/DCTRequestdatatypes" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://www.dhl.com DCT-req.xsd "&gt;
    &lt;GetQuote&gt;
      &lt;Request&gt;
        &lt;ServiceHeader&gt;
          &lt;MessageTime&gt;2017-10-20T11:28:56.000-08:00&lt;/MessageTime&gt;
          &lt;MessageReference&gt;pukka301934229934707056790226292&lt;/MessageReference&gt;
          &lt;SiteID&gt;******&lt;/SiteID&gt;
          &lt;Password&gt;******&lt;/Password&gt;
        &lt;/ServiceHeader&gt;
      &lt;/Request&gt;
      &lt;From&gt;
        &lt;CountryCode&gt;DE&lt;/CountryCode&gt;
        &lt;Postalcode&gt;10717&lt;/Postalcode&gt;
        &lt;City&gt;BERLIN&lt;/City&gt;
      &lt;/From&gt;
      &lt;BkgDetails&gt;
        &lt;PaymentCountryCode&gt;DE&lt;/PaymentCountryCode&gt;
        &lt;Date&gt;2017-10-19&lt;/Date&gt;
        &lt;ReadyTime&gt;PT9H&lt;/ReadyTime&gt;
        &lt;DimensionUnit&gt;CM&lt;/DimensionUnit&gt;
        &lt;WeightUnit&gt;KG&lt;/WeightUnit&gt;
        &lt;Pieces&gt;
          &lt;Piece&gt;
            &lt;PieceID&gt;1&lt;/PieceID&gt;
            &lt;Height&gt;30&lt;/Height&gt;
            &lt;Depth&gt;30&lt;/Depth&gt;
            &lt;Width&gt;30&lt;/Width&gt;
            &lt;Weight&gt;250&lt;/Weight&gt;
          &lt;/Piece&gt;
         &lt;/Pieces&gt;
        &lt;IsDutiable&gt;Y&lt;/IsDutiable&gt;
      &lt;/BkgDetails&gt;
      &lt;To&gt;
        &lt;CountryCode&gt;US&lt;/CountryCode&gt;
        &lt;Postalcode&gt;60603&lt;/Postalcode&gt;
        &lt;City&gt;CHICAGO&lt;/City&gt;
      &lt;/To&gt;
      &lt;Dutiable&gt;
        &lt;DeclaredCurrency&gt;EUR&lt;/DeclaredCurrency&gt;
        &lt;DeclaredValue&gt;90&lt;/DeclaredValue&gt;
      &lt;/Dutiable&gt;
    &lt;/GetQuote&gt;
  &lt;/p:DCTRequest&gt;
  </code></pre>
  
  <p>I am getting the error:</p>
  
  <pre><code>The requested Global Product Code and Local Product Code is not available based on origin country DE postal location and destination country US postal location for payment country DE. 
  Please make sure data entered is valid before proceeding or contact our customer service.
  </code></pre>
  
  <p>But when I change </p>
  
  <pre><code>  &lt;DimensionUnit&gt;CM&lt;/DimensionUnit&gt;
    &lt;WeightUnit&gt;KG&lt;/WeightUnit&gt;
  </code></pre>
  
  <p>to</p>
  
  <pre><code>  &lt;DimensionUnit&gt;IN&lt;/DimensionUnit&gt;
    &lt;WeightUnit&gt;LB&lt;/WeightUnit&gt;
  </code></pre>
  
  <p>I get the shipping amount. But I need to send the value in CM and KG. Please help me figure out the error.</p>