Go through the following Tutorial for Account Statements. It contains the elements you are looking for, and also works with the Purchase History: