API client for,,,,

Installs: 4 142

Dependents: 0

Suggesters: 0

Security: 0

Stars: 5

Watchers: 5

Forks: 3

Open Issues: 5

Language:API Blueprint

dev-master 2018-03-05 13:30 UTC

This package is not auto-updated.

Last update: 2024-06-14 20:21:51 UTC



API client for,,, and

stability: dev


composer require billdu/api-client:dev-master

or require loader.php from package root directory


first we need to initialize the client like this

$client = iInvoices\Api\ApiClient(, $publicKey, $privateKey);

the client has 4 available resources: Clients, Products, Orders, Invoices you can acces them like this


all have these methods

public function listAll();
public function get($id);
public function create($data);
public function update($id, $data);
public function delete($id);

invoices and order have these extra methods

public function download($id);
public function send($id, $data);
public function getDownloadLink($id);

send method is used like this:

$data = [
    	'subject' => 'invoice',
    	'message' => 'hi, please pay',
    	'recipients' => [

	$clienti->invoices->send($id, $data);