gkvdt / uyumsoft-einvoice
Eincoice/Earchive integration for uyumsoft
Installs: 19
Dependents: 0
Suggesters: 0
Security: 0
Stars: 5
Watchers: 1
Forks: 3
Open Issues: 0
Type:project
This package is auto-updated.
Last update: 2025-03-29 01:16:46 UTC
README
İlk kurlum için composer install gkvdt/uyumsoft_einvoice
kodunu çalıştırınız.
Ardından config/app.php
dosyasında providers kısmına Gkvdt\UyumsoftEinvoice\Providers\EInvoiceServiceProvider::class
providerının ekleyiniz ve ardından php artisan vendor:publish --tag="uyumsoft_einvoice"
komutunu çalıştırınız.
Migrations ve config/uyumsoft_einvoice.php
dosyalarını publish ettikten sonra uygulamayı product modunda çalıştırmak için config/uyumsoft_einvoice.php
içerisindeki
[
...
'is_dev' => false
]
yapmanız yeterlidir.
Daha sonra php artisan migrate
komutunu çalıştırdıktan sonra 2 yeni veri tabanı tablosu oluşacaktır. ws_users
tablosu içerisinde Uyumsoftun kullanıcı adı ve şifresi yer almakta ve user_id ile login olmuş kullanıcı adına göre çekilmektedir. ws_partys
şirket bilgilerini (adres,telefon vs.. ) içermektedir. (Bknz: Party.php)
Örnek Kullanım
Kullanımı bir WdslRequest oluştruduktan sonra WdslRequest->request(); şeklinde istek atılabilir.
Örneğin;
$wdslRequest = new GetInboxInvoice();
$wdslRequest->request();
Halihazırda bulunan WdslRequest sınıfından türemiş bütün classlar :
GetEInvoiceUsers
GetInboxInvoice
GetInboxInvoiceData
GetInboxInvoicePdf
GetInboxInvoices
GetInboxInvoiceView
GetOutboxInvoice
GetOutboxInvoiceData
GetOutboxInvoicePdf
GetOutboxInvoices
GetOutboxInvoiceView
GetSummaryReport
GetUserAliasses
IsEInvoiceUser
SendInvoiceV2