Skip to content

Statements ​

E2C generates partner statements per settlement period. Partners can review statements and lines; if there is no objection, the statement is confirmed automatically after the objection deadline and settled by E2C finance. There is no partner-side confirm or settle endpoint.

Authentication ​

All endpoints use Authorization: Bearer <session token>.

List Statements ​

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

Auth: Authorization: Bearer <session token>

Returns the current partner's statements, with optional period and status filters.

Request Body ​

FieldTypeRequiredDescription
periodstringnoSettlement period, YYYY-MM
statusstringnoopen / confirmed / disputed / invoiced / paid / overdue
pageintegernoPage number, default 1
pageSizeintegernoPage size, default 20, max 100

Response ​

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
  }
}

Status ​

StatusMeaning
openAwaiting confirmation; objections can be raised
confirmedConfirmed (including automatic confirmation after the objection window)
disputedAn objection has been raised
invoicedInvoiced
paidPaid
overdueOverdue

Error Codes ​

codeMeaning
909Unauthenticated or not a channel partner

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
}'

Statement Detail ​

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

Auth: Authorization: Bearer <session token>

Returns a statement and its fee lines.

Request Body ​

FieldTypeRequiredDescription
idintegeryesStatement ID

Response ​

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
      }
    ]
  }
}

Error Codes ​

codeMeaning
909Unauthenticated or not a channel partner
400id is missing
404Statement not found or not owned by this partner

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
}'

Raise an Objection ​

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

Auth: Authorization: Bearer <session token>

Raise an objection before the objection deadline. E2C finance reviews the objection; no further partner-side settlement action is required.

Request Body ​

FieldTypeRequiredDescription
idintegeryesStatement ID
reasonstringyesObjection reason, up to 512 characters

Response ​

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

Error Codes ​

codeMeaning
909Unauthenticated or not a channel partner
400Missing id or reason; the statement status does not allow an objection
404Statement not found or not owned by this partner

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."
}'

Settlement Notes ​

  • Statements are generated by E2C per settlement period and are read-only for partners.
  • Partners can raise an objection before the deadline; no objection by the deadline is treated as acceptance.
  • When the objection window ends without an objection, the statement is confirmed automatically.
  • Invoicing and payment are handled by E2C finance; there is no partner-side confirm or settle endpoint.
  • Statement status and amounts are for review only. Use the objection flow or contact your account manager for adjustments.