Search Results ar_xml_invoice_line_v
Overview
The AR_XML_INVOICE_LINE_V view is a public synonym owned by the APPS schema in Oracle E-Business Suite Receivables. It exposes invoice line data in a flattened, XML-oriented layout intended for outbound invoice generation, e-invoicing integrations, and print/BI Publisher data extraction. The view is registered as a VALID object in both EBS 12.1.1 and 12.2.2 and draws exclusively from the Receivables transaction line tables, so it remains stable across the two releases.
The view is designed to feed e-invoicing and XML delivery processes for open receivables transactions. Its column list includes customer identifiers, transaction identifiers, line attributes, item descriptions, and a set of ten user-defined extraction columns populated by calls to the AR_XML_VIEW_FUNCTIONS package, which allows customers to attach custom line-level attributes to XML payloads without modifying base tables.
Underlying Base Objects
The view is defined over RA_CUSTOMER_TRX_LINES, MTL_SYSTEM_ITEMS, AR_MEMO_LINES_VL, and OE_SYSTEM_PARAMETERS. Documented referenced objects in ETRM include AR_MEMO_LINES_VL (VIEW), AR_XML_VIEW_FUNCTIONS (PACKAGE), FA_RX_FLEX_PKG, HR_GENERAL, HR_SECURITY, MO_GLOBAL, MTL_SYSTEM_ITEMS (SYNONYM), OE_SYSTEM_PARAMETERS (SYNONYM), OE_SYS_PARAMETERS (PACKAGE), and RA_CUSTOMER_TRX_LINES (SYNONYM).
The join logic restricts the result set to invoice lines only: L.LINK_TO_CUST_TRX_LINE_ID IS NULL excludes lines that reference a parent line, and L.LINE_TYPE = 'LINE' excludes tax, freight, and other non-line rows. The item description is resolved either from the memo line (AR_MEMO_LINES_VL) or from MTL_SYSTEM_ITEMS depending on whether INVENTORY_ITEM_ID is populated, and the master organization context is enforced by joining OE_SYSTEM_PARAMETERS.MASTER_ORGANIZATION_ID.
Key Columns
CUSTOMER_TRX_ID— Header identifier linking the line to its receivables transaction.CUSTOMER_TRX_LINE_ID— Unique line identifier within the transaction.LINE_TYPEandLINE_NUMBER— Line classification and display sequence.LINE_AMOUNT— Mapped fromEXTENDED_AMOUNT; the net extended amount of the line.UNIT_SELLING_PRICE— Per-unit selling price.QUANTITY— Resolved viaNVL(QUANTITY_INVOICED, QUANTITY_CREDITED).DESCRIPTION,UOM,ITEM, andITEM_DESCRIPTION— Descriptive line text, unit of measure, item name, and item description.REFERENCE_NUMBER— Synthetic key produced as ':' || CUSTOMER_TRX_ID || ':' || CUSTOMER_TRX_LINE_ID.USER1throughUSER10— Populated byAR_XML_VIEW_FUNCTIONS.LINE_FUNCTION1..10for customer-specific line attributes.
Common Use Cases and Queries
Typical use cases include generating invoice XML for print or e-invoicing, BI Publisher data extracts, and reconciliation reports that require line-level amounts. A representative query is:
- Retrieve all lines for a given transaction:
SELECT customer_trx_line_id, line_number, line_amount, unit_selling_price, quantity, item, item_description, uom FROM ar_xml_invoice_line_v WHERE customer_trx_id = :p_trx_id ORDER BY line_number; - Extract user-defined attributes for XML payload generation:
SELECT customer_trx_id, reference_number, user1, user2, user3 FROM ar_xml_invoice_line_v WHERE customer_trx_id = :p_trx_id;
Because the USER1..USER10 columns call PL/SQL functions, queries should limit row counts when possible. The view is read-only and inherits security from its base tables, so access depends on APPS schema privileges or grants to the querying user.
-
View: AR_XML_INVOICE_LINE_V
12.1.1
owner:APPS, object_type:VIEW, fnd_design_data:AR.AR_XML_INVOICE_LINE_V, object_name:AR_XML_INVOICE_LINE_V, status:VALID, product: AR - Receivables , implementation_dba_data: APPS.AR_XML_INVOICE_LINE_V ,
-
View: AR_XML_INVOICE_LINE_V
12.2.2
owner:APPS, object_type:VIEW, fnd_design_data:AR.AR_XML_INVOICE_LINE_V, object_name:AR_XML_INVOICE_LINE_V, status:VALID, product: AR - Receivables , implementation_dba_data: APPS.AR_XML_INVOICE_LINE_V ,
-
PACKAGE: APPS.AR_XML_VIEW_FUNCTIONS
12.1.1
owner:APPS, object_type:PACKAGE, object_name:AR_XML_VIEW_FUNCTIONS, status:VALID,
-
PACKAGE: APPS.AR_XML_VIEW_FUNCTIONS
12.2.2
owner:APPS, object_type:PACKAGE, object_name:AR_XML_VIEW_FUNCTIONS, status:VALID,
-
SYNONYM: APPS.OE_SYSTEM_PARAMETERS
12.2.2
owner:APPS, object_type:SYNONYM, object_name:OE_SYSTEM_PARAMETERS, status:VALID,
-
SYNONYM: APPS.OE_SYSTEM_PARAMETERS
12.1.1
owner:APPS, object_type:SYNONYM, object_name:OE_SYSTEM_PARAMETERS, status:VALID,
-
PACKAGE: APPS.FA_RX_FLEX_PKG
12.1.1
owner:APPS, object_type:PACKAGE, object_name:FA_RX_FLEX_PKG, status:VALID,
-
PACKAGE: APPS.FA_RX_FLEX_PKG
12.2.2
owner:APPS, object_type:PACKAGE, object_name:FA_RX_FLEX_PKG, status:VALID,
-
VIEW: APPS.AR_XML_INVOICE_LINE_V
12.1.1
owner:APPS, object_type:VIEW, fnd_design_data:AR.AR_XML_INVOICE_LINE_V, object_name:AR_XML_INVOICE_LINE_V, status:VALID,
-
VIEW: APPS.AR_XML_INVOICE_LINE_V
12.2.2
owner:APPS, object_type:VIEW, fnd_design_data:AR.AR_XML_INVOICE_LINE_V, object_name:AR_XML_INVOICE_LINE_V, status:VALID,
-
VIEW: APPS.AR_MEMO_LINES_VL
12.1.1
owner:APPS, object_type:VIEW, fnd_design_data:AR.AR_MEMO_LINES_VL, object_name:AR_MEMO_LINES_VL, status:VALID,
-
VIEW: APPS.AR_MEMO_LINES_VL
12.2.2
owner:APPS, object_type:VIEW, fnd_design_data:AR.AR_MEMO_LINES_VL, object_name:AR_MEMO_LINES_VL, status:VALID,
-
12.1.1 DBA Data
12.1.1
-
12.2.2 DBA Data
12.2.2
-
12.1.1 FND Design Data
12.1.1
-
12.2.2 FND Design Data
12.2.2
-
PACKAGE: APPS.OE_SYS_PARAMETERS
12.1.1
owner:APPS, object_type:PACKAGE, object_name:OE_SYS_PARAMETERS, status:VALID,
-
PACKAGE: APPS.OE_SYS_PARAMETERS
12.2.2
owner:APPS, object_type:PACKAGE, object_name:OE_SYS_PARAMETERS, status:VALID,
-
SYNONYM: APPS.RA_CUSTOMER_TRX_LINES
12.1.1
owner:APPS, object_type:SYNONYM, object_name:RA_CUSTOMER_TRX_LINES, status:VALID,
-
SYNONYM: APPS.RA_CUSTOMER_TRX_LINES
12.2.2
owner:APPS, object_type:SYNONYM, object_name:RA_CUSTOMER_TRX_LINES, status:VALID,
-
PACKAGE: APPS.HR_SECURITY
12.1.1
owner:APPS, object_type:PACKAGE, object_name:HR_SECURITY, status:VALID,
-
PACKAGE: APPS.HR_SECURITY
12.2.2
owner:APPS, object_type:PACKAGE, object_name:HR_SECURITY, status:VALID,
-
PACKAGE: APPS.MO_GLOBAL
12.1.1
owner:APPS, object_type:PACKAGE, object_name:MO_GLOBAL, status:VALID,
-
PACKAGE: APPS.MO_GLOBAL
12.2.2
owner:APPS, object_type:PACKAGE, object_name:MO_GLOBAL, status:VALID,
-
SYNONYM: APPS.MTL_SYSTEM_ITEMS
12.1.1
owner:APPS, object_type:SYNONYM, object_name:MTL_SYSTEM_ITEMS, status:VALID,
-
SYNONYM: APPS.MTL_SYSTEM_ITEMS
12.2.2
owner:APPS, object_type:SYNONYM, object_name:MTL_SYSTEM_ITEMS, status:VALID,
-
PACKAGE: APPS.HR_GENERAL
12.2.2
owner:APPS, object_type:PACKAGE, object_name:HR_GENERAL, status:VALID,
-
PACKAGE: APPS.HR_GENERAL
12.1.1
owner:APPS, object_type:PACKAGE, object_name:HR_GENERAL, status:VALID,
-
12.2.2 DBA Data
12.2.2
-
12.1.1 DBA Data
12.1.1
-
eTRM - AR Tables and Views
12.2.2
description: Territory information ,
-
eTRM - AR Tables and Views
12.1.1
description: Territory information ,
-
eTRM - AR Tables and Views
12.1.1
description: Territory information ,
-
eTRM - AR Tables and Views
12.2.2
description: Territory information ,