Introduction

The energy sector has contributed significantly to economic growth (Tran et al., 2020). It concludes that the energy sector is a significant industry in each economy that creates jobs, demand for energy, and economic development. To achieve this, the environmental and business considerations of microtechnology, fuel, and power businesses have predominantly developed in the form of financial performance (Nguyen et al., 2020; Wang et al., 2021; Hashemizedeh et al., 2021). This research aims to identify the factors that affect the need for working capital (WC) in a developing economy. In the context of this study, the need for WC is described as enough funds a company needs to adequately fund the ordinary operating expenses needed to run the company. Functioning current assets and current liabilities are dealt with by WC. WC meets a company entrepreneur’s short-term financial needs (Luc, 2018; Tan et al., 2019, 2020). The lower cash flows lead to less need for funding and lower capital costs, which, in turn, increase the levels of investor capital (Seth et al., 2020). Efficient WC has become an essential instrument for continuing companies to improve overall profitability and benefit from the industry (Peng and Zhou, 2019). Deficiencies in regular WC patterns have led to efficient quality models that can test robust liquidity (Song et al., 2020). Cash conversion period as firms pay their trade creditors’ fees and collect payments from trade debtors that have arisen during the sale of products to consumers (Ukaegbu, 2014). In other words, in response to inventories purchasing and selling, the cash conversion cycle (CCC) is a complex model where it takes time, a business obtained from debtors and paid to payables (Tsagem, 2020). A low stock level of inventory can prevent efforts to sustain a positive WC. Still, the opportunity costs associated with having a positive WC can experience a decrease in gross profit (Mazzarol and Reboud, 2020). Therefore, efficient investment in WC aims to recover excessive investment in current assets when managing a company’s ability to find a good balance between liquidity and profitability (Hamza et al., 2015). Yet, there has not been a single investigation into the relationship between components of WC, CCC, and gross profit with the interaction impact of exchange rates and interest rates to preserve the supremacy of our knowledge. Notify the organization to see if the checked association is impacted by the firms’ sizes and ages when handling the Interaction between CCC and gross profit (Davis and Bendickson, 2020; Mate and Occhino, 2020).

According to many empirical studies, industry selection is an essential consideration for this research on the company’s WC management decision-making. It was the critical goal of exploring how the chosen business deviates from its roots. Different characteristics of the fuel and energy sector, including its internal control system, level of liquidity, firm age, company size, and, in reality, some of the economy’s economic determinants, such as interest rates and currency exchange rates. Due to its significance as the country’s economy, production infrastructure, and “political tool,” the fuel and energy sector is considered unique (Bergeaud and Raimbault, 2020). For instance, a state-owned company monopolized business investment agreements in the Russian power sector (Gazprom Bodislav et al., 2020). Simultaneously, the energy sector of Venezuela was occupied by the official PDVSA, and the Ministry of Petroleum of Iran was in complete charge of the energy sector. They were used as political weapons (Chernov and Sornette, 2020; Rosales, 2020). Finally, the energy market has specific features that impact WC management settlements (Arena et al., 2020; Wattoo et al., 2020; Nguyen, 2020). Previous research on the fuel and energy sector has shown that inaccurate results are produced by the breakdown of critical factors related to growth in the energy sector. Capital and labor, technological development, housing, energy prices, real investment, short-term investment, reproduction, and consumer prices are among these main factors. These variables included the development case that analyzed the relationship between fuel usage and energy consumption and industrial development (Aziz et al., 2020).

For static and dynamic panel regression analyses, a sample of 21 companies working in the fuel and energy field, including the latest results, was utilized in energy production activities for the period 2013–2018. Results show a significant leverage relationship, net cash flow from operations, the volatility of exchange rate and interest rate as moderating impact from macro to micro-level, firm age and size, various components of the CCC on gross profit of firms. This research presents an experimental analysis of the fuel and energy WC investment and the latest data. However, this research finding may be unique for the fuel and energy sector, which has a conglomeration of businesses linked together by cross-shareholders to form a robust system of firms WC arrangements as a prevailing feature of the local economy. The current research contributes to the literature that the moderate role of companies' external environmental factors could initially change the business’s internal financial arrangements, taking a sample from a developed economy. Only in the capacity of the model can the findings of our analysis be generally applicable. Lastly, the period adopted in this research (2013–2018) has seen many economic fluctuations, such as economic downturn and policy change, that may vary under normal circumstances for companies or economies. This study adds to previous literature on the relationship between the efficacy of the WCM and the exchange rate and interest rate interaction vector for firms’ WC activities. Furthermore, this research is one of the few academic studies to explore this relationship between the exchange rate and interest rate in the fuel and energy industry with CCC and APD of the firms, bridging the gap in related analysis in other industries.

The article goes ahead with attendance: In the section “Literature review”, review of the literature. Next, the data and method of investigation are given in the section “Data and methodology”. This investigation’s results are supported by the section “Results” at the end abstracts and conclusions in the section “Conclusions and limitations”.

Literature review

Earlier research has indicated that the management of WC contributes well to gross profit (Lazaridis and Tryfonidis, 2006; Gill et al., 2010; Adekola et al., 2017; Boisjoly et al., 2020). Earlier literature found that the inverse relationship between these dimensions was commonly observed by WCM and the gross benefit association (Karim et al., 2017; Samiloglu and Akgün, 2016; Chowdhury et al., 2018). Research findings show a negative and essential profitability effect of the debt–equity ratio (Chandra et al., 2016; Öztürk and Karabulut, 2018; Putri and Nasution, 2018). Companies’ age and size influence the company’s overall profitability (Goel and Sharma, 2015; Moussa, 2018). Liquidity is a significant concern for businesses and can significantly affect their overall profitability (Gull and Arshad, 2013; Wichitsathian, 2019; Umadevi and Boopathiraj, 2020). Possible net cash flows from operations analysis imply that individual businesses have trouble achieving profit results that may adversely impact the financial output (Umadevi and Boopathiraj, 2020; Wang et al., 2020; Nguyen, 2020). Exchange rates directly affect their financial outcome as companies import their inputs or sell their trading inventory on the international market, resulting in a direct competitive impact on domestic and international markets. Falls in demand for foreign trade (Oseifuah, 2016).

