How to Download my orders from Bricklink
Check the Bricklink API feature. I personally have not tried it, but it looks like it should have all the features you need, namely downloading the order list and orders themselves.