public function validateVatNumber(string $vatNumber) : bool
    {
       return $this->validateVatNumberFormat($vatNumber) && $this->validateVatNumberExistence($vatNumber);
    }
public function validateVatNumber(string $vatNumber) : bool
    {
       return $this->validateVatNumberFormat($vatNumber) && $this->validateVatNumberExistence($vatNumber);
    }
public function validateVatNumber ( string $ vatNumber ) : bool { return $ this -> validateVatNumberFormat ( $ vatNumber ) && $ this -> validateVatNumberExistence ( $ vatNumber ) ; }
Validates a VAT number using format + existence check.

@param string $vatNumber Either the full VAT number (incl. country) or just the part after the country code.

@return boolean

@throws Vies\ViesException
Validates a VAT number using format + existence check .