1 Introduction

Given the widespread adoption of sustainable development goals, green innovation is increasingly being regarded as the primary strategies to obtain a competitive advantage. A considerable body of literature has explored the organization drivers and outcomes of green (environmental) innovation, and the rewarding results have significantly advanced our understanding of sustainability (Boons et al. 2013; Bossle et al. 2016; Diez-Martinez et al. 2022; Lee and Suh 2022; Ortigueira-Sánchez et al. 2022; Tipu et al. 2022). In a systematic review, Bossle et al. (2013) identify external factors such as government, regulatory pressures, technological opportunities, and market demand, as well as internal factors such as environmental culture, environmental leadership, and environmental capability, as the primary drivers of eco-innovation adoption. Diez-Martinez et al. (2022) find that eco-innovation drivers are more potent in collaborative enterprises than in non-collaborative firms. Tipu et al. (2022) emphasize the impact of learning, organizational culture, and leadership on the sustainable growth of enterprises.

Due to the “double externality” (technology and environment) and high risk, regulations are among the most frequently reported drivers (Li-Ying et al. 2018). Recently, with the rapid growth of digital technology, research efforts that link digital transformation (information technology) to green innovation adoption have emerged (Melville 2010; Ardito et al. 2021; Chen et al. 2021; Feng et al. 2022; Zameer et al. 2022). Ongoing digital transformation sets enormous changes in motion for firms (Kraus et al. 2021, 2022), such as transforming the entrepreneurial ecosystem (Endres et al. 2022; Song et al. 2022), fostering entrepreneurship (Kraus 2019), updating the business model (Åström et al. 2022) and green innovation activities are not an exception. Some studies support the idea that digital transformation can stimulate green innovations, with such innovations being mediated by R&D investment, government subsidies, and income tax burden (Feng et al. 2022; Zameer et al. 2022;) and moderated by factors such as regulatory pressure, international opportunities, and ownership (Chen et al. 2021; He and Su 2022). While some findings indicate a negative interaction between digitalization and environmentalism, they were created to fulfill divergent corporate goals that may conflict due to limited organizational resources (Ardito et al. 2021). Others indicate that whether digital transformation can “empower” organizational innovation is determined by whether the enterprise’s management capability meets the digital transformation strategy (Hajli 2015). Overall, the existing results are inconsistent, and the understanding of the impact of digital transformation on the underlying mechanisms and boundary conditions of green innovation is limited and sporadic, especially overlooking firms’ motivations to engage in green innovation (Li-Ying et al. 2018).

Literature has categorized green innovation into two main topologies. The first classification categorizes innovations based on their level as either radical or incremental (Klimas and Czakon 2022). The second classification examines the economic benefits of green innovation and distinguishes them into process and product innovations (Rennings 2000). Motivation is a vital factor in a firm’s decision to adopt green innovation practices, while the literature has given little attention to it. There is no doubt that regulation-driven and strategy-driven motivations will adopt different green innovation strategies. Under the pressure of multiple external regulations, firms may engage in green innovation activities with the motivation of adhering to environmental standards and reducing their environmental punishment, thus tending to pursue innovation in “quantity” rather than “quality” (Ramanathan et al. 2010; Li and Zhen 2016). As a strategic objective, firms will engage in more substantial innovation activities to develop the unique green innovation capability required for long-term competitive advantage (Li-Ying et al. 2018). Therefore, a question naturally arises about whether digital transformation has varying effects on green innovation based on different motivations. In other words, will firms with different motivations (regulation-driven vs. strategy-driven) leverage digital transformation to green innovation differently?

This study uses a sample of 4950 firm-year observations from Chinese A-share listed firms between 2008 and 2021 to empirically analyze how digital transformation impacts enterprises’ green innovation and to respond to the above question from a resource-based view (RBV). In this study, green innovation is divided into two types based on different motivations: substantive green innovation, which tries to advance technology and acquire a competitive advantage, and strategic green innovation, which focuses on speed and quantity to meet regulatory criteria. The direct effect of digital transformation on green innovation is first investigated.

Then, the moderating effect of environmental orientation (EO) is further studied to explore whether EO plays an important boundary role in the process of enterprises promoting green innovation through digital transformation. In the context of RBV, EO has a strategic and active internal capability to integrate environmental priorities into a firm’s tactical, operational, and innovative activities (Ardito et al. 2021; Zameer et al. 2022). An environmentally oriented firm typically demonstrates a persistent motivation to engage in the search for ecological activities to avoid negative environmental consequences (Graham and Potter 2015; Fiorini et al. 2018), significantly influencing firms to leverage digital transformation for green innovation. In light of this idea, this study constructs an environmental orientation index based on firms’ environmental practices. Zhou et al. (2022) find enterprises selected different strategies under different environmental orientations. This study further clusters it into mandatory and voluntary EO according to the different EO’s motivations.

Mandatory EO is driven by environmental regulation formulated by the government or relevant regulatory agencies. This study focuses on the Measures for Supervisory Monitoring and Information Disclosure of Pollution Sources of Key National Monitoring Enterprises, which have been in place since 2014 and these measures specify the substance, method, time limit, and regulatory aspects of environmental information disclosure by key polluting enterprises. The voluntary EO is motivated by firms’ strategic goals, and this research focuses on ISO 14,001 certification. ISO 140,011 certification is self-initiated to improve firm reputation and social and market positioning, cut costs, and provide better environmental benefits (Fryxell and Szeto 2002; Prajogo et al. 2012).

