Skip to content

Instantly share code, notes, and snippets.

👨‍💻
Hello

Alex Stoica itrack

👨‍💻
Hello
Block or report user

Report or block itrack

Hide content and notifications from this user.

Learn more about blocking users

Contact Support about this user’s behavior.

Learn more about reporting abuse

Report abuse
View GitHub Profile
@itrack
itrack / exemplu_api_anaf.php
Created Nov 16, 2019
Exemplu Complet API Anaf
View exemplu_api_anaf.php
<?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
View anaf-api.php
<?php
$cui = "RO34559148";
$dataVerificare = "2017-12-31"; // * Data la care vrei informatiile
$anaf->addCui($cui, $dataVerificare);
$rezultat = $anaf->getOneResult();
print_r($rezultat);
You can’t perform that action at this time.