mlevent / ivd Goto Github PK
View Code? Open in Web Editor NEWGelir İdaresi Başkanlığı İnteraktif Vergi Dairesi Sorgulamaları
Home Page: https://mlevent.github.io/ivd
License: MIT License
Gelir İdaresi Başkanlığı İnteraktif Vergi Dairesi Sorgulamaları
Home Page: https://mlevent.github.io/ivd
License: MIT License
Merhaba,
"<?php declare(strict_types=1); error_reporting(E_ALL); require dirname(DIR).'/vendor/autoload.php';
use Mlevent\Ivd\IvdException;
use Mlevent\Ivd\IvdService;
try {
// Kullanıcı Bilgileriyle Giriş
$ivd = (new IvdService)->login("xxx", "yyy");
print_r($ivd);
$ivd->logout();
} catch(IvdException $e){
print_r($e->getMessage());
print_r($e->getResponse());
print_r($e->getRequest());
}"
yukarı daki koddan sonra aşağıdaki hata geliyor.
"
Fatal error: Uncaught TypeError: json_decode(): Argument #1 ($json) must be of type string, bool given in C:\xampp\vendor\mlevent\ivd\src\Request.php:43 Stack trace: #0 C:\xampp\vendor\mlevent\ivd\src\Request.php(43): json_decode(false, true) #1 C:\xampp\vendor\mlevent\ivd\src\IvdService.php(85): Mlevent\Ivd\Request->__construct('https://ivd.gib...', Array) #2 C:\xampp\htdocs\index.php(8): Mlevent\Ivd\IvdService->login('66001534', '619762') #3 {main} thrown in C:\xampp\vendor\mlevent\ivd\src\Request.php on line 43"
Yardımcı olabilirmisiniz?
Merhaba,
Çalışmanız için teşekkür ederim, oldukça yararlı bir kütüphane.
TC Kimlik numarası ile sorgulama yapmak istediğim takdirde aşağıdaki hatayı alıyorum:
Array ( [metadata] => Array ( [optime] => 20230723192725 ) [messages] => Array ( [0] => Array ( [text] => Bir sistem hatası oluştu. İlgili hata kayıt altına alındı. [type] => 9 ) ) [error] => 1 ) Mlevent\Ivd\IvdException: İstek başarısız oldu.1
Bilgiler doğru olmasına rağmen bu hatanın sebebi kütüphaneden mi kaynaklanıyor yoksa GIB sunucularındaki bir teknik sorun kaynaklı mı acaba?
Ek olarak; tüm sorgulamalar aynı hata ile geri dönmektedir.
Sevgiler
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.