H1: There is a negative correlation linking CCC and the fuel and energy sector’s gross profit.

The moderating impact of real effective exchange rate (REER) volatility in between CCC and gross profit

Long-term CCC tends to raise the number of inventories and receivables, which extends WC. In this example, to fund account receivables and inventory inventories, outstanding payments/accounts payables, interest-bearing debt, and shareholder equity are used. Therefore, high external sources minimize gross profit precisely because of much interest and fixed funds that will not be reinvested in profitable operations. CCC’s yield effect can remain distinct (Goel and Sharma, 2015; Moussa, 2018). Notice that when negotiating with the CCC and the gross profit association to assess the REER, the exchange rate, i.e., the REER, should be considered (Sunday, 2018; Hussain et al., 2020). It is proposed that CCC’s shock to gross profit is not due to its structure; REER is supposed to affect it. Some research indicates conflicting conclusions on the relationship between CCC and gross profit could be due to the business’s dealing with the exchange rate. In such situations, it is expected that the exchange rate can moderate the CCC and the gross profit association; the resulting hypothesis is then implemented (Dalci et al., 2019).

H2: The exchange rate has a moderating influence between CCC’s relationship and the gross profit of fuel and energy firms.

Moderating impact of interest rate in between CCC and gross profit

The interest rate includes the lending rate provided on the free market by commercial banks. Because of taxes and insolvency costs, interest rate increases are likely to affect its capital structure. In general, companies are more likely to operate on debt while borrowing rates are low. Concerning interest rates, tax advantages are an enticing feature of servicing debt. Business operations will benefit from enhancing financial efficiency, as interest payments are tax-deductible. Generally, businesses borrow more when the cost of funding decreases because it offers companies the opportunity to invest less money on the interest of borrowing funds (Restrepo et al., 2019). It has total power to meet its interest payments if a company’s status is stable and profitable. It is also speculated that many companies have low-interest coverage ratios when interest rates are cheap, and they work to make a high profit. Besides, lower interest rates would start a more robust output (Bruyland et al., 2019). This study examines the moderating role of market variables in the relationship between working capital management (WCM) and companies’ profitability listed on the TSE from 2008 to 2017. In this analysis, three issues are mediating variables based on current studies, including business size, debt ratio, and government ownership. Using return on assets (ROA) and CCC, respectively, financial performance and WCM are calculated (Zaher and Illescas, 2020). The importance of integrating macroeconomic variables in the formulation of WCM policies, such as inflation rates. It is expressed in the results that show that inflation has a negative and detrimental effect on WCM and business profitability (Simon et al., 2019).

H3: The interest rate has a moderating influence between CCC’s relationship and the gross profit of fuel and energy firms.

At the base of the above-mentioned theoretical frame and assumptions, the conceptual model can be exhibited:

Conceptual framework

Figure 1 depicts the conceptual framework regarding the study. More specifically, this conceptual model very clearly shows the original paradigm of the research. The CCC and average collection period, inventory turnover ratio, and average payment period are independent variables. The exchange rate and the interest rate used as moderator effects of the macro-factor affect the firm’s performance. We can say macro-factor means external environment effect, which is beyond the firms’ financial managers’ power. Still, they must consider these to build the monetary policy to get firm performance in best of firm’s interest. While there are eight different performance indicators of the firm’s financial performance, we use only one primary performance indicator: gross profit. Simultaneously, we also use some control variables: firm’s age, firm’s size, debt–equity ratio, net cash flow from operations, and liquidity ratio of the firms.

Fig. 1: Conceptual model of the study.
figure 1

This figure explores the graphical flow of the study. The CCC, ACP, ITR, and APP are used as the independent variables while the exchange rate and the interest rate are used to check the macroeconomic factor moderating role on firms financial performance, i.e., gross profit. We also used some control variables Age, Size, DER, NCFO, Liq. Source: authors.

Data and methodology

This section of the study describes analytical techniques for examining patterns, variables, development of research assumptions, and the CCC’s interdependence and gross profit components.

Data and sample

The study sample included 21 registered companies employed in the fuel and energy sector. The first fuel and energy sector was carried out questionable results to avoid. Such conditions, such as the effect on gross profit on WC. The key focus of the analysis here is the moderating impact on the gross profit of the exchange rate and interest rate, the net decision on payments and receivables, and the focus on this economic variable’s inventory turnover ratio. They appear to be affected and include company results, which can fluctuate across business sectors. All the companies chosen are listed on the Pakistani Karachi stock exchange (KSE). The selected sample describes six years from 2013 to 2018, and the data was obtained from the Department of Statistics of the State Bank.

The hypothesis of the study

Based on the previously discussed aims, the following hypotheses concerning the fuel and energy sector are described.

H1: There is a negative correlation linking CCC and the fuel and energy sector’s gross profit.

H2: The exchange rate has a moderating influence between CCC’s relationship and the gross profit of fuel and energy firms.

H3: The interest rate has a moderating influence between CCC’s relationship and the gross profit of fuel and energy firms.

Tools and techniques/Research methodology

The mean, standard deviation, and coefficient of variance are used to determine the effect of the interest rate and exchange rate as moderate with CCC and its components on GP. The correlation coefficient is applied to obtain the relationship between CCC and GP and CCC parts with GP. For the static panel, PCSE is used to address the standard error, which covers autocorrelation (AR) and heterozedastic problems after implementation of the Relationship (AR1) and Correlation (PSAR1) rhotypes (tscorr).

The “small” alternative is used for this reason in the GMM model regression to measure the results of the regression t-test instead of z during the analysis of linear and nonlinear regression analyses. To “robust” also helps to handle the heteroscedastic problem and stable AR (HAC). The nodiff-Sargan order is used to prevent the reporting of a particular difference in Sargan statistics. An orthogonal choice is used instead of the first difference to transmit orthogonal variations transform.

