This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
$cui = "RO34559148"; | |
$dataVerificare = "2017-12-31"; // * Data la care vrei informatiile | |
$anaf->addCui($cui, $dataVerificare); | |
$rezultat = $anaf->getOneResult(); | |
print_r($rezultat); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
// Dupa ce ai executat comanda "composer require itrack/anaf" in consola, | |
// in folderul in care ai executat-o vei adauga acest fisier php | |
require_once(__DIR__ . '/vendor/autoload.php'); | |
$anaf = new \Itrack\Anaf\Client(); | |
$cui = "123456"; // Cui-ul societatii | |
$dataVerificare = "2019-05-20"; // Data la care vrei sa faci verificarea, daca vrei sa faci |