agreement_invoice_line_items
Creates, updates, deletes, gets or lists an agreement_invoice_line_items resource.
Overview
| Name | agreement_invoice_line_items |
| Type | Resource |
| Id | aws.marketplace_agreement.agreement_invoice_line_items |
Fields
The following fields are returned by SELECT queries:
- list_agreement_invoice_line_items
| Name | Datatype | Description |
|---|---|---|
agreement_id | string | The unique identifier of the agreement. (pattern: <code>[A-Za-z0-9_/-]+</code>) |
invoice_billing_period | object | The billing period associated with this group. |
invoice_id | string | The identifier of the invoice for this group. (pattern: <code>[A-Za-z0-9_/-]+</code>) |
invoice_type | string | The type of invoice. Valid values are INVOICE and CREDIT_MEMO. (INVOICE, CREDIT_MEMO) |
invoicing_entity | object | The entity that issues the invoice. |
issued_time | string (date-time) | The timestamp when the invoice containing this group was created. |
pricing_currency_amount | object | Monetary amounts for this invoice group. |
Methods
The following methods are available for this resource:
| Name | Accessible by | Required Params | Optional Params | Description |
|---|---|---|---|---|
list_agreement_invoice_line_items | select | region | 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. |
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.
| Name | Datatype | Description |
|---|---|---|
region | string | AWS region (default: us-east-1) |
SELECT examples
- list_agreement_invoice_line_items
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
;