Invoice Creation API errors out with Invalid site error, even though site is active
Hi All,
In R12.1.3 environment the Invoice creation API "ar_invoice_api_pub.create_single_invoice", is giving the following error:
Error in Header: INVOICE CREATION FAILED
Invalid bill-to site use ID. INVALID_VALUE:353228
Invalid bill-to address ID. INVALID_VALUE:286083
Invalid paying site use ID. INVALID_VALUE:353228 [row 12]
But the account, party site, account site and Bill To site use are all active.
Also correct org is getting used.
Any help is greatly appreciated, very urgent.
Thanks in advance.
Regards
Anirban