<?php

ini_set('display_errors', 1);
error_reporting(E_ALL | E_STRICT);
require_once '../QuickBooks.php';
//
$username = '******';
$password = '';
$token = 'bf8cp2mihs6vsdibgqsybinugvj12346';
$realmID = 18293819223456;
//
$IPP = new QuickBooks_IPP();
$Context = $IPP->authenticate($username, $password, $token);
$IPP->application($Context, 'bfrccpnge');
// Create a new Service for IDS access
$Service = new QuickBooks_IPP_Service_Item();
$list = $Service->findAll($Context, $realmID);
print "\n\n";
print $Service->lastRequest() . "\n\n\n";
print "\n\n";
print $Service->lastResponse() . "\n\n\n";
print "\n\n";