Search Results ai_source




Overview

APPS.AP_INVOICE_EXTRACT_HEADER_V is a reporting and integration view in the Oracle E-Business Suite Payables module. It presents invoice header-level data in a flattened, denormalized form suitable for extraction, third-party system feeds, and custom reporting. The view is registered in FND Design Data under the application product SQLAP and carries a VALID status, indicating that it compiles successfully against the base tables in both Oracle EBS 12.1.1 and 12.2.2. The columns in this view are largely prefixed with AI_, denoting the underlying AP_INVOICES_ALL attributes, alongside INV_ columns that expose derived or transactional fields such as party type, document sequencing, payment totals, and withholding group information.

The view is oriented toward outbound integration scenarios, where invoice header attributes are consolidated into a single row per invoice or invoice event. It carries an EVENT_ID column, linking it conceptually to the Subledger Accounting (XLA) events model, and includes document sequencing fields that are relevant for statutory sequential numbering requirements in countries with fiscal document regulations.

Underlying Base Objects

The view is defined over the following documented base objects:

Key Columns

The columns of principal interest include:

Common Use Cases and Queries

Typical uses include extracting invoice header data for a data warehouse, feeding AP invoice information to a third-party tax or archival system, and reporting on party type distributions. A representative query searching on party type is:

  • SELECT ai_invoice_id, ai_vendor_id, inv_party_type, third_party_type, ai_invoice_amount, ai_invoice_currency_code FROM apps.ap_invoice_extract_header_v WHERE inv_party_type = :p_party_type;

Additional scenarios include reconciling distribution totals against invoice amounts using INV_DISTRIBUTION_TOTAL and INV_AMOUNT_PAID, and extracting document sequence values for statutory audit. Because the view is a reporting object, callers should apply org and date filters via the AI_ORG_ID and AI_INVOICE_DATE columns to constrain result sets.