(optional) The unique Oracle-assigned identifier for the request. If you need to contact Oracle about a particular request, please provide the request ID.
region
(optional) OCI region id. e.g us-phoenix-1 for US West (Phoenix).
endpoint
(optional) The endpoint of the service to call using this function. e.g https://ospap.oracle.com.If both endpoint and region are given, then endpoint takes precedence.
credential_name
(optional) The name of the credential for authenticating with the corresponding cloud native API.
(optional) The unique Oracle-assigned identifier for the request. If you need to contact Oracle about a particular request, please provide the request ID.
region
(optional) OCI region id. e.g us-phoenix-1 for US West (Phoenix).
endpoint
(optional) The endpoint of the service to call using this function. e.g https://ospap.oracle.com.If both endpoint and region are given, then endpoint takes precedence.
credential_name
(optional) The name of the credential for authenticating with the corresponding cloud native API.
(optional) The unique Oracle-assigned identifier for the request. If you need to contact Oracle about a particular request, please provide the request ID.
page
(optional) For list pagination. The value of the opc-next-page response header from the previous \"List\" call.
limit
(optional) For list pagination. The maximum number of results per page, or items to return in a paginated \"List\" call.
region
(optional) OCI region id. e.g us-phoenix-1 for US West (Phoenix).
endpoint
(optional) The endpoint of the service to call using this function. e.g https://ospap.oracle.com.If both endpoint and region are given, then endpoint takes precedence.
credential_name
(optional) The name of the credential for authenticating with the corresponding cloud native API.
LIST_INVOICES Function 🔗
Returns a list of invoices
Syntax
FUNCTION list_invoices (
osp_home_region varchar2,
compartment_id varchar2,
opc_request_id varchar2 DEFAULT NULL,
invoice_id varchar2 DEFAULT NULL,
l_type dbms_cloud_oci_osp_gateway_varchar2_tbl DEFAULT NULL,
search_text varchar2 DEFAULT NULL,
time_invoice_start timestamp with time zone DEFAULT NULL,
time_invoice_end timestamp with time zone DEFAULT NULL,
time_payment_start timestamp with time zone DEFAULT NULL,
time_payment_end timestamp with time zone DEFAULT NULL,
status dbms_cloud_oci_osp_gateway_varchar2_tbl DEFAULT NULL,
page varchar2 DEFAULT NULL,
limit number DEFAULT NULL,
sort_by varchar2 DEFAULT NULL,
sort_order varchar2 DEFAULT NULL,
region varchar2 DEFAULT NULL,
endpoint varchar2 DEFAULT NULL,
credential_name varchar2 DEFAULT NULL
) RETURN dbms_cloud_oci_og_invoice_service_list_invoices_response_t;
Parameters
Parameter
Description
osp_home_region
(required) The home region's public name of the logged in user.
(optional) The unique Oracle-assigned identifier for the request. If you need to contact Oracle about a particular request, please provide the request ID.
invoice_id
(optional) The invoice query param (not unique).
l_type
(optional) A filter to only return resources that match the given type exactly.
(optional) A filter to only return resources that match the given value. Looking for partial matches in the following fileds: Invoice No., Reference No. (plan number), Payment Ref, Total Amount(plan number), Balance Due(plan number) and Party/Customer Name
time_invoice_start
(optional) description: Start time (UTC) of the target invoice date range for which to fetch invoice data (inclusive).
time_invoice_end
(optional) description: End time (UTC) of the target invoice date range for which to fetch invoice data (exclusive).
time_payment_start
(optional) description: Start time (UTC) of the target payment date range for which to fetch invoice data (inclusive).
time_payment_end
(optional) description: End time (UTC) of the target payment date range for which to fetch invoice data (exclusive).
status
(optional) A filter to only return resources that match one of the status elements.
(optional) The sort order to use (ascending or descending).
Allowed values are: 'ASC', 'DESC'
region
(optional) OCI region id. e.g us-phoenix-1 for US West (Phoenix).
endpoint
(optional) The endpoint of the service to call using this function. e.g https://ospap.oracle.com.If both endpoint and region are given, then endpoint takes precedence.
credential_name
(optional) The name of the credential for authenticating with the corresponding cloud native API.
(optional) For optimistic concurrency control. In the PUT or DELETE call for a resource, set the `if-match` parameter to the value of the etag from a previous GET or POST response for that resource. The resource will be updated or deleted only if the etag you provide matches the resource's current etag value.
opc_retry_token
(optional) For requests that are not idempotent (creates being the main place of interest), THE APIs should take a header called opc-retry-token to identify the customer desire across requests, to introduce some level of idempotency.
opc_request_id
(optional) The unique Oracle-assigned identifier for the request. If you need to contact Oracle about a particular request, please provide the request ID.
region
(optional) OCI region id. e.g us-phoenix-1 for US West (Phoenix).
endpoint
(optional) The endpoint of the service to call using this function. e.g https://ospap.oracle.com.If both endpoint and region are given, then endpoint takes precedence.
credential_name
(optional) The name of the credential for authenticating with the corresponding cloud native API.