Search Results taxable_amount
Overview
AR_XML_INVOICE_TAX_V is a read-only database view owned by the APPS schema in Oracle E-Business Suite Receivables. It exposes tax line information for customer transactions in a flattened, eXtensible Markup Language (XML)-friendly format, intended for use by the Receivables XML invoice generation and e-invoicing/print infrastructure. In release 12.1.1 and 12.2.2, the view supplies tax detail records that correspond to individual invoice lines so that third-party or Oracle-delivered XML publishing programs can render tax amounts, taxable bases, rates, and tax codes alongside the parent transaction lines.
The view is not a transactional object; it is a reporting and integration construct. Because its output is keyed to customer transaction lines and only returns rows where the tax line is linked to a parent transaction line, it presents a clean, purpose-built dataset rather than the full set of tax lines held in Receivables.
Underlying Base Objects
The 12.2.2 metadata documents the view as defined over the following base objects:
- RA_CUSTOMER_TRX_LINES (SYNONYM) — the primary source of transaction line data, aliased as L. Only rows where LINE_TYPE = 'TAX' are considered.
- AR_VAT_TAX — the tax code definition source, aliased as V, joined on VAT_TAX_ID to supply the TAX_CODE value.
- ZX_LINES_V (VIEW) — the E-Business Tax lines view, listed as a referenced object in the documented dependency set.
- AR_XML_VIEW_FUNCTIONS (PACKAGE) — a PL/SQL package whose functions TAX_FUNCTION1 through TAX_FUNCTION5 are invoked per row to populate the USER1 through USER5 descriptive flexfield columns.
The core join is L.VAT_TAX_ID = V.VAT_TAX_ID, filtered by L.LINE_TYPE = 'TAX' and L.LINK_TO_CUST_TRX_LINE_ID IS NOT NULL, with results ordered by LINE_NUMBER. The dependency on AR_XML_VIEW_FUNCTIONS makes the view non-deterministic in cost terms: each function call executes against the transaction context, so performance is driven by row count and function logic rather than by simple table access.
Key Columns
- CUSTOMER_TRX_LINE_ID — primary identifier of the tax line in RA_CUSTOMER_TRX_LINES.
- LINK_TO_CUST_TRX_LINE_ID — the parent invoice line to which the tax line is attributed; the mandatory filter on this column ensures only attached tax lines are returned.
- TAX_AMOUNT — mapped from the tax line's EXTENDED_AMOUNT.
- TAXABLE_AMOUNT — the base amount on which tax was assessed.
- TAX_RATE — the rate applied to the taxable amount.
- TAX_CODE — the tax code from AR_VAT_TAX.
- LINE_NUMBER and DESCRIPTION — line sequencing and descriptive text forwarded from the transaction line.
- USER1–USER5 — values returned by AR_XML_VIEW_FUNCTIONS.TAX_FUNCTION1–5, used to feed XML descriptive flexfield segments.
Common Use Cases and Queries
The view is typically consumed by XML invoice templates and reconciliation reports that must show the tax breakdown per invoice line.
- Retrieving tax lines for a specific invoice count.
- Feeding an XML publishing template with tax_code, tax_rate, taxable_amount, and tax_amount.
- Auditing tax against the parent line.
SELECT t.customer_trx_line_id,
t.link_to_cust_trx_line_id,
t.tax_code,
t.tax_rate,
t.taxable_amount,
t.tax_amount
FROM ar_xml_invoice_tax_v t,
ra_customer_trx_lines l
WHERE t.customer_trx_line_id = l.customer_trx_line_id
AND l.customer_trx_id = :p_trx_id
ORDER BY t.line_number;
Because USER1–USER5 invoke packaged functions, queries returning large row sets should be restricted by transaction identifiers to avoid excessive function executions.
-
View: AR_XML_INVOICE_TAX_V
12.2.2
owner:APPS, object_type:VIEW, fnd_design_data:AR.AR_XML_INVOICE_TAX_V, object_name:AR_XML_INVOICE_TAX_V, status:VALID, product: AR - Receivables , implementation_dba_data: APPS.AR_XML_INVOICE_TAX_V ,
-
View: AR_XML_INVOICE_TAX_V
12.1.1
owner:APPS, object_type:VIEW, fnd_design_data:AR.AR_XML_INVOICE_TAX_V, object_name:AR_XML_INVOICE_TAX_V, status:VALID, product: AR - Receivables , implementation_dba_data: APPS.AR_XML_INVOICE_TAX_V ,
-
View: RA_CUST_TRX_LN_ALL_MRC_V
12.1.1
owner:APPS, object_type:VIEW, fnd_design_data:AR.RA_CUST_TRX_LN_ALL_MRC_V, object_name:RA_CUST_TRX_LN_ALL_MRC_V, status:VALID, product: AR - Receivables , implementation_dba_data: APPS.RA_CUST_TRX_LN_ALL_MRC_V ,
-
View: RA_CUST_TRX_LN_ALL_MRC_V
12.2.2
owner:APPS, object_type:VIEW, fnd_design_data:AR.RA_CUST_TRX_LN_ALL_MRC_V, object_name:RA_CUST_TRX_LN_ALL_MRC_V, status:VALID, product: AR - Receivables , implementation_dba_data: APPS.RA_CUST_TRX_LN_ALL_MRC_V ,
-
View: RA_CUST_TRX_LN_MRC_V
12.2.2
owner:APPS, object_type:VIEW, fnd_design_data:AR.RA_CUST_TRX_LN_MRC_V, object_name:RA_CUST_TRX_LN_MRC_V, status:VALID, product: AR - Receivables , implementation_dba_data: APPS.RA_CUST_TRX_LN_MRC_V ,
-
View: RA_CUST_TRX_LN_MRC_V
12.1.1
owner:APPS, object_type:VIEW, fnd_design_data:AR.RA_CUST_TRX_LN_MRC_V, object_name:RA_CUST_TRX_LN_MRC_V, status:VALID, product: AR - Receivables , implementation_dba_data: APPS.RA_CUST_TRX_LN_MRC_V ,