This study is essential and timely, given China’s rapid development of the digital economy and the achievement of the sustainable development goals of “carbon peak” by 2030 and “carbon neutral” by 2060. The empirical findings contribute to a better understanding of how to use digital technology to foster green innovation in enterprises, which will be critical in combating global climate change and environmental degradation. The study contributes to the literature in several ways. First, unlike previous studies that divided green innovation into process innovation and product innovation (Awan et al. 2021), this paper investigates the motivation for innovations in depth and divides green innovation into substantive and strategic green innovation. The findings show that digital transformation has a significant positive impact on green innovation but only on substantive, not strategic, green innovation. Second, we investigate the moderating effect of EO to explore the boundary conditions of enterprises’ digital transformation that affect green innovation. This study constructs an environmental orientation index based on firms’ environmental practices rather than constructing one based on questionnaire measurements. The result indicates that EO has a positive moderating effect on the relationship between digital transformation and green innovation, no matter substantive or strategic green innovation. Third, we further divide EO into mandatory and voluntary EO, each with its own motivation. Our finding is interesting. Although EO positively moderates the relationship between digital transformation and green innovation, only voluntary EO has this effect. Our findings indicate that identifying the motivation to engage in green innovation is critical for further understanding the boundary conditions under which digital transformation boosts green innovation activities. The results have important implications for emerging economies in promoting digital transformation and green innovation.

2 Theoretical background and hypothesis development

2.1 Theoretical background: resource-based view

The resource-based view (RBV) of the firm serves as the theoretical framework for our study in terms of leveraging digital transformation for firms’ green innovation strategies. A large amount of studies contributes to the literature on firms’ green innovation grounded in a resource-based view. Ziegler and Nogareda (2009) examine the impact of environmental management systems (EMS) on technological environmental innovations based on RBV. Meyskens and Carsrud (2013) empirically examine the role of partnership diversity in nascent green-technology ventures based on RBV. Lee and Min (2015) examines the impact of green R&D investment for eco-innovation on environmental and financial performance based on RBV. Li et al. (2017) investigates how external legitimacy pressure and internal business profitability affect green innovation using institutional theory and RBV. Sahoo et al. (2022) examine the connections between a firm’s big data management activities, green manufacturing practices, and sustainable business performance from resource-based and dynamic capabilities perspectives. Using the resource-based view and the behavioral theory of the firm, Yang and Jiang (2023) investigate the impact of buyers’ environmental attitudes on enterprises’ green innovation.

According to RBV, resources are viewed as integrated combinations of assets and capabilities, with assets referring to organizational attributes that a firm can acquire, develop, nurture, and leverage for strategic goals and capabilities referring to collections of collective knowledge and expertise that are used through organizational processes (Srivastava et al. 2001). A firm gains a sustainable competitive advantage from unique resources that are valuable, rare, inimitable, and non-substitutable (VRIN) (Barney 1991). VRIN resources help firms form and exploit opportunities (Ferreira et al. 2019), making firms much more likely to innovate and achieve favorable innovation results (AlzamoraRuiz et al. 2021; Barroso-Castro et al. 2022).

With increasing environmental uncertainty and dynamic changes in market competition, companies might be forced to reconfigure not only their unique resources but also their entire resource set. Therefore, the concept of dynamic capabilities is proposed by Teece et al. (1997), who emphasize firms’ ability to integrate, build, and reconfigure internal and external resources to address rapidly changing environments. Scholars have attempted to explain the impact mechanism of digital transformation on the green innovation of enterprises based on dynamic capability theory and resource-based theory (Feng et al. 2022). Digital transformation could enhance firms’ sensing capabilities, help them identify and capitalize on emerging opportunities in their internal and external environments, and further reconfigure their resources to develop new green products, new green process technology, and green services to gain a green competitive advantage (Chen and Tian 2022).

Dynamic capabilities focus on continuous actions by adding, modifying, or reconfiguring resources or competences, and competitive advantage stems not only from the capabilities themselves but also from the resource configurations they create (Barney et al. 2001). That is, RBV offers an integrated perspective on how bundles of assets and (dynamic) capabilities promote green innovation strategy decisions. Therefore, we adopt it as a theoretical background to explore the boundary conditions of the impact of digital transformation on green innovation.

2.2 Hypothesis development

2.2.1 The effect of digital transformation on a firm’s green innovation

Eco-innovation, environmental innovation, and sustainable innovation are synonymous with green innovation (Boons et al. 2013). Green innovation, in general, can be defined as new or modified processes, techniques, practices, systems, and products that aim to prevent or reduce environmental damage, increase recycling, enhance regulatory environments, and boost ecological, economic, and social performance (Rennings 2000). The most noticeable trait is that green innovation produces positive environmental externalities, discouraging private firms from dedicating resources to associated activities. Although the general trend is to advocate for it, the proportion of firms adopting green development strategies is still small due to resource constraints. Compared with other innovations, green innovations require a higher resource commitment and a more complex combination of resources (Zhang and Walton 2017). Adopting digital transformation can be a powerful motivator for green businesses.

Digital transformation has no universally acknowledged definition. In this study, digital transformation refers to reshaping an organization to take advantage of valuable existing strategic resources in new ways using next-generation information and communication technologies such as AI, IoT, blockchain, cloud computing, and big data (Westerman et al. 2014; Pagoropoulos et al. 2017). A firm’s adoption of digital transformation entails the incorporation of digital technology into its existing enterprise management system to achieve organizational structure change, business process enhancement, and the promotion of the process of reshaping the manner of value creation, which offers a new solution for green innovation.

Digital transformation could promote green innovation in several ways. First, digital technology modifies the organizational structure and enhances business processes, which can effectively improve firms’ resource utilization efficiency (Zhang et al. 2021). In other words, digital transformation can reduce operating costs and sales costs with an efficiency improvement, generating a resource-saving effect that allows firms to allocate more resources to green innovation.

