1 Introduction

The external auditors of one of the big four auditing firms, KPMG, have recently faced renewed public criticism for their lack of due diligence and quality [1], reigniting interest in the field of corporate governance (CG). Such a circumstance is reminiscent of previous high-profile collapse scandals, including Enron and WorldCom, which slammed CG and sought comprehensive legislative reform [2]. CG provides a firm with control tools and mechanisms to help create a system of profit sharing, achieving efficiencies for the firm and a balanced wealth for the stakeholders [3]. However, researchers and practitioners seem to agree that excellent CG mechanisms have a key impact on the overall performance of the firm, particularly in achieving massive expansion in the business sector, meeting the firm’s objectives and legal compliances and protecting the shareholders’ rights. As a result, CG seems to attract more capital [4,5,6].

However, managers sometimes use innovative ways, known as earnings management (EM), to acquire the desired net income by covering weaknesses and polishing the firm’s financial ratios. By practicing EM, they violate the matching and timing principle, which causes misstatement of earnings and misleads stakeholders about actual performance and the firm’s capital structure [7].

Capital structure, as a critical area impacting the overall operating level of corporates, has been a focus in the field of finance and accounting literature [5]. Capital structure, i.e., financing decision, is concerned with the optimal mix of debt and equity. Firms with optimal debt-equity ratios can improve their performance and reduce the cost of capital and the likelihood of financial distress [8]. A firm’s capital structure specifically relies on profitability, liquidity, cash flow and earnings volatility [9], which shows that the financial information reported by a firm influences its capital structure decision (CAPS). Consequently, financial statements must convey the underlying economic performance as a change, or manipulation in financial reports would make capital structure selections less appropriate [10].

However, EM practices are assumed to be more common in developing economies, but research is scarce [11]. Current research suggests that accounting scholars and financiers still consider capital structure as a puzzle. Thus, this study addresses earlier recommendations for greater corporate finance decision and EM research. Also, following to steps of [10]. Additionally, because CG, a significant mitigating element in the practice of EM, has been ignored in earlier researches, the effect of CG in the link between EM and corporate finance decision-making is still unclear. Empirical results on EM and CG contribute to the financing decisions of a firm, thereby influencing the value of the firm and the total wealth of its shareholders. This study provides significant and various contributions. First, it demonstrates the importance of CG features and EM in determining the capital structure of a sample of Palestinian and Jordanian manufacturing firms. Second, it clarifies the interactive effect of EM with CG features on the debt level in capital structure of the sample. Third, the study connects management and behavioral theories, such as agency theory, pecking order theory, trade-off theory, free cash flow (FCF) theory and signaling theory. Furthermore, finance literature depicts contradictory opinions on the relationship between EM and capital structure. This study broadens the existing debate by delving into the relationship between EM and another vital factor, i.e., CG, to endorse and support its effect on a firm’s financing decisions. Finally, to the best of our knowledge, there is no concrete proof of CG and EM application on capital structure either in Palestine or Jordan. Hence, this paper is the first to simultaneously assess the relationship between these three variables in Arab countries.

So, in this study we investigate the impact of EM on capital structure, as well as the interactive effect of CG features (i.e., the size of the board of directors, board independence, gender diversity, CEO duality and institutional ownership) and EM on capital structure in a sample of 38 manufacturing firms listed on the PEX [12] and the ASE [13] from 2013 to 2020.

2 Literature review and hypothesis development

2.1 Earnings management

One of the first definitions of EM was given by Schipper [14], who mentioned EM is a deliberate attempt to influence the external financial reporting process with the goal of gaining a personal advantage. Healy and Wahlen [15] mentioned that EM occurs when managers use discretion in financial reporting and transaction structuring to change financial reports to deceive some stakeholders about their firm’s true economic performance or influence the results of the contracts based on reported accounting numbers [16].

EM can be both opportunistic and beneficial [17]. However, when managers of a firm utilize EM opportunistically for their self-interest rather than the benefit of stockholders, the result is detrimental to the firm. Meanwhile, when managers exercise discretion over earnings within GAAP to protect shareholders’ interests, it is regarded as ethical and advantageous. Additionally, EM is morally right and helpful in informing the public and stockholders about private information [18]. EM can be defined as a manipulation of earnings using the discretion granted by corporate laws and accounting standards and/or restructuring activities, which predict that firm value is not negatively impacted. Generally, the previous definition split EM into two types. First is “Paper EM”, which depends on manipulating earnings using discretion granted by corporate laws and accounting standards that rely on accounting estimates, policies and accruals. According to Commerford et al. [19], it can also be known as “accounting EM”. Accounting EM helps in comprehending accounting accruals and their impact on a firm’s performance measurement [14]. The second type of EM is “Real EM”, which refers to the manipulation of earnings by employing restructuring activities to positively impact a firm, such as by expanding product lines, or show a neutral impact on expected firm value, such as by acelerating the time of sales. Real EM considers the management of earnings through strategic timing of operating, financing and investing decisions. In other words, a powerful instrument for real EM practice is the timing of revenue-generating activities and reporting [20].

