Search Results ap_invoice_payments_v
Overview
AP_INVOICE_PAYMENTS_V is a PL/SQL view owned by the APPS schema in Oracle E-Business Suite (validated in 12.1.1 and 12.2.2). It presents a denormalized, reporting-friendly projection of invoice payment activity from the Oracle Payables module. The view joins the core invoice payment transaction table (AP_INVOICE_PAYMENTS) to invoice, payment, payment schedule, accounting batch, and payment method reference data, exposing payment amounts, discount activity, exchange rate information, and accounting posting flags in a single logical row set. Its principal role is to support Payables reporting and integration: rather than requiring consumers to navigate the normalized distribution and payment schedule structures, the view surfaces one row per invoice payment line with the join context already resolved. This makes it directly relevant to reconciliation, cash posting analysis, and third-party payment feeds.
Underlying Base Objects
The view is defined over the following documented base objects:
- AP_INVOICE_PAYMENTS (SYNONYM) — the driving table; each view row corresponds to a payment line recorded against an invoice.
- AP_INVOICES_ALL (SYNONYM) — invoice header context (invoice number, supplier, currency).
- AP_CHECKS_ALL (SYNONYM) — payment document information, including payment number and bank account details.
- AP_PAYMENT_SCHEDULES_ALL (SYNONYM) — scheduled payment amounts and due dates used for joining invoice distributions to payments.
- AP_LOOKUP_CODES (VIEW) — lookup descriptions such as bank account type.
- GL_JE_BATCHES (SYNONYM) and GL_SETS_OF_BOOKS (VIEW) — journal batch and ledger context for accounting postings.
- IBY_PAYMENT_METHODS_VL (VIEW) — payment method descriptions used for reporting.
- FND_GLOBAL (PACKAGE) — supplies session context (user, responsibility, org) for security and defaults.
The view therefore sits above the transactional Payables tables and enriches them with both Payables and General Ledger reference data in a single queryable object.
Key Columns
The view exposes columns directly mapped from AP_INVOICE_PAYMENTS. Notable columns include:
- INVOICE_PAYMENT_ID — the primary key of the underlying payment line.
- INVOICE_ID — foreign key to AP_INVOICES_ALL; ties the payment back to its invoice.
- CHECK_ID — foreign key to AP_CHECKS_ALL; identifies the payment document.
- AMOUNT, INVOICE_BASE_AMOUNT, PAYMENT_BASE_AMOUNT — payment amount, invoice amount in ledger currency, and payment amount in ledger currency respectively; essential for reconciliation across currencies.
- DISCOUNT_TAKEN and DISCOUNT_LOST — early-payment discount amounts realized or forgone.
- EXCHANGE_RATE, EXCHANGE_RATE_TYPE, EXCHANGE_DATE — currency conversion parameters applied to the payment.
- ACCOUNTING_DATE and PERIOD_NAME — the accounting date and GL period for the payment distribution.
- POSTED_FLAG, ACCRUAL_POSTED_FLAG, CASH_POSTED_FLAG, FUTURE_PAY_POSTED_FLAG — posting status flags for the accrual, cash, and future pay accounting events. These are frequently queried (for example, when validating whether a payment has been transferred to GL).
- JE_BATCH_ID and CASH_JE_BATCH_ID — journal batch identifiers used to trace the payment distribution to GL_JE_BATCHES.
- BANK_ACCOUNT_NUM, BANK_ACCOUNT_TYPE, BANK_NUM — bank account attributes for reporting/disbursement reconciliation.
- PAYMENT_NUM and INVOICE_PAYMENT_ID columns support direct search by payment number.
Common Use Cases and Queries
Typical scenarios include invoice-to-payment reconciliation, unresolved accounting transfer analysis, audit of discounts taken or lost, and supplier payment history reporting. The view is also a convenient source for integrations requiring joined invoice/payment document attributes.
Sample query — payment summary by invoice:
SELECT invoice_id, payment_num, amount, discount_taken, posted_flag FROM apps.ap_invoice_payments_v WHERE invoice_id = :p_invoice_id;
Sample query — payments pending GL transfer:
SELECT payment_num, invoice_id, amount, accounting_date FROM apps.ap_invoice_payments_v WHERE posted_flag = 'N' AND accounting_date >= :p_start_date;
Sample query — discount audit:
SELECT invoice_id, payment_num, discount_taken, discount_lost FROM apps.ap_invoice_payments_v WHERE discount_lost > 0 ORDER BY discount_lost DESC;
Because the view spans several base tables, queries should filter on indexed columns such as INVOICE_ID, PAYMENT_NUM, or ACCOUNTING_DATE to avoid full-table scans on large Payables volumes.
-
View: AP_INVOICE_PAYMENTS_V
12.2.2
owner:APPS, object_type:VIEW, fnd_design_data:SQLAP.AP_INVOICE_PAYMENTS_V, object_name:AP_INVOICE_PAYMENTS_V, status:VALID, product: AP - Payables , implementation_dba_data: APPS.AP_INVOICE_PAYMENTS_V ,
-
View: AP_INVOICE_PAYMENTS_V
12.1.1
owner:APPS, object_type:VIEW, fnd_design_data:SQLAP.AP_INVOICE_PAYMENTS_V, object_name:AP_INVOICE_PAYMENTS_V, status:VALID, product: AP - Payables , implementation_dba_data: APPS.AP_INVOICE_PAYMENTS_V ,
-
PACKAGE BODY: APPS.LNS_FUNDING_PUB
12.2.2
owner:APPS, object_type:PACKAGE BODY, object_name:LNS_FUNDING_PUB, status:VALID,
-
SYNONYM: APPS.GL_JE_BATCHES
12.2.2
owner:APPS, object_type:SYNONYM, object_name:GL_JE_BATCHES, status:VALID,
-
12.1.1 DBA Data
12.1.1
-
12.2.2 DBA Data
12.2.2
-
SYNONYM: APPS.AP_PAYMENT_SCHEDULES_ALL
12.1.1
owner:APPS, object_type:SYNONYM, object_name:AP_PAYMENT_SCHEDULES_ALL, status:VALID,
-
12.2.2 FND Design Data
12.2.2
-
SYNONYM: APPS.GL_JE_BATCHES
12.1.1
owner:APPS, object_type:SYNONYM, object_name:GL_JE_BATCHES, status:VALID,
-
SYNONYM: APPS.AP_PAYMENT_SCHEDULES_ALL
12.2.2
owner:APPS, object_type:SYNONYM, object_name:AP_PAYMENT_SCHEDULES_ALL, status:VALID,
-
12.1.1 FND Design Data
12.1.1
-
SYNONYM: APPS.AP_INVOICE_PAYMENTS
12.2.2
owner:APPS, object_type:SYNONYM, object_name:AP_INVOICE_PAYMENTS, status:VALID,
-
SYNONYM: APPS.AP_INVOICE_PAYMENTS
12.1.1
owner:APPS, object_type:SYNONYM, object_name:AP_INVOICE_PAYMENTS, status:VALID,
-
SYNONYM: APPS.AP_CHECKS_ALL
12.1.1
owner:APPS, object_type:SYNONYM, object_name:AP_CHECKS_ALL, status:VALID,
-
SYNONYM: APPS.AP_CHECKS_ALL
12.2.2
owner:APPS, object_type:SYNONYM, object_name:AP_CHECKS_ALL, status:VALID,
-
VIEW: APPS.IBY_PAYMENT_METHODS_VL
12.2.2
owner:APPS, object_type:VIEW, fnd_design_data:IBY.IBY_PAYMENT_METHODS_VL, object_name:IBY_PAYMENT_METHODS_VL, status:VALID,
-
VIEW: APPS.IBY_PAYMENT_METHODS_VL
12.1.1
owner:APPS, object_type:VIEW, fnd_design_data:IBY.IBY_PAYMENT_METHODS_VL, object_name:IBY_PAYMENT_METHODS_VL, status:VALID,
-
VIEW: APPS.AP_INVOICE_PAYMENTS_V
12.1.1
owner:APPS, object_type:VIEW, fnd_design_data:SQLAP.AP_INVOICE_PAYMENTS_V, object_name:AP_INVOICE_PAYMENTS_V, status:VALID,
-
VIEW: APPS.AP_INVOICE_PAYMENTS_V
12.2.2
owner:APPS, object_type:VIEW, fnd_design_data:SQLAP.AP_INVOICE_PAYMENTS_V, object_name:AP_INVOICE_PAYMENTS_V, status:VALID,
-
VIEW: APPS.AP_LOOKUP_CODES
12.1.1
owner:APPS, object_type:VIEW, fnd_design_data:SQLAP.AP_LOOKUP_CODES, object_name:AP_LOOKUP_CODES, status:VALID,
-
VIEW: APPS.AP_LOOKUP_CODES
12.2.2
owner:APPS, object_type:VIEW, fnd_design_data:SQLAP.AP_LOOKUP_CODES, object_name:AP_LOOKUP_CODES, status:VALID,
-
SYNONYM: APPS.AP_INVOICES_ALL
12.1.1
owner:APPS, object_type:SYNONYM, object_name:AP_INVOICES_ALL, status:VALID,
-
APPS.LNS_FUNDING_PUB dependencies on AP_INVOICE_PAYMENTS_V
12.2.2
-
SYNONYM: APPS.AP_INVOICES_ALL
12.2.2
owner:APPS, object_type:SYNONYM, object_name:AP_INVOICES_ALL, status:VALID,
-
VIEW: APPS.GL_SETS_OF_BOOKS
12.2.2
owner:APPS, object_type:VIEW, fnd_design_data:SQLGL.GL_SETS_OF_BOOKS, object_name:GL_SETS_OF_BOOKS, status:VALID,
-
VIEW: APPS.GL_SETS_OF_BOOKS
12.1.1
owner:APPS, object_type:VIEW, fnd_design_data:SQLGL.GL_SETS_OF_BOOKS, object_name:GL_SETS_OF_BOOKS, status:VALID,
-
APPS.LNS_FUNDING_PUB SQL Statements
12.2.2
-
eTRM - SQLAP Tables and Views
12.1.1
description: Set Distribution Table. ,
-
eTRM - SQLAP Tables and Views
12.2.2
description: Set Distribution Table. ,
-
eTRM - IBY Tables and Views
12.1.1
description: Stores the user privilege settings for viewing sensitive data in iPayment operations UI ,
-
eTRM - IBY Tables and Views
12.2.2
description: Stores the user privilege settings for viewing sensitive data in iPayment operations UI ,
-
12.2.2 DBA Data
12.2.2
-
12.1.1 DBA Data
12.1.1
-
eTRM - SQLGL Tables and Views
12.1.1
description: USSGL transaction codes ,
-
PACKAGE BODY: APPS.LNS_FUNDING_PUB
12.2.2
-
PACKAGE: APPS.FND_GLOBAL
12.2.2
owner:APPS, object_type:PACKAGE, object_name:FND_GLOBAL, status:VALID,
-
PACKAGE: APPS.FND_GLOBAL
12.1.1
owner:APPS, object_type:PACKAGE, object_name:FND_GLOBAL, status:VALID,
-
eTRM - SQLAP Tables and Views
12.2.2
description: Set Distribution Table. ,
-
eTRM - SQLAP Tables and Views
12.1.1
description: Set Distribution Table. ,
-
eTRM - IBY Tables and Views
12.1.1
description: Stores the user privilege settings for viewing sensitive data in iPayment operations UI ,
-
eTRM - IBY Tables and Views
12.2.2
description: Stores the user privilege settings for viewing sensitive data in iPayment operations UI ,
-
eTRM - SQLGL Tables and Views
12.1.1
description: USSGL transaction codes ,