Hi, Support,
I am unable to update Project Invoice Status code from Transferred to Accepted using SOAP. I this web service for reference and tieback action.Link: Confirm Invoice Acceptance Status in Receivables.
I am always getting this error when trying to submit the tieback action. “_The invoice acceptance wasn't confirmed because the invoice ID or the combination of contract number, contract type, and invoice number is invalid._”.
Below are the payloads combination I tried to submit;
- Combination of Contract Type Name, Contract Number, and Invoice Number then Transfer Status is A
<soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/" xmlns:typ="http://xmlns.oracle.com/apps/projects/billing/workarea/invoice/invoiceServiceV2/types/" xmlns:inv="http://xmlns.oracle.com/apps/projects/billing/workarea/invoice/invoiceServiceV2/">
soapenv:Header/
soapenv:Body
typ:tieback
<!--Zero or more repetitions:-->
typ:Invoice
<!--Optional:-->
inv:ContractTypeName(Value from Contract Management > Invoices > Manage Invoices > Contract Type dropdown) </inv:ContractTypeName>
<!--Optional:-->
inv:ContractNumber(Value from Contract Management > Invoices > Manage Invoices > Contract Number dropdown)</inv:ContractNumber>
<!--Optional:-->
inv:InvoiceNumberNumber field from Invoice Header</inv:InvoiceNumber>
inv:TransferStatusCodeA</inv:TransferStatusCode>
</typ:Invoice>
</typ:tieback>
</soapenv:Body>
</soapenv:Envelope>
or
2. Passing only Invoice ID then Transfer Status is A
<soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/" xmlns:typ="http://xmlns.oracle.com/apps/projects/billing/workarea/invoice/invoiceServiceV2/types/" xmlns:inv="http://xmlns.oracle.com/apps/projects/billing/workarea/invoice/invoiceServiceV2/">
soapenv:Header/
soapenv:Body
typ:tieback
<!--Zero or more repetitions:-->
typ:Invoice
<!--Optional:-->
inv:InvoiceId(Invoice ID from PJB_INVOICE_HEADERS Table)</inv:InvoiceId>
<!--Optional:-->
inv:TransferStatusCodeA</inv:TransferStatusCode>
</typ:Invoice>
</typ:tieback>
</soapenv:Body>
</soapenv:Envelope>
Could you please point out where the issue is? I believe the values I have entered are correct. Also, may I know where I can get the value for the system reference?
Tagging: @zaheer-ahmed-oracle