Search Results jai_tax_processing_pkg
Overview
JAI_TAX_PROCESSING_PKG is an Oracle E-Business Suite PL/SQL package owned by the APPS schema that forms part of the Oracle Financials for India (JAI) localization layer. Its primary business function is to bridge India-specific indirect tax requirements with the standard E-Business Tax (ZX) engine. The package encapsulates the logic required to calculate taxes, determine tax recovery, integrate with the ZX application programming interface, and generate accounting entries for Indian tax transactions. It supports both the Receivables and Payables flows and is intimately tied to Tax Deducted at Source (TDS), excise, VAT, and service tax processing. Because Indian tax legislation requires specialized treatment of taxes at the invoice line level, this package coordinates with the standard ZX_API_PUB types to pass transaction and event-class structures into the tax engine and to return calculated results.
Key Procedures and Functions
- CALCULATE_TAX — Accepts a ZX_API_PUB transaction record and optional event-class record along with a line-level action and transaction line identifier, returning an optional return status. This is the core entry point for invoking tax calculation on a given transaction line.
- DETERMINE_RECOVERY — Uses a ZX event-class record to determine recoverable versus non-recoverable portions of input tax, returning a status indicator.
- CHECK_JAI_EXISTS_IN_ZX — A boolean function that verifies whether India-specific tax setup exists in the ZX regime for a given set of books, application, entity code, and transaction identifier. This is commonly used to decide whether JAI or standard ZX processing should apply.
- IMPORT_DOCUMENT_WITH_TAX — Imports a document into the tax repository together with its tax lines, using the event-class record supplied by the caller, and returns a status.
- PROCESS_COMPLETE — Marks a receivables transaction as complete so that downstream tax and accounting processes can proceed.
- AP_DTC_CANCEL_INVOICE — Updates completion flags and populates a temporary table to support cancellation of a DTC invoice. It is invoked from JAI_AP_STND_TAX_PROCESS.Populate_Stnd_Inv_Taxes.
- CREATE_ACCOUNTING — Generates the accounting entries associated with Indian tax transactions, driving the creation of journal lines from the calculated tax data.
- OPEN_INTERFACE — Opens the interface between the India localization tables and the standard General Ledger interface, enabling transfer of tax accounting.
Tables Accessed
The package reads and writes a substantial set of foundation tables. Payables-side tables include AP_INVOICES_ALL, AP_INVOICE_LINES_ALL, AP_INVOICE_DISTRIBUTIONS_ALL, and AP_PAYMENT_SCHEDULES_ALL, which supply invoice, line, distribution, and schedule data. India-localized tables include JAI_AP_INVOICE_LINES, JAI_AP_MATCH_INV_TAXES, JAI_AP_TDS_INV_TAXES, JAI_AP_TDS_PREPAYMENTS, JAI_AP_TDS_THHOLD_GRPS, and JAI_AP_TDS_THHOLD_TRXS, which store India-specific tax and TDS attributes. On the Receivables side, JAI_AR_TRXS and JAI_AR_TRX_LINES hold transaction and line detail. JAI_CMN_DOCUMENT_TAXES stores document tax records, and JAI_CMN_JOURNAL_ENTRIES stores the resulting journal entries written during accounting creation.
Usage Notes
JAI_TAX_PROCESSING_PKG is referenced by five other packages and is invoked primarily from standard Payables and Receivables flows as well as India localization concurrent programs. The CALCULATE_TAX, DETERMINE_RECOVERY, and IMPORT_DOCUMENT_WITH_TAX routines are called during tax determination on transactions. PROCESS_COMPLETE, CREATE_ACCOUNTING, and OPEN_INTERFACE typically run during invoice completion and accounting generation, either synchronously from forms or from concurrent programs such as the India Tax Accounting process. Custom code should invoke these APIs only through their public signatures, using ZX_API_PUB record types, and should avoid modifying the underlying JAI tables directly to prevent corruption of tax balances and accounting entries.
-
PACKAGE: APPS.JAI_TAX_PROCESSING_PKG
12.2.2
owner:APPS, object_type:PACKAGE, object_name:JAI_TAX_PROCESSING_PKG, status:VALID,
-
PACKAGE BODY: APPS.JAI_TAX_PROCESSING_PKG
12.2.2
owner:APPS, object_type:PACKAGE BODY, object_name:JAI_TAX_PROCESSING_PKG, status:VALID,
-
PACKAGE: APPS.JAI_AP_DTC_CANCELLATION_PKG
12.2.2
owner:APPS, object_type:PACKAGE, object_name:JAI_AP_DTC_CANCELLATION_PKG, status:VALID,
-
PACKAGE: APPS.JAI_AR_IMPORT_SYNC_PKG
12.2.2
owner:APPS, object_type:PACKAGE, object_name:JAI_AR_IMPORT_SYNC_PKG, status:VALID,
-
PACKAGE: APPS.JAI_AP_IDA_TRIGGER_DTC_PKG
12.2.2
owner:APPS, object_type:PACKAGE, object_name:JAI_AP_IDA_TRIGGER_DTC_PKG, status:VALID,
-
PACKAGE: APPS.JAI_OM_TAX_PROCESSING_PKG
12.2.2
owner:APPS, object_type:PACKAGE, object_name:JAI_OM_TAX_PROCESSING_PKG, status:VALID,
-
SYNONYM: APPS.JAI_CMN_JOURNAL_ENTRIES
12.2.2
owner:APPS, object_type:SYNONYM, object_name:JAI_CMN_JOURNAL_ENTRIES, status:VALID,
-
PACKAGE: APPS.JAI_CMN_REVERSE_CHARGE_PKG
12.2.2
owner:APPS, object_type:PACKAGE, object_name:JAI_CMN_REVERSE_CHARGE_PKG, status:VALID,
-
PACKAGE: APPS.JAI_AP_MATCH_TAX_PROC_PKG
12.2.2
owner:APPS, object_type:PACKAGE, object_name:JAI_AP_MATCH_TAX_PROC_PKG, status:VALID,
-
PACKAGE: APPS.JAI_AP_OI_PROCESSING_PKG
12.2.2
owner:APPS, object_type:PACKAGE, object_name:JAI_AP_OI_PROCESSING_PKG, status:VALID,
-
PACKAGE: APPS.JAI_AR_TAX_PROCESSING_PKG
12.2.2
owner:APPS, object_type:PACKAGE, object_name:JAI_AR_TAX_PROCESSING_PKG, status:VALID,
-
SYNONYM: APPS.JAI_AP_INVOICE_LINES
12.2.2
owner:APPS, object_type:SYNONYM, object_name:JAI_AP_INVOICE_LINES, status:VALID,
-
PACKAGE: APPS.JAI_PO_PROC_PKG
12.2.2
owner:APPS, object_type:PACKAGE, object_name:JAI_PO_PROC_PKG, status:VALID,
-
SYNONYM: APPS.JAI_AP_TDS_INV_TAXES
12.2.2
owner:APPS, object_type:SYNONYM, object_name:JAI_AP_TDS_INV_TAXES, status:VALID,
-
PACKAGE: APPS.JAI_AR_IMPORT_POPU_PKG
12.2.2
owner:APPS, object_type:PACKAGE, object_name:JAI_AR_IMPORT_POPU_PKG, status:VALID,
-
SYNONYM: APPS.JAI_OM_OE_RMA_LINES
12.2.2
owner:APPS, object_type:SYNONYM, object_name:JAI_OM_OE_RMA_LINES, status:VALID,
-
SYNONYM: APPS.JAI_AP_TDS_PREPAYMENTS
12.2.2
owner:APPS, object_type:SYNONYM, object_name:JAI_AP_TDS_PREPAYMENTS, status:VALID,
-
SYNONYM: APPS.JAI_AP_TDS_THHOLD_GRPS
12.2.2
owner:APPS, object_type:SYNONYM, object_name:JAI_AP_TDS_THHOLD_GRPS, status:VALID,
-
PACKAGE: APPS.JAI_TAX_PROCESSING_PKG
12.2.2
-
PACKAGE: APPS.JAI_AR_RCTLA_TRIGGER_PKG
12.2.2
owner:APPS, object_type:PACKAGE, object_name:JAI_AR_RCTLA_TRIGGER_PKG, status:VALID,
-
SYNONYM: APPS.JAI_AP_TDS_THHOLD_TRXS
12.2.2
owner:APPS, object_type:SYNONYM, object_name:JAI_AP_TDS_THHOLD_TRXS, status:VALID,
-
PACKAGE BODY: APPS.ZX_NEW_SERVICES_PKG
12.2.2
owner:APPS, object_type:PACKAGE BODY, object_name:ZX_NEW_SERVICES_PKG, status:VALID,
-
PACKAGE BODY: APPS.JAI_AP_STND_TAX_PROCESS
12.2.2
owner:APPS, object_type:PACKAGE BODY, object_name:JAI_AP_STND_TAX_PROCESS, status:VALID,
-
SYNONYM: APPS.JAI_OM_OE_SO_LINES
12.2.2
owner:APPS, object_type:SYNONYM, object_name:JAI_OM_OE_SO_LINES, status:VALID,
-
SYNONYM: APPS.JAI_AP_MATCH_INV_TAXES
12.2.2
owner:APPS, object_type:SYNONYM, object_name:JAI_AP_MATCH_INV_TAXES, status:VALID,
-
PACKAGE BODY: APPS.ZX_API_PUB
12.2.2
owner:APPS, object_type:PACKAGE BODY, object_name:ZX_API_PUB, status:VALID,
-
VIEW: APPS.JAI_PO_RCV_TAXES_V
12.2.2
owner:APPS, object_type:VIEW, fnd_design_data:JA.JAI_PO_RCV_TAXES_V, object_name:JAI_PO_RCV_TAXES_V, status:VALID,
-
SYNONYM: APPS.JAI_CMN_DOCUMENT_TAXES
12.2.2
owner:APPS, object_type:SYNONYM, object_name:JAI_CMN_DOCUMENT_TAXES, status:VALID,
-
PACKAGE: APPS.JAI_CMN_RGM_RECORDING_PKG
12.2.2
owner:APPS, object_type:PACKAGE, object_name:JAI_CMN_RGM_RECORDING_PKG, status:VALID,
-
SYNONYM: APPS.JAI_AR_TRXS
12.2.2
owner:APPS, object_type:SYNONYM, object_name:JAI_AR_TRXS, status:VALID,
-
PACKAGE BODY: APPS.JAI_AR_MATCH_TAX_PKG
12.2.2
owner:APPS, object_type:PACKAGE BODY, object_name:JAI_AR_MATCH_TAX_PKG, status:VALID,
-
SYNONYM: APPS.JAI_AR_TRX_LINES
12.2.2
owner:APPS, object_type:SYNONYM, object_name:JAI_AR_TRX_LINES, status:VALID,
-
SYNONYM: APPS.JAI_RGM_REGISTRATIONS
12.2.2
owner:APPS, object_type:SYNONYM, object_name:JAI_RGM_REGISTRATIONS, status:VALID,
-
SYNONYM: APPS.AP_PAYMENT_SCHEDULES
12.2.2
owner:APPS, object_type:SYNONYM, object_name:AP_PAYMENT_SCHEDULES, status:VALID,
-
PACKAGE BODY: APPS.ZX_SRVC_TYP_PKG
12.2.2
owner:APPS, object_type:PACKAGE BODY, object_name:ZX_SRVC_TYP_PKG, status:VALID,
-
PACKAGE: APPS.ZX_API_PUB
12.2.2
owner:APPS, object_type:PACKAGE, object_name:ZX_API_PUB, status:VALID,
-
SYNONYM: APPS.JAI_RCV_TRANSACTIONS
12.2.2
owner:APPS, object_type:SYNONYM, object_name:JAI_RCV_TRANSACTIONS, status:VALID,
-
SYNONYM: APPS.AP_PAYMENT_SCHEDULES_ALL
12.2.2
owner:APPS, object_type:SYNONYM, object_name:AP_PAYMENT_SCHEDULES_ALL, status:VALID,
-
PACKAGE: APPS.ZX_GLOBAL_STRUCTURES_PKG
12.2.2
owner:APPS, object_type:PACKAGE, object_name:ZX_GLOBAL_STRUCTURES_PKG, status:VALID,
-
SYNONYM: APPS.JAI_RGM_DEFINITIONS
12.2.2
owner:APPS, object_type:SYNONYM, object_name:JAI_RGM_DEFINITIONS, status:VALID,
-
VIEW: APPS.JAI_RGM_ORG_REGNS_V
12.2.2
owner:APPS, object_type:VIEW, fnd_design_data:JA.JAI_RGM_ORG_REGNS_V, object_name:JAI_RGM_ORG_REGNS_V, status:VALID,
-
PACKAGE: APPS.JAI_CMN_UTILS_PKG
12.2.2
owner:APPS, object_type:PACKAGE, object_name:JAI_CMN_UTILS_PKG, status:VALID,
-
SYNONYM: APPS.RCV_HEADERS_INTERFACE
12.2.2
owner:APPS, object_type:SYNONYM, object_name:RCV_HEADERS_INTERFACE, status:VALID,
-
SYNONYM: APPS.JAI_CMN_TAXES_ALL
12.2.2
owner:APPS, object_type:SYNONYM, object_name:JAI_CMN_TAXES_ALL, status:VALID,
-
SYNONYM: APPS.AP_INVOICE_DISTRIBUTIONS_ALL
12.2.2
owner:APPS, object_type:SYNONYM, object_name:AP_INVOICE_DISTRIBUTIONS_ALL, status:VALID,
-
SYNONYM: APPS.AP_INVOICE_LINES_ALL
12.2.2
owner:APPS, object_type:SYNONYM, object_name:AP_INVOICE_LINES_ALL, status:VALID,
-
PACKAGE: APPS.JAI_CONSTANTS
12.2.2
owner:APPS, object_type:PACKAGE, object_name:JAI_CONSTANTS, status:VALID,
-
SYNONYM: APPS.RA_CUSTOMER_TRX_LINES_ALL
12.2.2
owner:APPS, object_type:SYNONYM, object_name:RA_CUSTOMER_TRX_LINES_ALL, status:VALID,
-
SYNONYM: APPS.OE_ORDER_LINES
12.2.2
owner:APPS, object_type:SYNONYM, object_name:OE_ORDER_LINES, status:VALID,
-
SYNONYM: APPS.PO_REQUISITION_HEADERS_ALL
12.2.2
owner:APPS, object_type:SYNONYM, object_name:PO_REQUISITION_HEADERS_ALL, status:VALID,