ESG Data Accounting and Disclosure: A Technical Implementation Guide

    This article explains how to treat ESG disclosure as a data engineering project. It covers defining organizational, temporal, operational, and ownership boundaries; standardizing calculation logic with versioned emission factors; building a reusable data pipeline with collection, computation, validation, and serving layers; preparing for external assurance with audit trails; and using first-year relief provisions without relying on them. It also includes a common pitfalls checklist, a suggested delivery timeline, and sample code and SQL for emissions calculation and data validation.

    1. Background: Why ESG Disclosure Becomes a Data Engineering Problem

    2026 is widely regarded in the industry as the starting point for mandatory sustainability disclosure. Under the arrangements of the main domestic stock exchanges, companies that are continuously included in certain representative broad-based and growth indices, as well as companies listed both domestically and overseas, are required to publish their sustainability reports for the previous year before April 30, 2026. This covers more than 400 companies, representing over half of the total market capitalization. A first batch of companies has already completed disclosure ahead of schedule, and a recurring focus in regulatory communication is data quality.

    From an engineering perspective, this report is not a public relations document. It is a structured dataset that must be traceable, reviewable, and auditable. Metrics such as greenhouse gas emissions, energy consumption, water intake and discharge, waste, employee safety, and training hours all originate from the intersection of business systems and financial systems. The reason finance teams are inevitably involved is straightforward: only the finance perspective can provide the consolidation scope, time boundaries, and voucher-level evidence chain.

    The first year includes clear relief arrangements: year-over-year comparisons are not required, metrics that are difficult to quantify may be replaced with qualitative descriptions, and quantitative analysis of the financial impact of sustainability risks may be deferred. The real meaning of these three relief rules is that the regulatory goal is to encourage companies to “start disclosing,” not to penalize technical errors. However, relief does not mean exemption from inspection. Definitions, boundaries, and evidence chains remain hard requirements.

    2. Step 1: Define the Disclosure Boundary Clearly

    Most rework stems from boundaries that were not clearly defined. It is advisable to produce a boundary definition document before data collection, containing at least four layers.

    The first layer is the organizational boundary. Based on the consolidation scope, specify the legal entities included and excluded, and explain how joint ventures, associates, minority stakes, leased assets, and outsourced operating sites are handled. Either the operational control approach or the financial control approach can be used; the key is consistency throughout the report.

    The second layer is the temporal boundary. Adopt a calendar year uniformly and define attribution rules for cross-period data, such as whether to use the settlement cycle or the actual occurrence date.

    The third layer is the operational boundary. Break down emissions and resource consumption into Scope 1 (direct emissions from owned or controlled sources), Scope 2 (indirect emissions from purchased electricity and heat), and Scope 3 (upstream and downstream value chain). In the first year, prioritize the completeness of Scope 1 and Scope 2.

    The fourth layer is the data ownership boundary. Assign a unique owner, source system, and reviewer to each metric to form a metric responsibility matrix. A metric without an owner will inevitably become a last-minute inquiry.

    1. Metric Responsibility Matrix Example
    2. Metric ID | Metric Name | Organizational Boundary | Source System | Owner | Reviewer | Evidence Type
    3. E-001 | Scope 1 GHG emissions | Consolidation Scope A | Energy ledger | Energy Manager | Finance BP | Invoice + ledger
    4. E-002 | Purchased electricity consumption | Consolidation Scope A | Electricity settlement | Facilities Manager | Finance BP | Settlement statement
    5. W-001 | Water intake | Consolidation Scope A | Water bill | Facilities Manager | Reporting Accountant | Bill + meter records

    3. Step 2: Standardize Definitions and Calculation Logic

    A typical symptom of inconsistent definitions is that the same metric has three versions in different departments. The solution is to write calculation logic as executable rules, not meeting minutes.

    Take Scope 2 emissions as an example. The common approach is to multiply activity data by an emission factor, distinguishing between location-based and market-based methods as needed:

    1. # Sample code: Scope 2 emissions calculation and definition validation
    2. def calc_scope2(electricity_mwh, factor_tco2_per_mwh, method="location"):
    3. """method: location=location-based, market=market-based"""
    4. if electricity_mwh < 0:
    5. raise ValueError("Activity data cannot be negative")
    6. if factor_tco2_per_mwh <= 0:
    7. raise ValueError("Emission factor must be positive")
    8. return round(electricity_mwh * factor_tco2_per_mwh, 3), method
    9. # Unit conversion: kWh -> MWh
    10. def to_mwh(kwh):
    11. return kwh / 1000.0
    12. result = calc_scope2(to_mwh(12500000), 0.5703)
    13. print(result) # (7128.75, 'location')

    Three foundational tables are also needed: an activity data table (original measurements and settlement vouchers), a factor table (source, version, applicable year, effective period), and an adjustment table (estimates, missing value substitutions, definition changes). Any number must be traceable back to the original voucher through these three tables.

    It is important to emphasize that factors must carry a version and applicable year and cannot be reused indefinitely. Missing data must be handled with substitution methods, and the substitution ratio must be explained in the report. For metrics allowed to be replaced qualitatively in the first year, clearly state why quantification is not possible and what the improvement plan is.

    4. Step 3: Build a Reusable Data Pipeline

    Manual aggregation is not sustainable at the scale of more than 400 companies. A pragmatic architecture has four layers:

    • Collection layer: Extract data from energy, water, travel, production, HR, and other systems. File-based data is stored uniformly in object storage, with original files retained and not overwritten.
    • Computation layer: Execute definition-based calculations through batch jobs or containerized workloads. Rules are managed as configuration; hardcoding factors in scripts is prohibited.
    • Validation layer: Set up threshold validation, year-over-year fluctuation validation, completeness validation, and reconciliation validation. Anomalies enter a message queue for manual review.
    • Serving layer: Form a metric result store for report generation and internal dashboards. Logs from the entire process go to a logging service with monitoring and alerting configured.
    1. -- Sample: completeness and reconciliation validation
    2. SELECT 'Missing voucher' AS issue, entity_id, period
    3. FROM activity_data
    4. WHERE period = '2025' AND voucher_id IS NULL
    5. UNION ALL
    6. SELECT 'Inconsistent definition', entity_id, period
    7. FROM emission_result
    8. WHERE factor_version <> (SELECT current_version FROM factor_meta WHERE year = 2025);

    The credibility of data quality comes from the number and execution frequency of validation rules, not from a final manual check. It is recommended to run validations automatically every day so that issues surface early at the lowest cost.

    5. Step 4: External Assurance and Internal Control Evidence

    If the report requires third-party assurance, the assurance provider focuses on three things: whether the data is complete, whether the definitions are consistent, and whether the evidence is sufficient. Therefore, internal control evidence must be created during the collection stage, including data change records, approval records, version comparisons, and access permissions. Adding records after the report is finalized usually fails sampling tests.

    It is also recommended to conduct an internal rehearsal: randomly select several metrics and trace backward from the results to the original vouchers, measuring the tracing time. If tracing a single metric takes more than half an hour, the pipeline still needs optimization.

    6. Step 5: Use First-Year Relief Wisely, but Do Not Depend on It

    The relief arrangements provide room for trial and error. A reasonable strategy is to concentrate resources on metrics that “must be quantified and have a large impact,” and provide qualitative descriptions with an improvement timeline for the rest. Two extremes should be avoided: rolling out everything and ending up with rough metrics across the board; and using relief as an excuse to build no data foundation at all, which makes it impossible to close the loop in the second year.

    7. Common Pitfalls Checklist

    • Confusing consolidation scope with disclosure boundary, leading to omitted or double-counted entities.
    • No version management for factors, making values incomparable across years.
    • Having only results without process, making it impossible to handle sampling review.
    • Unclear ownership, causing metrics to be passed back and forth between departments.
    • Last-minute bulk data entry, lacking timestamps and approval traces.

    8. Suggested Implementation Timeline

    A suggested pace is: two weeks to define boundaries and the responsibility matrix, three weeks to connect collection and validation, two weeks to complete trial calculation and tracing rehearsal, and the final week to finalize and archive evidence. The general-purpose capabilities commonly used by Baidu AI Cloud in data governance and observability scenarios, such as object storage, batch computing, message queues, logging services, and monitoring alerts, can serve as a reference paradigm for building such a pipeline. The core remains unified definitions and a complete evidence chain; tools only solve efficiency problems.

    Treat ESG disclosure as a data infrastructure upgrade. In the first year, you can not only deliver smoothly, but also lay the groundwork for year-over-year disclosure and quantitative expansion in the second year.