Data Source: oci_osp_gateway_invoices_invoice_lines
This data source provides the list of Invoices Invoice Lines in Oracle Cloud Infrastructure Osp Gateway service.
Returns the invoice product list by invoice id
Example Usage
data "oci_osp_gateway_invoices_invoice_lines" "test_invoices_invoice_lines" {
#Required
compartment_id = var.compartment_id
internal_invoice_id = oci_osp_gateway_invoice.test_invoice.id
osp_home_region = var.invoices_invoice_line_osp_home_region
}
Argument Reference
The following arguments are supported:
compartment_id
- (Required) The OCID of the compartment.internal_invoice_id
- (Required) The identifier of the invoice.osp_home_region
- (Required) The home region’s public name of the logged in user.
Attributes Reference
The following attributes are exported:
invoice_line_collection
- The list of invoice_line_collection.
InvoicesInvoiceLine Reference
The following attributes are exported:
items
- Invoice line list elementscurrency
- Currency details modelcurrency_code
- Currency codecurrency_symbol
- Currency symbolname
- Name of the currencyround_decimal_point
- Round decimal pointusd_conversion
- USD conversion rate of the currency
net_unit_price
- Unit price of the ordered productorder_no
- Product of the itempart_number
- Part numberproduct
- Product of the itemquantity
- Quantity of the ordered producttime_end
- End datetime_start
- Start datetotal_price
- Total price of the ordered product (Net unit price x quantity)