Second, digital transformation has the potential to reinvent existing and novel knowledge as well as reconfigure firm resources to meet the requirements of green innovations (Nambisan et al. 2019; Gil-Alana et al. 2020; Giusti et al. 2020). Using digital twins, for instance, firms amass vast quantities of production and operation data, which have become the most valuable strategic resource. Massive amounts of data can be fully utilized by digital technology, such as cloud computing and big data analytics, to seize the new trend of the market and new opportunities, which could support green innovation. By mining production data, firms may innovate their production processes and products, thereby increasing energy efficiency and reducing environmental damage. With consumption data, firms may capture weak signals from consumers’ changing consumption patterns, as increasing consumer environmentalism enforces green product innovation (Zhang and Zhu 2019).

Third, a firm that adopts digitalization can make its organization more flexible and reactive, which could smoothly help share goals, shared knowledge, and mutual respect within the organization (Claggett and Karahanna 2018; Ardito et al. 2021). With a digitized work process, multiple people can access information and talent simultaneously and can make full use of the knowledge and information to fulfill goals such as green development. For a specific technology, for example, the IoT will increase the connected environment by developing partnerships that could create innovative solutions for the problems encountered in green innovation (Saarikko et al. 2017).

Thus, we propose the following hypothesis:

H1

Digital transformation promotes a firm’s green innovation.

Generally, the underlying assumption of firms’ motivation to engage in innovative activities is that they want to bring about technological progress and competitive advantage. Tong et al. (2014), however, discover that enterprises’ innovation activity, as assessed by patent applications, is occasionally strategic. In other words, innovation is merely a tactic for accommodating government regulations and oversight. In response to the growing emphasis on environmental protection and green growth, the Chinese government has enacted a number of pollution control legislations. With this regulatory pressure, a company is likely to pursue green innovation’s quantity and velocity to comply with the law and government. Thus, we distinguish between substantive and strategic green innovations. The former seeks to advance technology and gain a competitive advantage, whereas the latter emphasizes speed and quantity.

Firms engaged in substantial green innovation, being ahead of competitors, frequently have no prior art to exploit and market-accessible know-how (Li-Ying et al. 2018). Digital transformation facilitates the extraction of meaningful information from massive market and operational data, which identify complementary resources and capabilities and enhance the technical knowledge base for substantial green innovation. Digitalization creates an organization structure that is more flexible, which could facilitate interorganizational learning, information sharing with knowledge partners, and the cocreation of new practices. These are essential for the exploration of cutting-edge technology, which is required for substantial green innovation. External stakeholders, such as external R&D partners, who can offer new insights and solutions for complex green innovation operations, benefit from digital transformation.

Strategic green innovation to meet regulations comprises very straightforward issues (Parker 2000). To comply with environmental regulations, strategic green innovation can be accomplished by employing eco-friendly materials such as recyclable materials, enhancing the process, introducing energy-saving equipment, and decreasing the consumption of resources and energy (Xie et al. 2015). Companies can find solutions in existing resources and technologies, and they typically license or acquire preexisting technology to avoid R&D risk (Li-Ying et al. 2018). In this process, digital transformation plays a limited role in comparison to significant green innovation. As stated before, digital transformation can be used to create opportunities to improve and expand a firm’s operations and product offerings (Nambisan et al. 2019). This study holds that a firm with such an orientation gains a competitive advantage through green innovation. Thus, we propose the following hypothesis:

H2

Digital transformation promotes a firm’s substantive green innovation rather than its strategic green innovation.

2.2.2 The moderating effect of environmental orientation

A firm’s strategic orientation reflects efforts to create and implement the proper behaviors and actions to attain the superior performance of the business (Adams et al. 2016). Environmental orientation can be interpreted as a pro-environmental strategic orientation that manifests a firm’s philosophy of operating in a sustainable manner (Banerjee 2002). Environmental orientation shows a firm’s attitude toward environmental conservation and influences firm’s connections with external stakeholders, including suppliers, communities, and the government (Feng et al. 2018). The core of EO is a kind of strategic ability (Zameer et al. 2022). A firm with an environmental orientation tends to allocate resources to tactical, operational, and innovative activities to meet internal eco-friendly values (Ardito et al. 2021). This mindset will be reflected in the firm’s culture and strategy, influencing its products, procedures, and practices (Adams et al. 2016). Hence, environmentally oriented firms will make full use of the role of digital technology in green innovation, just as they leverage employees proactively to process information with environmental protection in mind (Kang and He 2018). Suppose a firm develops a solid environmental orientation. In this case, managers will apply digital technology to integrate internal and external resources and increase the efficiency of resource conversion, which could contribute to reducing production pollution, such as toxic and harmful emissions (Jiang et al. 2018). Furthermore, some firms use digital transformation as part of an ecological orientation strategy (de Sousa Jabbour et al. 2018), which could upgrade the new generation of manufacturing processes. That is, enterprises will utilize digital resources and digital technology in the design, building, production, and utilization of a green innovation program to achieve strategic objectives. Meanwhile, with an environmental orientation, digital transformation could be a potent auxiliary tool for strengthening employee relationships, forming a consensus on environmental protection, exchanging environmental knowledge, and then maximizing human capital for green innovation.

Thus, we propose the following hypothesis:

H3

Environmental orientation positively moderates the effect of digital transformation on firms’ green innovation, irrespective whether it is substantive green innovation or strategic green innovation.

Some scholars have divided EO into two categories: internal and external EO (Zhang et al. 2022). The former describes the enterprise’s ethical standards, commitments, and environmental values, while the latter describes how aware and responsive the enterprise is to the environmental needs of stakeholders (Banerjee 2002). This research contends that there is a significant distinction in the motivations of these two environmental orientations. Internal EO is the manifestation of corporate values, which are developed spontaneously by the organization and incorporated into corporate culture and strategy. External EO is mainly shaped by the external environment and formed passively, which is frequently influenced by external environmental legislation and consumer environmentalism. This study splits EO into voluntary and mandatory EO based on their respective motivations to evaluate the moderating effect of EO on the relationship between digital transformation and green innovation.

