public function createInvoice($parameters)
    {
        if (array_key_exists('posData', $parameters)) {
            $parameters = $this->hashPosData($parameters);
        }

        return $this->getCommand('createInvoice', $parameters)->getResult();
    }