/fleet-card-export

Export Fleet Card Transactions to CSV

Primary LanguagePHPGNU General Public License v3.0GPL-3.0

fleet-card-export

Export Fleet Card https://fco.fleetcard.com.au/ Transactions to CSV

Usage

As per example.php:

Include class file

include('fleet_card.php');

Export Transactions

Enter your Fleet Card Credentials and Account Number

//Fleet Card Account
$Username = 'fleetcardusername';
$Password = 'fleetcardpassword';
$AccountNo = '00000';

//Get Transaction History
$csv = FleetCard::getTransactions('transactions.csv', $Username, $Password, $AccountNo);

Ensure transactions.csv and session.txt is writable in the directory