PHP code example of miisieq / infakt-client

1. Go to this page and download the library: Download miisieq/infakt-client library. Choose the download type require.

2. Extract the ZIP file and open the index.php.

3. Add this code to the index.php.
    
        
<?php
require_once('vendor/autoload.php');

/* Start to develop here. Best regards https://php-download.com/ */

    

miisieq / infakt-client example snippets


$infakt = new \Infakt\Infakt(
    '7e2356a0a400d6ec3d2ced911991f3e8',
    new \GuzzleHttp\Client()
);

$clients = $infakt->getRepository(\Infakt\Model\Client::class)->getAll();

$client = $infakt->getRepository(\Infakt\Model\Client::class)->get(2887744);

$bankAccounts = $infakt->getRepository(\Infakt\Model\BankAccount::class)->getAll();

$bankAccount = $infakt->getRepository(\Infakt\Model\BankAccount::class)->get(4786512);

$infakt->getRepository(\Infakt\Model\VatRate::class)->getAll()