NAME

Finance::Bank::INGDirect - Check your "ING Direct France" accounts from Perl

SYNOPSIS

  use Finance::Bank::INGDirect;

  my @accounts = Finance::Bank::INGDirect->check_balance(
  	  	 ACN => "167845",
	  	 PIN => "1234",
	  	 JOUR => "25", # Day of birthday
	  	 MOIS => "8",  # month of birthday
	  	 ANNEE => "1952" # year of birthday
	  	 );

  foreach my $account (@accounts) {
 	 	print "Name: ", $account->name, " Account_no: ", $account->account_no, "\n", "*" x 80, "\n";
		print $_->as_string, "\n" foreach $account->statements;
  }

DESCRIPTION

This module provides a read-only interface to the INGDirect online banking system at https://www.ingdirect.fr/. You will need either Crypt::SSLeay installed.

The interface of this module is similar to other Finance::Bank::* modules.

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.

METHODS

new( ACN => "167845", PIN => "1234", JOUR => "25", MOIS => "8", ANNEE => "1952" feedback => sub { warn "Finance::Bank::INGDirect : $_[0]\n" })

Return an object . You can optionally provide to this method a LWP::UserAgent object (argument named "ua"). You can also provide a function used for feedback (useful for verbose mode or debugging) (argument named "feedback")

check_balance( ACN => "167845", PIN => "1234", JOUR => "25", MOIS => "8", ANNEE => "1952" feedback => sub { warn "Finance::Bank::INGDirect : $_[0]\n" })

Return a list of account (F::B::INGDirect::Account) objects, one for each of your bank accounts.

Account methods

type( )

Returns the human-readable name of the account.

account_no( )

Return the account number, in the form 0123456L012.

balance( )

Returns the balance of the account.

statements( )

Return a list of Statement object (Finance::Bank::INGDirect::Statement).

currency( )

Returns the currency of the account as a three letter ISO code (EUR, CHF,etc.).

Statement methods

date( )

Returns the date when the statement occured, in DD/MM/YY format.

description( )

Returns a brief description of the statement.

amount( )

Returns the amount of the statement (expressed in Euros or the account's currency). Although the Crédit Mutuel website displays number in continental format (i.e. with a coma as decimal separator), amount() returns a real number.

as_string( $separator )

Returns a tab-delimited representation of the statement. By default, it uses a tabulation to separate the fields, but the user can provide its own separator.

COPYRIGHT

Copyright 2005, Jean-Marie Renouard. All Rights Reserved. This module can be redistributed under the same terms as Perl itself.

AUTHOR

Thanks to Pixel for Finance::Bank::LaPoste, Cédric Bouvier for Finance::Bank::CreditMut (and also to Simon Cozens and Briac Pilpré for various Finance::Bank::*)

SEE ALSO

Finance::Bank::BNPParibas, Finance::Bank::CreditMut, Finance::Bank::LaPoste, ...

1 POD Error

The following errors were encountered while parsing the POD:

Around line 262:

Non-ASCII character seen before =encoding in 'Crédit'. Assuming UTF-8