Thank you for your reply !
I am using API provided by Xero (http://www.xero.com/au/)
I've made the sample code available here:
dropbox.com/s/ryy5ek28xt69uaj/sampl ...
on line 162 you can change the date range to get different size of response data.
You may need the following Xero acc to login:
username:
[email protected]
password: p9QiH7TC
Cheers! Your help is very much appreciated :)