Variables

In the investigator’s inquiry and what is called during the experiment, an experimental variable counts. The experimental variable answers the explanatory variable. It is calculated because the variations in an explanatory variable are “dependent” on it. The gross profit (GP) is used in this analysis as companies’ profitability and is, therefore, an answer variable. The concept of applying this variable is because the study attempted to relate the company’s organizational performance or failure to an operational ratio, and it has an intense relationship with other operating variables. Gross profit is calculated as net profits minus the cost of selling products. This research illustrates just how much gross profit a corporation can earn from controlling its current liabilities by investing in existing assets. As gross profit is the performance of any company’s trading account, it may be beneficial to begin by focusing on observing each portion of a trading account.

In the sense of financial results, this study’s primary aim is to find WC deeply, so it should genuinely concentrate on the trading account because it has roots to improve its economic efficiency. Average receivable days, average payable days, inventory turnover days, and CCC are indicators or regressor variables. ARD is average receivable days, measured as (average receivable accounts/net sales)*365, while the days of inventory turnover are (average inventory/net sales)×365. APD is ×365 average payable days (average accounts payable/cost of products sold), but as (ARD + ITR−APD), these variables’ performance is CCC. A control variable is a constant variable to measure the interaction between two variables. In every experiment, the control variable is not an independent variable, but it can influence the experiment’s effects. It refers to the variable generated or dropped to define the relation between a dependent variable and an independent variable. The empirical analysis model, where control variables are debt-equity ratio, liquidity, net cash flow from operations, firm age, and size, are used. Debt equity ratio, gross debt ratio (short-term plus long-term) to total assets. Current assets/current liabilities calculate liquidity. The exchange rate is the REER, while the interest rate is supplied by economic data obtained from the State Bank by the various commercial banks. All information is shown in Table 1.

Table 1 Definition of the variables.

Empirical model

Introduce research work to explore how variables impacting company gross profit (GP) using the panel data analysis of cross-sectional time-series data ended over the (2013–2018) areas. GP will be used as a response variable with a combination of variables; hence gross operating profit can be interpreted as follows:

$${\mathrm{Gross}}\,{\mathrm{Profit}} = {F}\left( {{\mathrm{ARD}},\,{\mathrm{ITR}},\,{\mathrm{APD}},\,{\mathrm{Age}},\,{\mathrm{Size}},\,{\mathrm{DER}},\,{\mathrm{NCFO}},\,{\mathrm{Liq}},\,{\mathrm{Irate}},\,{\mathrm{ExR}}} \right)$$
(1)
$${\mathrm{Gross}}\,{\mathrm{Profit}} = {F}\left( {{\mathrm{CCC}},\,{\mathrm{Age}},\,{\mathrm{Size}},\,{\mathrm{DER}},\,{\mathrm{NCFO}},\,{\mathrm{Liq}},\,{\mathrm{Irate}},\,{\mathrm{ExR}}} \right)$$
(2)

Simple linear regression, Yit = αit + βitX + εit

Static panel model: In Panel data analysis, different analysis models can be tested, pooled ordinary least square, random effects, and fixed effects model to examine the association among the variables.

Static model interest rate and exchange rate as an interaction effect: The next step uses the interaction term, which is created by the product of two independent variables: the interest rate and average payable days, and regressed to check its influence on the dependent variable, i.e., gross profit shown in the equation. The study’s primary concern is to check the macroeconomic (external environment effect) into the micro-level of the firm’s financial decisions.

Static panel model

In this study, we apply both the Static panel model and the Dynamic panel model. The difference in both models will be discussed in Table 2 as follows:

$$\begin{array}{l}{\mathrm{GP}}_{it} = \beta _{it} + \beta _1\left( {{\mathrm{ARD}}_{it}} \right) + \beta _2\left( {{\mathrm{ITR}}_{it}} \right) + \beta _3\left( {{\mathrm{APD}}_{it}} \right) + \\ \beta _4\left( {{\mathrm{AGE}}_{it}} \right) + \beta _5\left( {{\mathrm{Size}}_{it}} \right) + \beta _6\left( {{\mathrm{DER}}_{it}} \right) + \beta _7\left( {{\mathrm{NCFO}}_{it}} \right) + \\ \beta _8\left( {{\mathrm{Liq}}_{it}} \right) + \beta _9\left( {Irate_{it}} \right) + \beta _{10}\left( {{\mathrm{ExR}}_{it}} \right) + \varepsilon _{it}\end{array}$$
(3)
$$\begin{array}{l}{\mathrm {GP}}_{it} = \beta _{it} + \beta _1\left( {{\mathrm{CCC}}_{it}} \right) + \beta _2\left( {{\mathrm{AGE}}_{it}} \right) + \beta _3\left( {{\mathrm{Size}}_{it}} \right) + \\ \beta _4\left( {{\mathrm{DER}}_{it}} \right) + \beta _5\left( {{\mathrm{NCFO}}_{it}} \right) + \beta _6\left( {{\mathrm{Liq}}_{it}} \right) + \beta _7\left( {Irate_{it}} \right) + \beta _8\left( {{\mathrm{ExR}}_{it}} \right) + \varepsilon _{it}\end{array}$$
(4)
Table 2 Comparison between the different models used in the study for analysis.

Static Model interest rate as interaction effect

