API Docs

Get to know get_billing_history

Overview: Returns a list of billing events associated with a client's account.

get_billing_history expects no parameters.

Example:

$api->call('client.get_billing_history');

Output:

Array
	(
	    [status] => 1
	    [data] => Array
	        (
	            [851596] => Array
	                (
	                    [invid] => 851596
	                    [date] => 1360060201
	                    [due] => 1360648800
	                    [amount] => 549.00
	                    [paid] => 1
	                    [datepaid] => 1360180888
	                    [comment] =>
	                    [reason] =>
	                    [clientid] => 5974
	                    [amount_unpaid] => 0.00
	                    [after_tni] => 1
	                    [print_status] => 0
	                )
	        )
	)