Skip to the content.

AP Invoice and Payment Audit by Voucher Number – Oracle EBS SQL Report

Oracle E-Business Suite SQL report from the Enginatics Library powered by Blitz Report™. Oracle EBS module: Payables · all Payables reports

Overview

Lists every voucher number of the Payables invoice and payment document sequences with its status: Entered, Deleted (the number was issued, but the invoice or payment no longer exists) or Not Entered (the number is missing from the sequence audit trail).

Replaces Oracle’s Invoice Audit by Voucher Number (APXINVAD) and Payment Audit by Voucher Number (APXPAYAD). Unlike Oracle’s payment report, a voided payment is listed as Entered with its void date, and a payment number without a payment as Deleted instead of Not Entered.

Missing numbers are the gaps between the numbers recorded in the sequence audit table, counted from the sequence’s initial value, and belong to the ledger of the next recorded number. Numbers after the last recorded voucher are not reported.

The GL date of a payment is the earliest accounting date of its invoice payments.

Run this report in Excel in seconds: download Blitz Report™ free (your first 30 reports are free) or try it in the online demo.

Report Parameters

Ledger, Operating Unit, Sequence Name, Voucher Number From, Voucher Number To, GL Date From, GL Date To, Status

Oracle EBS Tables Used

ap_invoice_payments_all, fnd_document_sequences, ap_doc_sequence_audit, fnd_doc_sequence_assignments, fnd_doc_sequence_categories, ap_invoices_all, ap_checks_all, hr_operating_units, mo_glob_org_access_tmp, dual, gl_ledgers, hr_all_organization_units_vl, ap_suppliers

Report Categories

Enginatics

AP Accounted Invoice Aging, GL Account Analysis (Drilldown) (with inventory and WIP), GL Account Analysis

Running This SQL Without Blitz Report

The SQL source can be run in any SQL client. Some Oracle EBS SQL reports in this library use functions from the utility package xxen_util – install it first. Blitz Report™ adds parameters, Excel output with pivots, scheduling and security on top.

Download & Import Options

Resource Link
Excel Example Output AP Invoice and Payment Audit by Voucher Number 26-Sep-2026 115756.xlsx
Blitz Report™ XML Import AP_Invoice_and_Payment_Audit_by_Voucher_Number.xml
SQL Source AP Invoice and Payment Audit by Voucher Number.sql
Full Report on Enginatics www.enginatics.com/reports/ap-invoice-and-payment-audit-by-voucher-number/

Case Study & Technical Analysis: AP Invoice and Payment Audit by Voucher Number

Executive Summary

This report lists every voucher number issued from the Oracle Payables invoice and payment document sequences, with the status of each number: Entered, Deleted or Not Entered. Accounts payable supervisors, internal auditors and period-close teams use it to show that every sequentially numbered invoice and payment document is accounted for. The report replaces Oracle’s Invoice Audit by Voucher Number and Payment Audit by Voucher Number reports and runs in Excel through Blitz Report™.

Business Challenge

The Solution

Technical Architecture (High Level)

Primary Tables

Logical Relationships

  1. Sequence assignments are limited to the sets of books of the operating units the user can access.
  2. Each audit row is outer-joined to AP_INVOICES_ALL and AP_CHECKS_ALL on sequence identifier and sequence value, so unmatched numbers are kept.
  3. An analytic LAG over each sequence returns the previously recorded value, which defines the start of each gap.
  4. A row generator (XXEN_UTIL.ROWGEN) expands every gap into individual voucher numbers.
  5. Generated gap numbers receive status N (Not Entered); recorded numbers keep the status derived from the invoice or check.
  6. The result joins to GL_LEDGERS, the operating unit, and AP_SUPPLIERS, and is sorted by sequence name and voucher number.

Parameters & Filtering

Performance & Optimization

FAQ

Q: What does Not Entered mean in the Payables voucher audit? A: Not Entered means the voucher number is missing from the sequence audit trail, so no invoice or payment was recorded against that number.

Q: How is a voided payment shown in this report? A: A voided payment is listed as Entered with its void date, while a payment number with no payment behind it is listed as Deleted.

Q: How is the GL date of a payment determined? A: The GL date of a payment is the earliest accounting date of its invoice payments, taken from AP_INVOICE_PAYMENTS_ALL.


© Enginatics GmbH