Skip to content

对账单 ​

合作商对账单由 E2C 按结算周期生成。合作商可查看账单与明细;如无异议,账单在异议截止日后自动确认,由 E2C 财务完成结算。合作商侧不提供确认或结算接口。

认证 ​

所有接口使用 Authorization: Bearer <会话令牌>。

账单列表 ​

POST/channel/api/v1/reconciliation/statement/list

Auth: Authorization: Bearer <session token>

返回当前合作商的对账单,支持按账期和状态筛选。

请求体 ​

字段类型必填说明
periodstring否账期,YYYY-MM
statusstring否open / confirmed / disputed / invoiced / paid / overdue
pageinteger否页码,默认 1
pageSizeinteger否每页条数,默认 20,最大 100

响应 ​

json
{
  "code": 200,
  "msg": "success",
  "data": {
    "data": [
      {
        "id": 1,
        "statement_no": "BS202611011200000001",
        "period": "2026-11",
        "period_start": "2026-11-01",
        "period_end": "2026-11-30",
        "status": "open",
        "total_amount": 123.45,
        "due_date": "2026-12-30",
        "objection_deadline": "2026-12-07"
      }
    ],
    "total": 1,
    "per_page": 20,
    "current_page": 1
  }
}

状态 ​

状态含义
open待确认,可提出异议
confirmed已确认(含异议期届满自动确认)
disputed已提出异议
invoiced已开票
paid已收款
overdue已逾期

错误码 ​

code含义
909未认证或不属于合作商

cURL ​

cURL
curl -X POST 'https://apigate.e2c-energy.com/channel/api/v1/reconciliation/statement/list' \
  -H 'Authorization: Bearer YOUR_TOKEN' \
  -H 'Content-Type: application/json' \
  -d '{
  "period": "2026-11",
  "page": 1,
  "pageSize": 20
}'

账单详情 ​

POST/channel/api/v1/reconciliation/statement/detail

Auth: Authorization: Bearer <session token>

返回指定对账单及其费用明细。

请求体 ​

字段类型必填说明
idinteger是对账单 ID

响应 ​

json
{
  "code": 200,
  "msg": "success",
  "data": {
    "id": 1,
    "statement_no": "BS202611011200000001",
    "period": "2026-11",
    "period_start": "2026-11-01",
    "period_end": "2026-11-30",
    "status": "open",
    "total_amount": 123.45,
    "due_date": "2026-12-30",
    "objection_deadline": "2026-12-07",
    "lines": [
      {
        "id": 10,
        "description": "Outbound handling",
        "quantity": 2,
        "unit_price": 10,
        "amount": 20
      }
    ]
  }
}

错误码 ​

code含义
909未认证或不属于合作商
400id 缺失
404对账单不存在或不属于当前合作商

cURL ​

cURL
curl -X POST 'https://apigate.e2c-energy.com/channel/api/v1/reconciliation/statement/detail' \
  -H 'Authorization: Bearer YOUR_TOKEN' \
  -H 'Content-Type: application/json' \
  -d '{
  "id": 1
}'

提出异议 ​

POST/channel/api/v1/reconciliation/statement/dispute

Auth: Authorization: Bearer <session token>

在异议截止日前对账单提出异议。异议提交后由 E2C 内部财务复核,合作商侧不再执行其他结算操作。

请求体 ​

字段类型必填说明
idinteger是对账单 ID
reasonstring是异议原因,最长 512 字符

响应 ​

json
{
  "code": 200,
  "msg": "success",
  "data": null
}

错误码 ​

code含义
909未认证或不属于合作商
400id 或 reason 缺失;对账单当前状态不可提异议
404对账单不存在或不属于当前合作商

cURL ​

cURL
curl -X POST 'https://apigate.e2c-energy.com/channel/api/v1/reconciliation/statement/dispute' \
  -H 'Authorization: Bearer YOUR_TOKEN' \
  -H 'Content-Type: application/json' \
  -d '{
  "id": 1,
  "reason": "The handling fee quantity is incorrect."
}'

结算说明 ​

  • 对账单由 E2C 按结算周期生成,合作商侧只读。
  • 合作商可在异议截止日前提交异议;逾期未提交视为无异议。
  • 异议期届满且无异议时,对账单自动确认。
  • 开票与收款由 E2C 内部财务完成;合作商侧不提供确认或结算接口。
  • 对账单状态与金额仅供查询;如需调整,请通过异议流程或联系客户经理。