$$\begin{array}{l}{\mathrm {GP}}_{it} = \beta _{it} + \beta _1\left( {{\mathrm{ARD}}_{it}} \right) + \beta _2\left( {{\mathrm{ITR}}_{it}} \right) + \beta _3\left( {{\mathrm{APD}}_{it}} \right) + \beta _4\left( {{\mathrm{AGE}}_{it}} \right)\\ + \beta _5\left( {{\mathrm{Size}}_{it}} \right) + \beta _6\left( {{\mathrm{DER}}_{it}} \right) + \beta _7\left( {{\mathrm{NCFO}}_{it}} \right) + \beta _8\left( {{\mathrm{Liq}}_{it}} \right) + \\ \beta _9\left( {Irate_{it}} \right) + \beta _{10}\left( {{\mathrm{ExR}}_{it}} \right) + \beta _{11}\left( {Irate \ast {\mathrm {APD}}_{it}} \right) + \varepsilon _{it}\end{array}$$
(5)
$$\begin{array}{l}{\mathrm {GP}}_{it} = \beta _{it} + \beta _1\left( {{\mathrm{CCC}}_{it}} \right) + \beta _2\left( {{\mathrm{AGE}}_{it}} \right) + \beta _3\left( {{\mathrm{Size}}_{it}} \right) + \beta _4\left( {{\mathrm{DER}}_{it}} \right)\\ + \beta _5\left( {{\mathrm{NCFO}}_{it}} \right) + \beta _6\left( {{\mathrm{Liq}}_{it}} \right) + \beta _7\left( {Irate_{it}} \right) + \beta _8\left( {{\mathrm{ExR}}_{it}} \right) + \\ \beta _9\left( {Irate \ast {\mathrm {CCC}}_{it}} \right) + \varepsilon _{it}\end{array}$$
(6)

Static model exchange rate as an interaction effect

$$\begin{array}{l}{\mathrm {GP}}_{it} = \beta _{it} + \beta _1\left( {{\mathrm{ARD}}_{it}} \right) + \beta _2\left( {{\mathrm{ITR}}_{it}} \right) + \beta _3\left( {{\mathrm{APD}}_{it}} \right) + \\ \beta _4\left( {{\mathrm{AGE}}_{it}} \right) + \beta _5\left( {{\mathrm{Size}}_{it}} \right) + \beta _6\left( {{\mathrm{DER}}_{it}} \right) + \beta _7\left( {{\mathrm{NCFO}}_{it}} \right) + \\ \beta _8\left( {{\mathrm{Liq}}_{it}} \right) + \beta _9\left( {Irate_{it}} \right) + \beta _{10}\left( {{\mathrm{ExR}}_{it}} \right) + \beta _{11}\left( {{\mathrm {ExR}} \ast {\mathrm {APD}}_{it}} \right) + \varepsilon _{it}\end{array}$$
(7)
$$\begin{array}{l}{\mathrm {GP}}_{it} = \beta _{it} + \beta _1\left( {{\mathrm {CCC}}_{it}} \right) + \beta _2\left( {{\mathrm {AGE}}_{it}} \right) + \beta _3\left( {{\mathrm {Size}}_{it}} \right) + \\ \beta _4\left( {{\mathrm {DER}}_{it}} \right) + \beta _5\left( {{\mathrm {NCFO}}_{it}} \right) + \beta _6\left( {{\mathrm {Liq}}_{it}} \right) + \beta _7\left( {Irate_{it}} \right) + \\ \beta _8\left( {{\mathrm {ExR}}_{it}} \right) + \beta _9\left( {{\mathrm {ExR}} \ast {\mathrm {CCC}}_{it}} \right) + \varepsilon _{it}\end{array}$$
(8)

Everywhere i (i = 1…21) is the intercept for every firm, t (t = 2013–2018) characterizes the year examined. The β are the coefficients for each regressor variable, including εit is the disturbance term. Different approaches will be used to examine the static panel models examined: pooled ordinary least squares, random effects, fixed effects with n firm-specific intercepts. Fixed effects models investigate the relationship between input variables and output variables in different things, considering that the business has its characteristics that influence the association of concerning variables. On the other hand, random-effects models indicate random variation across organizations, unassociated with input variables. Breusch and Pagan’s multiplier test tells us that the random effect model is appropriate between OLS and Random Effects. The Hausman test explains the finest model from the second twofold models. In the end, AR and hetero-scedastic problems were resolved using 4–7 regression models, especially with the two-step GMM, which was essential for boosting the expected model. Regression from 4th to 6th used for panel correction standard error (PCSE).

Dynamic panel model

The dynamic data panel analysis techniques are used to infer the relationships among the variables of the study. To observe our study variables’ relationships, we apply a GMM System Estimation applied by Arellano and Bover (1995) and Blundell and Bond (1998). This assessment method will help in the following assessment of the equations: Where (L.GP) is the first difference of the gross profit, and the explanatory variables in the model which includes (L.GP), which is the difference lagged dependent variable of Gross Profit. From the empirical model 10th–15th, both L.GP have used the first difference as an explanatory variable because it is conditional in GMM. In this study, we hypothesize a relationship between the firms’ gross profit and the interest rate, exchange rate; due to this, it disturbs a company’s profitability. In this study, we also hypothesize a relationship between companies’ trade creditors and the exchange rate of the PKR. In the present study, we hypothesize an association between companies’ trade creditors and the interest rate, exchange rate of the PKR. Many businesses, banking, economics, and finance matters are character-driven and use panel data arrangements to agree with adjustments. It is essential to allow dynamics in the primary process for the constant estimation of other parameters. The dynamic connections are described by the carriage of a lagged dependent variable with the regressors, i.e. The dynamic model with one lagged dependent variable without exogenous variables, |γ < 1, is \(Y_{it} = \gamma Y_{i,t - 1} + \alpha _i + \mu _{it}\sim {\mathrm {iid}}\left( {0,\sigma _\mu ^2} \right)\) Here, Yi, t−1 dependent positively on αi: This is simple to see when inspecting the model for the period (t−1):

$$Y_{it - 1} = \gamma Y_{i,t - 2} + \alpha _i + \mu _{it - 1}$$

The Arellano–Bond (also Arellano–Bover) method of moments estimator is consistent. The moment conditions use the properties of the instruments

Yi,tj, J = 2

To be uncorrelated with the future errors µi, t−1. we obtain an increasing number of moments conditions for t = 3, 4,…, t.

T = 3: E[(µi,3µi,2)yi,1] = 0

T = 4 E[(µi,4µi,3)yi,2] = 0, E[(µi,4−µi,3)yi,1] = 0

