v1

latestOpenAPI 3.0.0Apache 2.0 License2026-07-1432226181.3 KB

Creates a custom line item that can be used to create a one-time fixed charge that can be applied to a single billing group for the current or previous billing period. The one-time fixed charge is either a fee or discount.

post/create-custom-line-item

Headers

X-Amzn-Client-Tokenstring

A unique, case-sensitive identifier that you specify to ensure idempotency of the request. Idempotency ensures that an API request completes no more than one time. With an idempotent request, if the original request completes successfully, any subsequent retries complete successfully without performing any further actions.

Request body

Namestring password required

The name of the custom line item.

Descriptionstring password required

The description of the custom line item. This is shown on the Bills page in association with the charge value.

BillingGroupArnstring required

The Amazon Resource Name (ARN) that references the billing group where the custom line item applies to.

Tagsobject

A map that contains tag keys and tag values that are attached to a custom line item.

AccountIdstring

The Amazon Web Services account in which this custom line item will be applied to.

ComputationRule'ITEMIZED' | 'CONSOLIDATED'

The display settings of the custom line item

Response

Success

Arnstring

The Amazon Resource Name (ARN) of the created custom line item.