🛡️ Carbon Attestation & Compliance — app4.7
Developer CourseModule 4: Carbon Attestation & Complianceapp4.7
Reading8 min

FDE Context: Carbon Reporting at Khazna

🛡️ Module 4: Carbon Attestation & Compliance

FDE Context: Carbon Reporting at Khazna

Khazna is one of the largest data centre operators in the UAE. Their hyperscaler tenants (think Microsoft Azure, Oracle Cloud) require per-tenant carbon attribution with third-party verifiable data.

The Requirement

Each tenant at Khazna needs:

  • Monthly Scope 2 emissions (location-based + market-based)
  • Per-tenant attribution based on metered power consumption
  • Hash-chain verified audit trail for every data point
  • Exportable reports for their own sustainability teams

How You Set It Up

# 1. Create carbon records for each tenant meter (automated, runs every 30 min)
# Tenant A — Meter M-KHZ-A01
curl -X POST -H "Authorization: $EAT_KEY" \
  -H "Content-Type: application/json" \
  -d '{"meter_id": "M-KHZ-A01", "facility_id": "KHAZNA_UUID", "timestamp": "2026-02-27T10:00:00Z", "kwh": 1250}' \
  https://app.energyatit.com/api/v1/carbon/record

# 2. Generate monthly certificate per tenant
curl -X POST -H "Authorization: $EAT_KEY" \
  -H "Content-Type: application/json" \
  -d '{"facility_id": "KHAZNA_UUID", "start": "2026-02-01", "end": "2026-02-28"}' \
  https://app.energyatit.com/api/v1/carbon/certificate

# 3. Generate Scope 2 report
curl -X POST -H "Authorization: $EAT_KEY" \
  -H "Content-Type: application/json" \
  -d '{"facility_id": "KHAZNA_UUID", "period_start": "2026-02-01", "period_end": "2026-02-28", "methodology": "dual"}' \
  https://app.energyatit.com/api/v1/carbon/scope2
# Tenant A — Meter M-KHZ-A01
curl.exe --% -X POST -H "Authorization: $env:EAT_KEY" -H "Content-Type: application/json" -d "{"meter_id": "M-KHZ-A01", "facility_id": "KHAZNA_UUID", "timestamp": "2026-02-27T10:00:00Z", "kwh": 1250}" "https://app.energyatit.com/api/v1/carbon/record"

# 2. Generate monthly certificate per tenant
curl.exe --% -X POST -H "Authorization: $env:EAT_KEY" -H "Content-Type: application/json" -d "{"facility_id": "KHAZNA_UUID", "start": "2026-02-01", "end": "2026-02-28"}" "https://app.energyatit.com/api/v1/carbon/certificate"

# 3. Generate Scope 2 report
curl.exe --% -X POST -H "Authorization: $env:EAT_KEY" -H "Content-Type: application/json" -d "{"facility_id": "KHAZNA_UUID", "period_start": "2026-02-01", "period_end": "2026-02-28", "methodology": "dual"}" "https://app.energyatit.com/api/v1/carbon/scope2"

What the Customer Gets

A complete audit trail: every kWh metered, every carbon factor applied, every hash linked. Their sustainability team can verify any record independently by checking the hash chain.

This is what wins enterprise contracts. Not a dashboard — a verifiable audit trail.

Log in to track your progress and earn certifications.