title: How to get Amazon MWS Reports Java client library to download specific Document version
body: <p>I have some code that processes Amazon Settlement Reports (XML format). Up until now the user would download the XML file from Amazon Seller Central and load it into the application for processing.</p>
  
  <p>I have added some code which will use the MWS Reports API , via the Amazon Java client library, to search for available settlement reports and allow the user to select the one they want, fetch it and process it. This all works fine except that the Refunds are not processed.</p>
  
  <p>In comparing the XML retrieved by the different methods I find that the downloaded files are a newer format than those from the API.</p>
  
  <p><code>&lt;DocumentVersion&gt;'4.01'&lt;/DocumentVersion&gt;</code></p>
  
  <p>Versus:</p>
  
  <p><code>&lt;DocumentVersion&gt;'3.01'&lt;/DocumentVersion&gt;</code></p>
  
  <p>In the older version the <code>&lt;Refund&gt;</code> element is called <code>&lt;Adjustment&gt;</code> but the XML is otherwise the same.</p>
  
  <p>As I attempted to find an answer to this I came across an MWS forum post dated 11 Aug 2014:</p>
  
  <p><a href="https://sellercentral.amazon.com/forums/ann.jspa?annID=186" rel="nofollow">https://sellercentral.amazon.com/forums/ann.jspa?annID=186</a></p>
  
  <p>This announces the changes to the settlement reports and "notes" that the client libraries are not changing.</p>
  
  <p>The latest version of the Reports API Java Client was released on 30 Sep 2014 (i.e. after the announcement) but that is the one that I am using, so does not seem to use the new document version.</p>
  
  <p>Can anyone suggest how I may tell the client library which version to use?</p>
  
  <p>P.S. Another issue is the latest reports are missing...</p>