Search Results tds_inv_tax_id




Overview

The JAI_AP_TDS_INV_TAXES table is a core data repository within the Oracle E-Business Suite Asia/Pacific Localizations module (product JA). Its primary function is to store detailed transactional records for Tax Deducted at Source (TDS) calculations applied to supplier invoices. This table acts as the central link between an invoice in the Payables module and the complex TDS configuration and threshold tracking system. It is critical for compliance with statutory TDS regulations in jurisdictions like India, enabling the system to determine applicable tax rates, track cumulative payment thresholds for vendors, and record the final calculated tax amounts to be withheld.

Key Information Stored

The table's structure is defined by its extensive foreign key relationships, which delineate the key data points it stores. Each record is uniquely identified by the TDS_INV_TAX_ID (the primary key). Crucially, it links an INVOICE_ID to the AP_INVOICES_ALL table. For tax determination, it stores references to both the DEFAULT_TAX_ID (the configured rate) and the ACTUAL_TAX_ID (the rate applied after considering thresholds) via JAI_CMN_TAXES_ALL. For threshold management, it holds IDs pointing to the relevant threshold header (THRESHOLD_HDR_ID), group (THRESHOLD_GRP_ID and DEFAULT_THRESHOLD_GRP_ID), and specific slabs for cumulative (DEFAULT_CUM_THRESHOLD_SLAB_ID, THRESHOLD_SLAB_ID) and single transaction (DEFAULT_SIN_THRESHOLD_SLAB_ID, THRESHOLD_SLAB_ID_SINGLE) calculations in their respective configuration tables. The THRESHOLD_TRX_ID links to the specific threshold transaction record.

Common Use Cases and Queries

This table is essential for TDS reporting, reconciliation, and audit trails. Common operational and reporting queries involve joining this table to invoice and supplier information to analyze TDS withheld for a period. A typical pattern is to retrieve all TDS taxes applied to invoices for a specific vendor or within a date range, showing both default and actual tax rates. Another critical use case is tracing the threshold calculation logic for a given invoice by joining through the various threshold-related foreign keys. Support and development queries often target this table to diagnose issues where TDS is not being calculated or is calculated incorrectly, by verifying the links between the invoice, the tax setup, and the threshold tracking records.

Sample Query Pattern:
SELECT inv.invoice_num, tds.*
FROM jai_ap_tds_inv_taxes tds,
     ap_invoices_all inv
WHERE tds.invoice_id = inv.invoice_id
AND inv.invoice_date BETWEEN :p_start_date AND :p_end_date;

Related Objects

JAI_AP_TDS_INV_TAXES is a central nexus within the TDS sub-schema. Its primary relationship is with the core Payables invoice table, AP_INVOICES_ALL. For tax configuration, it depends on JAI_CMN_TAXES_ALL. For the sophisticated threshold management system, it has foreign key relationships to several key configuration and transaction tables: JAI_AP_TDS_THHOLD_HDRS (header), JAI_AP_TDS_THHOLD_GRPS (group), JAI_AP_TDS_THHOLD_SLABS (rate slabs), and JAI_AP_TDS_THHOLD_TRXS (transaction tracking). This web of relationships underscores its role in integrating transactional data with regulatory compliance rules to produce the final TDS liability for each invoice.