Many reasons encourage firms to engage in EM. They allegedly use it to smooth earnings, restrain debt covenants, increase share prices, boost management wealth, bargain with labor unions, execute management buyouts and implement bonus plans. Moreover, compensation plans and the value of executives’ stock and stock options are the main incentives that EM provides [21, 22].

2.2 Capital structure

Capital structure can be defined as the source of financing employed by a firm to finance its assets, growth opportunities and daily operations [23]. Corporate finance still lacks a unified capital structure theory, even 50 years after [24]. Although the present theories are useful as analytical tools for analyzing the empirical results, none of them is able to fully account for the decision to choose a capital structure. Each theory can explain certain stylized facts but not others.

According to the capital structure theory, the value of a firm increases if the capital structure includes a high amount of debt due to the tax benefits afforded by the debt [24]. The authors believe that if the neutrality theory is contested, two competing theories must be considered while choosing external financing: the pecking order theory and the trade-off theory. The first theory implies that due to information asymmetry, firms are required to finance in a hierarchical order. Myers [25] clarified the theory by the existence of leadership behavior. A decreasing financial hierarchy is used when managers consider the investors’ interests, which begins with using retained earnings, debt and new equity issuance, respectively. On the other hand, when managers act in their own interest, the hierarchy is altered; hence, it will first address retained earnings, followed by the issue of new equity and finally using debt to avoid its disciplinary role.

The tradeoff theory suggests that the trade-off between benefits and costs of debt determines a firm’s capital structure [26]. Tax deductibility is the main benefit of using debt. Modigliani and Miller [24] demonstrated that to take advantage of tax savings on debt, firms must employ debt. However, excessive use of debt increases the agency cost [27] and the cost of bankruptcy [28]. From this perspective, it is worth noting that this theory allows for the detection of an optimal debt level from which the firm obtains the most tax benefits [10].

However, when a firm chooses internal funding (FCF) as the main source of capital, it does not regard the agency problem according to the pecking order theory. Accordingly, Jensen [29] defined FCF as surplus cash that remains after all projects have been funded with a positive net present value (NPV). The existence of surplus cash in a firm leads to a conflict between shareholders and management, reflecting that with an excess of FCF, top management may engage in wasteful and inefficient investments. In other words, in case of excess FCF, managers are more likely to invest in new initiatives, even if the NPV is negative [30]. Therefore, the FCF theory assumes that the creation of debt represents legal duties that must be paid by management, preventing executive managers from overinvesting and utilizing the financial resources of a firm.

Michaelas et al. [31] suggest that the choice of capital structure of a firm is considered a signal that shareholders send to investors. The signaling theory stresses that firms should be careful about the signals they send to the market. This implies that any significant changes in the capital structure of a firm will be interpreted by outsiders as a signal of the firm’s prospective performance. Shareholders may interpret the announcement of debt financing as a good indication. A debt issuance indicates that the firm’s financial prospects are so promising that management does not want additional shareholders to share its possible profits [32].

Jensen and Meckling [27] defined an agency relationship as an agreement in which one or more individuals [the principal(s)] hire another individual (the agent) to execute some job on their behalf, which includes delegating some decision-making authority to the agent. This theory assumes that managers with self-interest attitudes always seek to fulfill their goals at the expense of their firms’ shareholders. The agency cost of outside equity occurs due to the conflicts between managers and shareholders since managers in large firms with diffuse ownership do not have total residual claims and cannot profit fully from their value-maximizing actions. As a result, they work less hard to manage the resources of the firms and are more inclined to transfer those resources for their own personal gain. In other words, such managers pursue their activities in a way that does not maximize shareholder wealth, which leads to them consuming more perks and investing in unrelated businesses to expand their empires, such as luxury offices, private jets and compensation. Furthermore, choosing suboptimal CAPS, such as less debt, in capital structure is also another perk enjoyed by these managers.

In accordance with the agency theory, debt financing can be utilized as a helpful governance tool to lessen the conflict of interests between managers and shareholders. In particular, debt can be used as a substitute mechanism to minimize the effect of FCF agency costs available to managers by requiring them to disgorge it to investors [29].

2.3 Corporate governance

CG was first proposed by the Cadbury committee. The committee believed CG to be a system for directing, controlling and managing firms by determining the role of the board of directors and shareholders. The board of directors oversees the management of their firms, whereas the shareholders’ responsibility in governance is to select the directors and auditors and ensure that an effective governance framework is in place [33].

A governance system can also be defined in a broader sense as a set of complex constraints that determine granted profit by the firm in the course of relationships with stakeholders and shape the ex-post bargaining over them [34]. This definition encompasses rules for both determination of value addition by firms and their distribution among the stakeholders [35]. According to the Organization of Economic Cooperation [36], CG can be defined as a group of relationships between a firm’s managers, board of directors, stakeholders and shareholders. CG also encompasses the mechanism that determines a firm’s goals and provides methods for meeting those goals.

2.4 Earnings management and capital structure

Many intensive managers must engage in EM due to the cost of capital. Nikoomaram et al. [37] and An et al. [38] exposed a positive significant relationship between debt ratio and discretionary accruals (EM). This result is consistent with the disciplining role of debt to minimize the agency cost of FCF when combined with the assumption that a firm’s EM reflects the agency conflicts of information asymmetry between managers and investors.

