ReadByQuery Depreciation Schedule

readByQuery: depreciation_schedule
&lt;?xml version="1.0" encoding="UTF-8"?&gt; &lt;request&gt; &lt;control&gt; &lt;senderid&gt;intacct_dev&lt;/senderid&gt; &lt;password&gt;babbage&lt;/password&gt; &lt;controlid&gt;foobar&lt;/controlid&gt; &lt;uniqueid&gt;false&lt;/uniqueid&gt; &lt;dtdversion&gt;3.0&lt;/dtdversion&gt; &lt;/control&gt; &lt;operation&gt; &lt;authentication&gt; &lt;login&gt; &lt;userid&gt;Admin&lt;/userid&gt; &lt;companyid&gt;PLATFORM_CTO&lt;/companyid&gt; &lt;password&gt;Aa123456!&lt;/password&gt; &lt;/login&gt; &lt;/authentication&gt; &lt;content&gt; &lt;function controlid="foobar"&gt; &lt;readByQuery&gt; &lt;object&gt;depreciation_schedule&lt;/object&gt; &lt;fields&gt;1&lt;/fields&gt; &lt;query&gt;(depreciation_amount &gt;= 50 and Rasset = 'Thinkpad T61' and Rasset_class = 'Computer Hardware' and posting_date &gt;= '2010-02-01') or Rasset='iPHone'&lt;/query&gt; &lt;returnFormat&gt;csv&lt;/returnFormat&gt; &lt;/readByQuery&gt; &lt;/function&gt; &lt;/content&gt; &lt;/operation&gt; &lt;/request&gt;