Get Bills of Billing Account Action
Retrieve bills for a billing account from an external billing system, with optional date range or count filtering.
This action is available in API version 60.0 and later.
The Get Bills of Billing Account action is available in Enterprise and Unlimited Editions with Energy and Utilities Cloud.
URI: /services/data/v60.0/actions/standard/getBillsOfBillingAccount
Formats: JSON, XML
HTTP Methods: POST
Authentication: Authorization: Bearer TOKEN
Where TOKEN is a variable.
| Input | Type | Description |
|---|---|---|
billingAccountId | string | Required. ID of the billing account whose bills are retrieved. |
numberOfBills | int | Optional. Maximum number of bills to retrieve. |
startDate | date | Optional. Retrieves bills dated on or after this date. |
endDate | date | Optional. Retrieves bills dated on or before this date. |
| Output | Type | Description |
|---|---|---|
billsOfBillingAccount | string array[] | List of JSON strings, each containing data for one bill retrieved from the external billing system. Maximum of 50 items. |
- POST
This sample request is for the Get Bills of Billing Account action.
This sample response is for the Get Bills of Billing Account action.