Results for “source_invoice_id”

31 results




AI-generated from documented ETRM metadata — verify critical details on the linked pages.

Overview

The JAI_AP_TDS_REPOSITORY table is a core data object within the JA — Asia/Pacific Localizations product family in Oracle E-Business Suite. It resides in the JA schema and stores TDS (Tax Deducted at Source) repository information, capturing the full lifecycle of withholding tax computation, application, and adjustment against Oracle Payables invoices. The table serves as the central ledger that links tax deducted on a source invoice to the invoices and payments against which that tax is applied, resolved, or written back, including handling of supplier credit memos and unapplied amounts.

From a modeling standpoint, the metadata classifies this object heuristically as standalone within a Data Vault framework. Although it carries several foreign key references that would normally suggest a link or satellite role, the standalone classification reflects the table's function as a denormalized transaction repository rather than a normalized relational bridge. In practice, JAI_AP_TDS_REPOSITORY behaves as a transaction fact store keyed by TDS_REPOSITORY_ID and is populated during TDS calculation and adjustment processing for India and other Asia/Pacific localization regimes.

Key Information Stored

The table contains 66 documented columns. The most significant include:

Common Use Cases and Queries

Typical use cases include TDS reconciliation reporting, statutory certificate generation (Form 16A / e-TDS returns), threshold-slab analysis, and supplier withholding audits. A common query traces all TDS rows for an invoice:

  • SELECT tds_repository_id, invoice_number, applied_amount, unapplied_amount, section_code, challan_number FROM ja.jai_ap_tds_repository WHERE invoice_id = :p_invoice_id;
  • For regime-wise totals: SELECT regime_code, SUM(applied_amount), SUM(tds_paid) FROM ja.jai_ap_tds_repository WHERE org_id = :p_org_id AND accounting_date BETWEEN :p_from AND :p_to GROUP BY regime_code;
  • For pending remittances: filter on TDS_PAID = 'N' and group by CHALLAN_NUMBER or LEGAL_ENTITY_ID.
  • For migrated records requiring review: WHERE MIGRATED = 'Y'.

Related Objects

The following objects are most significant to JAI_AP_TDS_REPOSITORY, joined on the foreign keys documented in the ETRM metadata: