php-core/abaninja-sdk

AbaNinja.ch PHP SDK

dev-master 2024-09-06 00:27 UTC

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

Addresses
Check if the customerNumber already in use or not
Get a list of company addresses for given account
Single company
Single company update
Delete company
Get a list of person addresses for given account
Single person access
Single person update
Delete person
Create new address for given account

Documents

DocumentsQuotes
Quotes List
Create a quote
Existing quote
Update a quote
Actions for an existing quote
Execute an action on an existing quote
DocumentsContractNotes
Contract Notes List
Create contract note
Existing contract note
Update contract note
Actions for an existing contract note
Execute an action on an existing contract note
DocumentsDeliveryNotes
Delivery Notes List
Create delivery note
Existing delivery note
Update delivery note
Actions for an existing delivery note
Execute an action on an existing delivery note
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
DocumentsRecurringInvoices
Recurring Invoices List
Create recurring invoice
Existing recurring invoice
Update recurring invoice
Actions for an existing recurring invoice
Execute an action on an existing recurring invoice
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

Products
Products List
Create a new product
Get an existing product
Update an existing product
Remove an existing product
Available actions for an existing product
Execute an action on an existing product

ProductGroups

ProductGroups
Product groups List
Create a new product group
Check product group number
single product group
Update product group
Delete product group
Archive product group
Restore product group

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
EmployeeTimeSettings
List contracts from employee
Create contract for employee
Allowed contract days
Last contract
Single contract from employee
Update contract from employee
Remove contract from employee
List time corrections for employee
Create time correction for employee
Single time correction from employee
Update time correction from employee
Remove time correction from employee
List of closures
Create closure
Last closure
Remove closure
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

SettingsTime
List holiday for state
Create holiday entry
Single holiday
Update holiday
Remove holiday
List of activity types
Create activity type
Single activity type
Update activity type
Remove activity type
List work models
Create work model
Single work model
Update work model
Remove work model
Activity settings
Update activity settings
Holiday settings
Update holiday settings
Convert holiday

License

MIT

Author

PHP-Core dev@php-core.com