Skip to main content

billing_adjustment_requests

Creates, updates, deletes, gets or lists a billing_adjustment_requests resource.

Overview

Namebilling_adjustment_requests
TypeResource
Idaws.marketplace_agreement.billing_adjustment_requests

Fields

The following fields are returned by SELECT queries:

NameDatatypeDescription
adjustment_amountstringThe adjustment amount as a string representation of a decimal number. (pattern: <code>[0-9]*(.[0-9]{0,8})?</code>)
adjustment_reason_codestringThe reason code for the billing adjustment. (INCORRECT_TERMS_ACCEPTED, INCORRECT_METERING, TEST_ENVIRONMENT_CHARGES, ALTERNATIVE_PROCUREMENT_CHANNEL, UNINTENDED_RENEWAL, BUYER_DISSATISFACTION, OTHER)
agreement_idstringThe unique identifier of the agreement associated with this billing adjustment request. (pattern: <code>[A-Za-z0-9_/-]+</code>)
billing_adjustment_request_idstringThe unique identifier of the billing adjustment request. (pattern: <code>ba-[a-zA-Z0-9]+</code>)
created_atstring (date-time)The date and time when the billing adjustment request was created.
currency_codestringThe currency code for the adjustment amount (e.g., USD). (pattern: <code>[A-Z]+</code>)
descriptionstringThe detailed description of the billing adjustment reason, if provided.
original_invoice_idstringThe identifier of the original invoice being adjusted.
statusstringThe current status of the billing adjustment request. (PENDING, VALIDATION_FAILED, COMPLETED)
status_messagestringA message providing additional context about the billing adjustment request status. This field is populated only when the status is VALIDATION_FAILED.
updated_atstring (date-time)The date and time when the billing adjustment request was last updated.

Methods

The following methods are available for this resource:

NameAccessible byRequired ParamsOptional ParamsDescription
get_billing_adjustment_requestselectregionRetrieves detailed information about a specific billing adjustment request. Sellers (proposers) can use this operation to view the status and details of a billing adjustment request they submitted.
list_billing_adjustment_requestsselectregionLists billing adjustment requests for a specific agreement. Sellers (proposers) can use this operation to view all billing adjustment requests associated with an agreement.

Parameters

Parameters can be passed in the WHERE clause of a query. Check the Methods section to see which parameters are required or optional for each operation.

NameDatatypeDescription
regionstringAWS region (default: us-east-1)

SELECT examples

Retrieves detailed information about a specific billing adjustment request. Sellers (proposers) can use this operation to view the status and details of a billing adjustment request they submitted.

SELECT
adjustment_amount,
adjustment_reason_code,
agreement_id,
billing_adjustment_request_id,
created_at,
currency_code,
description,
original_invoice_id,
status,
status_message,
updated_at
FROM aws.marketplace_agreement.billing_adjustment_requests
WHERE region = '{{ region }}' -- required
;