Download the PHP package sq/laravel-sevdesk-api without Composer
On this page you can find all versions of the php package sq/laravel-sevdesk-api. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Download sq/laravel-sevdesk-api
More information about sq/laravel-sevdesk-api
Files in sq/laravel-sevdesk-api
Package laravel-sevdesk-api
Short Description A helpful Sevdesk API client for Laravel.
License MIT
Homepage https://github.com/exlo89/laravel-sevdesk-api
Informations about the package laravel-sevdesk-api
laravel sevdesk api
This package make a connection to the sevdesk api and let you interact with it.
Installation
You can install the package via composer:
Set your api token with
Optionally you can publish the config file with:
This is the contents of the published config file:
Usage
First Instantiate a sevdesk instance.
Create Contact
Create sevdesk contacts. There are 4 different default contact types in sevdesk.
- supplier
- customer
- partner
- prospect customer
The optional $parameters
is for additional information like description, vatNumber or bankNumber.
For accounting contact you have to create a contact first. You create a accounting contact using the created contact id.
For custom contact types use your custom category id.
Check Create Contact for more information.
Retrieve Contact
To get all contacts.
To get all contacts from a custom type.
To get a single contact.
Update Contact
To update a single contact. $contactId
is required.
Delete Contact
To delete a single contact. $contactId
is required.
Create Contact Address
Create Communication Way
Create phone number.
Create email.
Create website.
Retrieve Communication Way
Retrieve all communication ways.
Retrieve communication ways of a specific contact.
Delete Communication Way
To delete a single communication way.
Retrieve Invoice
To get all invoices.
To get all invoices filtered by status draft
, open
or payed
.
To get all invoices filtered by a giving $contactId
.
To get all invoices filtered by giving $timestamp
.
To download pdf file of the giving $invoiceId
.
To send invoice to giving $email
. Use $subject
and $text
to edit the mail. $text
can contain html.
Changelog
Please see CHANGELOG for more information what has changed recently.
Contributing
Please see CONTRIBUTING for details.
Security
If you discover any security related issues, please email [email protected] instead of using the issue tracker.
Credits
- Martin Appelmann
- All Contributors
License
The MIT License (MIT). Please see License File for more information.
Laravel Package Boilerplate
This package was generated using the Laravel Package Boilerplate.