On the other hand, Jelinek [39] revealed a negative association between leverage and opportunistic behavior, implying that an increase in leverage leads to a decrease in managers’ opportunistic behavior and EM. Additionally, Tahir et al. [7] examined various factors related to EM impacting the capital structure of Pakistani non-financial firms for a period of five years. The results revealed that EM represented by return on assets (ROA) had a negative impact on the gearing ratio. Hence, based on the aforementioned argument, the researchers assume the following:

H1: A positive significant association exists between EM and DCAPS of the firm.

2.5 The size of the board of directors

The responsibility of managing a firm’s activity and making strategic decisions regarding the financial mix is dependent on the firm’s board of directors. The impact of the size of the board of directors on the capital structure of a firm has been well examined in prior studies [5, 6, 40,41,42,43,44]. However, the empirical results for this relationship are mixed.

Wen et al. [43] and Feng et al. [5] proved a positive relationship between the size of the board of directors and capital structure. The authors suggested that a greater size of the board will follow a higher level of gearing policy. The authors also mentioned that when the number of directors increases, the limitation to arriving at a clear decision also increases, which is reflected in the efficiency of CG mechanisms, causing higher levels of financial leverage. Furthermore, Sheikh and Wang [6] revealed a significant positive relationship between the size of the board and the debt ratio. This result was supported by the theory of resource dependency, implying that when the size of the board is greater, the ability of the board to raise funds and improve the firm’s value also rises.

On the other hand, the result of Abobakr and Elgiziry [40] demonstrated a negative relationship between the size of the board and capital structure, suggesting that a large number of directors can pressurize the managers to have a low level of gearing policy and improve their firm’s performance. Moreover, Alabdullah et al. [41] investigated the impact of two key measurements of board features on the growth and capital structure of emerging market Jordanian non-financial firms. The results showed a negative relationship between the size of the board and the debt ratio. Also, Gupta et al. [45] find that board size, female directors, and the average number of directorships held by outside directors are inversely related to performance. Hence, based on the previous argument, the researchers assume the following hypothesis:

H2a: size of the board of directors has a significantly positive role in moderating the relationship between EM and DCAPS of the firm.

2.6 Board independence

Non-executive directors are an essential component of modern CG. A few studies have examined the relationship between the presence of non-executive directors and capital structure, although the pieces of evidence vary. Wen et al. [43] proved that the existence of non-executive directors depicted a significant negative relationship with gearing levels. A probable explanation of this finding may be that non-executive directors supervise managers more effectively, forcing managers to seek lower gearing levels to achieve superior results. Moreover, Uwuigbe [46] revealed a negative and significant relationship between board independence and debt-to-equity ratio. Also, Gupta and Mahakud [47] find that the professional financial education of the board chairman and members positively affects bank performance.

On the other hand, Alves et al. [10] mentioned that the higher the proportion of independent directors, the higher the reliance on external financing sources (debt) rather than internal sources (retained earnings). Moreover, Tarus and Ayabei [48] and Ehikioya et al. [49] found that board independence positively related to leverage. This can be supported by the agency theory, which asserts the ability of outside directors to exert pressure on and influence managers to increase debt financing to increase the firm value. Following the viewpoint of the agency theory, the researcher proposes the second hypothesis, as follows:

H2b: non-executive directors have a significantly positive role in moderating the relationship between EM and DCAPS of the firm.

2.7 Gender diversity

Women on boards of directors tend to be more independent as they operate independently of the network. According to OECD [36], a greater representation of female directors may introduce heterogeneity in values, beliefs and attitudes, broadening the range of perspectives in the process of decision-making [50]. Women on boards devote more time to observe the executive directors as they are more committed to attending board meetings and keeping better records than male directors [51]. Many researchers have explored the impact of gender diversity on firm performance [52, 53]. Other researchers have investigated the effect of women’s presence on the value of a firm, including Isidro and Sobral [54], who discussed whether a firm experiences economic benefits from having more women on its board of directors following the introduction of legally binding quotas for women on corporate boards in European firms by the European Commission. The results revealed that more female representation on corporate boards of major European firms indirectly increased firm value. A portion of the indirect effect is due to greater adherence to ethical standards, which accounting-based financial performance does not consider.

Additionally, previous studies have argued that moderating risky firm decisions is related to the existence of women on a firm’s board of directors because they tend to strengthen the monitoring function by considering risk averseness, which leads to decreased reliance on debt in the firm’s capital structure [51]. However, Abobakr and Elgiziry [40] along with Heng et al. [55], proved that female existence on the board of directors showed an insignificant impact on CAPS. Also, Sahoo et al. [56] show that the board size, female director, Promoter CEOs, meeting frequencies, and attendance rate positively affect firm performance. As a result, the researchers developed the following hypothesis:

H2c: female board members have a significantly positive role in moderating the relationship between EM and DCAPS of the firm.

2.8 CEO duality

