R12: Invoice Validation Errors With Unexpected Error Occured During Tax Calculation Exception: User Defined Exception (Doc ID 1337844.1)

Last updated on MAY 25, 2017

Applies to:

Oracle Payables - Version 12.0.1 and later
Information in this document applies to any platform.
APXINWKB.fmb


Symptoms

When attempting to validate invoice the following error occurs.

ERROR
-----------------------
Unexpected error occurred during Tax Calculation.
Exception: User-Defined Exception
Please correct the problem or contact your System Administrator.


FND Debug shows followings:

AP.PLSQL.AP_ETAX_SERVICES_PKG. AP_ETAX_SERVICES_PKG.Validate_Invoice<-AP_ETAX_PKG.Calling_eTax<-AP_APPROVAL_PKG.Approval<-APXINWKB
AP.PLSQL.AP_ETAX_SERVICES_PKG.Validate_Invoice Step 1: Populating invoice header local record
AP.PLSQL.AP_ETAX_SERVICES_PKG.Validate_Invoice Step 2: Get event class code
AP.PLSQL.AP_ETAX_UTILITY_PKG.Get_Event_Class_Code Step 4: Event Class Code is NULL and function returns FALSE because eTax is not defined to be called for this Invoice type
AP.PLSQL.AP_ETAX_SERVICES_PKG.Validate_Invoice Step 3: Get event type code
AP.PLSQL.AP_ETAX_SERVICES_PKG.Validate_Invoice Step 4: Populate service specific parameter
AP.PLSQL.AP_ETAX_SERVICES_PKG.Validate_Invoice Step 5: Call validate_document_for_tax service
AP.PLSQL.AP_ETAX_SERVICES_PKG.Validate_Invoice Step 6: Verify return status
AP.PLSQL.AP_ETAX_SERVICES_PKG.Validate_Invoice Step 8: Handle errors returned by API
AP.PLSQL.AP_ETAX_UTILITY_PKG.Return_Error_Messages Get error message from eTax API
AP.PLSQL.AP_ETAX_UTILITY_PKG.Return_Error_Messages Get error message from stack
fnd.plsql.APP_EXCEPTION.RAISE_EXCEPTION.dict_auto_log "Unexpected error occurred during Tax Calculation.
Exception: User-Defined Exception
Please correct the problem or contact your System Administrator."


Cause

Sign In with your My Oracle Support account

Don't have a My Oracle Support account? Click to get started

My Oracle Support provides customers with access to over a
Million Knowledge Articles and hundreds of Community platforms