Hi,
thank you for your answers, they look quite good!
Now there's another problem! The simplest example doesn't work
I found various posting concerning this issue but there aren't any answers 
I use the example from the doc on the cpanel-website but there is no output 
PHP Code:
require '/usr/local/cpanel/Cpanel/Accounting.php.inc';
$host = "IP-Adresse";
$user = "root";
$accesshash = 'HASH';
$accts = listaccts($host,$user,$accesshash,1);
print_r($accts);
$pkgs = listpkgs($host,$user,$accesshash,1);
print_r($pkgs);
Thank you so much again!
Best regards
Strauberry