NAME

Finance::Bank::Commerzbank - Check your bank accounts from Perl

SYNOPSIS

  use Finance::Bank::Commerzbank;
  for (Finance::Bank::Commerzbank->check_balance(
        username  => $username,
        password  => $password
        memorable => $memorable_phrase )) {
	printf ("Transaction No: %d - TradeDate: %s - Description: %s  - ValueDate:%s - Amount: %s\n",
	            $i,
		    $_->TradeDate,
	            $_->Description,
	            $_->ValueDate,
	            $_->Amount);

  }

DESCRIPTION

This module provides a rudimentary interface to the Commerzbank online banking system at https://portal01.commerzbanking.de/P-Portal/XML/IFILPortal/pgf.html?Tab=1/. You will need either Crypt::SSLeay or IO::Socket::SSL installed for HTTPS support to work with LWP.

CLASS METHODS

check_balance(Teilnehmernummer => $u,  PIN => $m)

Return a list of account objects, one for each of your bank accounts.

ACCOUNT OBJECT METHODS

$ac->name
$ac->sort_code
$ac->account_no

Return the name of the account, the sort code formatted as the familiar XX-YY-ZZ, and the account number.

$ac->balance

Return the balance as a signed floating point value.

$ac->statement

Return a mini-statement as a line-separated list of transactions. Each transaction is a comma-separated list. WARNING: this interface is currently only useful for display, and hence may change in later versions of this module.

WARNING

This is code for online banking, and that means your money, and that means BE CAREFUL. You are encouraged, nay, expected, to audit the source of this module yourself to reassure yourself that I am not doing anything untoward with your banking data. This software is useful to me, but is provided under NO GUARANTEE, explicit or implied.

AUTHOR

Tobias Herbert<tobias.herbert@herbert-consult.de>