public function findByInvoiceId($invoiceId)
    {
        $result = $this->connection()->get($this->getEndpoint() . '/find_by_invoice_id/' . urlencode($invoiceId));

        return $this->makeFromResponse($result);
    }
public function findByInvoiceId($invoiceId)
    {
        $result = $this->connection()->get($this->getEndpoint() . '/find_by_invoice_id/' . urlencode($invoiceId));

        return $this->makeFromResponse($result);
    }
public function findByInvoiceId ( $ invoiceId ) { $ result = $ this -> connection ( ) -> get ( $ this -> getEndpoint ( ) . '/find_by_invoice_id/' . urlencode ( $ invoiceId ) ) ; return $ this -> makeFromResponse ( $ result ) ; }
Find SalesInvoice by invoice_id.

@param string|int $invoiceId

@return static

@throws \Picqer\Financials\Moneybird\Exceptions\ApiException
Find SalesInvoice by invoice_id .