Updates bill header fields in bulk for a list of bills
Use this endpoint to mass-update header fields (e.g., begin date, end date, batch) across multiple bills.
Bills where the new end date would be on or before the begin date are skipped. Bills the user lacks
permission to edit (exported or approved) are also skipped. Bill audits are not triggered by this operation.
Request Headers
| Header | Value | Required | Description |
|---|---|---|---|
| ECI-ApiKey | string | Yes | Your API key. See Authentication. |
| Content-Type | application/json | Yes | All requests must specify JSON content type, including the request body. |
Request Body
BillActionHeaderUpdate
| Property | Description | Type | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| billHeader | BillHeaderUpdate | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
|
BillHeaderUpdate properties
|
||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| billIds | Bill IDs whose headers are going to be updated Cannot be Empty Required | integer[] | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
Example Request Body
{ "billHeader": { "accountPeriod": { "accountPeriod": 1, "update": false
}, "beginDate": { "beginDate": "2026-06-29", "update": false
}, "billingPeriod": { "billingPeriod": 1, "update": false
}, "controlCode": { "controlCode": "string", "update": false
}, "dueDate": { "dueDate": "2026-06-29", "update": false
}, "endDate": { "endDate": "2026-06-29", "update": false
}, "estimated": { "estimated": false, "update": false
}, "invoiceNumber": { "invoiceNumber": "string", "update": false
}, "statementDate": { "statementDate": "2026-06-29", "update": false
}
}, "billIds": [
1
]
}
Responses
200
OK
The request succeeded and the response body contains the requested data.
Response Body Parameters
UpdateResult
| Property | Description | Type |
|---|---|---|
| selected | The total number of items that were targeted by the bulk operation Required (defined) | integer (int32) |
| updated | The number of items that were actually modified (excludes items that already matched the target state) Required (defined) | integer (int32) |
Example Response
{ "selected": 1, "updated": 1
}