T = 5 E[(µi,5µi,4)yi,3] = 0, …, E[(µi,5µi,4)yi,1] = 0

We define (T−2)×1 vector

Δµi = [(µi,3µi,2),…..,(µi,Tµi,T−1)]́

And a (T−2) × (T−2) matrix of instruments

$$\begin{array}{*{20}{c}} {} & {{Y}_{i,1}} & {{Y}_{i,1}} & {......} & {{Y}_{i,1}} \\ { {\acute{z}}_{i}} & { = 0} & {{Y}_{i,2}} & {......} & {{Y}_{i,2}} \\ {} & 0 & 0 & {......} & {......} \\ {} & 0 & {......} & 0 & {{Y}_{{i},{T - 2}}} \end{array}$$

Ignoring exogenous variable, for ΔYit = γΔYi, t-1 + Δµit

$$Y_{it} = \delta Y_{i,t - 1} + \beta x_{it} + \mu _{it}$$
(9)
$$\begin{array}{l}{\mathrm {GP}}_{it} = \beta _{it} + \beta _1\left( {{\mathrm{ARD}}_{it}} \right) + \beta _2\left( {{\mathrm{ITR}}_{it}} \right) + \beta _3\left( {{\mathrm{APD}}_{it}} \right) + \\ \beta _4\left( {{\mathrm{AGE}}_{it}} \right) + \beta _5\left( {{\mathrm{Size}}_{it}} \right) + \beta _6\left( {{\mathrm{DER}}_{it}} \right) + \beta _7\left( {{\mathrm{NCFO}}_{it}} \right)\\ + \beta _8\left( {{\mathrm{Liq}}_{it}} \right) + \beta _9\left( {Irate_{it}} \right) + \beta _{10}\left( {{\mathrm{ExR}}_{it}} \right) + \mu _{it}\end{array}$$
(10)
$$\begin{array}{l}{\mathrm {GP}}_{it} = \beta _{it} + \beta _1\left( {{\mathrm{CCC}}_{it}} \right) + \beta _2\left( {{\mathrm{AGE}}_{it}} \right) + \beta _3\left( {{\mathrm{Size}}_{it}} \right)\\ + \beta _4\left( {{\mathrm{DER}}_{it}} \right) + \beta _5\left( {{\mathrm{NCFO}}_{it}} \right) + \beta _6\left( {{\mathrm{Liq}}_{it}} \right) + \\ \beta _7\left( {Irate_{it}} \right) + \beta _8\left( {{\mathrm{ExR}}_{it}} \right) + \mu _{it}\end{array}$$
(11)

Dynamic model interest rate as interaction effect

$$\begin{array}{l}{\mathrm {GP}}_{it} = \beta _{it} + \beta _1\left( {{\mathrm{ARD}}_{it}} \right) + \beta _2\left( {{\mathrm{ITR}}_{it}} \right) + \beta _3\left( {{\mathrm{APD}}_{it}} \right) + \\ \beta _4\left( {{\mathrm{AGE}}_{it}} \right) + \beta _5\left( {{\mathrm{Size}}_{it}} \right) + \beta _6\left( {{\mathrm{DER}}_{it}} \right) + \beta _7\left( {{\mathrm{NCFO}}_{it}} \right) + \\ \beta _8\left( {{\mathrm{Liq}}_{it}} \right) + \beta _9\left( {Irate_{it}} \right) + \beta _{10}\left( {{\mathrm{ExR}}_{it}} \right) + \beta _{11}\left( {Irate \ast {\mathrm {APD}}_{it}} \right) + \mu _{it}\end{array}$$
(12)
$$\begin{array}{l}{\mathrm {GP}}_{it} = \beta _{it} + \beta _1\left( {{\mathrm{CCC}}_{it}} \right) + \beta _2\left( {{\mathrm{AGE}}_{it}} \right) + \beta _3\left( {{\mathrm{Size}}_{it}} \right) + \\ \beta _4\left( {{\mathrm{DER}}_{it}} \right) + \beta _5\left( {{\mathrm{NCFO}}_{it}} \right) + \beta _6\left( {{\mathrm{Liq}}_{it}} \right) + \beta _7\left( {Irate_{it}} \right) + \\ \beta _8\left( {{\mathrm{ExR}}_{it}} \right) + \beta _9\left( {Irate \ast {\mathrm {CCC}}_{it}} \right) + \mu _{it}\end{array}$$
(13)

Dynamic model exchange rate as an interaction effect

$$\begin{array}{l}{\mathrm {GP}}_{it} = \beta _{it} + \beta _1\left( {{\mathrm{ARD}}_{it}} \right) + \beta _2\left( {{\mathrm{ITR}}_{it}} \right) + \beta _3\left( {{\mathrm{APD}}_{it}} \right) + \\ \beta _4\left( {{\mathrm{AGE}}_{it}} \right) + \beta _5\left( {{\mathrm{Size}}_{it}} \right) + \beta _6\left( {{\mathrm{DER}}_{it}} \right) + \beta _7\left( {{\mathrm{NCFO}}_{it}} \right)\\ + \beta _8\left( {{\mathrm{Liq}}_{it}} \right) + \beta _9\left( {Irate_{it}} \right) + \beta _{10}\left( {{\mathrm{ExR}}_{it}} \right) + \beta _{11}\left( {{\mathrm {ExR}} \ast {\mathrm {APD}}_{it}} \right) + \mu _{it}\end{array}$$
(14)
$$\begin{array}{l}{\mathrm {GP}}_{it} = \beta _{it} + \beta _1\left( {{\mathrm {CCC}}_{it}} \right) + \beta _2\left( {{\mathrm {AGE}}_{it}} \right) + \beta _3\left( {{\mathrm {Size}}_{it}} \right) + \\ \beta _4\left( {{\mathrm {DER}}_{it}} \right) + \beta _5\left( {{\mathrm {NCFO}}_{it}} \right) + \beta _6\left( {{\mathrm {Liq}}_{it}} \right) + \beta _7\left( {Irate_{it}} \right)\\ + \beta _8\left( {{\mathrm {ExR}}_{it}} \right) + \beta _9\left( {{\mathrm {ExR}} \ast {\mathrm {CCC}}_{it}} \right) + \mu _{it}\end{array}$$
(15)