The impact of a CEO’s dual roles on a firm’s capital structure is a topic of ongoing discussion. Zaid et al. [57] stated that the CEO and chairman combination increases the risk of authority abuse, thereby leading to distorted managerial decisions. Thus, giving the same person both tasks might weaken the control process and pose a negative effect on a firm’s performance, which can impact its reputation of the “ability of debt-paying” in the eyes of creditors and lending institutions. In other words, due to the high perception of the risks associated with CEO duality, professional lenders will not invest in such firms. On the other hand, given that CEOs are highly skilled and knowledgeable individuals, CEO duality may increase the firm’s value. Keeping this in mind, the researcher can contend that when a firm faces a CEO duality situation, it is more likely to use an ideal level of debt in its capital structure [58]. Thus, while duality is probably beneficial for some firms, separation will be advantageous for others. Besides, Gupta et al. [59] found that CEO chairman duality, the presence of the chartered accountant (CA) director, AC chairman, and AC bear a positive relationship with bank performance.

However, Tarus and Ayabei [48], Agyei and Owusu [60], and Kyereboah and Biekpe [61] showed that CEO duality has negative effect on financing decisions, mentioning that when a CEO also serves chairman duties, it increases the agency cost and negatively impacts the willingness of creditors to lend to these firms. On the other hand, Sewpersadh [22] and Dimitropoulos [62] proved a positive correlation between CEO duality and leverage. Also, Gupta and Mahakud [63] showed a positive impact of CEO duality on performance. Based on the previous argument, the researchers assume the following hypothesis:

H2d: CEO duality situation have a significantly positive role in moderating the relationship between EM and DCAPS of the firm.

2.9 Institutional ownership

The active monitoring hypothesis states that the presence of institutional investors can reduce the managerial moral hazard issue in a firm by closely controlling and monitoring the performance of the firm [29]. The presence of institutional shareholding in a firm allows it to raise long-term financing at a lower cost. First, these institutional investors serve as a source of long-term debt. Second, they act as an effective control mechanism for the firm’s strategic decisions by reducing managerial opportunism and agency costs, which leads to an increase in the confidence of investors and lenders. In other words, high institutional ownership guarantees that managers will implement corporate strategies in the best interests of the shareholders [64]. Moreover, institutional investors are perceived to be more at risk than small shareholders as they hold larger ownership stakes, which also encourages them to keep a close eye on the managers.

Kumar [65] revealed that firms with a higher proportion of foreign ownership or a smaller proportion of institutional ownership have lower debt levels. Additionally, Tayachi et al. [66] mentioned that financing choices and dividend policy for sample firms are positively impacted by institutional ownership, causing investors to decide to invest more in institutional ownership that lowers the agency cost rather than in firms with a higher percentage of managerial ownership. However, Liao et al. [67] proved that the adjustments of the capital structure toward a target of shareholders are encouraged by institutional ownership rather than the desired level of managers.

On the contrary, Puspita and Suherman [68] illustrated that institutional ownership has a significantly negative impact on the debt-to-equity ratio, as well as a negative but insignificant impact on the debt-to-assets ratio. Besides, Sahoo et al. [69] indicate a positive impact of domestic promoters, foreign promoters, and institutional shareholders on firm performance. Also, Gupta et al. [70] reveal that the largest shareholder impacts the bank’s performance positively. Additionally, Gupta et al. [45] found that foreign institutional investors and foreign corporate bodies bear a positive relationship with the performance of Indian firms. Besides, Gupta and Mahakud [71] showed a higher non-government stake leads to an increase in performance. Based on the previous argument, the researchers assume the following hypothesis:

H2e: institutional ownership has a significantly positive role in moderating the relationship between EM and DCAPS of the firm.

2.10 Methodology

This study aims to examine the impact of EM on debt level in CAPS and the moderating role of CG on the relationship between EM and debt level in CAPS in a sample of Palestinian manufacturing firms and Jordanian manufacturing firms listed in the PEX and the ASE.

2.11 Sample and data collection

Secondary data required to measure EM, debt level in CAPS of the firm as well as CG features, were primarily collected from the annual reports of industrial sector firms listed on the PEX and the ASE websites between 2013 and 2020. In total, 304 observations were made for this study, including the data for 38 firms in a period of eight years. The necessary information used in this study was collected manually. The ASE and PEX databases were used as the primary sources of these data.

Extraction and mining manufacturing firms were excluded from this study as these firms do not exist in the Palestinian market. Financial listed firms were not included in the development of the study sample as they have unique accounting system characteristics and organizational and conceptual differences from other firms.

2.12 Research model

Regression modeling is used to test the two models on which the study is based. First, the effects of EM practices on debt level in CAPS were examined to meet the study objectives. Both the fixed effect model and random effect model were evaluated using the Hausman test for each regression. The interaction term between EM and CG features is incorporated into the model to analyze the interactive effect of these two factors on the choice of capital structure:

$${\text{DCAPS}} = \, \beta 0 \, + \, \beta {1}\left( {{\text{EM}}} \right)_{{{\text{it}}}} + \, \beta {2 }\left( {{\text{CG}}} \right)_{{{\text{it}}}} + \beta {3}\left( {{\text{FSIZE}}} \right)_{{{\text{it}}}} + \, \beta {4}\left( {{\text{FAGE}}} \right)_{{{\text{it}}}} + \beta {5 }\left( {{\text{DIV}}} \right)_{{{\text{it}}}} \beta {6}\left( {{\text{EM}}_{{{\text{it}}}} *{\text{CG}}_{{{\text{it}}}} } \right) \, + \, \varepsilon {\text{t}}$$
(1)

