/**
  * Get Invoice total ny number
  *
  * @param  integer  $no
  * @param  boolean  $vat
  * @return float
  */
 public function total($no, $vat = false)
 {
     $handle = $this->getHandle($no);
     $request = ['invoiceHandle' => $handle];
     if ($vat) {
         return $this->client->Invoice_GetGrossAmount($request)->Invoice_GetGrossAmountResult;
     }
     return $this->client->Invoice_GetNetAmount($request)->Invoice_GetNetAmountResult;
 }