Wherever δ is a scalar, xit is 1*K, and β is K*1. The µit go when a one-way disturbance component model µit = λi + Ɛit the error term µit is de-integrated into λi and Ɛit where λi is the individual specific effect to cover the individual heterogeneity, and Ɛit is the error term. The empirical model is considered to promote investment variables. Because equity can range from investment to firm equity to debt in both directions and vice versa, these restrictions can be synchronized through the error term. Time-oriented firm individualities (unobserved specific effects, λi), such as demographics and geography, can remain integrated thru explanatory variables. The presence of the lagged measured variable leads to AR. There are at least two reasons for a short period measurement (T = 6) then a firm’s measurement (N = 21) in the panel data set: the possibility of simultaneous error control makes it possible for some predictor variables might be endogenous (associated). Controlling the firm’s exact impact, which is due to the regression calculation’s dynamic assembly, the firm’s specific dummies cannot be used.

Blandell and Bond (1998) System GMM estimator where Level and differential equations have been merged. The rear differential of the regressors is used as an extra instrument for level equations. Here are two types of GMM estimators, one step and two-step estimator. Academically, a two-step estimation is much extra effective than a one-step estimation since it practices the maximum weight matrix. A minor cross-section measurement might (i) cause influenced standard errors, (ii) influenced estimation parameters (Windmeijer, 2005), and (iii) a weak extraordinary identification test (Bowsher, 2002). Rodman () explained that the source of these difficulties is device expansion. An answer that cuts the measurement of the adjustable instrumental combination. Blundell and Bond (1998) and Alonso-Borrego and Arellano (1999) show that if the dependent and explanatory variables determined and running continuously over time or almost behaving a random walk, the variance of these components, in differences is performing as a weak instrument for Regression (Nyblom, 1989). Due to the autoregressive approximation of the parameter union or the variability of the separate impact rises, it is increasing when idiosyncratic error varies. Therefore, to reduce the potential error and barriers related to difference estimators, Blandel and Bond (1998) projected a GMM method by merging differences and regressions crosswise levels.

In calculating the Regression of differences, the means on behalf of Regression in levels are lagged differences (transformed). The reliability of GMM estimation is contingent on double descriptive diagnostics tests. Sargent tests of excessive instrument restrictions are valid, fail to throw away the hypothesis will mean instruments used in the model are correct, and the research model is properly well-defined. Serial correlation tests for the error term (Arellano and Bond, 1991; Dao et al., 2020). We must reject H0, which implies no first-order AR (AR1) and that the second-order serial correlation does not appear (AR2). Windmeijer (2005) derives a close derivation of this limited sample bias and applies it to the two-step GMM estimation variable variance-covariance matrix (VCE) defining VCE (Robust). Reliable estimates of what has been corrected are robust to heteroscedasticity. The Sargan test output does not indicate that when the errors are heteroskedastic, the estat sargan is not presented the description of the VCE (robust) afterward. A healthy form of the Arellano-Bond test for AR has been developed after defining VCE (Robust).

Results

Descriptive statistics

Table 3 exhibits the numbers of the variables employed in the investigation. The mean value of GP is 13.72 of the fuel and energy sector firms produce profit constructed on stockholders’ investments. The average figure of the debt-equity ratio is 3.59, the mean value of irate is 7.95%, and the firm’s liquidity is 2.09, respectively. CCC’s mean value is around −66.87, meaning that cash conversion has a negative impact, and it supports the literature on the topic. APD has a mean value of 66.88, proving that the fuel and energy sector firms attempt to balance current assets to current Liabilities. It indicates that the fuel and energy sector firms also own a low volume of existing assets and have less preference to hold receivable (account receivable/notes receivable), inventory stock, and other few current assets. The next consideration is extra suitable in this situation. Examining the mean value of liquidity is 2.08, which means a relationship between current assets is very high, showing that half of the assets are equal to short-term debts. Firm Size means the value is 16.34 and Age means is 3.26, net cash flow from the operation has 13.02 mean value.

Table 3 Descriptive statistics.

Correlation matrix

Correlations among all variables exist in Table 4. The correlation between the debt-equity ratio has a positive effect on GP. There is a negative and significant association with CCC, while APD has a significant association. CCC has a significant negative association with dependent variables, while ARD APD positively affects GP. The control variables, like liquidity, the exchange rate (REER), and interest rate, positively correlate with firm GP. In contrast, all others, including age, size, net cash flow from the operation, have a positive association with gross profit.

Table 4 Correlation matrix.

Empirical results

Table 5 displays the regression analysis’s primary outcomes using static panel and dynamic panel analyses where the firm’s gross profit is used as a dependent variable. In contrast, the CCC and WCM components are used as independent variables. Debts equity ratio, firm age, size, NCFO, liquidity used as control variables, exchange rate and irate, are used as moderator (Interaction) variables of the empirical research model. Multicollinearity monitors panel data with VIF, where the mean VIF value >10 means that the panel is multi-colinear (Majeed and Ozturk, 2020). The first column reports the names of various independent variables, the second column results for pooled ordinary least squares (OLS), the third column reports the results of random effects (RE), and the fourth column fixed effects (FE) regressions results. At the second point, we use techniques to robust the standard error with the methods of AR parameter is large (54.97), which was not the case without this (24.05). The standard errors are extensive than for the model exclusive of serial correlation 36.05, which is possible if there is a serial correlation. 5th Column is about Beck and Katz (2011) makes a case in contradiction of estimating panel exact AR parameters, as opposed to one AR parameter for all panels. 5th Column used PCSE with AR; the standard errors are similar to PCSE. However, they are from the asymptotic covariance evaluations of OLS deprived of permitting for coexistent correlation. Outcomes from the two-step system GMM regression are included in the last column.

