Vies
extends Vies
in package
Class created by Core/Base/PluginDeploy
Tags
Table of Contents
- EU_COUNTRIES = ['AT', 'BE', 'BG', 'CY', 'CZ', 'DE', 'DK', 'EE', 'EL', 'ES', 'FI', 'FR', 'HR', 'HU', 'IE', 'IT', 'LT', 'LU', 'LV', 'MT', 'NL', 'PL', 'PT', 'RO', 'SE', 'SI', 'SK']
- VIES_URL = "https://ec.europa.eu/taxation_customs/vies/checkVatService.wsdl"
- $lastError : mixed
- check() : int
- getLastError() : string
- getViesInfo() : int
Constants
EU_COUNTRIES
public
mixed
EU_COUNTRIES
= ['AT', 'BE', 'BG', 'CY', 'CZ', 'DE', 'DK', 'EE', 'EL', 'ES', 'FI', 'FR', 'HR', 'HU', 'IE', 'IT', 'LT', 'LU', 'LV', 'MT', 'NL', 'PL', 'PT', 'RO', 'SE', 'SI', 'SK']
VIES_URL
public
mixed
VIES_URL
= "https://ec.europa.eu/taxation_customs/vies/checkVatService.wsdl"
Properties
$lastError
private
static mixed
$lastError
= ''
Methods
check()
public
static check(string $cifnif, string $codiso) : int
Parameters
- $cifnif : string
- $codiso : string
Return values
int —getLastError()
public
static getLastError() : string
Return values
string —getViesInfo()
private
static getViesInfo(string $vatNumber, string $codiso) : int
Parameters
- $vatNumber : string
- $codiso : string