mlevent / fatura

GİB e-Arşiv Portal e-Fatura, e-SMM, e-Müstahsil Oluşturucu
https://mlevent.github.io/fatura
MIT License
80 stars 20 forks source link

belge işlemleri #69

Closed hiberblsm closed 4 months ago

hiberblsm commented 4 months ago

belge işlemlerinde $gib->getHtml('1d78ef40-6491-11ed-a280-4ccc6ae28384'); ve earşiv icerigini goruntuleme saglanamıyor bunla ilgilenme şansınız varmı acaba

mlevent commented 4 months ago

Merhabalar, herhangi bir hata almıyor musunuz?

hiberblsm commented 4 months ago

Merhabalar, herhangi bir hata almıyor musunuz?

işlem başarısız hatası alıyorum

hiberblsm commented 4 months ago

Merhabalar, herhangi bir hata almıyor musunuz?

Mlevent\Fatura\Exceptions\ApiException : İstek başarısız oldu. in /vendor/mlevent/fatura/src/Client.php on line 50 hata tam olarak bu sanırım kutuphanede bir gunceleme gerkeli php 8,3 versiyon kulanıyorum

mlevent commented 4 months ago

Tekrar merhabalar,

getHtml metoduna gönderdiğiniz ettn şu ise; 1d78ef40-6491-11ed-a280-4ccc6ae28384 sonuç alamamanız normal. böyle bir belge yok. bu, dökümanda bulunan örnek bir kullanım.

Kendi oluşturduğunuz bir belgeye ait ettn bilgisiyle tekrar deneyin.

İyi günler, kolaylıklar dilerim.

hiberblsm commented 4 months ago

Tekrar merhabalar,

getHtml metoduna gönderdiğiniz ettn şu ise; 1d78ef40-6491-11ed-a280-4ccc6ae28384 sonuç alamamanız normal. böyle bir belge yok. bu, dökümanda bulunan örnek bir kullanım.

Kendi oluşturduğunuz bir belgeye ait ettn bilgisiyle tekrar deneyin.

İyi günler, kolaylıklar dilerim.

öncelikle earsiv gib sorgularla aldıgım belgeleri tablo halinde lsiteliyorum ve bunlara ait ettn sorguluyorum manuel belge numarası veya olmayan belge numarası girmiyorum ama belgeler 2 ay oncesine ait bir zaman sınırı varmıdır

mlevent commented 4 months ago
try {

    ...

    echo $gib->getHtml('');

} catch(FaturaException $e){

    var_dump($e->getResponse());
}

getResponse ne cevap dönüyor?

hiberblsm commented 4 months ago

aşagıdaki hata geliyorArray(    [token] => 2117857b35ff8b5d9b9eb561951193fa0f8b4c91e327bb2bdec6a8d2b2258945f9e8a5d40442260e5c4e537047a68aca53cea161ab5b107294502ad6e3969bd5    [redirectUrl] => index.jsp)Array(    [error] => 1    [messages] => Array        (            [0] => String index out of range: 4        )     [metadata] => Array        (            [optime] => 20240307002851+0300        ) )Mlevent\Fatura\Exceptions\ApiException: İstek başarısız oldu. in /www/wwwroot/hiber.com.tr/storage/vendor/mlevent/fatura/src/Client.php on line 51 07.03.2024, 00:25, "Mert Levent" @.***>: try {

   ...

   echo $gib->getHtml('');

} catch(FaturaException $e){        var_dump($e->getResponse()); }getResponse ne cevap dönüyor?—Reply to this email directly, view it on GitHub, or unsubscribe.You are receiving this because you authored the thread.Message ID: @.***>

mlevent commented 4 months ago

getHtml metodu gelen faturalar için kullanılamıyor.