Download the PHP package liagkos/vatidinfo without Composer
On this page you can find all versions of the php package liagkos/vatidinfo. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Table of contents
Download liagkos/vatidinfo
More information about liagkos/vatidinfo
Files in liagkos/vatidinfo
Download liagkos/vatidinfo
More information about liagkos/vatidinfo
Files in liagkos/vatidinfo
Vendor liagkos
Package vatidinfo
Short Description Retrieve greek business iformation from tax registry
License MIT
Package vatidinfo
Short Description Retrieve greek business iformation from tax registry
License MIT
Please rate this library. Is it a good library?
Informations about the package vatidinfo
VAT ID Info for Greek Business
This class implements the latest version of Greek Tax Registry VAT ID information service. This service provides information for VAT IDs registered as business only (no information for private individuals) and you have to get some extra credentials first from this url.
Two features were added:
- Abilty to check VAT Status (normal or exempt), useful for Article 39A
- Abilty to check status in some specific date in the past (max 3 years)
Installation
Install the package using Composer:
Usage
Parameters explained
- method
- query: Normal operation, ask for VAT ID information
(default)
- info: Get some service related information
- query: Normal operation, ask for VAT ID information
- afmFor: If method is
query
this is the VAT ID you must pass and the one you will get information for - afmFrom: VAT ID of the final user using the service. If omitted, the service will think that the user is the user who has logged in to the service in the construcor
(default)
. Otherwise, if a person or a company has authorised the user to make queries on their behalf (a company by itself is not allowed to make queries), then you must pass here the VAT ID of the authorisee. - lookDate: Reference date in format YYYY-MM-DD. If omitted, the service will just return the latest information
(default)
. - separator: Activities are additionally formatted in groups of 2 digits separated by this separator. If no value is passed, a dot will be used
(default)
like 11.22.33.44. - type:
Default
reply type isjson
formatted. If you prefer an associative array, set this value toarray
or anything else (it isn't checked).
Reply example
Most fields are self explaining, but keep in mind that:
success
true means that the SOAP request was completed successfully, no moatter if the VAT ID was found, or the credentials were correctfound
true means that we actually got information for this VAT IDerrors
is false if no errors or array with keyscode
andmsg
if there was a service errordateShown
,regDate
andstopDate
areDateTime
objectsregDate
will be false if the VAT ID belongs to old (not active) business (reply was null)stopDate
will be false if the VAT ID has not stopped its business or belongs to old business with no stop date availableactivities
will be false if there are no data available (old stopped business)activities
are sorted per type and then per code
That's all!
I hope you find it useful like I did. If you have any proposals or problems, feel free to contact me!
All versions of vatidinfo with dependencies
PHP Build Version
Package Version
No informations.
The package liagkos/vatidinfo contains the following files
Loading the files please wait ....