Skip to main content

agreement_invoice_line_items

Creates, updates, deletes, gets or lists an agreement_invoice_line_items resource.

Overview

Nameagreement_invoice_line_items
TypeResource
Idaws.marketplace_agreement.agreement_invoice_line_items

Fields

The following fields are returned by SELECT queries:

NameDatatypeDescription
agreement_idstringThe unique identifier of the agreement. (pattern: <code>[A-Za-z0-9_/-]+</code>)
invoice_billing_periodobjectThe billing period associated with this group.
invoice_idstringThe identifier of the invoice for this group. (pattern: <code>[A-Za-z0-9_/-]+</code>)
invoice_typestringThe type of invoice. Valid values are INVOICE and CREDIT_MEMO. (INVOICE, CREDIT_MEMO)
invoicing_entityobjectThe entity that issues the invoice.
issued_timestring (date-time)The timestamp when the invoice containing this group was created.
pricing_currency_amountobjectMonetary amounts for this invoice group.

Methods

The following methods are available for this resource:

NameAccessible byRequired ParamsOptional ParamsDescription
list_agreement_invoice_line_itemsselectregionAllows sellers (proposers) to retrieve aggregated billing data from AWS Marketplace agreements using flexible grouping. Supports invoice-level aggregation with filtering by billing period, invoice type, and issued date. The groupBy parameter is required and supports only INVOICE_ID as a value. The agreementId parameter is required.

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

Allows sellers (proposers) to retrieve aggregated billing data from AWS Marketplace agreements using flexible grouping. Supports invoice-level aggregation with filtering by billing period, invoice type, and issued date. The groupBy parameter is required and supports only INVOICE_ID as a value. The agreementId parameter is required.

SELECT
agreement_id,
invoice_billing_period,
invoice_id,
invoice_type,
invoicing_entity,
issued_time,
pricing_currency_amount
FROM aws.marketplace_agreement.agreement_invoice_line_items
WHERE region = '{{ region }}' -- required
;