php-core / abaninja-sdk
AbaNinja.ch PHP SDK
dev-master
2024-09-06 00:27 UTC
Requires
- php: >=8.1
- guzzlehttp/guzzle: ^7.9
Requires (Dev)
- phpunit/phpunit: ^11.3.1
- vlucas/phpdotenv: v5.6.1
This package is auto-updated.
Last update: 2025-04-15 15:07:37 UTC
README
AbaNinja.ch PHP SDK
Install
Install package with composer
composer require php-core/abaninja-sdk
In your PHP code, load library
require_once __DIR__ . '/vendor/autoload.php'; use PHPCore\AbaNinja\AbaNinja;
Usage example
require_once __DIR__ . '/vendor/autoload.php'; use PHPCore\AbaNinja\AbaNinja; ... $person = AbaNinja::AddressesApi()->getPerson($personUuid);
Current coverage
Addresses
Documents
DocumentsQuotes | ◐ |
---|---|
Quotes List | ✅ |
Create a quote | ❌ |
Existing quote | ✅ |
Update a quote | ❌ |
Actions for an existing quote | ✅ |
Execute an action on an existing quote | ❌ |
DocumentsInvoices | ◐ |
---|---|
Invoices List | ✅ |
Create invoice | ❌ |
Existing invoice | ✅ |
Update invoice | ❌ |
Actions for an existing invoice | ✅ |
Execute an action on an existing invoice | ❌ |
DocumentsInvoicesImported | ✅ |
---|---|
Create an imported invoice (PDF existing) | ❌ |
DocumentsCreditNotes | ◐ |
---|---|
Credit Notes List | ✅ |
Create credit note | ❌ |
Existing credit note | ✅ |
Update credit note | ❌ |
Actions for an existing credit note | ✅ |
Execute an action on an existing credit note | ❌ |
DocumentsTemplates | ◐ |
---|---|
Templates List | ✅ |
Create template | ❌ |
Existing template | ✅ |
Update template | ❌ |
List template actions | ✅ |
Execute an action on an existing template | ❌ |
DocumentsReceipts | ◐ |
---|---|
Receipts List | ✅ |
Actions for an existing receipt | ✅ |
Execute an action on an existing receipt | ❌ |
DocumentsQueue | ✅ |
---|---|
Existing queue | ✅ |
Finances
FinancesBankAccounts | ◐ |
---|---|
List of bank accounts | ✅ |
Create bank account | ❌ |
Single bank account | ✅ |
Update bank account | ❌ |
Remove bank account | ❌ |
Products
ProductGroups
Units
Units | ◐ |
---|---|
Units List | ✅ |
Create a new unit | ❌ |
Single Unit | ✅ |
Single unit update | ❌ |
Delete unit | ❌ |
Time
Employee | ❌ |
---|---|
Employee List | ❌ |
Create new employee | ❌ |
Available Users | ❌ |
Single employee | ❌ |
Update employee | ❌ |
Remove employee | ❌ |
EmployeeGroups | ❌ |
---|---|
List employee groups | ❌ |
Create employee group | ❌ |
Single employee group | ❌ |
Update employee group | ❌ |
Remove employee group | ❌ |
EmployeeInOut | ❌ |
---|---|
Create In&Out Entry | ❌ |
List not closed In&Out entries | ❌ |
Single In&Out entry | ❌ |
Update In&Out entry | ❌ |
Remove In&Out entry | ❌ |
EmployeeActivities | ❌ |
---|---|
Create activity | ❌ |
Single employee activity | ❌ |
Update employee activity | ❌ |
Remove employee activity | ❌ |
EmployeeStatistics | ❌ |
---|---|
Employee holiday | ❌ |
Employee flex time | ❌ |
Employee target time | ❌ |
Employee calendar | ❌ |
Employee daily | ❌ |
List not closed In&Out entries | ❌ |
Daily Closed | ❌ |
Employee Daily totals | ❌ |
Holidays
License
MIT
Author
PHP-Core dev@php-core.com