zyabik / nip-get-info-wl-api.mf.gov.p
There is no license information available for the latest version (dev-master) of this package.
Client wl-api.mf.gov.pl
dev-master
2021-04-06 12:28 UTC
Requires
- php: >=7.4
This package is not auto-updated.
Last update: 2024-09-26 07:07:05 UTC
README
White List API / API Wykazu podatników VAT / Biała lista podatników VAT
API Docs
Methods
searchNip( string $nip , string $date ) : EntityResponse|Error searchNips( array $nips , string $date ) : EntryListResponse|Error searchRegon( string $regon , string $date ) : EntityResponse|Error searchRegons( array $regons , string $date ) : EntryListResponse|Error searchBankAccount( string $bankAccount , string $date ) : EntityListResponse|Error searchBankAccounts( array $bankAccounts , string $date ) : EntryListResponse|Error checkNipBankAccount( string $nip , string $bankAccount , string $date ) : EntityCheckResponse|Error checkRegonBankAccount( string $regon , string $bankAccount , string $date ) : EntityCheckResponse|Error
Usage
<?php require_once './vendor/autoload.php'; $client = new \WhiteListApi\WhiteListApiClient; $response = $client->searchNip('5252344078', '2021-01-01'); echo $response->result->subject->name; // GOOGLE POLAND SPÓŁKA Z OGRANICZONĄ ODPOWIEDZIALNOŚCIĄ