González-Benito and González-Benito (2005) found that a firm pursues ISO 14,001 certification in response to ethical and competitive motivations and that the firm’s portfolio of environmental motivations does not change considerably after certification. Firms associate ISO 14,001 certification with other advantages attributed to environmental proactivity. As a result, this study regards ISO 14,001 certification as a voluntary EO, which is often seen as a strong sign of a firm’s dedication to environmental protection (Potoski and Prakash 2005; Quan et al. 2023). ISO 14,001 is a voluntary environmental regulation certified by a third party as an Environmental Management System (EMS). It provides a specified environmental protection standard to assist businesses in improving their environmental management (Rennings et al. 2006), and it focuses on supporting businesses in developing an effective environmental management system. It allows firms to have more room for innovation. According to Bu et al. (2020), enterprises’ optional ISO 14,000 environmental certification helps enhance their innovation output. The ISO 14,001 standard often requires enterprises to restructure their existing production and operating modes to adopt a new approach to pollution prevention, product management, and sustainable development through green innovation. A firm that has voluntarily certified itself is more likely to embrace digital transformation for green innovation. That is, in firms that have achieved ISO 14,001 certification, digital transformation has a stronger impact on green innovation.

In accordance with the motivation of actively pursuing morality and competitive advantage, another motivation of EO is to pursue legality when confronted with stringent environmental restrictions (González-Benito and González-Benito 2005). Against the backdrop of “carbon peaking and carbon neutrality” targets in China, significantly polluting manufacturing businesses face stricter environmental protection scrutiny and environmental protection information disclosure. Therefore, if an enterprise is a key pollution monitoring unit, it must disclose environmental information in response to a mandatory EO. When compared to other firms, Du et al. (2017) found that highly polluting enterprises are more subject to public and investor attention, as well as environmental-related legal procedures or conflicts. High-polluting enterprises requiring the mandatory disclosure of environmental information are more likely to increase their environmental investment, improve their environmental performance, and subsequently improve their relationships with stakeholders. This disclosure system can potentially compel enterprises to boost their investment in innovation, develop new goods, enhance new technology, and adopt new energy sources. According to Al-Tuwaijri et al. (2004), corporate environmental information disclosure significantly improves business performance. As a result, we infer that enterprises that are required to disclose environmental information will use more digital technology to achieve green innovation and that digital transformation will have a higher impact on green innovation in key polluting enterprises than in others. Thus, we propose the following hypothesis:

H4a

Voluntary EO positively moderates the effect of digital transformation on firms’ green innovation, regardless whether it is substantive green innovation or strategic green innovation.

H4b

Mandatory EO positively moderates the effect of digital transformation on firms’ green innovation, regardless whether it is substantive green innovation or strategic green innovation.

Figure 1 provides a conceptual model illustrating the hypothesized links between all the investigated constructs for reference.

Fig. 1
figure 1

The conceptual model

3 Empirical strategy

3.1 Sample and data

