Home, Up


Collecting iTunes receipts since 2009


How much money have you spend in the iTunes Store? This Perl hack collects all email receipts you received from the iTunes Store and summarizes your expenses in a time series.

More details

Going through your mail receipts is a more reliable way to monitor your expenses than the method of the well-done App Store Expense Monitor: You really get the actual amount of money you spent on the store based ony the actual receipts sent to you. It should work with German and English receipts and the currencies Euro, Swiss Francs and Dollars.


Sample Screenshot


Download script



E-Mail: mail@ping13.net
Twitter: ping13

Feel free to contact me, if you have any questions or feedback.



  1. Satisfy all the above dependencies.

  2. Setup a YAML file and fill in the details, see sample. Specify your IMAP server, username and password, the name of the IMAP folder and the path where the HTML file and the datafile should be stored.

  3. Run the script perl iTunesStoreLog.pl sample.yml. You may have to wait a while until everything is set.

  4. Look at the generated HTML file /path/for/html/and/datafile/index.html and wonder where your money has gone.

  5. If you want to have the HTML file updated regularly, put an appropriate entry in your crontab (or similar). Running daily should suffice.



Copyright (C) 2009, mail@ping13.net

This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; either version 3 of the License, or (at your option) any later version.

This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details.

You should have received a copy of the GNU General Public License along with this program; if not, see http://www.gnu.org/licenses/.

Last modification: Wed Aug 22 23:00:14 CEST 2012

Comments? Feedback?

Tweet  about it and mention my Twitter account @ping13 or send an e-mail to mail@ping13.net.
Home, Up