public function GetVoucherInfo($number, $sales_point, $type)
	{
		$req = array(
			'FeCompConsReq' => array(
				'CbteNro' 	=> $number,
				'PtoVta' 	=> $sales_point,
				'CbteTipo' 	=> $type
			)
		);

		try {
			$result = $this->ExecuteRequest('FECompConsultar', $req);
		} catch (Exception $e) {
			if ($e->getCode() == 602) 
				return NULL;
			else
				throw $e;
		}

		return $result->ResultGet;
	}
public function GetVoucherInfo($number, $sales_point, $type)
	{
		$req = array(
			'FeCompConsReq' => array(
				'CbteNro' 	=> $number,
				'PtoVta' 	=> $sales_point,
				'CbteTipo' 	=> $type
			)
		);

		try {
			$result = $this->ExecuteRequest('FECompConsultar', $req);
		} catch (Exception $e) {
			if ($e->getCode() == 602) 
				return NULL;
			else
				throw $e;
		}

		return $result->ResultGet;
	}
public function GetVoucherInfo ( $ number , $ sales_point , $ type ) { $ req = array ( 'FeCompConsReq' => array ( 'CbteNro' => $ number , 'PtoVta' => $ sales_point , 'CbteTipo' => $ type ) ) ; try { $ result = $ this -> ExecuteRequest ( 'FECompConsultar' , $ req ) ; } catch ( Exception $ e ) { if ( $ e -> getCode ( ) == 602 ) return NULL ; else throw $ e ; } return $ result -> ResultGet ; }
Get complete voucher information

Asks to AFIP servers for complete information of voucher {@see WS
Specification item 4.19}

@since 0.7

@param int $number 		Number of voucher to get information
@param int $sales_point 	Sales point of voucher to get information
@param int $type 			Type of voucher to get information

@return array|null returns array with complete voucher information
{@see WS Specification item 4.19} or null if there not exists
Get complete voucher information