Since 2008, Chinese e-commerce has entered a boom period, and Chinese enterprises are undergoing large-scale digital transformation and online transactions, which provide compelling empirical evidence. Additionally, considering the availability of most variables’ data, the paper constructs an unbalanced panel model by using data from the statements issued by A-share firms listed on the Main Board, Growth Enterprise Board, and Small and Medium Enterprise Board of the Chinese stock markets between 2008 and 2021. The data were obtained from the China Stock Market & Accounting Research Database (CSMAR) and the Chinese Research Data Services Platform (CNRDS). Due to the different financial treatments, we pretreat the raw data by deleting samples (1) in finance or insurance industries; (2) with special treatment having an ST/*ST/S/SST mark; and (3) that are unable to offset debts with assets. We also deleted the samples with missing data and the samples with less than 3 years of observations. Finally, we obtain a sample with 4950 firm-year observations. To eliminate the influence of extreme values, all continuous variables are winnowing at 1%. Table 1 displays the descriptive statistics for the main variables.

Table 1 The content of EO index

3.2 Variable measurement

3.2.1 Dependent variables

Green Innovation (\(\text{G}\text{r}\text{e}\text{T}\text{o}\text{t}\text{a}\text{l}\)). The number of patent applications is the ultimate manifestation of the enterprise’s innovation resource input and utilization efficiency, and patent application data will be more stable, reliable, and timely than grant data (Li and Zheng 2016; Li-Ying et al. 2018). As a result, the number of green patent applications filed by the listed firm in the current year is used as a proxy variable for green innovation in this paper. In particular, the total number of green innovations is equal to the natural logarithm of (1 + green invention patent applications + green utility model patent applications).

This paper distinguishes substantive from strategic green innovation based on different motivations, which are difficult to identify with objective data. According to the definition above, we identify the behavior of enterprises applying for high-tech green invention patents as substantive green innovation (\(\text{G}\text{r}\text{e}\text{I}\text{n}\text{v}\text{i}\text{a}\)) and the behavior of enterprises applying for low-tech green utility model patents as strategic green innovation (\(\text{G}\text{r}\text{e}\text{U}\text{m}\text{i}\text{a}\)). Specifically, it equals the natural logarithm of (1 + green invention patent applications) and the natural logarithm of (1 + green utility model patent applications).

CNRDS is the source of all green innovation data. The database uses the division standard of green patents by following the Green Patent Standard of the World Intellectual Property Administration. The original data come from the Chinese National Intellectual Property Administration.

3.2.2 Independent variables

Enterprise Digital Transformation (\(\text{D}\text{T}\)). In existing research, two measurement methods are commonly used: (1) dummy variables that describe whether companies have digital transformation based on their investment in digital transformation or the results of digital transformation and (2) text analysis to measure the degree of digital transformation of enterprises by the frequency of terms related to digital transformation in specific text materials; the higher the frequency, the better the digital transformation’s performance (Feng et al. 2022). This study applies the text analysis approach, as the former primarily assesses whether the enterprise has undergone digital transformation, which is very likely to result in an overestimation of the enterprise’s level of digital transformation. This study focuses on firms’ use of next-generation information technologies. According to Gong and Ribiere (2021), we account for the occurrence frequency of keywords involving artificial intelligence, big data, cloud computing, blockchain, and digital technology application. \(\text{D}\text{T}\) equals the natural logarithm of (1 + the occurrence frequency of keywords related to digital transformation). CSMAR is the source of digital transformation data.

3.2.3 Moderating variables

Environmental orientation (EO). As we stated before, an environmentally oriented firm places great emphasis on internal ecological practices. Therefore, we construct an EO index using information about enterprises’ environmental management disclosure data (Table 2).

Table 2 Definition of main variables

To comprehensively evaluate corporate environmental practices, \(\text{E}\text{O}\) is calculated by the mean of the above eight items, which equals

$$\begin{aligned} {\text{EO}}_{{{\rm{it}}}} & = \frac{1}{8}({\text{EPtConcept}}_{{{\rm{it}}}} + {\text{EPGoal}}_{{{\rm{it}}}} \\ & \quad + {\text{EPManSysSchema}}_{{{\rm{it}}}} + {\text{EPEduTrain}}_{{{\rm{it}}}} + {\text{EPSpecialAct}}_{{{\rm{it}}}} \\ & \quad + {\text{EnvEventEmergMech}}_{{{\rm{it}}}} + {\text{EPHonorReward}}_{{{\rm{it}}}} + {\text{ThreeSimultaneity}}_{{{\rm{it}}}} ) \\ \end{aligned}$$
(1)

The larger the value is, the stronger the orientation.

Mandatory environmental orientation (MdEO). Since 2014, China has had laws in place requiring key monitoring companies to self-monitor and disclose information. The regulation specifies the substance, method, time limit, and regulatory aspects of environmental information disclosure by key polluting enterprises. Businesses that fail to disclose information as required will face penalties from the competent environmental protection department. That is, high-polluting enterprises’ environmental performance will be exposed to investors, consumers, governments, and other stakeholders, putting significant pressure on environmental practices. We believe that the key pollution monitoring units under the administration should provide mandatory disclosure of environmental information, as they are engaged in environmental practices under greater regulatory pressure. As a result, we assign a mandatory EO value of 1 to the important pollution monitoring enterprises and a value of 0 otherwise.

Voluntary environmental orientation (VtEO). ISO 14,001 is an Environmental Management System (EMS) certified by a third party. It provides a specified environmental protection standard to assist businesses in improving their environmental management (Rennings et al. 2006), and it focuses on supporting businesses in developing an effective environmental management system. Certification is applied by enterprises proactively and with strong flexibility and autonomy. ISO 14,001 certification is often seen as a strong sign of a firm’s dedication to environmental protection (Quan et al. 2023). Consequently, we evaluate the enterprise’s environmental orientation based on its ISO 4001 certification status. If the enterprise has the certification, it has a voluntary EO and VtEO = 1; otherwise, it does not and VtEO = 0.

3.2.4 Control variables

The control variables are taken from prior studies examining factors that affect green innovation (Song and Yu 2018; Aboelmaged and Hashem 2019; Feng et al. 2022). First, we control for several firm characteristics. Firm size (\(\text{s}\text{i}\text{z}\text{e}\)) is measured by the natural logarithm of employees. Firm age is measured by the natural logarithm of the year of data collection date minus the year of firm establishment date. Return on total assets (\(\text{r}\text{o}\text{a}\)) is measured by net profit/total assets. Leverage (\(\text{d}\text{o}\text{a}\)) is measured by total debt/total assets. Capital intensity (\(\text{c}\text{a}\text{p}\text{i}\text{t}\text{a}\text{l}\text{i}\text{n}\text{t}\text{e}\text{n}\text{s}\text{i}\text{t}\text{y}\)) is measured by total assets/operating income. Growth (\(\text{g}\text{r}\text{o}\text{w}\text{t}\text{h}\)) is measured by the growth rate of operating income.

Second, we control the impact of corporate governance. Concurrent Position (\(\text{C}\text{o}\text{n}\text{c}\text{u}\text{r}\text{r}\text{e}\text{n}\text{t}\text{P}\text{o}\text{s}\text{i}\text{t}\text{i}\text{o}\text{n}\)) is a dummy variable, and it takes the value of one if the chairman and CEO are the same person and 0 otherwise. \(\text{L}\text{a}\text{r}\text{g}\text{e}\text{s}\text{t}\text{H}\text{o}\text{l}\text{d}\text{e}\text{r}\text{R}\text{a}\text{t}\text{e}\) is measured by the percentage of the largest shareholder. Board size (\(\text{b}\text{o}\text{a}\text{r}\text{d}\)) is measured by the natural logarithm of the number of board directors.

Third, we use the Herfindahl Index (\(\text{H}\text{H}\text{I}\)) to control industry competition. The HHI equals the sum of each firm’s sales squared share to total sales in the same industry. A higher HHI means less competition. Year, industry, and province fixed effects are included as well.

3.3 Empirical model

To investigate the effect of a firm’s digital transformation on its green innovation, we construct the following model.

$${\text{G}\text{r}\text{e}\text{T}\text{o}\text{t}\text{a}\text{l}}_{\text{i}\text{t}}/{\text{G}\text{r}\text{e}\text{I}\text{n}\text{v}\text{i}\text{a}}_{\text{i}\text{t}}/{\text{G}\text{r}\text{e}\text{U}\text{m}\text{i}\text{a}}_{\text{i}\text{t}}={\alpha }_{0}+{\alpha }_{1}D{T}_{it}+\sum {\alpha }_{j}control{s}_{it}+\sum Year+\sum Industry+\sum Province+{\epsilon }_{it}$$
(2)

In Model (2), \({\text{G}\text{r}\text{e}\text{T}\text{o}\text{t}\text{a}\text{l}}_{\text{i}\text{t}}\),\({\text{G}\text{r}\text{e}\text{I}\text{n}\text{v}\text{i}\text{a}}_{\text{i}\text{t}}\),\({\text{G}\text{r}\text{e}\text{U}\text{m}\text{i}\text{a}}_{\text{i}\text{t}}\) represent \(\text{i}\) firm’s total green innovation, substantive green innovation, and strategic green innovation in \(\text{t}\) year, respectively. \(D{T}_{it}\) represents the core independent variable, \(\text{i}\)firm’s digital transformation in year \(\text{t}\). \(control{s}_{it}\) include firms’ characteristics, corporate governance, and industry-level factors. \(Year\), \(Industry\),\(Province\) represent three fixed effects.

To investigate the moderating effect of environmental orientation on the relationship between a firm’s digital transformation and its green innovation, we construct the following model.

$${\text{G}\text{r}\text{e}\text{T}\text{o}\text{t}\text{a}\text{l}}_{\text{i}\text{t}}/{\text{G}\text{r}\text{e}\text{I}\text{n}\text{v}\text{i}\text{a}}_{\text{i}\text{t}}/{\text{G}\text{r}\text{e}\text{U}\text{m}\text{i}\text{a}}_{\text{i}\text{t}}={\beta }_{0}+{\beta }_{1}D{T}_{it}{+{\beta }_{2}E{O}_{it}+\beta }_{3}D{T}_{it}\times E{O}_{it}+\sum {\beta }_{j}control{s}_{it}+\sum Year+\sum Industry+\sum Province+{\epsilon }_{it}$$
(3)
$${\text{G}\text{r}\text{e}\text{T}\text{o}\text{t}\text{a}\text{l}}_{\text{i}\text{t}}/{\text{G}\text{r}\text{e}\text{I}\text{n}\text{v}\text{i}\text{a}}_{\text{i}\text{t}}/{\text{G}\text{r}\text{e}\text{U}\text{m}\text{i}\text{a}}_{\text{i}\text{t}}={\beta }_{0}+{\beta }_{1}D{T}_{it}{+{\beta }_{2}MdE{O}_{it}+\beta }_{3}D{T}_{it}\times MdE{O}_{it}+\sum {\beta }_{j}control{s}_{it}+\sum Year+\sum Industry+\sum Province+{\epsilon }_{it}$$
(4)
$${\text{G}\text{r}\text{e}\text{T}\text{o}\text{t}\text{a}\text{l}}_{\text{i}\text{t}}/{\text{G}\text{r}\text{e}\text{I}\text{n}\text{v}\text{i}\text{a}}_{\text{i}\text{t}}/{\text{G}\text{r}\text{e}\text{U}\text{m}\text{i}\text{a}}_{\text{i}\text{t}}={\beta }_{0}+{\beta }_{1}D{T}_{it}{+{\beta }_{2}VtE{O}_{it}+\beta }_{3}D{T}_{it}\times VtE{O}_{it}+\sum {\beta }_{j}control{s}_{it}+\sum Year+\sum Industry+\sum Province+{\epsilon }_{it}$$
(5)

In Model (3), \(E{O}_{it}\) is the moderating variable, representing \(\text{i}\) firm’s total level of environmental orientation in \(\text{t}\) year. In Models (4) and (5), \(MdE{O}_{it}\) and \(VtE{O}_{it}\) represent the mandatory and voluntary environmental orientations of \(\text{i}\) firm in year \(\text{t}\), respectively. The other variables are the same as those in Model (2). Detailed variable definitions and measures are presented in Sect. 3.2.

4 Empirical results

4.1 Descriptive statistics

Table 3 shows the descriptive statistics for the main variables.\(\text{G}\text{r}\text{e}\text{T}\text{o}\text{t}\text{a}\text{l}\), \(\text{G}\text{r}\text{e}\text{I}\text{n}\text{v}\text{i}\text{a}\), and \(\text{G}\text{r}\text{e}\text{U}\text{m}\text{i}\text{a}\) have means of 1.3437, 0.9998, and 0.7244, respectively. It shows that, on average, our sample of firms has 1.3437 green patents, 0.9998 green invention patents, and 0.7244 green utility model patents each year. On average, substantive green innovation exceeds strategic green innovation. For the variable we are concerned about, DT has a mean of 2.3616. The moderating variables \(\text{E}\text{O}\), \(\text{M}\text{d}\text{E}\text{O}\), and \(\text{V}\text{t}\text{E}\text{O}\) have means of 0.2175, 0.2071, and 0.3220, respectively, indicating that firms’ environmental orientation is relatively low on average.

Table 3 Descriptive statistics

4.2 Main result

4.2.1 Enterprise digital transformation and green innovation

We begin by examining the impact of digital transformation on several types of green innovation using an ordinary least square (OLS) estimator. We control some firm and industry characteristics that influence green innovations in the regression model, but there are still some unobservable factors. The year, industry, and province dummy variables are used to control the omitted variable problem. Table 4 shows the results in Columns (1) to (3). Firms with zero green invention patent applications account for 33.84%, whereas zero green utility model patent applications account for 47.33% of our sample. It has obvious truncation characteristics. We also provide Tobit estimates, and the results are shown in Columns (4) to (6) in Table 4. All regressions use robust standard errors to eliminate heteroskedasticity and are estimated using Stata 16.

Table 4 The impact of digital transformation on firms’ green innovation

In Columns (1) and (3) of Table 4, the coefficient on DT is positive and statistically significant at a 1% level. Both the OLS and Tobit estimations support Hypothesis H1. According to the RBV, a firm’s resources and capabilities provide the foundation for implementing green innovation. Digital transformation can aid in creating a smooth knowledge network that allows different knowledge sources to interact and develop new knowledge for green innovation (De Marchi 2012). Digital transformation can also aid resource reconfiguration and efficiency improvement in firms, thereby providing a resource foundation for green innovation (Zhang et al. 2021).

In Columns (2) and (5) of Table 4, the coefficients on DT are positive and statistically significant at a 1% level, whereas they are negative and statistically insignificant in Columns (3) and (6). The findings support Hypothesis H2. The public may respond more positively to green technologies as environmental knowledge grows, resulting in a better possibility for market success and competitive advantage (Kunapatarawong and Martnez-Ros 2016). The primary goal of a firm that embraces digital transformation is to acquire a competitive advantage. With the same goal, digital transformation positively impacts substantive green innovation rather than strategic green innovation.

4.3 Robustness checks

This study employs three strategies to test the robustness of the effect of digital transformation on green innovation to ensure that it is more reliable. The first approach uses explanatory variables in lag phase I. Given that the impact of enterprises’ digital transformation may be delayed, the lag phase of variables may eliminate the influence of mutual causality. The second option is to use the application of digital technology as an alternative variable to replace the measuring method of explanatory variables. The instrumental variable technique is the third method. To address the endogeneity problem, this paper uses the generally utilized number of urban mobile phones and the number of urban internet broadband access users as instrumental variables.

4.3.1 Results with lagged digital transformation

The higher the level of green innovation, the more resources and capabilities firms with a digital transformation strategy will have. There is a potential mutual causality between digital transformation and green innovation, which generates an endogeneity problem. To avoid this problem, we lag the digital transformation by one to two periods, referring to Chen et al. (2021). Existing research also shows that computerization has a time lag effect on firm productivity and output (Brynjolfsson and Hitt 2003). Enterprise digital transformation is likewise a time-consuming investment with a lag in impacts. As shown in Table 5, the coefficients on DT are positive in Columns (1), (2), (4), and (5) at a 1% significance level for both one-period and two-period lagged digital transformation. The coefficients on DT is negative and insignificant in Columns (3) and (6) for one-period lagged digital transformation, while significant at the 10% level for two-period lagged digital transformation. Both the magnitudes and the directions of the coefficients are quite similar to those provided in Table 4. The results are generally robust with lagged explanatory variables.

Table 5 Robustness check with lagged independent variables

4.3.2 Alternative measurement for digital transformation

Text analysis can better capture the use of new-generation information technologies such as artificial intelligence, blockchain, cloud computing, and big data in Chinese listed firms by analyzing the frequency of terms linked to digital transformation in specific text materials. However, it is a pedigree notion, and different researchers have varied classifications of the secondary statistical caliber of digital transformation. To reduce measurement errors and make the results more reliable, we utilize an alternate measurement for digital transformation (\(\text{D}\text{T}\_\text{n}\text{e}\text{w}\)) constructed by Wu et al. (2021). As shown in Table 6, the coefficients on \(\text{D}\text{T}\_\text{n}\text{e}\text{w}\) are positive in Columns (1), (2), (4), and (5) at a 1% significance level, while they are insignificant in Columns (3) and (6). Both the magnitudes and the directions of the coefficients are quite similar to those provided in Table 4. With alternative measurements, the results still support Hypotheses H1 and H2.

Table 6 Robustness check with different measurement of DT

4.3.3 Results based on the instrument variable (IV) approach

Information disclosure may influence the measurement of enterprise digital transformation based on annual reports, resulting in an endogeneity problem. When there is a suspicion of a correlation between the explanatory variables and the regression error term, the IV approach is a popular estimation strategy. We employ the first-order lag term of the primary explanatory variables, the number of urban mobile phones and the number of urban internet broadband access users, as instrumental variables for the endogenous test. The weak instrumental variable test and the overidentification test suggest that the instrumental factors chosen in this investigation are reasonable and effective. As shown in Table 7, the coefficients on DT are positive in Columns (1) and (2) at a 1% significance level but insignificant in Column (3) with an IV approach. Despite the magnitudes of the coefficients, the results are quite similar to those provided in Table 4. The results still support Hypotheses H1 and H2.

Table 7 Robustness check with the instrument variable (IV) approach

5 Moderating effect analysis

The above regression analysis demonstrates that digital transformation positively influences a company’s green innovation. However, it has no effect on strategic green innovation and only affects substantive green innovation. This subsection investigates the moderating effect of environmental orientation on enterprises’ green innovation to gain a better understanding of the boundary conditions under which digital transformation influences green innovation.

5.1 The moderating effect of environmental orientation

Table 8 shows the results of the environmental orientation’s moderating impact on the relationship between digital transformation and green innovation. The results are reported in Columns (1) to (3) using OLS estimates and Columns (4) to (6) using Tobit estimates. The coefficients on DT*EO are positive across all estimations, as shown in Table 6, indicating that the positive impact of digital transformation is mitigated when a firm has a higher environmental orientation. Hypothesis 3 is supported. A firm with an environmental orientation is more likely to employ resources and increase its capacity to achieve internal ecological goals. Our findings align with those of de Sousa Jabbour et al. (2018) since digital transformation is more likely to be viewed as a part of an environmental orientation strategy than a competition for a firm’s internal resource allocation (Ardito et al. 2021). It should be noted that the DT*EO coefficients for strategic green innovation are positive at a 1% significance level. Although digital transformation has no significant impact on strategic green innovation, it can also promote strategic green innovation when a firm has a stronger environmental orientation.

Table 8 The moderating effect of environmental orientation

5.2 The role of voluntary environmental orientation

Table 9 shows the results of the voluntary EO’s moderating effect on the relationship between digital transformation and green innovation. The results are reported in Columns (1) to (3) using OLS estimates and Columns (4) to (6) using Tobit estimates. As shown in Table 9, the coefficients on DT*VtEO are significantly positive. The results support H4a. Voluntary EO motivates proactive environmental initiatives to achieve a competitive advantage over other competitors and the concept of sustainable development (González-Benito and González-Benito 2005). Enterprises that have achieved ISO 14,001 certification have implemented an internal environmental management system, allowing digital transformation to have a more significant impact on (substantive) green innovation. The more advanced the firm’s information system (IS) is, leading to a greater integration of the different activities and processes of the organization, the more effective the IS’s contribution to environmental management practices (Fiorini et al. 2018). Digital transformation could be a key driver that leads to better management of the environment and more green innovations.

Table 9 The moderating effect of voluntary environmental orientation

5.3 The role of mandatory environmental orientation

Table 10 shows the results of the mandatory EO’s moderating effect on the relationship between digital transformation and green innovation. The results are reported in Columns (1) to (3) using OLS estimates and Columns (4) to (6) using Tobit estimates. Unexpectedly, the coefficients on DT*MdEO are not statistically significant across all estimations, as shown in Table 9, indicating that whether the enterprise is a mandatory EO or not the impact of digital transformation on enterprise green innovation have no significant difference. Our empirical results cannot support H4b. The likely explanation is that China’s current green credit policy may directly or indirectly restrict the credit of highly polluting businesses, increase their financing costs, and subject them to severe financial restraints. Although high-polluting enterprises’ mandatory disclosure of environmental information is supervised by stakeholders such as the government, investors, and consumers, they tend to allocate limited resources to low-risk projects and find solutions in existing resources and technologies to comply with environmental regulations (Li-Ying et al. 2018), as opposed to relying on digital transformation, which requires large investments and is fraught with uncertainty.

Table 10 The moderating effect of mandatory environmental orientation

6 Discussions and conclusions

This study first explores the impacts of digital transformation on green innovation by using a sample of Chinese publicly listed firms between 2008 and 2021 based on the RBV. Then, we further differentiate between substantive and strategic green innovation and fully discuss the impact of digital transformation on green innovation with different motivations. Finally, we explore the boundary conditions of the effects of digital transformation on green innovation by analyzing the moderating effect of EO and EO driven by distinct motivations (voluntary EO vs. mandatory EO). Our findings contribute to filling major gaps in the literature on digital transformation and the drivers of enterprises’ green innovation and therefore have several theoretical and practical implications.

6.1 Theoretical implication

First, we contribute to the literature on the connection between digital transformations and a firm’s green innovation activities (Ardito et al. 2021; Chen et al. 2021; He and Su 2022; Rubio– Andrés et al. 2022). Specifically, we contribute to the development of theory by providing empirical support for additional research into how businesses exploit digital transformation for green innovation (Khanin et al. 2022). Several studies have attempted to establish a connection between digital transformation and the adoption of green innovation, while ignoring firms’ motivations to engage in green innovation (Li-Ying et al. 2018) and how these motivations influence the relationship between digital transformation and green innovation. The results reveal that digital transformation significantly impacts green innovation by strengthening the resource and knowledge bases, which is consistent with the resource-based view. When we further differentiate between substantive and strategic green innovation, we find that digital transformation positively affects substantive innovation, not strategic, green innovation.

Second, we employ a novel measurement and a unique perspective to explore boundary conditions in the process of firms fostering green innovation through digital transformation. Specifically, we study the moderating effect of environmental orientation and create an environmental orientation index based on enterprises’ environmental practices, which is typically derived from questionnaire responses (Ardito et al. 2021). Questionnaires are a frequent method for evaluating environmental orientation, but they are always susceptible to subjectivity. Environmental orientation is a fundamental business principle that guides enterprise environmental practice (Zameer et al. 2022). In accordance with this perspective, this study offers an alternative measurement by constructing an EO index using objective environmental practices. The moderating effect analyses indicate that environmental orientation positively moderates the relationship between digital transformation and green innovation.

According to the motivations of the various EOs, this study further categorizes mandatory and voluntary EO. Zhou et al. (2022) found firms choose different strategies under distinct environmental orientations. Some scholars have split EO into internal and exterior types (Zhang et al. 2022). Nonetheless, EO can be motivated by a variety of factors. We examine two sorts of motivation: those driven by environmental rules, i.e., mandatory EO, and those motivated by the firm’s strategic goals, i.e., voluntary EO. The results show only voluntary EO has a positive moderating effect. The stronger the firm’s (voluntary) environmental orientation is, the larger the impact of digital transformation on green innovation. Our results indicate that firms can maximize the influence of digital transformation on green innovation only if they are motivated by environmental consciousness and the desire to acquire a competitive advantage.

6.2 Practical implications

The results have several policy implications. First, digital transformation can foster green innovation, which provides compelling evidence to encourage enterprises that have not yet undergone digital transformation or those with a low digital transformation level to implement reforms, achieve the dual goals of digital transformation and green development, and boost enterprise competitiveness. Second, our results show that digital transformation only has a positive influence on substantive green innovation, while voluntary EO has a positive moderating effect. It is vital to actively assist businesses in forming the concept of environmental protection, and it is necessary for businesses to have a clear understanding that environmentally friendly innovation is the key to obtaining a competitive edge in the future. Only in this way can a spontaneous environmental orientation be formed, the role of digital transformation in promoting green development be maximized, and the “double carbon” objective be attained.

6.3 Limitations and further research directions

There are several limitations to this study that point to future research options. To begin, further investigation is encouraged to develop a more precise measurement of digital transformation. Second, this research examines the overall digital transformation. Different types of digital technology may have various effects. In the future, the dimensions of digital transformation should be further investigated. This study mainly discusses the boundary conditions of digital transformation affecting green innovation, and more potential mechanisms need to be further explored in the future.