Table 5 First linear Regression Model of working capital components.

The influence of WC components related decisions with interest rate and exchange rate on gross profit

The OLS model explains ARD, ITR, APD, age, size, debt-equity ratios, NCFO, liquidity, interest rates, and exchange rate explain the disparity in GP. Debt-equity ratios, Age, Size, interest rate, and exchange rate are negative, while ARD, ITR, APD, NCFO, and Liquidity have positive effects on GP in the case of a fixed-effect model best choice. However, to overcome heteroskedasticity and serial correlation with the error term, we used various PCSE techniques to validate the panel’s robust standard error correction. We discovered that all variables’ coefficients are identical to those in the fixed effects model, except firm size and firm liquidity behaviors being negative. Size gets positive instead of fixed effects model. Every WC components regression Husman test has been pointed out that the fixed effects are suitable to consider in the model (Veenstra and Vanzella-Yang, 2020), indicating that there is a difference between firms managing associations among variables.

The second aimed a detailed study to estimate the model of fixed effects evaluated for fixed effects, ARs, and heterogeneity for some time. These matters are further explained. The corrected model using PCSE proves the importance of variables in terms of statistics that affect GP (Nuță and Nuță, 2020). ITR, APD, size, DER, NCFO, and liquidity ratio have slightly changed in betas value, but ARD, age, interest rate, exchange rate betas values get colossal change. It is presumed that different lending companies will be less gainful. Gross profit often rises by businesses regularly restoring WC components to their average values, which confirms this experimental model’s findings that the fuel and power companies are efficient in using their WC and focusing on them. The straight impact of size on GP shows that businesses are additional gainful when seen with large size, DER reverse influence, perhaps as they remain more careful in allotting their funds. Likewise, the exchange rate increase gives the fuel and energy sector less gross profit, similar to the interest rate. Though, it is identical that businesses uncover their APD during high exchange rate times. The modified, fixed effects that are PCSE calculation yields an adverse factor for size and a constructive for liquidity and investment (Nuță and Nuță, 2020). Accordingly, the fuel and energy firms perform very well when they own a small CCC. Its presumption is established by the liquidity betas, confirming that current assets give chances to earn extra income. Subsequently the PCSE model, the debt-equity keeps its adverse impact on the gross profit. While size, DER, NCFO, Liq, Irate, and exchange rate remained statistically significant.

At the end, when WC components are less favorable, the fuel and energy industry earn more gross profit than CCC components. From the explanatory variables, i.e., CCC, it is confirmed that gross profit is inversely affected whereas positively associated with NCFO and Liq. It sees explanatory variables in the fixed effect model are significant. The logical outcomes were suspected if the maximum of the registered firms examined be obliged a tiny amount of debt, occasionally taking solitary short-term loans. The revised fixed effects using PCSE Regression relating to CCC components manage the gross profit by age, size, DER, NCFO, liquidity, Irate, and exchange rate. CCC is leading an adverse result on the gross profit. We can say that businesses are extra gainful if they put less investment in WC components. They can keep enough in backup to handle the crucial situation of operational activities.

Meanwhile, as Irate or exchange rates are increased, the gross profit will decrease automatically. The GMM model, including the lag value of GP as a regressor, corrected the fixed effects equation. It returned a significant positive coefficient for size and a negative for ARD, ITR. While including the lag value of GP as a regressor, it rotates the coefficient of the following variable, i.e., ARD, ITR positive to negative. In contrast, the size becomes a negative coefficient to a positive sign. It means the GMM model handles the problem of heteroscedasticity and serial correlation problems appropriately. When the model’s overall significance is estimating, one needs to check that all regressions are appropriate. A GMM two-step process that adjusts the AR, heteroskedasticity, is most apt to understand the immense benefit output (Beck and Katz, 2011). The estimated association linking these variables simultaneously, including control variables, is shown in Tables 4 and 5. The coefficient of ARD was positive (6.97). It meant that when ARD increased by 1-day, gross profit increased by 6.97%. The regression beta of the ITR was 0.006, indicating that an increase of 1 in the ITR is a 0.06% increase in gross profit and vice versa. It shows that higher inventory levels will support overall profit growth.

The APD coefficient was 0006, showing a rise in APD of 1 to an increase of 0,06 percent in gross profit. In a different approach, approximately, when the APD increases by 1, the gross profit increases by 0.06%. The 2nd regression equation’s coefficient of CCC was −0.0061 and significant, which indicates that an expansion in CCC by 1 unit is associated with a decrease in GP by 0.006% and vice versa. The Hausman test is significant. In all the cases, the FE model is consistent; the VIF ranged from 1.30 to 1.36, mean no multicollinearity problem exists in linear Regression, but its value is more than 10 in the case of nonlinear equations. It indicated that a specific variable had some associations with other predictor variables. The heteroskedasticity test and Wooldridge test show that both problems exist to adjust with PCSE and system GMM. It means that multicollinearity and serial association problems may be modified correctly after these approaches are used. If the Sargan test’s p-value and that the AR1 and AR2 values are not significant, it means aligning all of the issues.

The influence of CCC-related decisions with interest and exchange rate on gross profit

Concerning gross profit, the models referring to age, size, debt-equity ratios, NCFO, liquidity ratio, interest rate, and exchange rate give a statistically meaningful result in all the models. Going on the opposite, the CCC has a negative relation with GP. The NCFO and Liquidity ratios were also observed as statistically positive for the variance of GP. The exchange rate and interest rate were also observed statistically negative with the variance of GP, nevertheless all empirical regressions model especially in GMM. Although all relevant regressions were applied (OLS, RE, FE, PCSE, GMM), the goodness of fit indicates that all variables were analyzed to determine and points out that these observed variations in GP happen due to all selected variables. Ultimately, the most suitable approach for this model is PCSE and GMM adjusted and satisfy all linear and nonlinear regression appropriations. Based on the results shown in Table 6, lending firms are less efficient. It is observed through some associations that gross profit will be influenced by the high degree of debt-equity ratio, and further, it is found the corporations that buy current assets by their funds.