2.13 Variable measurement

2.13.1 Dependent variable

Capital structure is the dependent variable in this study. There are two proxies for CAPS. First, in line with Okyere et al. [10], the debt-to-equity ratio is employed, which is measured by dividing total debt by total equity (DCAPS1). Second, the leverage ratio is used, following Zaid et al. [70], which is computed as the total debt of a firm divided by its total assets (DCAPS2).

2.13.2 Independent variables

EM is the independent variable, various methods for identifying and evaluating EM among organizations have been presented in the literature. Particularly, it has been argued that financial firms use discretionary loan loss provisions to manage their earnings. However, in the case of non-financial firm discretionary revenues, discretionary accruals are recommended. Since manufacturing firms (non-financial firms) are being investigated in this study, the method of discretionary accruals is used following to previous literature.

However, there are stages of developing discretionary accruals models. Starting with The Jones [73], cross sectional Jones model [74] and modified Jones model [75]. Then Kasznik [76] and Kothari et al. [77] further applied some modification to the previous model. In this research, the first model is the Modified Jones model, which is the most powerful model to detect EM [75].

$${\text{TA}}_{{{\text{it}}}} /{\text{ A}}_{{{\text{it}} - {1}}} = \alpha_{{1}} \left( {{1}/{\text{A}}_{{{\text{it}} - {1}}} } \right) \, + \alpha_{{2}} ((\Delta {\text{REV}}_{{{-}{\text{t}}}} - \Delta {\text{REC}}_{{{\text{it}}}} )/{\text{ A}}_{{{\text{it}} - {1}}} ) \, + \alpha_{{3}} \left( {{\text{PPE}}_{{{\text{it}}}} /{\text{ A}}_{{{\text{it}} - {1}}} } \right) \, + \varepsilon_{{{\text{it}}}}$$
(2)

The second model is performance-matched discretionary accruals, as suggested by [75]. They modified the previous Jones model to account for performance variations and added the ROAs as an additional regressor. The described model is as follows:

$${\text{TA}}_{{{\text{it}}}} /{\text{ A}}_{{{\text{it}} - {1}}} = \alpha_{{1}} \left( {{1}/{\text{A}}_{{{\text{it}} - {1}}} } \right) \, + \alpha_{{2}} ((\Delta {\text{REV}}_{{{-}{\text{t}}}} - \Delta {\text{REC}}_{{{\text{it}}}} )/{\text{ A}}_{{{\text{it}} - {1}}} ) \, + \alpha_{{3}} \left( {{\text{PPE}}_{{{\text{it}}}} /{\text{ A}}_{{{\text{it}} - {1}}} } \right) \, + \alpha_{{4}} {\text{ROA}} + \varepsilon_{{{\text{it}}}}$$
(3)

where:

  • TA: total accruals of the firm (net income before extraordinary items of the firm minus net operating cash flow)

  • A-1: total assets of the firm (past year)

  • Δ REV: change in revenues

  • ΔREC: change in account receivables

  • PPE: the total of property plant and equipment

  • ROA: ratio of return on assets (net income divided by total assets)

  • (i): the firm

  • (t): the time (years)

  • εit: the residual, indicating the discretionary portion of total accruals and represents the EM of the firm.

2.13.3 Control variables

Previous studies assessed a variety of other variables that influence CAPS in firms, namely the size of the firm, firm age, profitability, tangibility, liquidity, dividend policy, growth rate and ROA. Moreover, some studies have also examined macroeconomic variables such as GDP and inflation rate. In this study, the focus was on firm-specific variables that have proven to exert a significant impact on CAPS in most studies. Hence, the size and age of the firm, as well as the dividend payout ratio, are examined as control variables. The following table clarifies the way in which each variable is measured. Table 1 presents the measurement of variables.

Table 1 Measurement of research variables

3 Regression results and model selection

This part presents the outcomes of study using statistical tests.

3.1 Correlation analysis

3.1.1 Overall correlation analysis for Palestinian manufacturing firms

The correlation matrix for Palestinian manufacturing firms is presented in Table 2. Debt level in CAPS1 is a weak positive relation with BSIZE (r = 0.2; p = 0.042), CEOD (r = 0.23; p = 0.02), and INSOWNER (r = 0.22; p = 0.027). Similarly, Debt level in CAPS2 is a weak positive relation with BSIZE (r = 0.25; p = 0.01), CEOD (r = 0.26; p = 0.08), and INSOWNER (r = 0.2; p = 0.043). This implies that a bigger size of the board leads to a higher percentage of institutional investors, and the existence of CEO duality causes a higher level of debt financing. The other CG features, BIND and GEN, were found to be insignificantly related to both ratios of debt level in CAPS. In accordance with the second independent variable, debt level in CAPS1 is a weak negative relation with both measurements of EM, Kothari (r = -0.21; p = 0.033) and Modified Jones (r = − 0.19; p = 0.05). On the other hand, debt level in CAPS2 is non-significantly associated with both measurements of EM. Firm-specific variables, i.e., FSIZE, FAGE and DIV, were non-significantly relationship with both CAPS.

