src/Daursu/Xero/models/Invoice.php
public function getPdf($id = '')
	{
		$id = $id ? : $this->attributes[$this->primary_column];
		return $this->request('GET', sprintf('%s/%s', $this->getUrl(), $id), array(), "", "pdf");
	}
public function getPdf($id = '')
	{
		$id = $id ? : $this->attributes[$this->primary_column];
		return $this->request('GET', sprintf('%s/%s', $this->getUrl(), $id), array(), "", "pdf");
	}
public function getPdf ( $ id = '' ) { $ id = $ id ? : $ this -> attributes [ $ this -> primary_column ] ; return $ this -> request ( 'GET' , sprintf ( '%s/%s' , $ this -> getUrl ( ) , $ id ) , array ( ) , "" , "pdf" ) ; }
Retrieves a PDF file of an invoice

@return mixed
Retrieves a PDF file of an invoice