Get Bill

Get Bill

Get bill for the specified bill identifier

Request
URI
GET
https://{api_host}/suite-api/api/chargeback/bills/{id}
COPY
Path Parameters
string
id
Required

The identifier of the bill


Authentication
This operation uses the following authentication methods.
Responses
200

The details of the bill for the given identifier

Returns metering-bill of type(s) application/json
"{\n  \"description\" : \"Test Bill Generation\",\n  \"billMetadata\" : {\n    \"title\" : \"TestBill\",\n    \"billingTime\" : 1690821540334,\n    \"billingStartTime\" : 1687108240000,\n    \"billingEndTime\" : 1687108240000\n  },\n  \"resourceData\" : {\n    \"resourceType\" : \"REGION_QUOTA\",\n    \"resourceName\" : \"RegionQuota9\",\n    \"policyName\" : \"TestPolicy\",\n    \"resourceId\" : \"581091bb-eb62-494c-93b3-78db1edaded0\",\n    \"totalPrice\" : 135.0\n  },\n  \"meteringDetails\" : [ ],\n  \"subMeteringBill\" : {\n    \"meteringResourceData\" : {\n      \"resourceType\" : \"REGION_QUOTA\",\n      \"resourceName\" : \"RegionQuota9\",\n      \"policyName\" : \"TestPolicy\",\n      \"resourceId\" : \"8763073e-3e03-4dc0-938f-7cbbc13878c7\",\n      \"totalPrice\" : 135.0\n    },\n    \"subMeterings\" : [ {\n      \"key\" : \"REGION_QUOTA_STORAGE_CLASS\",\n      \"values\" : [ {\n        \"subMeterings\" : [ ],\n        \"meteringDetails\" : [ ]\n      } ]\n    } ],\n    \"meteringDetails\" : [ ]\n  }\n}"
string As uuid As uuid
billId
Required

The UUID of the bill

string
description
Optional

The description of the bill

object
billMetadata
Optional

The metadata of the bill

object
resourceData
Optional

The metering resource data

array of object
meteringDetails
Optional

Detailed pricing information of components

object
subMeteringBill
Optional

The sub metering items of the bill


Code Samples
COPY
                    curl -H 'Authorization: <value>' https://{api_host}/suite-api/api/chargeback/bills/{id}