<?php include_once '../../lib/phpWeFact/WeFact_Api.php'; include_once '../../lib/phpWeFact/WeFact_Model.php'; include_once '../../lib/phpWeFact/WeFact_Invoice.php'; include_once '../../lib/phpWeFact/WeFact_InvoiceLine.php'; $result = WeFact_Invoice::listAll(); var_dump($result);