Table 6 First linear model of the cash conversion cycle.

Nevertheless, it can also be thought that corporations invite investors with investment opportunities. Therefore corporations that acquire additional current assets promote more considerable investment in CCC activities of the business. The direct effect of the NCFO on GP suggests that when the NCFO increases, it will enhance the GP in the fuel and energy sector firms. The CCC, firm age, DER, NCFO, Liquidity, Interest rate all these variables were found statistically significant in the FE model.

Additionally, the corrected FE through the PCSE model proceeds size, DER, exchange rate (REER), and significant interest rate values. The exchange rate and interest rate have an adverse effect, and liquidity and NCFO have a progressive GP impact. In further terms, the firms yield higher on stockholders’ funds while liquid assets are better. It is shown in the GMM model. Another assumption would be that under ARD and ITR, the firm’s gross profit gets shrinkage, big size firms get more GP. Thus, they are trying to attract more investment opportunities and collect more competitive opportunities in the market.

Interaction effect

The interaction effect’s significance is these nonlinear empirical models, where it is not like the indifferent effect; it may have a distinct symbol. The usual software does not calculate the significance of this statistic. The exact way to evaluate its measurement and standard errors is the nonlinear model’s interaction effect (Ai and Norton, 2003). We enter the interaction term in the experimental model interest rate and APD (Irate*APD), positive and interest rate. In another equation, CCC (Irate*CCC), which coefficient is negative, can measure the different slopes of the coefficient. It has too much change in the coefficient value and their signs of both variable interest rate and APD. It means interest rate has an interaction effect between firms’ APD and their GP (Jadiyappa et al., 2016).

Table 7 clearly explains the Interaction with both variables. In our output table, Diagnostic checks present the evaluation first model selection using the Hausman test. We infer the FE is appropriate in GP as the dependent variable with different CCC components. The Hausman test helps us differentiate between RE and FE, so the probability value Hausman test is <5%, so our choice is FE is appropriate.

Table 7 Nonlinear regression with the first interaction of interest rate with average payable days.

Multicollinearity Test means VIF is little more than the simple model without interaction effect. It was only 1.30–1.36, but after the model’s interaction variable, it gets higher mean there is multicollinearity in the model. Heteroskedasticity test also significant mean model caught by Heteroskedasticity problem. Therefore, we use both PCSE for the static and two-step system GMM for the dynamic panel to cover this problem. Wooldridge test helps us identify an AR problem, but in our case, all models have this problem; that’s why we use PCSE AR1, and in GMM, we use the AR1 AR2 technique to adjust this problem correctly. Sargan test helps us to find out that model and overidentification conditions are correctly specified. If the Sargan test’s p-value is insignificant, then H0 that overidentification conditions are correctly specified is accepted whether the instruments appear exogenous. In the end, all GMM models of the study lag variables are significant to mean it fulfills the condition of the dynamic model.

Here in Table 8, Irate*CCC is used as a regressor to check the interaction effect, which is approved to have an interaction effect because the value of the coefficient has changed.

Table 8 Non-linear regression with the first interaction of interest rate with CCC.

Table 9, we enter the interaction term in the experimental model exchange rate and CCC (ExR*APD). Coefficients are positive and (ExR*CCC) which coefficients are negative and can measure the coefficient’s different slope. It has too much change in the coefficient value and their signs of both variable interest rate and APD. It means interest rate has an interaction effect between firms’ APD and their GP (Jadiyappa et al., 2016).

Table 9 Nonlinear regression with 2nd Interaction of exchange rate with average payable days.

Here in Table 10, ExR*CCC is used as a regressor to check the interaction effect, which is approved to have an interaction effect because the value of the coefficient has changed. This interaction effect is considered as financial development and evaluated by the researcher (Ahmed et al., 2020; Asif et al., 2020).

Table 10 Nonlinear regression with 2nd interaction of exchange rate with CCC.

Based on previous results, all three research hypotheses have been accepted.

Conclusions and limitations

The objective of the study is to examine the interaction effect of macroeconomics indicators, and WC flows on financial performance in a developing economy. By using the static and dynamic approach of panel analysis, and firm-level dataset from 2013 to 2018, empirical results show that the firm either does not efficiently control current assets or has sufficient funds from companies to tackle advantageous schemes. Size has a significant effect on gross profit. More specifically, large sizes are considered to have a considerable impact on the firm performance. Similarly, the exchange rate has an adverse relation with firm performance. Although this indicates that huge profits are connected to low exchange rates, it is further rationale to investigate that the fuel and energy industry accounts for most of its foreign exchange inputs and local currency turnover in cases of excessive exchange rates. When PCSE research methods were used, it would also show the adverse correlation between the interest rate and its firm performance. Further, the relation between CCC and financial performance is significantly affected by NCFO. While businesses run debt when they are in financial difficulty when the interest rate is high, it has an inverse impact on GP; they face significant business risks or do not pay outstanding due to cash shortages.

Moreover, several variables can be classified to help clarify the fluctuation in financial performance. Interest rates are more reverse if we include them in an observational model as an interaction variable. As the local currency is devalued and businesses extend the CCC duration, the exchange rate would positively affect and firm performance would be improved.

Limitations of the study

We want to make it clear that no study can be free of obstacles, as stated below:

  • The research is limited to six years of data only, i.e., from 2013 to 2018. Accordingly, a complete investigation comprising an average time, which may provide somewhat mixed outcomes, could not produce significant inferences.

  • This research is based on secondary data collected from the Officers of the State Bank. The investigation’s nature depends only on the accuracy of the data and the secondary data’s authenticity. The influence of the data source can affect the results of the estimation and explained the analysis results.

This research is based on 21 companies of the fuel and energy sector, extracted from corporations registered under KSE. Accordingly, the accuracy of the decisions is based on the data of the sample selected firms. The return can be somewhat contradictory if the potential researcher uses more time about the sample units.