VALENQ Engine Mapping & Industry Codes
Powered by VALENQ Engine, the Mapping Agent endpoints match unstructured ERP invoice lines, procurement descriptions, and material records to the best emission factor and calculate Scope 1, 2, and 3 emissions automatically.
1. How It Works & Private Factors
- Private Emission Factors (
accessType): Supplier EPDs and facility-specific factors uploaded viaPOST /private-factorsare automatically included in VALENQ Engine searches.
- Set
"accessType": "private"to search only your organization's private emission factors.
- Set
"accessType": "public"to search only the public catalog and skip private factors.
- Data License Protection: For calculation-only licensed datasets, total
co2eTotalKgis returned accurately while unit coefficients are masked according to license policy; your organization's own"private"factors are never masked.
- Effort & Speed Modes (
effort):
"thorough"(or"high"): Runs deeper reranking and generates detailed match explanations (best for accuracy).
"fast"(or"low"): Fast matching for low-latency real-time requests.
2. Suggest Emission Factors
POST /api/v1/integrations/mapping-agent/suggest
Returns ranked emission factor suggestions (1–20 items), review labels (qualityLabel), data quality scores (dqi), and selection reasoning without running a calculation.
- Required Scope:
emissions:calculateorfactors:search
#### Request Parameters
| Parameter | Type | Required | Default | Description |
|---|---|---|---|---|
| text | string | Yes | — | Free-form activity, material, or service description (e.g., "316L stainless steel pipe"). |
| unit | string | No | null | Expected unit hint (e.g., "kg", "kWh", "L", "EUR"). |
| unitType | string | No | All | Unit family filter: "weight", "energy", "volume", "distance", "money". |
| region | string | No | Global | Geographic region code ("TR", "DE", "EU", "US"). |
| regionFallback | boolean | No | true | When false, rejects candidates outside the exact requested region. |
| year | integer | No | Latest | Year in which the activity occurred. |
| source | string | No | All | Data source inclusion filter (mutually exclusive with excludeSource). |
| excludeSource | string[] | No | null | Data sources to exclude from matching (mutually exclusive with source). |
| requiredCategory | string | No | All | Category filter (e.g., "Metals", "Building Materials"). |
| sourceLcaActivity | string | No | All | Lifecycle boundary filter ("cradle_to_gate", "well_to_tank", "fuel_combustion", etc.). |
| scope | string | No | All | GHG scope filter ("1", "2", "3", "3.1", "3.2", etc.). |
| calculationMethod | string | No | "ar6" | Preferred IPCC GWP metric ("ar6", "ar5", "ar4"). |
| accessType | string | No | "all" | Factor access filter: "public", "private", or "all". |
| allowedDataQualityFlags | string[] | No | Default | Permitted data quality flags (pass [] to require zero flagged issues). |
| effort | string | No | "fast" | Matching depth: "thorough" ("high") or "fast" ("low"). |
| explainResults | boolean | No | null | true populates top1Explanation; false omits explanations for smaller responses. |
| dataVersion | string | No | "^2026.1" | Fixed ("2026.1") or dynamic ("^2026.1") catalog version selector. |
| limit | integer | No | 5 | Maximum number of ranked suggestions to return (1–20). |
#### Example Request (cURL)
curl -X POST "https://api.climeqai.com/api/v1/integrations/mapping-agent/suggest" \
-H "X-Api-Key: sust_YOUR_API_KEY" \
-H "Content-Type: application/json" \
-d '{
"text": "Portland limestone cement CEM II bulk supply",
"unitType": "weight",
"region": "DE",
"regionFallback": true,
"effort": "thorough",
"explainResults": true,
"limit": 2
}'
#### Example Response (200 OK)
{
"success": true,
"message": "AI emission factor suggestions generated.",
"data": {
"query": "Portland limestone cement CEM II bulk supply",
"quality": "accept",
"matchedBy": "semantic_search",
"topConfidence": 94.2,
"modelVersion": "valenq-mapper-v2.4",
"dataVersion": "2026.1",
"requestedDataVersion": "^2026.1",
"top1Explanation": "Input represents CEM II blended Portland cement; matched to a mass-based cradle-to-gate production factor.",
"notices": [],
"results": [
{
"activityId": "16dc6590-6394-8125-a416-d1ec0c26dd78",
"activityName": "Cement, CEM II",
"category": "Building Materials",
"confidence": 94.2,
"qualityLabel": "accept",
"reasoning": "Exact material grade (CEM II) and cradle-to-gate mass boundary matched.",
"dqi": { "technology": 1.5, "geography": 1.0, "time": 1.0, "overall": 1.2 },
"recommendedFactor": {
"id": "16dc6590-6394-8125-a416-d1ec0c26dd78",
"name": "Cement, CEM II",
"accessType": "public",
"source": "Verified LCA Catalog",
"region": "DE",
"unitType": "Physical",
"unit": "kg",
"co2eFactor": 0.682,
"co2eUnit": "kg",
"year": 2025,
"lcaBoundary": "cradle_to_gate",
"gwpCalculationMethod": "ar6",
"dataQualityFlags": []
}
}
]
}
}
Quality & Review Labels (quality / qualityLabel)
| Label | Meaning & Recommended Workflow |
|---|---|
| accept | High confidence (>= 80%) with verified unit/boundary compatibility; safe for automated approval. |
| review | Moderate confidence or spend-based estimate; route to analyst review. |
| unmatched | No valid factor matched the query and active filters (consider relaxing excludeSource or regionFallback). |
| anomaly | Guardrail triggered (e.g., monetary factor on physical query or outlier coefficient); blocked from auto-acceptance. |
3. One-Step AI Mapping & Calculation
POST /api/v1/integrations/mapping-agent/estimate
Matches free-form text, amount, and unit (physical unit, item count, or currency) to the top candidate factor and returns calculated kgCO₂e / tCO₂e in a single request.
- Required Scope:
emissions:calculate
- Inflation Adjustment (
applyInflationAdjustment): On monetary (EUR,USD,TRY, etc.) estimates, settingapplyInflationAdjustmentto the spend year (e.g.,2026) adjusts the spend amount to the factor's base year using CPI inflation rates and reports the adjustment innotices.
#### Additional Request Parameters (Beyond Suggest Parameters)
| Parameter | Type | Required | Description |
|---|---|---|---|
| amount | number | Yes | Positive physical quantity, item count, or monetary spend amount. |
| unit | string | Yes | Physical unit (kg, kWh, L, m3), count (pcs, unit), or currency (EUR, USD, TRY). |
| applyInflationAdjustment | integer | No | Year in which money was spent (e.g., 2026). Adjusts monetary estimates for inflation relative to the factor's year. |
| autoAcceptThreshold | number | No | Minimum confidence score (0–100, default 80) required for accept status. |
| hsCode | string | No | Optional HS tariff code improving weight estimates on count-based (unit/pcs) inputs. |
| exportOpenLcaFormat | boolean | No | When true, attaches an OpenLCA-compatible JSON-LD package (openLcaPackage) to the response. |
curl -X POST "https://api.climeqai.com/api/v1/integrations/mapping-agent/estimate" \
-H "X-Api-Key: sust_YOUR_API_KEY" \
-H "Content-Type: application/json" \
-d '{
"text": "Semi-finished structural steel sections",
"amount": 15000,
"unit": "EUR",
"region": "DE",
"applyInflationAdjustment": 2026,
"effort": "thorough",
"explainResults": true
}'
Notice Codes (notices[])
| code | severity | Description |
|---|---|---|
| emission_factor_region_fallback | warning | Used a factor from a fallback/parent region because exact regional data was unavailable. |
| inflation_applied | info | CPI inflation adjustment was applied between the applyInflationAdjustment spend year and the factor's base year. |
| large_inflation_adjustment | warning | Inflation adjustment spanned more than 2 years. |
| no_inflation_adjustment | info / warning | No adjustment applied—informational when the input is physical, or a warning when CPI data is unavailable for the period. |
4. Batch AI Mapping & Calculation
POST /api/v1/integrations/mapping-agent/estimate/batch
Processes up to 100 unstructured ERP line items in a single HTTP request through VALENQ Engine.
- Required Scope:
emissions:calculate
{
"jobName": "SAP-2026-Q3-Procurement",
"defaultRegion": "DE",
"defaultYear": 2026,
"autoAcceptThreshold": 80.0,
"effort": "thorough",
"items": [
{ "externalId": "INV-101", "text": "Backup generator diesel refuel", "amount": 400, "unit": "L", "region": "TR" },
{ "externalId": "INV-102", "text": "LDPE stretch wrap packaging film", "amount": 250, "unit": "kg" }
]
}
5. Industry & Customs Code Calculation
POST /api/v1/integrations/classifications/estimate
Calculates physical or inflation-adjusted spend emissions directly from standard procurement, industry, and customs codes (UNSPSC, NACE, ISIC, NAICS, MCC, HS_CODE):
curl -X POST "https://api.climeqai.com/api/v1/integrations/classifications/estimate" \
-H "X-Api-Key: sust_YOUR_API_KEY" \
-H "Content-Type: application/json" \
-d '{
"classificationType": "UNSPSC",
"classificationCode": "43211503",
"amount": 25000,
"unitOrCurrency": "EUR",
"regionCode": "DE",
"year": 2026,
"calculationMethod": "ar6",
"persist": false
}'
Platform Guide & Technical Documents
- Smart Invoice and Document Reader
- Carbon Forecasting and Scenario Analysis
- AI Workflow Management
- Supply Chain Risk Monitoring
- VALENQ Engine Mapping & Industry Codes
- Catalog Search, Units & Private Factors
- API Versioning & Changelog
- Energy, Freight, Procurement & Travel APIs
- Product, CBAM, Cloud, IoT & Passport APIs
- OpenAPI, Postman & MCP Server
- Audit Logs User Guide
- Corporate Emission Calculation Methods
- Blockchain Data Sealing and Verification
- Digital Product Passport Guide
- Supported Reporting Standards
- Dashboard User Guide
- Data Quality, Standardization & Version Management
- Decarbonization Pathways User Guide
- Digital Product Passport Workspace
- AI Emission Factor Mapping Methodology
- Emission Factor Library
- Emission Scopes (Scope 1, 2 & 3)
- Validating and Approving Emission Data
- Data Explorer & Carbon Ledger User Guide
- Frequently Asked Questions (FAQ)
- Carbon Accounting & Sustainability Glossary
- Support Center & Help Channels
- Financial Integration & ERP Sync User Guide
- Core & Batch Emission Calculation API
- API Authentication, Permissions & Error Codes
- ERP, Cloud & IoT Connectors
- Webhooks & Signature Verification
- Intelligence & Resilience Hub User Guide
- Organization Invitations
- Methodology Overview
- Mission Control Center User Guide
- Carbon Offset & Environmental Attribute Hub User Guide
- Account Creation and First Steps
- Role and Permission Management (RBAC)
- Team Setup and Organization Management
- Product Carbon Footprint & CBAM Methodology
- Product Impact & LCA Studio User Guide
- Quickstart (Step 1): Generating an API Key
- Quickstart (Step 2): Making Your First Calculation Request
- Quickstart (Step 3): Reviewing, Approving & Anchoring Records
- Reports Hub & AI Report Editor User Guide
- ESG Risk Guardian User Guide
- Security Center
- Data Lineage, Integrity & Independent Auditor Workspace
- Data Security and Encryption
- Identity and Access Management (IAM)
- System & Organization Settings User Guide
- Supply Chain & Value Chain Portal User Guide
- Sustainability & Targets Hub User Guide
- User Management (RBAC)
- Webhook Management