Table 2 Correlation matrix for Palestinian manufacturing firm’s sample

3.1.2 Overall correlation analysis for Jordanian manufacturing firms

The correlation coefficient matrix for all the factors is displayed in Table 3 for Jordanian manufacturing firms. DCAPS1 is a weak negative relation with BSIZE (r = − 0.18; p = 0.012) and a weak positive relation with INSOWNER with coefficient of (r = 0.34; p = 0.001). The other features of CG, BIND, GEN and CEOD are found to be non-significantly related to DCAPS1. DCAPS2 is a weak negative relation with BSIZE (r = − 0.16; p = 0.027) and CEOD (r = − 0.17; p = 0.017) and is a weak positive relation with INSOWNER (r = 0.35; p = 0.001). Moreover, DCAPS1 is a weak positive relation with EM in Kothari model (r = 0.15; p = 0.036). DCAPS2 is also found to have a significantly positive relationship with both measurements of EM, i.e., Kothari (r = 0.25; p = 0.001) and Modified Jones (r = 0.23; p = 0.001). With respect to the control variables, DCAPS1 and DCAPS2 are positively related to FSIZE (r = 0.28; p = 0.001). However, DIV is negatively related to DCAPS1 (r = − 0.34; p = 0.001) and DCAPS2 (r = − 0.47; p = 0.001). Meanwhile, FAGE did not show any relationship to CAPS.

Table 3 Correlation matrix for Jordanian manufacturing firm’s sample

3.2 Regression results

3.2.1 Earnings management and capital structure in Palestine

The empirical findings for the effect of EM on the DCAPS of Palestinian manufacturing firms are shown in Table 4.

Table 4 Answering hypothesis (H1) in Palestinian manufacturing firms listed in PEX

EM was discovered to be significant and negatively associated with DCAPS1, with a p-value of 0.041 using the Kothari model. This relation was also negative when EM with the Modified Jones model was used; however, the result was not significant. This suggests that EM has a negative impact on the level of debt financing adoption, which is used to proxy DCAPS. In other words, the practice of EM leads to a decrease in the use of debt financing in Palestinian non-financial firms, indicating that firms that manage their earnings use more equity to finance their business activities. This result is consistent with the study of Talebniya and Ravanshad [90]. On the other hand, Abu Alia et al. [18] indicated that Palestinian firms use EM to sway the decision and terms of debt financing from banks, which they desperately need. Furthermore, Palestinian firms rarely use external equity financing; instead, they favor using their retained earnings or bank debt. Hence, H1 is rejected.

In the case of the control variables, all three variables were found to have an insignificant association with both capital structure measures. FSIZE had a negative association with DCAPS1, with a p-value of 0.51 under the Kothari model and 0.462 under the Modified Jones model. Similarly, it depicted a p-value of 0.913 under the Kothari model and a p-value of 0.941 under the Modified Jones model regarding DCAPS2. Regardless of the significance, this means that larger Palestinian manufacturing firms rely less on debt financing for their capital structure. FAGE depicts a negative association with DCAPS1, with a p-value of 0.145 under the Kothari model and 0.207 under the Modified Jones model. Likewise, it has a p-value of 0.064 under the Kothari model and a p-value of 0.087 under the Modified Jones model regarding DCAPS2. Regardless of the significance, this indicates that when a firm has spent a long time in operations, its reliance on debt financing decreases. DIV had a negative association with DCAPS1, with a p-value of 0.136 under the Kothari model and 0.126 under the Modified Jones model, while having a p-value of 0.098 under the Kothari model and p-value of 0.089 under the Modified Jones model regarding DCAPS2.

3.2.2 The role of corporate governance in the relationship between earnings management and capital structure in Palestine

The result of regression on the interactive impact of EM and CG on DCAPS on Palestinian manufacturing firms are presented in Table 5.

Table 5 Answering hypothesis (H2a-e) in Palestinian manufacturing firms listed in PEX

CG features proved a direct impact on debt financing on a sample of Palestinian manufacturing firms. It further proved to moderate the relationship between EM and DCAPS (debt financing). First, the finding implies that the interaction of EM and BSIZE transforms the negative effect of EM on DCAPS from the previous analysis into a positive one. Specifically, it suggests that in the presence of a larger board size, the negative impact of EM on debt financing is reshaped positively. To illustrate this point, the p-value of the interaction between EM and BSIZE was found to be less than 0.001 under the Kothari model and the Modified Jones model with DCAPS1 and DCAPS2. This indicates that larger boards in Palestinian manufacturing firms are more engaged in accounting manipulation practices as their existence is considered a threat to managers’ control [91]. Additionally, managers get more opportunities to manage earnings as the size of the board increases due to the pressure put on the managers by larger boards to accomplish certain performance levels and optimal capital structures. This result could be attributed to the fact that firms with a larger board possess a diverse range of knowledge, abilities and ideas, all of which are essential to the process of decision-making and creating debt. H2a is accepted.

