2017 © Pedro Peláez
 

library yuki

A php connector for Yuki's Sales and Accounting API (subsets), intended to create Sales Invoices and get back payment status.

image

funkytime/yuki

A php connector for Yuki's Sales and Accounting API (subsets), intended to create Sales Invoices and get back payment status.

  • PHP
  • 0 Dependents
  • 0 Suggesters
  • 1 Forks
  • 0 Open issues
  • 1 Versions
  • 31 % Grown

The README.md

funkytime/yuki

A php connector for Yuki's Sales and Accounting API (subsets), intended to create Sales Invoices and get back payment status., (*1)

$invoice = [
    'Reference' => '',
    // ...
    'Contact' => [
        'ContactCode' => '',
        // ...
    ]
    'ContactPerson' => ['FullName' => ''],
    'InvoiceLines' => [
        'InvoiceLine' => [
            'ProductQuantity' => '',
            'Product' => [
                'Description' => '',
                // ...
            ]
        ]
    ]
    ];
];
$YukiSales = new \FunkyTime\Yuki($api_key, 'sales');
$YukiSales->ProcessInvoice($invoice);
$YukiAccounting = new \FunkyTime\Yuki($api_key, 'accounting');
$status = $YukiAccounting->GetInvoiceBalance($inv_reference);
// Result: an array with keys 'openAmount' and 'originalAmount' 

The Versions

27/07 2018

dev-master

9999999-dev

A php connector for Yuki's Sales and Accounting API (subsets), intended to create Sales Invoices and get back payment status.

  Sources   Download

MIT

The Requires

  • php ^5.4 || ^7.0