AR_INVOICE_API_PUB.create_single_invoice - message An unexpected error has occurred.
Hi
We are importing AR Invoices from 11i to R12.1.3, and I have decided to use the API AR_INVOICE_API_PUB.create_single_invoice.
In some cases I am getting an "Unexpected" error "An unexpected error has occurred. Please contact your system administrator" without any specific explanation what is causing the exception.
I happened to notice this is happening only when Invoice Currency is different from the Functional currency and I am passing an Exchange Rate.
In a number of cases however the API is successfully creating Invoice for Foreign Currency Invoices and I could not distinguish any obvious pattern.