funkytime / yuki
A php connector for Yuki's Sales and Accounting API (subsets), intended to create Sales Invoices and get back payment status.
Installs: 859
Dependents: 0
Suggesters: 0
Security: 0
Stars: 1
Watchers: 1
Forks: 5
pkg:composer/funkytime/yuki
Requires
- php: ^8.0
- ext-simplexml: *
- ext-soap: *
This package is auto-updated.
Last update: 2025-12-31 00:21:42 UTC
README
A php connector for Yuki's Sales and Accounting API (subsets), intended to create Sales Invoices and get back payment status.
$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'