Gender posits a moderate role between EM practices and debt financing on Palestinian manufacturing firms. To illustrate this, the interactive association between EM and GEN has a p-value of 0.013 under the Kothari model and 0.022 with DCAPS2. This interaction between EM and GEN transforms the previous negative association between EM and CAPS into a positive one, implying that higher levels of debt financing are used in running a firm. In other words, the existence of female representatives on the board of directors of Palestinian manufacturing firms leads to an increase in the effect of EM on debt financing. However, debt plays a disciplinary role for opportunistic-be managers to constrain the use of FCF and reduce agency costs, while EM practices are used as a way to avoid this disciplining device. As mentioned earlier, female directors can improve board performance by exerting a strong influence on the process of decision-making [92]. Moreover, given that the participation of female directors on corporate boards minimizes managerial opportunism and information asymmetry, boards with gender diversity have lower debt costs [93]. Consequently, this increases the trust of lenders and creditors, leading to a higher level of debt on Palestinian manufacturing firms. Hence, H2c is supported.

Also, similar results have been mentioned in the study of Bennouri et al. [94], who mentioned that the correlation between gender diversity on the board and corporate performance is typically elucidated by agency theory (which pertains to the monitoring function), resource dependence theory (which highlights the diversity female directors bring to the board), and behavioural-based theories, which highlights the unique behavioural traits of female directors in comparison to their male counterparts. Moreover, Pucheta-Martínez & Gallego-Álvarez [95] showed that CEO duality also has a positive effect on firm performance. Other board attributes that are positively associated with firm performance include size, independence, and the presence of a female director.

The third significant factor is CEOD, which moderates the relationship between EM and debt financing. The findings indicate that the existence of the CEOD situation decreases the impact of EM on debt financing for Palestinian manufacturing firms. To clarify, the association between EM and CEOD has a p-value of 0.027 under the Modified Jones model with DCAPS1 only. However, the existence of a CEO duality situation in the firm leads to an increase in the agency cost, consequently reducing the level of debt financing acquired by the firm due to constraining lenders’ willingness to the firm with CEO duality condition [61]. So, H2d is rejected.

The rest of the CG features prove no significant moderate effect between EM and DCAPS. The interactive effect of EM and BIND has a p-value of 0.123 under the Kothari model and 0.913 under the Modified Jones model with DCAPS1. Similarly, it has a p-value of 0.221 under the Kothari model and 0.905 under the Modified Jones model with DCAPS2. Furthermore, the interactive effect of EM and INSOWNER has a p-value of 0.943 under the Kothari model and 0.622 under the Modified Jones model with DCAPS1. Likewise, it has a p-value of 0.433 under the Kothari model and 0.164 under the Modified Jones model with DCAPS2.

3.2.3 Earnings management and capital structure in Jordan

Table 6 reviews the results of the association between EM and DCAPS in Jordanian manufacturing firms. DCAPS1 has a negative but insignificant association with EM (p = 0.87), which is higher than a 5% level of significance using the Kothari model, and an insignificant association (p = 0.515) using the Modified Jones model. On the other hand, DCAPS2 has a positive but insignificant association with EM (p = 0.509). which is higher than the 5% level of significance using the Kothari model, and the p-value is 0.795 using the Modified Jones model. This result is consistent with that of Al-Mohareb and Alkhalaileh [96], who mentioned that EM is positively and insignificantly associated with the alternative measurement of leverage (total debt to total assets) at a conventional level in Jordanian manufacturing firms. Also, Al amosh et al. [97] proved that Jordanian companies focus on debt financing rather than equity. Hence, H1 is rejected.

Table 6 Answering hypothesis (H1) in Jordanian manufacturing firms listed in ASE

3.2.4 The role of corporate governance in the relationship between earnings management and capital structure in Jordan

Table 7 shows the result of the interaction analysis of CG features with EM on DCAPS.

Table 7 Answering hypothesis (H2a-e) in Jordanian manufacturing firms listed in ASE

The results support previous findings that proved CG features have not only a direct effect on the financing decision of a firm but also a moderate effect on the relationship between EM and DCAPS on Jordanian manufacturing firms. First, the interaction between EM and BIND depicted a positive and significant effect on DCAPS1, with a p-value of 0.034 under the Kothari model, and a positive and significant effect on CAPS2, with a p-value of 0.012. This implies that the interaction of EM and BIND alters the previous insignificant relationship between EM and DCAPS and transforms it into a significantly positive relationship. In other words, a higher existence of independent directors increases the effect of EM on debt financing in a sample of Jordanian manufacturing firms. To clarify, independent directors, i.e., non-executive directors, increase the transparency level and help provide growth opportunities by attracting capital. According to the agency theory, independent directors serve as a protective device against entrenched managers to ensure they act according to the best interest of the stakeholders of the firm, including creditors and lenders. Additionally, lenders’ trust in independent directors as an efficient internal control body fosters a collaborative environment for debt creation, which improves financing resources accessibility, especially when management is willing to emphasize the firm’s values [57]. Moreover, Jensen [29] proved a positive relationship between independent directors and leverage. More recently, Kok et al. [98] investigated the relationship between financial leverage and board independence for firms listed on the Malaysian stock exchange. The findings highlighted the importance on for large, established, or poorly performing companies to have independent directors to lower their financial leverage. These results add to the stylized facts about the relationship between board independence and financial leverage. In addition, Huynh et al. [99] conducted a study to investigate the influence of corporate governance on firm performance considering financial leverage as a mediating variable on a sample of 150 firms in Pakistan. They showed that board independence is positively correlated with firm performance. They also revealed that the financial leverage was positively correlated with audit committee size, female directorship, board independence, and board independence. Thus, H2b is accepted.

Furthermore, the interaction between EM and INSOWNER depicted a negative and significant effect on DCAPS2, with a p-value of 0.004 under the Kothari model and 0.03 under the Modified Jones model. This means that the interaction between EM and INSOWNER transforms the previous positive insignificant relationship between EM and CAPS into a negative and significant relationship. In other words, the effect of EM practices on debt financing decreased by 1.019 under the Kothari model and 0.587 under the Modified Jones model for each unit increase in institutional ownership. This supports the notion that the higher the number of institutional investors, the lesser the debt in a firm’s capital structure. This result is consistent with that of Chung and Wang [100], who concluded that institutional ownership declines as suboptimal leverage rises for a firm and vice versa for institutional ownership as suboptimal leverage rises. Moreover, institutional investors, who are sizable shareholders, have strong incentives to raise the value of the firm. Thus, they could serve as a debt replacement for the monitoring role of debt to reduce agency costs. Additionally, institutional investors can compel managers to place a greater emphasis on corporate performance and less on selfish or opportunistic behavior, which is consistent with the active monitoring theory [101]. Thus, H2e is rejected.

4 Conclusion

One of the most fundamental decisions managers must undertake is the financing policy of their firm. According to theories and previous literature, several factors can influence the capital structure of a firm. This study aimed to investigate the impact of EM practices on DCAPS in a sample of 13 Palestinian and 25 Jordanian manufacturing firms from 2013 to 2020. It also investigated whether CG, in particular indicators of board size, board independence, gender diversity, CEO duality and institutional ownership, could mitigate or reinforce the impact of EM on DCAPS in a sample of 13 Palestinian and 25 Jordanian manufacturing firms from 2013 to 2020. Furthermore, the firm size, firm age and divided policy were used as control variables.

The result for Palestinian manufacturing firms indicated that EM has a negative and significant association with DCAPS and debt-to-equity ratio, meaning that the practice of EM leads to higher use of equity financing and reduce debt financing. Furthermore, the moderate effect of CG features on the relationship between EM and DCAPS revealed that the size of the board of directors and gender diversity in the board of directors transformed the negative relationship into a positive one, implying that the existence of such CG features increase the use of debt financing in a firm’s capital structure. On the other hand, the existence of CEO duality as a moderator in the relationship between EM and CAPS causes a decrease in the usage of debt financing.

The findings for Jordanian manufacturing firms suggest no significant impact of EM practices on the capital structure of a firm. Moreover, the findings of the moderating effect of governance features in the relationship between EM and DCAPS demonstrated that the non-executive directors (independent directors) increased the reliance on debt financing in capital structure of the firm. Nonetheless, institutional ownership transformed the positive insignificant relationship between EM and CAPS into a negative significant one, implying that the existence of institutional ownership as a moderator might mitigate the impact of earning management on debt financing.

However, this study has a few limitations. First, there was a lack of previous literature supporting the fundamental premise of the moderating impact of CG features on EM-CAPS. Second, the study lacked a few CG variables, including management expertise [102]; CEO tenure [103]; CEO compensation [104]; and ownership concentration [79]. The decision-making process for capital structure may be impacted by these variables. Such variables can be incorporated into models for future research. Third, the absence of a specific CG index to measure compliance with CG rules is also another limitation of this study. Fourth, the agency theory [29] suggests that debt can alleviate agency issues, implying that the choice of capital structure may have an impact on CG, which presents another potential area for research. Fifth, the research period includes an extraordinary economic condition due to the COVID-19 pandemic, which had a direct impact on the decision-making process and the value of firms. Lastly, the Jordanian market sample is two times bigger than the Palestinian sample used in this study, which most likely results in discrepancies in the accuracy of the results. Moreover, the results cannot be generalized to samples other than the manufacturing sector.

Based on the outcomes, this paper suggested that board of directors and management in a firm should consider the firm’s risk tolerance during decision-making, particularly regarding the financial structure of the firm. The capital-structure policy should also be taken into account while making financial choices. Moreover, practitioners, policymakers and regulatory bodies should ensure that the gender representation on the board of directors is equal. It was observed that both in Palestine and Jordan, female representation was less than half of the board in the research period, even though female members proved to have a high level of credibility and professionalism that reflect on the value of a firm. This is in line with the emerging concerns about modernizing CG practices on a global scale.

4.1 Practical implications

The potential practical implications and considerations related to the present study are related to informed decision-making, risk management, investor confidence, and strategic planning. These findings contribute to the existing literature and inform managerial practices for corporate governance and the impact of earnings management on capital structure. Also, decision-makers can use this information to make more informed choices regarding investment, risk management, and strategic planning. Investors may use this knowledge to assess the risk levels of potential investments in companies with varying degrees of corporate governance quality. According to the moderating role of Corporate Governance (CG), larger boards and the existence of female members on the board of directors cause an increase in the high-leverage impact of EM, so it should take these factors into consideration.